This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/14438] [3.5, needs investigation] -E of #pragma has negative line number
- From: "neroden at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Mar 2004 04:35:59 -0000
- Subject: [Bug preprocessor/14438] [3.5, needs investigation] -E of #pragma has negative line number
- References: <20040305002353.14438.lindsayd@cisco.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From neroden at gcc dot gnu dot org 2004-03-24 04:35 -------
>I suppose one way to fix this issue would be to decrement cur_token
>again when returning in the CPP_EOF case, such that we'd return the
>same EOF token over and over;
Actually, that sounds like a fairly robust thing to do -- in _cpp_lex_direct,
perhaps?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14438