summaryrefslogtreecommitdiffstats
path: root/src/corelib/xml/make-parser.sh
blob: 0c2ba129d5cebce72e857547e985247ad6457fdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

me=$(dirname $0)
mkdir -p $me/out
(cd $me/out && ../../../../util/qlalr/qlalr --troll --no-debug --no-lines ../qxmlstream.g)

for f in $me/out/*.h; do
    n=$(basename $f)
    p4 open $n
    cp $f $n
done

p4 revert -a ...
p4 diff -dub ...