mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
[vkgen] Allow mixed dictionary .type parsing
This commit is contained in:
parent
421467529f
commit
f13bc4f4b1
1 changed files with 4 additions and 2 deletions
|
@ -126,8 +126,10 @@ write_function_tail (Struct *self)
|
|||
static void
|
||||
write_parse_type (Struct *self)
|
||||
{
|
||||
fprintf (output_file, "\t\treturn PL_ParseStruct (%s_fields, item, data, "
|
||||
"messages, context);\n", [self outname]);
|
||||
fprintf (output_file, "\t\tif (!PL_ParseStruct (%s_fields, item, data, "
|
||||
"messages, context)) {\n", [self outname]);
|
||||
fprintf (output_file, "\t\t\treturn 0;\n");
|
||||
fprintf (output_file, "\t\t}\n");
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue