]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/generateGrammarLexer.xml
Moved SCL parser generator to platform repository.
[simantics/platform.git] / bundles / org.simantics.scl.compiler / generateGrammarLexer.xml
diff --git a/bundles/org.simantics.scl.compiler/generateGrammarLexer.xml b/bundles/org.simantics.scl.compiler/generateGrammarLexer.xml
new file mode 100644 (file)
index 0000000..ff9ecb3
--- /dev/null
@@ -0,0 +1,13 @@
+<project>
+
+       <taskdef name="jflex" classname="jflex.anttask.JFlexTask" classpath="tools/jflex-1.6.1.jar"/>
+       
+       <property name="package" location="src/org/simantics/scl/compiler/parser/grammar/input2"/>
+       
+       <jflex
+           file="${package}/GrammarLexer.flex"
+           destdir="src/"
+               nobak="true"
+       />
+       
+</project>
\ No newline at end of file