From 5319098aefc89622af9700162f2367d0cc565955 Mon Sep 17 00:00:00 2001 From: Karroffel Date: Tue, 25 Jul 2017 20:01:19 +0200 Subject: 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. --- modules/gdscript/gd_tokenizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/gdscript/gd_tokenizer.cpp') diff --git a/modules/gdscript/gd_tokenizer.cpp b/modules/gdscript/gd_tokenizer.cpp index 95774cb6d..01e383549 100644 --- a/modules/gdscript/gd_tokenizer.cpp +++ b/modules/gdscript/gd_tokenizer.cpp @@ -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: -- cgit v1.2.3-70-g09d2