public static final int DEFAULT = 69; // default keyword
public static final int WHILE = 70; // while keyword
public static final int DO = 71; // do keyword
- public static final int FOR = 74; // for keyword
- public static final int VAR = 75; // var keyword
- public static final int WITH = 76; // with keyword
- public static final int CATCH = 77; // catch keyword
- public static final int FINALLY = 78; // finally keyword
- public static final int RESERVED = 79; // reserved keyword
-
- public static final int MAX_TOKEN = RESERVED;
+ public static final int FOR = 72; // for keyword
+ public static final int VAR = 73; // var keyword
+ public static final int WITH = 74; // with keyword
+ public static final int CATCH = 75; // catch keyword
+ public static final int FINALLY = 76; // finally keyword
+ public static final int RESERVED = 77; // reserved keyword
+ public static final int GRAMMAR = 78; // the grammar-definition operator (::=)
+ public static final int MAX_TOKEN = GRAMMAR;
+
public final static String[] codeToString = new String[] {
"BITOR", "ASSIGN_BITOR", "BITXOR", "ASSIGN_BITXOR", "BITAND",
"ASSIGN_BITAND", "LSH", "ASSIGN_LSH", "RSH", "ASSIGN_RSH",
"SEMI", "LB", "RB", "LC", "RC", "LP", "RP", "COMMA", "ASSIGN",
"HOOK", "COLON", "INC", "DEC", "DOT", "FUNCTION", "IF",
"ELSE", "SWITCH", "CASE", "DEFAULT", "WHILE", "DO", "FOR",
- "VAR", "WITH", "CATCH", "FINALLY", "RESERVED"
+ "VAR", "WITH", "CATCH", "FINALLY", "RESERVED", "GRAMMAR"
};
}