help-bison
[Top][All Lists]
Advanced

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

bison generates a "C" statement that is missing the ending semicolon


From: Frank Lopez
Subject: bison generates a "C" statement that is missing the ending semicolon
Date: Mon, 25 Nov 2002 12:08:18 -0800

I have a "C" file that Bison generates that is 2650 lines long, but for some reason on one line within the "C" file, bison is forgetting to put a semicolon at the end of "C" statement.  See below ... it is the line after case 14.  This is line 1987 in the "C" file.

Question: Does anyone know why this is occurring?  Is there a workaround other than having to edit the file and put the semicolon in?

Within

int yyparse(YYPARSE_PARAM_ARG) YYPARSE_PARAM_DECL
{

...

switch (yyn)
{

...

case 14:
    { yyval = yyvsp[0] }
    break;

...

}

+++++ END OF MESSAGE +++++


reply via email to

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