Merge pull request #9883 from bojidar-bg/8217-fixup-get_node-shortcut

Fix $a/b being parsed as division
This commit is contained in:
Rémi Verschelde 2017-07-26 18:17:51 +02:00 committed by GitHub
commit 88bd18244b
1 changed files with 2 additions and 1 deletions

View File

@ -314,9 +314,10 @@ GDParser::Node *GDParser::_parse_expression(Node *p_parent, bool p_static, bool
path += String(tokenizer->get_token_literal()); path += String(tokenizer->get_token_literal());
tokenizer->advance(); tokenizer->advance();
need_identifier = false; need_identifier = false;
} else {
done = true;
} }
done = true;
break; break;
} }
} }