forked from xxq250/Nasal-Interpreter
Bug fixed
This commit is contained in:
@@ -138,6 +138,7 @@ abstract_syntax_tree generator::statements_block()
|
||||
}
|
||||
else
|
||||
{
|
||||
parse.push(this_token);
|
||||
node.add_statement(in_curve_calc_expr());
|
||||
}
|
||||
check_semi_at_end();
|
||||
@@ -1087,6 +1088,7 @@ void generator::gen_main_work()
|
||||
}
|
||||
else
|
||||
{
|
||||
parse.push(this_token);
|
||||
root.add_statement(in_curve_calc_expr());
|
||||
}
|
||||
check_semi_at_end();
|
||||
|
||||
@@ -179,6 +179,7 @@ void nasal_parser::statements_block()
|
||||
}
|
||||
else
|
||||
{
|
||||
parse.push(this_token);
|
||||
in_curve_calc_expr();
|
||||
}
|
||||
check_semi_at_end();
|
||||
@@ -1360,6 +1361,7 @@ void nasal_parser::parse_main_work()
|
||||
}
|
||||
else
|
||||
{
|
||||
parse.push(this_token);
|
||||
in_curve_calc_expr();
|
||||
}
|
||||
check_semi_at_end();
|
||||
|
||||
Reference in New Issue
Block a user