changed the compiler to treat try, catch, throw as keywords
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -304,6 +304,9 @@ enum hcl_tok_type_t
|
||||
HCL_TOK_IF,
|
||||
HCL_TOK_ELIF,
|
||||
HCL_TOK_ELSE,
|
||||
HCL_TOK_THROW,
|
||||
HCL_TOK_TRY,
|
||||
HCL_TOK_CATCH,
|
||||
|
||||
HCL_TOK_BINOP,
|
||||
HCL_TOK_IDENT,
|
||||
@ -388,6 +391,9 @@ enum hcl_cnode_type_t
|
||||
HCL_CNODE_IF,
|
||||
HCL_CNODE_ELIF,
|
||||
HCL_CNODE_ELSE,
|
||||
HCL_CNODE_THROW,
|
||||
HCL_CNODE_TRY,
|
||||
HCL_CNODE_CATCH,
|
||||
|
||||
HCL_CNODE_ELLIPSIS,
|
||||
HCL_CNODE_TRPCOLONS,
|
||||
|
Reference in New Issue
Block a user