mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
new_struct doesn't like "" names
This commit is contained in:
parent
c0880a94a9
commit
58ecbd1171
1 changed files with 1 additions and 1 deletions
|
@ -473,7 +473,7 @@ _parse_type (const char **str)
|
|||
return 0;
|
||||
}
|
||||
(*str)++;
|
||||
new.aux_type = new_struct (name->str);
|
||||
new.aux_type = new_struct (*name->str ? name->str : 0);
|
||||
dstring_delete (name);
|
||||
while (**str && **str != '}')
|
||||
new_struct_field (new.aux_type, _parse_type (str), 0,
|
||||
|
|
Loading…
Reference in a new issue