[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bison 1.50 breaks reentrant yyerror() usage
From: |
Paul Eggert |
Subject: |
Re: Bison 1.50 breaks reentrant yyerror() usage |
Date: |
Sat, 12 Oct 2002 23:29:09 -0700 (PDT) |
> Date: Sat, 12 Oct 2002 12:26:32 +0200
> From: address@hidden
>
> %param {struct foo *my_foo} {my_foo}
> %param {char tab[10]}{tab}
>
> or some similar syntax. This would completely replace *_PARAM which
> is very inconvenient (just look at the cascade of #-handling) and not
> portable to other languages.
Something like that sounds reasonable.
I assume that %param and YYPARSE_PARAM would be incompatible? I.e., a
grammar wouldn't be able to use both features, and YYPARSE_PARAM would
be deprecated but would be supported for a while, so long as the
grammer doesn't also use %param.
What about YYLEX_PARAM? Perhaps we want %parse_param versus %lex_param?