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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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());