Re: about parse-gram of bison itself

2010-07-21 Thread Akim Demaille
Le 6 juin 2010 à 19:39, tys lefering a écrit : > Hi, Hi Tys! See, your messages are not lost, just in the queue :) > In parse-gram.y from GNU bison-2.5 branch. > > The grammar_declaration rule is in 2 parts: > > 1) > > grammar_declaration: > precedence_declaration > | symbol_declaration >

Re: Unexpected error due to EOF

2010-07-21 Thread Panayiotis Karabassis
Well, it turns out it was a missing YYSTYPE definition from the parser file. Thus defaulting to int and having yystate accidentally overwritten on updating yylval. A difficult bug. Regards, Panayiotis On 07/21/2010 09:48 PM, Panayiotis Karabassis wrote: Hi! I am getting an unexpected ( by