c-parse.in (absdcl1): Allow attributes in explicit typespecs.
* c-parse.in (absdcl1): Allow attributes in explicit typespecs. (%expect): Update. * c-parse.y: Regenerate. * c-parse.c: Likewise. * objc/objc-parse.c: Likewise. * objc/objc-parse.y: Likewise. Co-Authored-By: Donn Terry <donn@interix.com> From-SVN: r26663
This commit is contained in:
parent
0f92adae32
commit
112cedb09b
@ -1,3 +1,13 @@
|
||||
Mon Apr 26 23:28:54 1999 Mumit Khan <khan@xraylith.wisc.edu>
|
||||
Donn Terry <donn@interix.com>
|
||||
|
||||
* c-parse.in (absdcl1): Allow attributes in explicit typespecs.
|
||||
(%expect): Update.
|
||||
* c-parse.y: Regenerate.
|
||||
* c-parse.c: Likewise.
|
||||
* objc/objc-parse.c: Likewise.
|
||||
* objc/objc-parse.y: Likewise.
|
||||
|
||||
Mon Apr 26 21:17:41 1999 Jason Merrill <jason@yorick.cygnus.com>
|
||||
|
||||
* c-pragma.c (push_alignment): Don't ignore alignments greater than
|
||||
|
1776
gcc/c-parse.c
1776
gcc/c-parse.c
File diff suppressed because it is too large
Load Diff
@ -31,7 +31,7 @@ ifobjc
|
||||
%expect 66
|
||||
end ifobjc
|
||||
ifc
|
||||
%expect 46
|
||||
%expect 51
|
||||
|
||||
/* These are the 23 conflicts you should get in parse.output;
|
||||
the state numbers may vary if minor changes in the grammar are made.
|
||||
@ -1709,6 +1709,8 @@ absdcl1: /* a nonempty absolute declarator */
|
||||
{ $$ = build_nt (ARRAY_REF, NULL_TREE, NULL_TREE); }
|
||||
/* ??? It appears we have to support attributes here, however
|
||||
using prefix_attributes is wrong. */
|
||||
| attributes setattrs absdcl1
|
||||
{ $$ = $3; }
|
||||
;
|
||||
|
||||
/* at least one statement, the first of which parses without error. */
|
||||
|
@ -28,7 +28,7 @@ Boston, MA 02111-1307, USA. */
|
||||
/* To whomever it may concern: I have heard that such a thing was once
|
||||
written by AT&T, but I have never seen it. */
|
||||
|
||||
%expect 46
|
||||
%expect 51
|
||||
|
||||
/* These are the 23 conflicts you should get in parse.output;
|
||||
the state numbers may vary if minor changes in the grammar are made.
|
||||
@ -1518,6 +1518,8 @@ absdcl1: /* a nonempty absolute declarator */
|
||||
{ $$ = build_nt (ARRAY_REF, NULL_TREE, NULL_TREE); }
|
||||
/* ??? It appears we have to support attributes here, however
|
||||
using prefix_attributes is wrong. */
|
||||
| attributes setattrs absdcl1
|
||||
{ $$ = $3; }
|
||||
;
|
||||
|
||||
/* at least one statement, the first of which parses without error. */
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1625,6 +1625,8 @@ absdcl1: /* a nonempty absolute declarator */
|
||||
{ $$ = build_nt (ARRAY_REF, NULL_TREE, NULL_TREE); }
|
||||
/* ??? It appears we have to support attributes here, however
|
||||
using prefix_attributes is wrong. */
|
||||
| attributes setattrs absdcl1
|
||||
{ $$ = $3; }
|
||||
;
|
||||
|
||||
/* at least one statement, the first of which parses without error. */
|
||||
|
Loading…
Reference in New Issue
Block a user