Newsgroups: | comp.compilers |
From: | plong@perf.com (Paul Long) |
Keywords: | C++, syntax |
Organization: | Performance Computing Inc., Beaverton, OR |
References: | 95-05-014 95-05-068 |
Date: | Thu, 11 May 1995 18:09:31 GMT |
> bevan@cs.man.ac.uk (Stephen J Bevan) writes:
>Indeed, that's why I dislike compilers that only give line numbers. I
>much prefer character position or failing that line -and- column.
I've written parsers both ways. One problem with specifying the character
position is what to do in the presence of macro expansion. Do you indicate
the position in the original source or in the expanded source. Either way can
lead to confusion.
Paul Long
plong@perf.com
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.