summaryrefslogtreecommitdiffstats
path: root/src/corelib/xml/make-parser.sh
blob: 0e2cbe11411ad64ae0a93580676fdcaec0a498a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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)
    cp $f $n
done

git diff .