changing how to emit code for square bracked block to solve goto related issues. work still in progress
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user