diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2009-03-23 09:34:13 (GMT) |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2009-03-23 09:34:13 (GMT) |
commit | 67ad0519fd165acee4a4d2a94fa502e9e4847bd0 (patch) | |
tree | 1dbf50b3dff8d5ca7e9344733968c72704eb15ff /src/xmlpatterns/parser/createParser.sh | |
download | Qt-67ad0519fd165acee4a4d2a94fa502e9e4847bd0.zip Qt-67ad0519fd165acee4a4d2a94fa502e9e4847bd0.tar.gz Qt-67ad0519fd165acee4a4d2a94fa502e9e4847bd0.tar.bz2 |
Long live Qt!
Diffstat (limited to 'src/xmlpatterns/parser/createParser.sh')
-rwxr-xr-x | src/xmlpatterns/parser/createParser.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/xmlpatterns/parser/createParser.sh b/src/xmlpatterns/parser/createParser.sh new file mode 100755 index 0000000..51453eea --- /dev/null +++ b/src/xmlpatterns/parser/createParser.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +files="qquerytransformparser_p.h qquerytransformparser.cpp" + +#p4 revert $files +#p4 edit $files +bison --defines=qquerytransformparser_p.h querytransformparser.ypp + +addHeaderScript="1{h; r trolltechHeader.txt + D; } +2{x; G; }" +sed -i -e "$addHeaderScript" $files + +sed -i -f winCEWorkaround.sed qquerytransformparser_p.h +#p4 revert -a $files |