FINALLY fixed an error that took weeks. Turned out that the ParseRule was shallow copied, and the lookahead was not copied correctly. So it got extended and thus skipped over the state when it should have been redone.

This commit is contained in:
Nathan Braswell committed 2013-12-18 18:05:21 -06:00
1 parent d38fd32323
commit f273deaedc
11 files changed
+86 -68

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@
enum ASTType {undef, translation_unit, interpreter_directive, import, identifier,
function, code_block,
typed_parameter, expression, boolean_expression, statement,
if_statement, return_statement, assignment_statement, declaration_statement,
if_statement, while_loop, for_loop, return_statement, assignment_statement, declaration_statement,
function_call, value};
enum ValueType {none, boolean, integer, floating, double_percision, char_string };