This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: make grokfield handle locations
On Tue, 19 Aug 2008, Aldy Hernandez wrote:
> However, putting tokens on their own lines doesn't exhibit the problem
> I'm trying to solve. For example, in the snippet below, mainline will
> correctly pick the right line, thus-- the right token-- in its error
> message (even without my patch):
Could you then explain in much more detail what the bug is and why the
patch fixes it? Where does the column number in the output come from
before the patch, if it's not coming from a token other than the one you
want it to come from?
--
Joseph S. Myers
joseph@codesourcery.com