help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unexpected error due to EOF


From: Panayiotis Karabassis
Subject: Re: Unexpected error due to EOF
Date: Thu, 22 Jul 2010 00:15:04 +0300
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100620 Icedove/3.0.5

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 me :-) ) syntax error due to the parser reaching the end of file. My input is simply the string "3". Plus the lexer emits a token V_expression at the start of parsing.

If anyone could put some time in helping me solve this I'd be very grateful.

Many thanks in advance!
    Panayiotis




reply via email to

[Prev in Thread] Current Thread [Next in Thread]