Fixed a bug.

This commit is contained in:
Valk Richard Li
2019-11-21 11:05:42 +08:00
committed by GitHub
parent 45559eef30
commit a1f2e5bb1c

View File

@@ -344,7 +344,7 @@ abstract_syntax_tree balloon_parse::loop()
}
check_semi();
get_token();
if(this_token.type!=__semi)
if(this_token.type!=__semi && this_token.type!=__right_curve)
{
parse.push(this_token);
new_node.add_child(scalar());