From 856a8226a5306632f5dd4d9e9c916d89e3e21495 Mon Sep 17 00:00:00 2001 From: qarmin Date: Mon, 8 Apr 2019 11:03:37 +0200 Subject: Small fixes, mostly dupicated code --- modules/gdscript/gdscript_tokenizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/gdscript/gdscript_tokenizer.cpp') diff --git a/modules/gdscript/gdscript_tokenizer.cpp b/modules/gdscript/gdscript_tokenizer.cpp index 8962e3bb34..97acb6f7f3 100644 --- a/modules/gdscript/gdscript_tokenizer.cpp +++ b/modules/gdscript/gdscript_tokenizer.cpp @@ -894,7 +894,7 @@ void GDScriptTokenizerText::_advance() { } hexa_found = true; } else if (!hexa_found && GETCHAR(i) == 'e') { - if (hexa_found || exponent_found) { + if (exponent_found) { _make_error("Invalid numeric constant at 'e'"); return; } -- cgit v1.2.3