X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Fparser.re;h=0d13d79697cb334d108ee9f2423da6896a42eadb;hp=d0daecb92e2a7163a7f35c8b076df8756dfe7457;hb=762750b4a3f4e0471993849c4bd12965f6b62356;hpb=be3ceffdd27422aae6ba44d31d868fb12d08957a diff --git a/src/parser.re b/src/parser.re index d0daecb..0d13d79 100644 --- a/src/parser.re +++ b/src/parser.re @@ -201,6 +201,7 @@ token_t PSI_ParserScan(PSI_Parser *P) ARRAY = 'array'; FUNCTION = 'function'; TYPEDEF = 'typedef'; + CONST = 'const'; LIB = 'lib'; LET = 'let'; SET = 'set'; @@ -255,6 +256,7 @@ token_t PSI_ParserScan(PSI_Parser *P) ARRAY {RETURN(PSI_T_ARRAY);} FUNCTION {RETURN(PSI_T_FUNCTION);} TYPEDEF {RETURN(PSI_T_TYPEDEF);} + CONST {RETURN(PSI_T_CONST);} LIB {RETURN(PSI_T_LIB);} LET {RETURN(PSI_T_LET);} SET {RETURN(PSI_T_SET);}