Still having major problems with cpplib and imake

Jakub Jelinek jakub@redhat.com
Fri May 12 02:26:00 GMT 2000


On Fri, May 12, 2000 at 06:17:54PM +0900, Neil Booth wrote:
> Zack Weinberg wrote:-
> 
> > I don't think we have a choice here, Neil.  Imake is too critical to
> > break this badly, much as I'd like to point them at M4 and forget
> > about it :)
> > 
> > There is no particular difficulty - once we're using token lists
> > throughout, and once we fix the bug that tabs aren't accounted
> > properly in column numbering - in noticing when a token starts in
> > column 8, and emitting a tab instead of a space.
> 
> OK - I was afraid it would involve storing copies of arbitrary
> whitespace.  I agree something should be workable if the only problem
> is tabs first on a line.

Yes, I believe so, unless you want to kill -traditional, which would mean
rewriting quite a lot of macros in config/cf because they expect K&R cpp (e.g.
stuff like
#define SomeMacro(lib) SomeOtherMacro(lib.a)
is all over the place.
Although config/cf has a few macros written for both K&R and ANSI, most of
the macros are not.

	Jakub


More information about the Gcc-bugs mailing list