summaryrefslogtreecommitdiff
path: root/cparser/Parser.vy
diff options
context:
space:
mode:
Diffstat (limited to 'cparser/Parser.vy')
-rw-r--r--cparser/Parser.vy4
1 files changed, 2 insertions, 2 deletions
diff --git a/cparser/Parser.vy b/cparser/Parser.vy
index b59997d..a4cdb0d 100644
--- a/cparser/Parser.vy
+++ b/cparser/Parser.vy
@@ -419,8 +419,8 @@ struct_or_union:
{ (UNION, loc) }
struct_declaration_list:
-| decl = struct_declaration
- { [decl] }
+| (* empty *)
+ { nil }
| qdecls = struct_declaration_list tdecls = struct_declaration
{ tdecls::qdecls }