diff options
| author | Rémi Verschelde | 2017-02-28 23:03:10 +0100 |
|---|---|---|
| committer | GitHub | 2017-02-28 23:03:10 +0100 |
| commit | a1cbe8e22bec516b138436d06282046466e89c79 (patch) | |
| tree | 24c8d7757a3f1d9e3543a8eff1363f0f7943cbc6 /core/variant_parser.cpp | |
| parent | c5df3d4d8d3d6ee74b0dad5eeb45f318c8b205a9 (diff) | |
| parent | f50488a36188d5975bfa8554687a1acdd394d6a9 (diff) | |
| download | godot-a1cbe8e22bec516b138436d06282046466e89c79.tar.gz godot-a1cbe8e22bec516b138436d06282046466e89c79.tar.zst godot-a1cbe8e22bec516b138436d06282046466e89c79.zip | |
Merge pull request #7878 from RebelliousX/else
Bunch of missing `else` statements and general logic
Diffstat (limited to 'core/variant_parser.cpp')
| -rw-r--r-- | core/variant_parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant_parser.cpp b/core/variant_parser.cpp index 3507501f2..a2ecb1516 100644 --- a/core/variant_parser.cpp +++ b/core/variant_parser.cpp @@ -1414,7 +1414,7 @@ Error VariantParser::parse_value(Token& token,Variant &value,Stream *p_stream,in return OK; } else if (id=="img") { // compatibility with godot.cfg - Token token; + Token token; // FIXME: no need for this declaration? the first argument in line 509 is a Token& token. get_token(p_stream,token,line,r_err_str); if (token.type!=TK_PARENTHESIS_OPEN) { r_err_str="Expected '(' in old-style godot.cfg construct"; |
