Merge line-by-line parser

This commit is contained in:
Ilmir Usmanov
2014-07-09 16:17:42 +04:00
parent 823432664e
commit f46d5b440c
24 changed files with 2416 additions and 3404 deletions
+3 -7
View File
@@ -16,20 +16,16 @@
#ifndef ERROR_H
#define ERROR_H
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include "mappings.h"
void lexer_dump_buffer_state ();
#define unreachable() assert(0)
extern void lexer_dump_buffer_state ();
static inline void
fatal (int code)
{
printf ("FATAL: %d\n", code);
lexer_dump_buffer_state ();
unreachable ();
JERRY_UNREACHABLE ();
exit (code);
}