parse.y (sizeof, [...]): New non-terminals to increment skip_evaluation.
authorAlexandre Oliva <aoliva@redhat.com>
Thu, 15 Aug 2002 21:16:52 +0000 (21:16 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Thu, 15 Aug 2002 21:16:52 +0000 (21:16 +0000)
commitc01b9ec8ebca3b360ceb0ca36a685c5bde1f7322
tree95089cc71f56476e15c245fd3e1233b5298fa642
parent25587e40f5d35cc73b6351b140e4c3d90aed8f7c
parse.y (sizeof, [...]): New non-terminals to increment skip_evaluation.

* parse.y (sizeof, alignof, typeof): New non-terminals to
increment skip_evaluation.  Replace terminals with them and
decrement skip_evaluation at the end of rules using them.
* decl2.c (mark_used): Don't assemble_external if
skipping evaluation.

From-SVN: r56359
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/cp/parse.y