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.

(2) Nested namespaces do not work:
    %prefix=abc::def should give

      namespace abc {
      namespace def {
        ..
      }
      }

    instead of

      namespace abc::def {
        ..
      }

    I guess?


Is this known and planned to fix?



Sebastian


_______________________________________________
help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to