添加对while-do语句的支持 (#77)
Co-authored-by: jackfiled <xcrenchangjun@outlook.com> Reviewed-on: PostGuard/Canon#77 Co-authored-by: ichirinko <1621543655@qq.com> Co-committed-by: ichirinko <1621543655@qq.com>
This commit is contained in:
@@ -33,7 +33,8 @@ public static class LexRules
|
||||
{ "and", KeywordType.And },
|
||||
{ "or", KeywordType.Or },
|
||||
{ "true", KeywordType.True },
|
||||
{ "false", KeywordType.False }
|
||||
{ "false", KeywordType.False },
|
||||
{ "while", KeywordType.While }
|
||||
};
|
||||
|
||||
public static bool GetKeywordTypeByKeywprd(string keyword, out KeywordType type)
|
||||
|
Reference in New Issue
Block a user