[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Extract language-independent stuff out of c.m4
From: |
Paul Eggert |
Subject: |
Re: [PATCH] Extract language-independent stuff out of c.m4 |
Date: |
Tue, 03 Oct 2006 13:52:27 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
Paolo Bonzini <address@hidden> writes:
> A cleanup which is necessary for the Java front-end, but worthwhile on
> its own.
The basic idea looks fine. Some comments:
> Most of the stuff in c.m4 is absolutely language independent. This
> patch extracts it in a separate bison.m4 file.
The "language independent" bit includes using "&&" for short-circuit
AND. This works between C & Java, but not between (say) C and Scheme.
So is this part really "language independent"? Or perhaps the name
needs to be redone.
> In the meanwhile, I
> moved one tiny language dependent detail out of the C source code into
> M4: the default prefix for Java will be YY, not yy. :-)
Won't an M4 change be required for this as well?