Diagnostic clean ups

Gabriel Dos Reis gdr@codesourcery.com
Sun Jun 9 12:32:00 GMT 2002


Neil Booth <neil@daikokuya.demon.co.uk> writes:

[...]

|  If all you have is a token, you
| can't be sure to point to the right invocation, but you will point
| to the right token in the definition.

Well, actually what you mean by location is two things:

  * definition location -- which corresponds to my concern until then.
  
  * use location -- which corresponds to your description below

| If cpplib passes the tokens in an array (of either tokens or pointers
| to them), then the position in that array is enough to have all
| this information.

Is my summary above matches your view?  If so, I'll propose we clearly
distinguish the two notions both in the documentation and
implementation.  Thoughts?

-- Gaby



More information about the Gcc-patches mailing list