You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Changed some code showed in LGTM and Coverage
This commit is contained in:
@@ -793,17 +793,13 @@ Error Expression::_get_token(Token &r_token) {
|
||||
#define GET_CHAR() (str_ofs >= expression.length() ? 0 : expression[str_ofs++])
|
||||
|
||||
CharType cchar = GET_CHAR();
|
||||
if (cchar == 0) {
|
||||
r_token.type = TK_EOF;
|
||||
return OK;
|
||||
}
|
||||
|
||||
switch (cchar) {
|
||||
|
||||
case 0: {
|
||||
r_token.type = TK_EOF;
|
||||
return OK;
|
||||
} break;
|
||||
};
|
||||
case '{': {
|
||||
|
||||
r_token.type = TK_CURLY_BRACKET_OPEN;
|
||||
|
||||
Reference in New Issue
Block a user