From f365e8f67311ac607a0f6045f8fd7f991c2d1060 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Tue, 25 Apr 1995 18:57:39 -0400 Subject: [PATCH] (attrib): Permit null-length argument list to attributes. From-SVN: r9458 --- gcc/c-parse.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/c-parse.in b/gcc/c-parse.in index 747d3eff54a..b843181170c 100644 --- a/gcc/c-parse.in +++ b/gcc/c-parse.in @@ -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); } ; -- 2.30.2