]> git.ipfire.org Git - thirdparty/gcc.git/commit
parse.y (sizeof, [...]): New non-terminals to increment skip_evaluation.
authorAlexandre Oliva <aoliva@redhat.com>
Sun, 1 Sep 2002 20:10:32 +0000 (20:10 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Sun, 1 Sep 2002 20:10:32 +0000 (20:10 +0000)
commit127aee1b50f85cd0aaf05bb6c4135aa402d0e28b
tree593ff124bba0599f230cf4088a6a3b637946f276
parente3de29d9c5293e7c29ac69c56f8578b3ae886875
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: r56726
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/cp/parse.y