]> ocean-lang.org Git - ocean/blobdiff - csrc/parsergen.mdc
parsergen: enable error handling.
[ocean] / csrc / parsergen.mdc
index aacc59810be2e13aad50d1494171609797dcd71d..bc1a604d3a8d696bb666d4262c735740b3648d92 100644 (file)
@@ -2888,11 +2888,7 @@ checks if a given token is in any of these look-ahead sets.
                                        // FIXME update since_indent here
                                }
                        }
-                       if (p.tos == 0 && tk->num == TK_eof)
-                               break;
-                       tos = &p.stack[p.tos-1];
                        tos->indents += indents;
-                       exit(1);
                }
                free(tk);
                pop(&p, p.tos, NULL, do_free);