modified the reader to allow redundant semicolons as if blank expressions are specified. redundant semicolons form no expressions.
Some checks failed
continuous-integration/drone/push Build is failing

modified the compiler to emit instructions to return the receiver for methods for classes
This commit is contained in:
2023-12-04 22:35:30 +09:00
parent 01fcaba626
commit 89b5089564
2 changed files with 75 additions and 12 deletions

View File

@ -1248,8 +1248,12 @@ static int feed_process_token (hcl_t* hcl)
rstl = hcl->c->r.st;
if (!rstl || !(rstl->flagv & AUTO_FORGED))
{
#if 0
hcl_setsynerrbfmt (hcl, HCL_SYNERR_SEMICOLON, TOKEN_LOC(hcl), TOKEN_NAME(hcl), "unexpected semicolon");
goto oops;
#else
goto ok;
#endif
}
concode = LIST_FLAG_GET_CONCODE(rstl->flagv);