This is the mail archive of the
mailing list for the GCC project.
Re: Remove redundant line in c-parse.in
Joseph S. Myers wrote:-
> What are you hoping to simplify?
Give me a chance to fail in private before making a fool of myself in
Anyhow, I'm moving house tomorrow, so I won't have much, if any, time
over the next 2 or 3 days.
> I'm now implementing static and type qualifiers in parameter array
> declarators - which I think will finish the C99 syntax, albeit with
> plenty of semantics left to do and with the details of the grammar
> needing to be checked against C99 - so once this is done (with
> testcases) might be a good time for cleanups and simplifications,
> given that the grammar should then be essentially complete.
I'm just looking to simplify what's already there (and seems to have
been there for ages - the line the above patch deleted was there in
1.1 in 1997), so we're not crossing over. I'm not sure it'll work,
but I think and hope it will.
Really, you see, I'm just trying to figure out what's going on. In
it's present form, c-parse.in is sufficiently opaque that I feel the
need to simplify it to begin to understand it. I also have a nagging
feeling that a fair bit of what's there is work-around, and that once
things start to simplify it'll snowball.