Change how context <- is parsed to remove the need for a look-ahead

This commit is contained in:
gingerBill
2018-06-11 18:02:04 +01:00
parent 0a99595efe
commit 881f667558
2 changed files with 29 additions and 27 deletions
+4 -3
View File
@@ -167,9 +167,10 @@ enum FieldFlag {
};
enum StmtAllowFlag {
StmtAllowFlag_None = 0,
StmtAllowFlag_In = 1<<0,
StmtAllowFlag_Label = 1<<1,
StmtAllowFlag_None = 0,
StmtAllowFlag_In = 1<<0,
StmtAllowFlag_Label = 1<<1,
StmtAllowFlag_Context = 1<<2,
};
#define AST_NODE_KINDS \