changing how to emit code for square bracked block to solve goto related issues. work still in progress

This commit is contained in:
hyunghwan.chung
2019-08-05 09:08:03 +00:00
parent 55bf7e269e
commit ea69bb8d45
7 changed files with 204 additions and 8 deletions

View File

@ -1894,7 +1894,8 @@ enum moo_synerrnum_t
MOO_SYNERR_NOTINLOOP, /* break or continue not within a loop */
MOO_SYNERR_INBLOCK, /* break or continue within a block */
MOO_SYNERR_WHILE, /* while expected */
MOO_SYNERR_GOTOTARGETINVAL /* invalid goto target */
MOO_SYNERR_GOTOTARGETINVAL, /* invalid goto target */
MOO_SYNERR_LABELATEND /* label at the end without following statement */
};
typedef enum moo_synerrnum_t moo_synerrnum_t;