/[bison]/bison/data/yacc.c
ViewVC logotype

Diff of /bison/data/yacc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.38 by akim, Sat Nov 16 12:32:27 2002 UTC revision 1.39 by eggert, Mon Nov 25 06:42:10 2002 UTC
# Line 912  yybackup: Line 912  yybackup:
912      }      }
913    else    else
914      {      {
       /* We have to keep this `#if YYDEBUG', since we use variables  
          which are defined only if `YYDEBUG' is set.  */  
915        YYDSYMPRINTF ("Next token is", yytoken, &yylval, &yylloc);        YYDSYMPRINTF ("Next token is", yytoken, &yylval, &yylloc);
916      }      }
917    
# Line 1073  yyerrlab: Line 1071  yyerrlab:
1071  #endif /* YYERROR_VERBOSE */  #endif /* YYERROR_VERBOSE */
1072          yyerror (]b4_yyerror_args["syntax error");          yyerror (]b4_yyerror_args["syntax error");
1073      }      }
   goto yyerrlab1;  
   
1074    
 /*----------------------------------------------------.  
 | yyerrlab1 -- error raised explicitly by an action.  |  
 `----------------------------------------------------*/  
 yyerrlab1:  
1075    if (yyerrstatus == 3)    if (yyerrstatus == 3)
1076      {      {
1077        /* If just tried and failed to reuse lookahead token after an        /* If just tried and failed to reuse lookahead token after an
# Line 1107  yyerrlab1: Line 1099  yyerrlab1:
1099    
1100    /* Else will try to reuse lookahead token after shifting the error    /* Else will try to reuse lookahead token after shifting the error
1101       token.  */       token.  */
1102      goto yyerrlab1;
1103    
1104    
1105    /*----------------------------------------------------.
1106    | yyerrlab1 -- error raised explicitly by an action.  |
1107    `----------------------------------------------------*/
1108    yyerrlab1:
1109    yyerrstatus = 3;      /* Each real token shifted decrements this.  */    yyerrstatus = 3;      /* Each real token shifted decrements this.  */
1110    
1111    for (;;)    for (;;)

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26