spew.c (yylex): Only copy the token's lineno, if it is non-zero.
authorNathan Sidwell <nathan@codesourcery.com>
Thu, 26 Jul 2001 08:15:43 +0000 (08:15 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 26 Jul 2001 08:15:43 +0000 (08:15 +0000)
commit312b7c9dd9f2cc098788d5218e856a83ac0c22ae
treed9b05bb0215dfb18744a44da3abe262e1e935ed1
parent648c220695b109476bae09a887821030f78bcaa1
spew.c (yylex): Only copy the token's lineno, if it is non-zero.

cp:
* spew.c (yylex): Only copy the token's lineno, if it is
non-zero.
testsuite:
* g++.old-deja/g++.other/lineno5.C: New test.

From-SVN: r44391
gcc/cp/ChangeLog
gcc/cp/spew.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.other/lineno5.C [new file with mode: 0644]