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

Merge pull request #27673 from qarmin/small_fixes

Small fixes, mostly duplicated code
This commit is contained in:
Rémi Verschelde
2019-04-22 12:00:34 +02:00
committed by GitHub
29 changed files with 32 additions and 60 deletions

View File

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