1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Small fixes, mostly dupicated code

This commit is contained in:
qarmin
2019-04-08 11:03:37 +02:00
parent c2c11fc063
commit 856a8226a5
29 changed files with 32 additions and 60 deletions

View File

@@ -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;
}