Commit 4ee1a644 authored by Benedikt Engeser's avatar Benedikt Engeser
Browse files

Sinnvolle Ant config, richtiger cup

parent 65087b24
...@@ -5,13 +5,14 @@ ...@@ -5,13 +5,14 @@
<property name="result" location="bin/jar" /> <property name="result" location="bin/jar" />
<property name="lib" location="lib" /> <property name="lib" location="lib" />
<property name="tools" location="tools" /> <property name="tools" location="tools" />
<property name="base" location="." />
<taskdef name="jflex" classname="JFlex.anttask.JFlexTask" classpath="${tools}/JFlex.jar" /> <taskdef name="jflex" classname="JFlex.anttask.JFlexTask" classpath="${tools}/JFlex.jar" />
<taskdef name="cup" classname="java_cup.anttask.CUPTask" classpath="${tools}/java-cup-11b.jar" /> <taskdef name="cup" classname="java_cup.anttask.CUPTask" classpath="${tools}/java-cup-11b.jar" />
<target name="generate"> <target name="generate">
<jflex file="lexer.jflex" destdir="${java}" /> <jflex file="lexer.jflex" destdir="${java}" />
<cup srcfile="parser.cup" destdir="${java}" <cup srcfile="${base}/parser.cup" destdir="${java}"
parser="Parser" parser="Parser"
interface="true" interface="true"
locations="true" locations="true"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment