Small fixes, mostly dupicated code
This commit is contained in:
parent
c2c11fc063
commit
856a8226a5
29 changed files with 32 additions and 60 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue