bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enhancement request: enabling Variant in C parsers


From: Akim Demaille
Subject: Re: Enhancement request: enabling Variant in C parsers
Date: Thu, 23 Aug 2018 13:14:27 +0200


> Le 23 août 2018 à 10:34, Hans Åberg <address@hidden> a écrit :
> 
> This style with local.mk perhaps comes from an age where Automake was not as 
> smart. I use a Makefile.am.

Totally unrelated.  I use local.mk (should be local.am) because it’s
included from the top-level Makefile.am.  There’s a single Makefile
in the end, and that’s on purpose.  I do not want recursive Makefiles.

> In addition, it might benefit from using say a 
>  #define YYSTYPE double
> to illustrate how one sets ones own type.

What example are you referring to?  Also, you may have noticed that
I try to avoid using the preprocessor in favor of Bison directives.

> This is the only preprocessor macro that remains in the C++ parser,

There’s no such thing in calc++-parser.  Be sure to read from the
build tree, not the source tree.

> so perhaps it should be replaced with a 
>  %semantic-type {...}
> or something.

‘something’ is '%define api.value.type'.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]