summaryrefslogtreecommitdiffstats
path: root/src/corelib/xml/make-parser.sh
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2009-03-23 10:34:13 +0100
committerSimon Hausmann <simon.hausmann@nokia.com>2009-03-23 10:34:13 +0100
commit67ad0519fd165acee4a4d2a94fa502e9e4847bd0 (patch)
tree1dbf50b3dff8d5ca7e9344733968c72704eb15ff /src/corelib/xml/make-parser.sh
Long live Qt!
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 .
+