enhanced compile_return() to handle 'return' differently in a function block containing return variables

This commit is contained in:
2021-05-13 15:54:30 +00:00
parent 550e39e21e
commit ebda2ffa0a
3 changed files with 53 additions and 25 deletions

View File

@ -151,6 +151,7 @@ enum hcl_synerrnum_t
HCL_SYNERR_BANNEDVARNAME, /* disallowed varible name */
HCL_SYNERR_BANNEDARGNAME, /* disallowed argument name */
HCL_SYNERR_BANNED, /* prohibited */
HCL_SYNERR_ELIF, /* elif without if */
HCL_SYNERR_ELSE, /* else without if */