Commit f365e8f6 by Richard Kenner

(attrib): Permit null-length argument list to attributes.

From-SVN: r9458
parent 406c2af7
...@@ -1104,7 +1104,7 @@ attrib: ...@@ -1104,7 +1104,7 @@ attrib:
{ $$ = build_tree_list ($1, build_tree_list (NULL_TREE, $3)); } { $$ = build_tree_list ($1, build_tree_list (NULL_TREE, $3)); }
| any_word '(' IDENTIFIER ',' nonnull_exprlist ')' | any_word '(' IDENTIFIER ',' nonnull_exprlist ')'
{ $$ = build_tree_list ($1, tree_cons (NULL_TREE, $3, $5)); } { $$ = build_tree_list ($1, tree_cons (NULL_TREE, $3, $5)); }
| any_word '(' nonnull_exprlist ')' | any_word '(' exprlist ')'
{ $$ = build_tree_list ($1, $3); } { $$ = build_tree_list ($1, $3); }
; ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment