Le 29 sept. 07 à 04:06, Sebastian Pipping a écrit :
Hello Bison people!
I noticed two things with %prefix when combined
with a C++ parser that might be bugs:
(1) %prefix=abc renames function yylex to "abclex"
instead of putting it in namespace abc.
Well, that was on purpose, to match
On Sat, 29 Sep 2007, Sebastian Pipping wrote:
> I noticed two things with %prefix when combined
> with a C++ parser that might be bugs:
>
>
> (1) %prefix=abc renames function yylex to "abclex"
> instead of putting it in namespace abc.
You can write:
%name-prefix="abc::"
%define "namesp
On 29 Sep 2007, at 04:06, Sebastian Pipping wrote:
I noticed two things with %prefix when combined
with a C++ parser that might be bugs:
(1) %prefix=abc renames function yylex to "abclex"
instead of putting it in namespace abc.
You are right, it should be in a namespace, though I think i