X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.scl.compiler%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Finternal%2Fparsing%2Fparser%2FSCLLexer.java;h=0caade6bf77160202c519831b25f30bd2365b5e9;hb=3216affb4ed0e73a5601be223638f4f1a41fb26a;hp=fb9eb54d518293a91d5f3baab61b931a130c1e23;hpb=82a87b8535628d47d9c381e1a3a2296fb67c7fd0;p=simantics%2Fplatform.git
diff --git a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/parsing/parser/SCLLexer.java b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/parsing/parser/SCLLexer.java
index fb9eb54d5..0caade6bf 100644
--- a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/parsing/parser/SCLLexer.java
+++ b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/parsing/parser/SCLLexer.java
@@ -12,7 +12,7 @@ import gnu.trove.list.array.TIntArrayList;
/**
* This class is a scanner generated by
* JFlex 1.6.1
- * from the specification file C:/GamsGui/git/platform/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/parsing/parser/SCLLexer.flex
+ * from the specification file C:/Simugawa.git/git/platform/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/parsing/parser/SCLLexer.flex
*/
public class SCLLexer {
@@ -607,6 +607,9 @@ public class SCLLexer {
public boolean supportCHR() {
return context.header == null ? false : context.header.chr;
}
+ public boolean supportEDO() {
+ return context.header == null ? false : context.header.edo;
+ }
/**
@@ -1194,7 +1197,7 @@ public class SCLLexer {
}
case 155: break;
case 60:
- { return sym(SCLTerminals.EDO);
+ { return sym(supportEDO() ? SCLTerminals.EDO : SCLTerminals.ID);
}
case 156: break;
case 61: