Commit 4861df39 authored by Alejandro Mery's avatar Alejandro Mery
Browse files

script_fex: properly report unknown value types

parent 455babd7
...@@ -319,6 +319,8 @@ int script_parse_fex(FILE *in, const char *filename, struct script *script) ...@@ -319,6 +319,8 @@ int script_parse_fex(FILE *in, const char *filename, struct script *script)
last_section->name, key, v); last_section->name, key, v);
continue; continue;
} }
} else {
goto invalid_char_at_p;
} }
goto parse_error; goto parse_error;
invalid_char_at_p: invalid_char_at_p:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment