You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
fix a regression (GDScript) from e00630b
This removes `not` from the variable safe list of
keywords.
Before that this was a valid expression:
self.!(some_arg)
The other fix is just a forgotten boolean negation.
This commit is contained in:
@@ -3283,7 +3283,7 @@ void GDParser::_parse_class(ClassNode *p_class) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (tokenizer->is_token_literal(0, true)) {
|
||||
if (!tokenizer->is_token_literal(0, true)) {
|
||||
_set_error("Expected identifier in signal argument.");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user