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: Reorganize C statement parsing


On Fri, Jun 25, 2004 at 05:34:27PM -0700, Zack Weinberg wrote:
> Now that we have EXPR_LOCUS, surely a lot of the save_location rules
> can be eliminated?

Not really.  We have a choice, sprinkle save_location everywhere,
or have the line number come out at the end of the statement rather
than the beginning.

All of this would be much cleaner with a hand-built parser...


r~


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