summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/updatelexyacc
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/updatelexyacc')
-rwxr-xr-xtqtinterface/qt4/updatelexyacc13
1 files changed, 13 insertions, 0 deletions
diff --git a/tqtinterface/qt4/updatelexyacc b/tqtinterface/qt4/updatelexyacc
new file mode 100755
index 0000000..66bf1fd
--- /dev/null
+++ b/tqtinterface/qt4/updatelexyacc
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+# (c) 2010 Timothy Pearson <kb9vqf@pearsoncomputing.net>
+# Released under the terms of the GNU General Public License v2 or v3
+
+cd src/tqmoc
+rm -f tqmoc_yacc.cpp
+rm -f tqmoc_yacc.h
+rm -f tqmoc_lex.cpp
+lex -o tqmoc_lex.cpp tqmoc.l
+yacc -o tqmoc_yacc.cpp --defines=tqmoc_yacc.h tqmoc.y
+cd ../../
+