mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Small fixes, mostly dupicated code
(cherry picked from commit 856a8226a5)
This commit is contained in:
@@ -3006,8 +3006,8 @@ static Error _lookup_symbol_from_base(const GDScriptParser::DataType &p_base, co
|
||||
}
|
||||
}
|
||||
}
|
||||
base_type = base_type.class_type->base_type;
|
||||
}
|
||||
base_type = base_type.class_type->base_type;
|
||||
} break;
|
||||
case GDScriptParser::DataType::SCRIPT:
|
||||
case GDScriptParser::DataType::GDSCRIPT: {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user