This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Diagnostic clean ups


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]