Hans Åberg wrote:

> It is sort of strange in C++ to not have a header, and having
> inlines not in those.

Sure, I think it was just a mistake. Bison puts inlines for some
classes it uses internally (by_state, stack_symbol_type) in the C++
file, that's OK (though they don't really need the "inline" keyword
then, since it doesn't mean "can be inlined", but "can be defined in
several compilation units" in modern C++, but it doesn't hurt), and
probably by accident they caught the syntax_error inline
constructor, too.

Regards,
Frank

Reply via email to