summaryrefslogtreecommitdiff
path: root/src/corelib/xml/make-parser.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/xml/make-parser.sh')
-rwxr-xr-xsrc/corelib/xml/make-parser.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/corelib/xml/make-parser.sh b/src/corelib/xml/make-parser.sh
new file mode 100755
index 0000000000..0e2cbe1141
--- /dev/null
+++ b/src/corelib/xml/make-parser.sh
@@ -0,0 +1,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 .
+