Created
February 7, 2012 16:15
-
-
Save medigeek/1760490 to your computer and use it in GitHub Desktop.
glossa-interpreter: Remove absolute paths (quilt patch)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From: Savvas Radevic <[email protected]> | |
Description: Remove absolute path from filenames | |
Index: glossa-interpreter-1.0.1/src/glossa/interpreter/core/ASTInterpreter.java | |
=================================================================== | |
--- glossa-interpreter-1.0.1.orig/src/glossa/interpreter/core/ASTInterpreter.java 2012-02-07 16:24:50.000000000 +0100 | |
+++ glossa-interpreter-1.0.1/src/glossa/interpreter/core/ASTInterpreter.java 2012-02-07 16:29:24.000000000 +0100 | |
@@ -202,7 +202,7 @@ | |
public String[] getTokenNames() { return ASTInterpreter.tokenNames; } | |
- public String getGrammarFileName() { return "/home/cyberpython/development/glossa-interpreter/src/glossa/grammars/ASTInterpreter.g"; } | |
+ public String getGrammarFileName() { return "src/glossa/grammars/ASTInterpreter.g"; } | |
Index: glossa-interpreter-1.0.1/src/glossa/recognizers/GlossaLexer.java | |
=================================================================== | |
--- glossa-interpreter-1.0.1.orig/src/glossa/recognizers/GlossaLexer.java 2012-02-07 16:24:50.000000000 +0100 | |
+++ glossa-interpreter-1.0.1/src/glossa/recognizers/GlossaLexer.java 2012-02-07 16:29:24.000000000 +0100 | |
@@ -274,7 +274,7 @@ | |
super(input,state); | |
} | |
- public String getGrammarFileName() { return "/home/cyberpython/development/glossa-interpreter/src/glossa/grammars/Glossa.g"; } | |
+ public String getGrammarFileName() { return "src/glossa/grammars/Glossa.g"; } | |
// $ANTLR start "ASSIGN" | |
public final void mASSIGN() throws RecognitionException { | |
Index: glossa-interpreter-1.0.1/src/glossa/recognizers/GlossaParser.java | |
=================================================================== | |
--- glossa-interpreter-1.0.1.orig/src/glossa/recognizers/GlossaParser.java 2012-02-07 16:24:50.000000000 +0100 | |
+++ glossa-interpreter-1.0.1/src/glossa/recognizers/GlossaParser.java 2012-02-07 16:29:24.000000000 +0100 | |
@@ -193,7 +193,7 @@ | |
} | |
public String[] getTokenNames() { return GlossaParser.tokenNames; } | |
- public String getGrammarFileName() { return "/home/cyberpython/development/glossa-interpreter/src/glossa/grammars/Glossa.g"; } | |
+ public String getGrammarFileName() { return "src/glossa/grammars/Glossa.g"; } | |
Index: glossa-interpreter-1.0.1/src/glossa/statictypeanalysis/FirstPass.java | |
=================================================================== | |
--- glossa-interpreter-1.0.1.orig/src/glossa/statictypeanalysis/FirstPass.java 2012-02-07 16:24:50.000000000 +0100 | |
+++ glossa-interpreter-1.0.1/src/glossa/statictypeanalysis/FirstPass.java 2012-02-07 16:29:24.000000000 +0100 | |
@@ -192,7 +192,7 @@ | |
public String[] getTokenNames() { return FirstPass.tokenNames; } | |
- public String getGrammarFileName() { return "/home/cyberpython/development/glossa-interpreter/src/glossa/grammars/FirstPass.g"; } | |
+ public String getGrammarFileName() { return "src/glossa/grammars/FirstPass.g"; } | |
private MessageLog msgLog; | |
Index: glossa-interpreter-1.0.1/src/glossa/statictypeanalysis/StaticTypeAnalyzer.java | |
=================================================================== | |
--- glossa-interpreter-1.0.1.orig/src/glossa/statictypeanalysis/StaticTypeAnalyzer.java 2012-02-07 16:24:50.000000000 +0100 | |
+++ glossa-interpreter-1.0.1/src/glossa/statictypeanalysis/StaticTypeAnalyzer.java 2012-02-07 16:29:24.000000000 +0100 | |
@@ -193,7 +193,7 @@ | |
public String[] getTokenNames() { return StaticTypeAnalyzer.tokenNames; } | |
- public String getGrammarFileName() { return "/home/cyberpython/development/glossa-interpreter/src/glossa/grammars/StaticTypeAnalyzer.g"; } | |
+ public String getGrammarFileName() { return "src/glossa/grammars/StaticTypeAnalyzer.g"; } | |
private MessageLog msgLog; | |
Index: glossa-interpreter-1.0.1/nbproject/private/private.properties | |
=================================================================== | |
--- glossa-interpreter-1.0.1.orig/nbproject/private/private.properties 2012-02-07 16:30:15.000000000 +0100 | |
+++ glossa-interpreter-1.0.1/nbproject/private/private.properties 2012-02-07 16:32:35.000000000 +0100 | |
@@ -2,8 +2,8 @@ | |
compile.on.save=true | |
do.depend=false | |
do.jar=true | |
-file.reference.Glossa-src=/home/cyberpython/development/glossa-interpreter/src | |
-file.reference.Glossa-test=/home/cyberpython/development/glossa-interpreter/test | |
+file.reference.Glossa-src=src | |
+file.reference.Glossa-test=test | |
javac.debug=true | |
javadoc.preview=true | |
jaxbwiz.endorsed.dirs=/home/cyberpython/apps/netbeans-6.8/ide12/modules/ext/jaxb/api |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment