]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/parsing/parser/SCLParser.java
New type class MonadE and corresponding monad syntax with edo keyword
[simantics/platform.git] / bundles / org.simantics.scl.compiler / src / org / simantics / scl / compiler / internal / parsing / parser / SCLParser.java
index 3e857b7f1bc8192ef7dc0fe55c80fcdc78f66ab5..1a163b3b95f0ed6c8ccf660bd39ad6cbfe430261 100644 (file)
@@ -14,14 +14,14 @@ public abstract class SCLParser {
 
     private static final int INITIAL_CAPACITY = 16;
     private static final int STATE_COUNT = 362;
-    private static final int TERMINAL_COUNT = 85;
+    private static final int TERMINAL_COUNT = 86;
     private static final int NONTERMINAL_COUNT = 52;
     private static final int PRODUCT_COUNT = 138;
     
     private static final int[] ACTION_ROW_ID = new int[STATE_COUNT];
     private static final int[] ACTION_COLUMN_ID = new int[TERMINAL_COUNT];
     private static final short[] ACTION_TABLE = new short[6832];
-    private static final int[] ERROR_TABLE = new int[962];
+    private static final int[] ERROR_TABLE = new int[973];
     private static final int[] GOTO_ROW_ID = new int[STATE_COUNT];
     private static final int[] GOTO_COLUMN_ID = new int[NONTERMINAL_COUNT];
     private static final short[] GOTO_TABLE = new short[1953];
@@ -86,6 +86,7 @@ public abstract class SCLParser {
         "MATCH",
         "DO",
         "MDO",
+        "EDO",
         "ENFORCE",
         "BLANK",
         "FLOAT",
@@ -931,7 +932,7 @@ public abstract class SCLParser {
      */
     protected abstract Object reduceMatch();
     /**
-     * aexp ::= (DO | MDO) statements
+     * aexp ::= (DO | MDO | EDO) statements
      */
     protected abstract Object reduceDo();
     /**