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:
Ruben Ayrapetyan
2014-07-10 22:06:09 +04:00
parent e6b3be5dfc
commit 6a27068dbd
5 changed files with 38 additions and 39 deletions
+2
View File
@@ -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