Re: %destructor feedback

2006-01-03 Thread Joel E. Denny
On Tue, 3 Jan 2006, Akim Demaille wrote: > >>> "Joel" == Joel E Denny <[EMAIL PROTECTED]> writes: > > > This seems even clearer: > > > { > > YYABORT; > > YYUSE_VAL ($$); > > } > > > What do you think? > > I'm fine with that change. Please, go ahead :) Above is an example us

pure bison parser calling reentrant flex

2006-01-03 Thread Arkadius Nowakowski
Hi, I've read, that connecting a pure parser to a reentrant flex scanner can be some kind of difficult, unless you know what to do. Well... I've tried to find a solution by adding params to the scanner and the parser, calling yylex_init before calling yyparse and so on, but with no success. Curre

Re: %destructor feedback

2006-01-03 Thread Akim Demaille
>>> "Joel" == Joel E Denny <[EMAIL PROTECTED]> writes: > The following seems misleading to me because it seems to imply that > the 0 actually has some significance even though the parser > discards $$. You did something similar in your test case patch: > { > $$ = 0; > YYABORT; >