Lines 41-54
Link Here
|
41 |
|
41 |
|
42 |
<target name="antlr" depends="init-antlr" unless="up-to-date"> |
42 |
<target name="antlr" depends="init-antlr" unless="up-to-date"> |
43 |
<mkdir dir="${antlr.apt.output.dir}"/> |
43 |
<mkdir dir="${antlr.apt.output.dir}"/> |
|
|
44 |
<!-- |
44 |
<antlr target="${antlr.apt.grammar.dir}/aptlexer.g" |
45 |
<antlr target="${antlr.apt.grammar.dir}/aptlexer.g" |
45 |
outputdirectory="${antlr.apt.output.dir}"> |
46 |
outputdirectory="${antlr.apt.output.dir}"> |
46 |
<classpath path="${antlr.jar}"/> |
47 |
<classpath path="${antlr.jar}"/> |
47 |
</antlr> |
48 |
</antlr> |
|
|
49 |
--> |
50 |
<java classname="antlr.Tool"> |
51 |
<arg value="-o"/> |
52 |
<arg value="${antlr.apt.output.dir}"/> |
53 |
<arg value="${antlr.apt.grammar.dir}/aptlexer.g"/> |
54 |
<classpath path="${antlr.jar}"/> |
55 |
</java> |
56 |
<!-- |
48 |
<antlr target="${antlr.apt.grammar.dir}/aptexpr.g" |
57 |
<antlr target="${antlr.apt.grammar.dir}/aptexpr.g" |
49 |
outputdirectory="${antlr.apt.output.dir}"> |
58 |
outputdirectory="${antlr.apt.output.dir}"> |
50 |
<classpath path="${antlr.jar}"/> |
59 |
<classpath path="${antlr.jar}"/> |
51 |
</antlr> |
60 |
</antlr> |
|
|
61 |
--> |
62 |
<java classname="antlr.Tool"> |
63 |
<arg value="-o"/> |
64 |
<arg value="${antlr.apt.output.dir}"/> |
65 |
<arg value="${antlr.apt.grammar.dir}/aptexpr.g"/> |
66 |
<classpath path="${antlr.jar}"/> |
67 |
</java> |
68 |
|
52 |
<copy file="${antlr.apt.output.dir}/APTGeneratedTokenTypes.txt" |
69 |
<copy file="${antlr.apt.output.dir}/APTGeneratedTokenTypes.txt" |
53 |
tofile="${antlr.apt.output.dir}/APTTokenTypes.txt" |
70 |
tofile="${antlr.apt.output.dir}/APTTokenTypes.txt" |
54 |
overwrite="true"/> |
71 |
overwrite="true"/> |