diff --git a/PLASMA/src/codegen.c b/PLASMA/src/codegen.c index 9b22cac8..f6fef808 100755 --- a/PLASMA/src/codegen.c +++ b/PLASMA/src/codegen.c @@ -25,9 +25,9 @@ static int localsize = 0; static char idlocal_name[128][17]; static int idlocal_type[128]; static int idlocal_offset[128]; -static char fixup_size[1024]; -static int fixup_type[1024]; -static int fixup_tag[1024]; +static char fixup_size[2048]; +static int fixup_type[2048]; +static int fixup_tag[2048]; #define FIXUP_BYTE 0x00 #define FIXUP_WORD 0x80 int id_match(char *name, int len, char *id) @@ -192,7 +192,6 @@ int id_tag(char *name, int len) return (idlocal_offset[i]); if ((i = idglobal_lookup(name, len)) >= 0) return (idglobal_tag[i]); - parse_error("Undeclared identifier"); return (-1); } int id_const(char *name, int len) diff --git a/PLASMA/src/parse.c b/PLASMA/src/parse.c index 99ea7454..67d82f23 100755 --- a/PLASMA/src/parse.c +++ b/PLASMA/src/parse.c @@ -906,11 +906,6 @@ int parse_stmnt(void) break; } } - else - { - parse_error("Syntax error"); - return (0); - } tokenstr = idptr; default: scan_rewind(tokenstr);