[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [feature request] c++ parsers: add #defines YYBISON/YYBISON_VERSION
From: |
Akim Demaille |
Subject: |
Re: [feature request] c++ parsers: add #defines YYBISON/YYBISON_VERSION |
Date: |
Wed, 21 Nov 2018 08:58:01 +0100 |
> Le 20 nov. 2018 à 21:25, Jannick <address@hidden> a écrit :
>
> Hi Akim,
>
> Just a minor thing which helps to distinguish parsers (while I am slowly
> switching to c++ parsers): Would it be possible to add to c++ parsers
>
> #define YYBISON 1
> #define YYBISON_VERSION "x.y.z"
>
> as for c parsers? The #defines are guarded away in c.m4 I believe.
I personally don’t see the point of these macros, that’s why I didn’t install
them in C++. How are they useful to you?