mirror of
https://github.com/godotengine/godot.git
synced 2024-11-26 06:03:38 +00:00
parent
19aff15a1a
commit
6759a28050
@ -326,6 +326,7 @@ Error VariantParser::get_token(Stream *p_stream, Token &r_token, int &line, Stri
|
||||
is_float = true;
|
||||
} else if (c == 'e') {
|
||||
reading = READING_EXP;
|
||||
is_float = true;
|
||||
} else {
|
||||
reading = READING_DONE;
|
||||
}
|
||||
@ -337,7 +338,6 @@ Error VariantParser::get_token(Stream *p_stream, Token &r_token, int &line, Stri
|
||||
|
||||
} else if (c == 'e') {
|
||||
reading = READING_EXP;
|
||||
|
||||
} else {
|
||||
reading = READING_DONE;
|
||||
}
|
||||
@ -349,8 +349,6 @@ Error VariantParser::get_token(Stream *p_stream, Token &r_token, int &line, Stri
|
||||
exp_beg = true;
|
||||
|
||||
} else if ((c == '-' || c == '+') && !exp_sign && !exp_beg) {
|
||||
if (c == '-')
|
||||
is_float = true;
|
||||
exp_sign = true;
|
||||
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user