Loading .gitignore +1 −0 Original line number Diff line number Diff line Loading @@ -5,3 +5,4 @@ GenCompiler.class Parser.class GenCompiler.ja GenCompiler.jar OntologyCompiler.jar Rewrites.jrag +4 −1 Original line number Diff line number Diff line Loading @@ -30,13 +30,16 @@ aspect MiscUtilities { syn lazy String Attribute.trim() { String s = getValue().getSTRING_LITERAL(); s.replaceAll("&iml;",""); s = s.replaceAll("-","_"); if (s.indexOf('"') == 0) { s = s.substring(1,s.length()-1).trim(); } if (s.indexOf('#') > -1) { s = s.substring(s.indexOf('#')+1,s.length()).trim(); } if (s.indexOf(';') > -1) { s = s.substring(s.indexOf(';')+1,s.length()).trim(); } return s.trim(); } Loading build.xml +1 −1 Original line number Diff line number Diff line Loading @@ -117,7 +117,7 @@ </target> <target name="jar" depends="build"> <jar destfile="GenCompiler.jar" basedir="." includes="**/*.class" excludes="test/**"> <jar destfile="OntologyCompiler.jar" basedir="." includes="**/*.class" excludes="test/**"> <manifest> <attribute name="Main-Class" value="GenCompiler"/> </manifest> Loading Loading
.gitignore +1 −0 Original line number Diff line number Diff line Loading @@ -5,3 +5,4 @@ GenCompiler.class Parser.class GenCompiler.ja GenCompiler.jar OntologyCompiler.jar
Rewrites.jrag +4 −1 Original line number Diff line number Diff line Loading @@ -30,13 +30,16 @@ aspect MiscUtilities { syn lazy String Attribute.trim() { String s = getValue().getSTRING_LITERAL(); s.replaceAll("&iml;",""); s = s.replaceAll("-","_"); if (s.indexOf('"') == 0) { s = s.substring(1,s.length()-1).trim(); } if (s.indexOf('#') > -1) { s = s.substring(s.indexOf('#')+1,s.length()).trim(); } if (s.indexOf(';') > -1) { s = s.substring(s.indexOf(';')+1,s.length()).trim(); } return s.trim(); } Loading
build.xml +1 −1 Original line number Diff line number Diff line Loading @@ -117,7 +117,7 @@ </target> <target name="jar" depends="build"> <jar destfile="GenCompiler.jar" basedir="." includes="**/*.class" excludes="test/**"> <jar destfile="OntologyCompiler.jar" basedir="." includes="**/*.class" excludes="test/**"> <manifest> <attribute name="Main-Class" value="GenCompiler"/> </manifest> Loading