feat: 按照open_set中的示例调整语法 (#71)
添加了构建LR分析表冲突的报错 Reviewed-on: PostGuard/Canon#71
This commit is contained in:
@@ -31,7 +31,9 @@ public static class LexRules
|
||||
{ "not", KeywordType.Not },
|
||||
{ "mod", KeywordType.Mod },
|
||||
{ "and", KeywordType.And },
|
||||
{ "or", KeywordType.Or }
|
||||
{ "or", KeywordType.Or },
|
||||
{ "true", KeywordType.True },
|
||||
{ "false", KeywordType.False }
|
||||
};
|
||||
|
||||
public static bool GetKeywordTypeByKeywprd(string keyword, out KeywordType type)
|
||||
|
Reference in New Issue
Block a user