Fixed a bug.

This commit is contained in:
Valk Richard Li
2019-11-21 11:05:42 +08:00
committed by GitHub
parent 57fe347400
commit 7b12504343
+1 -1
View File
@@ -344,7 +344,7 @@ abstract_syntax_tree balloon_parse::loop()
} }
check_semi(); check_semi();
get_token(); get_token();
if(this_token.type!=__semi) if(this_token.type!=__semi && this_token.type!=__right_curve)
{ {
parse.push(this_token); parse.push(this_token);
new_node.add_child(scalar()); new_node.add_child(scalar());