Move fatal from lexer.c to parser.c, rename it to parser_fatal, replace calls from main.c to parser_fatal with calls to jerry_Exit.
This commit is contained in:
@@ -438,4 +438,6 @@ bool is_statement_null (statement);
|
||||
void parser_init (void);
|
||||
statement parser_parse_statement (void);
|
||||
|
||||
void parser_fatal (jerry_Status_t code);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user