Merge pull request #9846 from karroffel/im-the-keyword-repair-man
fix a regression (GDScript) from e00630b
This commit is contained in:
commit
ee7188fe56
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -250,7 +250,7 @@ bool GDTokenizer::is_token_literal(int p_offset, bool variable_safe) const {
|
|||
case TK_BUILT_IN_FUNC:
|
||||
|
||||
case TK_OP_IN:
|
||||
case TK_OP_NOT:
|
||||
//case TK_OP_NOT:
|
||||
//case TK_OP_OR:
|
||||
//case TK_OP_AND:
|
||||
|
||||
|
|
Loading…
Reference in New Issue