[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: glr.c: Token definitions
From: |
Akim Demaille |
Subject: |
Re: glr.c: Token definitions |
Date: |
Mon, 19 Dec 2005 21:21:56 +0100 |
Bison itself could then use the spec's filename to help select a
skeleton.
This scheme would scale nicely to support other output languages
(Java,
C#, etc) if bison were to include such skeletons one day.
I agree with idea, but it doesn't fit well with Make. AFAIK you
can't define suffix-stripping rules, just suffix-changing rules. And
you can't even try to include the .c part in the suffix:
.cc.bison.cc:
is something ambiguous. Hm. But using PREFIX, maybe it is not? Anyway,
this is not conventional...