Explorar o código

Fix missed dependency on recent changes.

Timur Sağlam %!s(int64=5) %!d(string=hai) anos
pai
achega
73b09b2154

+ 1 - 1
jplag.frontend.python-3/src/main/java/jplag/python3/Parser.java

@@ -75,6 +75,6 @@ public class Parser extends jplag.Parser implements Python3TokenConstants {
     }
     }
 
 
     public void addEnd(int type, org.antlr.v4.runtime.Token tok) {
     public void addEnd(int type, org.antlr.v4.runtime.Token tok) {
-        struct.addToken(new Python3Token(type, (currentFile == null ? "null" : currentFile), tok.getLine(), struct.tokens[struct.size()-1].getColumn() + 1,0));
+        struct.addToken(new Python3Token(type, (currentFile == null ? "null" : currentFile), tok.getLine(), struct.getToken(struct.size()-1).getColumn() + 1,0));
     }
     }
 }
 }