summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns/parser/createParser.sh
blob: 51453eeaf5378342e6eedf85c3b9248873a93c79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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