mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
parent
e85be2f5df
commit
c97435cfa5
1 changed files with 1 additions and 3 deletions
|
|
@ -324,6 +324,7 @@ Error VariantParser::get_token(Stream *p_stream, Token &r_token, int &line, Stri
|
||||||
is_float = true;
|
is_float = true;
|
||||||
} else if (c == 'e') {
|
} else if (c == 'e') {
|
||||||
reading = READING_EXP;
|
reading = READING_EXP;
|
||||||
|
is_float = true;
|
||||||
} else {
|
} else {
|
||||||
reading = READING_DONE;
|
reading = READING_DONE;
|
||||||
}
|
}
|
||||||
|
|
@ -335,7 +336,6 @@ Error VariantParser::get_token(Stream *p_stream, Token &r_token, int &line, Stri
|
||||||
|
|
||||||
} else if (c == 'e') {
|
} else if (c == 'e') {
|
||||||
reading = READING_EXP;
|
reading = READING_EXP;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
reading = READING_DONE;
|
reading = READING_DONE;
|
||||||
}
|
}
|
||||||
|
|
@ -347,8 +347,6 @@ Error VariantParser::get_token(Stream *p_stream, Token &r_token, int &line, Stri
|
||||||
exp_beg = true;
|
exp_beg = true;
|
||||||
|
|
||||||
} else if ((c == '-' || c == '+') && !exp_sign && !exp_beg) {
|
} else if ((c == '-' || c == '+') && !exp_sign && !exp_beg) {
|
||||||
if (c == '-')
|
|
||||||
is_float = true;
|
|
||||||
exp_sign = true;
|
exp_sign = true;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue