bug-bison
[Top][All Lists]
Advanced

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

Re: syntax_error constructor is declared inline


From: Hans Åberg
Subject: Re: syntax_error constructor is declared inline
Date: Wed, 14 Mar 2018 23:23:06 +0100


> On 14 Mar 2018, at 23:04, Frank Heckenbach <address@hidden> wrote:
> 
>> It could be deliberate to avoid them being exported. But C++ now
>> has namespaces, which cann be used to avoid name conflicts.
> 
> It's all in a namespace anyway (yy by default) and we're only
> talking about a constructor, so no name conflicts. I think it was a
> simple mistake.

It would seem reasonable that the C++ parser has fewer options, with say always 
headers for example. The stack, location and position headers might be in the 
parser header, so there is no conflict when using multiple parsers.







reply via email to

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