|
|
@@ -15,6 +15,7 @@ import org.antlr.v4.runtime.tree.ParseTree;
|
|
|
import org.antlr.v4.runtime.tree.ParseTreeWalker;
|
|
|
|
|
|
import de.jplag.AbstractParser;
|
|
|
+import de.jplag.TokenConstants;
|
|
|
import de.jplag.python3.grammar.Python3Lexer;
|
|
|
import de.jplag.python3.grammar.Python3Parser;
|
|
|
import de.jplag.python3.grammar.Python3Parser.File_inputContext;
|
|
|
@@ -39,7 +40,7 @@ public class Parser extends AbstractParser {
|
|
|
if (!parseFile(directory, file)) {
|
|
|
errors++;
|
|
|
}
|
|
|
- tokens.add(new Python3Token(Python3TokenConstants.FILE_END, file, -1, -1, -1));
|
|
|
+ tokens.add(new Python3Token(TokenConstants.FILE_END, file, -1, -1, -1));
|
|
|
}
|
|
|
return tokens;
|
|
|
}
|