Re: FW: bison-2.3 build error: src/bison not found

2011-04-16 Thread lilei
Yes, it works! Just only need touch src/parse-gram.[ch], thanks a lot ! 于 2011-4-15 20:11, Joel E. Denny 写道: > On Tue, 12 Apr 2011, Ray.li wrote: > >> /home/adrian/ci/home/jobs/RB-8.3.1_bds-64bit/workspace/RB-8.3.1_bds-64bi >> t/release_64/external/bison-2.3/tests/.././src/bison: >> cannot ex

Re: Additional Parameter to a Push and Pure Parser

2011-04-16 Thread Joel E. Denny
On Sat, 16 Apr 2011, Flavius Aspra wrote: > How can I pass one aditional parameter (not the token minor of type YYSTYPE) > to the yypush_parse() function? See %parse-param in the Bison manual. > YYPARSE_PARAM As documented in the Bison manual, YYPARSE_PARAM is obsolete. Don't use it if you wa

Additional Parameter to a Push and Pure Parser

2011-04-16 Thread Flavius Aspra
Hi How can I pass one aditional parameter (not the token minor of type YYSTYPE) to the yypush_parse() function? The parser is indeed reentrant, but this one aditional variable is crucial for the thread-safety of the application I need to integrate my parser in (it's a PHP extension, so we're