summaryrefslogtreecommitdiff
path: root/gcc/c-parse.in
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-04-25 22:57:39 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-04-25 22:57:39 +0000
commit0cb99219c0a61929e465590ad4c0fd197ee5ca50 (patch)
treecd6b5b3a6a5ab8bfe9f06d25b9f544fdf6c9ab3b /gcc/c-parse.in
parentcbd949ecad2f3e94412909c05b9440b782df2263 (diff)
downloadgcc-0cb99219c0a61929e465590ad4c0fd197ee5ca50.tar.gz
(attrib): Permit null-length argument list to attributes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9458 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-parse.in')
-rw-r--r--gcc/c-parse.in2
1 files changed, 1 insertions, 1 deletions
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); }
;