This is the mail archive of the gcc@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: Column number information in 3.4.x?


Chris Lattner wrote:

Ok, that makes sense.  Until the front-ends all get updated, they can
always just provide 0 as the column number to preserve current behavior...

Right, but they still have to be updated to request a source_location
from the global line_table since that would be the new type of input_location, DECL_LOCUS, etc. A few well-chosen macros should make that easy. Note that input_line would no longer be an lvalue but an rvalue-only macro that may call a function.
--
--Per Bothner
per@bothner.com http://per.bothner.com/




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