1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

Small fixes, mostly dupicated code

(cherry picked from commit 856a8226a5)
This commit is contained in:
qarmin
2019-04-08 11:03:37 +02:00
committed by Rémi Verschelde
parent a2cf479f07
commit 3b703d6707
29 changed files with 32 additions and 60 deletions

View File

@@ -895,7 +895,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;
}