]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.graph.compiler/src/org/simantics/graph/compiler/internal/parsing/Graph.g
Fixes to allow tycho builds to work.
[simantics/platform.git] / bundles / org.simantics.graph.compiler / src / org / simantics / graph / compiler / internal / parsing / Graph.g
index 67b11fbaa7a1abc257a4c7117387036f4ae89758..995960f94b5019322e562cf8accc10a68cd229b5 100644 (file)
@@ -85,7 +85,7 @@ public Token nextToken() {
                emit balancing number of DEDENT tokens.\r
             */\r
             if(iStack.size() <= 1)\r
-                return Token.EOF_TOKEN;\r
+                return getEOFToken();\r
             else {                \r
                 while(iStack.size() > 1) {\r
                     iStack.removeAt(iStack.size()-1);\r
@@ -450,4 +450,4 @@ mapAssignment
     : value '=' value\r
     -> ^(ASSIGNMENT value*) \r
     ;\r
-        
\ No newline at end of file
+        \r