>>> "Wolfgang" == Wolfgang Spraul <[EMAIL PROTECTED]> writes:
> Akim - Hey, >> I'm not sure about %param-destructor, it is not very clean, but just >> like there is %initial-action, we could introduce a %final-action >> always run when leaving yyparse (whether on failure or not). > When you say %param-destructor, do you mean the %destructor-param I was > talking about? Yep, sorry for the M-t, but actually it is thanks to the sed snippet that I finally understood your point. I thought you wanted that yyparse take care of freeing the %parse-params! And indeed, it made little sense :) But it seems that you are pointing out a bug: when I made %parse-param, I had very clearly in mind that it should be available everywhere where user code is called. That's what happens in C++, for free (since these are members). We need no %destructor-param etc., we need to fix yydestructor and yysymprint so that %parse-param are passed to them, just like yyerror. _______________________________________________ Help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison