(attrib): Permit null-length argument list to attributes.
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 25 Apr 1995 22:57:39 +0000 (18:57 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 25 Apr 1995 22:57:39 +0000 (18:57 -0400)
From-SVN: r9458

gcc/c-parse.in

index 747d3eff54aad1a9d8c1bc828cdc721c045cd519..b843181170c4ec311d8805a9704841ea686c244c 100644 (file)
@@ -1104,7 +1104,7 @@ attrib:
                { $$ = build_tree_list ($1, build_tree_list (NULL_TREE, $3)); }
        | any_word '(' IDENTIFIER ',' nonnull_exprlist ')'
                { $$ = build_tree_list ($1, tree_cons (NULL_TREE, $3, $5)); }
-       | any_word '(' nonnull_exprlist ')'
+       | any_word '(' exprlist ')'
                { $$ = build_tree_list ($1, $3); }
        ;