cpplib: Use translation unit line numbers

Alexandre Oliva aoliva@redhat.com
Sun Aug 5 16:29:00 GMT 2001


On Aug  5, 2001, Neil Booth <neil@daikokuya.demon.co.uk> wrote:

> in file included from file:line:col
> in macro MACRO expanded from file:line:col
> file:line:col:<message>

> There are as many as 3 lines associated with any given token

I think there may be more.  Think of macros that expand to text
containing macros that expand to text containing macros, etc.  It
would be nice to get the complete stack of macro expansion in case the
error is deep down in a nest of macros.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc-patches mailing list