summaryrefslogtreecommitdiffstats
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.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/corelib/xml/make-parser.sh b/src/corelib/xml/make-parser.sh
new file mode 100755
index 0000000..0c2ba12
--- /dev/null
+++ b/src/corelib/xml/make-parser.sh
@@ -0,0 +1,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 ...
+