Fix type parsing
the check on incomplete struct/union/enum types was too early, disallowing mixed specifiers and qualifiers. Simply rely on the size (->c) field for that. See testcases.
This commit is contained in:
@ -1 +1 @@
|
||||
61_undefined_enum.c:1: error: unknown struct/union/enum
|
||||
61_undefined_enum.c:1: error: unknown type size
|
||||
|
||||
Reference in New Issue
Block a user