]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.scl.compiler/generateDocumentationLexer.xml
(refs #7250) Merging master, minor CHR bugfixes
[simantics/platform.git] / bundles / org.simantics.scl.compiler / generateDocumentationLexer.xml
1 <project>
2
3         <taskdef name="jflex" classname="JFlex.anttask.JFlexTask" classpath="tools/JFlex.jar"/>
4         
5         <property name="package" location="src/org/simantics/scl/compiler/parsing/documentation"/>
6         
7         <jflex
8             file="${package}/DocumentationLexer.flex"
9             destdir="src/"
10         />
11         
12         <replaceregexp file="${package}/DocumentationLexer.java"
13                 match="^public class DocumentationLexer.flex"
14                 replace="@SuppressWarnings(&quot;all&quot;) public class DocumentationLexer"
15                 flags="m"
16                 />
17         
18 </project>