mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
fix a bug in the parsing of structures
This commit is contained in:
parent
d80b448281
commit
b1b3c148e7
1 changed files with 1 additions and 1 deletions
|
@ -478,7 +478,7 @@ _parse_type (const char **str)
|
|||
while (**str && **str != '}')
|
||||
new_struct_field (new.aux_type, _parse_type (str), 0,
|
||||
vis_public);
|
||||
if (**str != ')')
|
||||
if (**str != '}')
|
||||
return 0;
|
||||
return new.aux_type;
|
||||
case '[':
|
||||
|
|
Loading…
Reference in a new issue