diff options
author | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-06-27 10:04:57 (GMT) |
---|---|---|
committer | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-06-27 10:04:57 (GMT) |
commit | 8b69cec1f8c4e579e3183a7099e0648a8ffffdd7 (patch) | |
tree | 9ec87d508edda186e15a619503e2c8803de45b2e /parser.y | |
parent | e8218ae0c73e6963362181df6c5736a4eef0900c (diff) |
Clifford Wolf:
Some UI improvements
git-svn-id: http://svn.clifford.at/openscad/trunk@33 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'parser.y')
-rw-r--r-- | parser.y | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -400,8 +400,9 @@ int parserlex(void) void yyerror (char const *s) { - fprintf(stderr, "Parser error in line %d: %s\n", lexerget_lineno(), s); - exit(1); + // FIXME: We leak memory on parser errors... + PRINTF("Parser error in line %d: %s\n", lexerget_lineno(), s); + module = NULL; } extern const char *parser_input_buffer; |