From d0af92096242ff6e452c726d682295145189e848 Mon Sep 17 00:00:00 2001 From: Jacques-Henri Jourdan Date: Wed, 23 Mar 2016 10:54:12 +0100 Subject: Fix a bug in the pre-parser. --- cparser/pre_parser.mly | 1 + 1 file changed, 1 insertion(+) (limited to 'cparser/pre_parser.mly') diff --git a/cparser/pre_parser.mly b/cparser/pre_parser.mly index d6a4a21c..21008f1c 100644 --- a/cparser/pre_parser.mly +++ b/cparser/pre_parser.mly @@ -665,6 +665,7 @@ direct_declarator: | i = declarator_identifier { set_id_type i VarId; (i, Decl_ident) } | LPAREN save_context x = declarator RPAREN + { x } | x = direct_declarator LBRACK type_qualifier_list? optional(assignment_expression, RBRACK) { match snd x with | Decl_ident -> (fst x, Decl_other) -- cgit