help-bison
[Top][All Lists]
Advanced

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

Re: %prefix with C++ namespaces


From: Sebastian Pipping
Subject: Re: %prefix with C++ namespaces
Date: Mon, 01 Oct 2007 20:44:03 +0200
User-agent: Thunderbird 1.5.0.13 (X11/20070824)

Joel E. Denny wrote:
>> (1) %prefix=abc renames function yylex to "abclex"
>>     instead of putting it in namespace abc.
>
> You can write:
>
>   %name-prefix="abc::"
>   %define "namespace" "abc"

Works like a charm, thank you!



Sebastian




reply via email to

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