X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.scl.compiler%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Finternal%2Fparsing%2Fparser%2FSCLLexer.java;h=0caade6bf77160202c519831b25f30bd2365b5e9;hp=fb9eb54d518293a91d5f3baab61b931a130c1e23;hb=3ccd513530bc718ef384780d3151ddbb85600986;hpb=c7adae2a1ad46c9f316093213df0320b44461606 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: