From: Richard Kenner Date: Tue, 25 Apr 1995 22:57:39 +0000 (-0400) Subject: (attrib): Permit null-length argument list to attributes. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f365e8f67311ac607a0f6045f8fd7f991c2d1060;p=gcc.git (attrib): Permit null-length argument list to attributes. From-SVN: r9458 --- 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); } ;