/[bison]/bison/src/bison.simple
ViewVC logotype

Diff of /bison/src/bison.simple

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

revision 1.77 by eggert, Tue Nov 27 23:19:14 2001 UTC revision 1.78 by marc, Wed Nov 28 19:54:36 2001 UTC
# Line 149  typedef struct yyltype Line 149  typedef struct yyltype
149  # define YYLTYPE %%ltype  # define YYLTYPE %%ltype
150  #endif  #endif
151    
152    #ifdef YYERROR_VERBOSE
153    # undef YYERROR_VERBOSE
154    #endif
155    
156    #define YYERROR_VERBOSE %%error_verbose
157    
158  /* Tokens.  */  /* Tokens.  */
159  %%tokendef  %%tokendef
160    
# Line 190  static const short yyrline[] = Line 196  static const short yyrline[] =
196  };  };
197  #endif  #endif
198    
199  #if %%error_verbose  #if YYDEBUG || YYERROR_VERBOSE
200  /* YYTNME[TOKEN_NUM] -- String name of the token TOKEN_NUM.  */  /* YYTNME[TOKEN_NUM] -- String name of the token TOKEN_NUM.  */
201  static const char *const yytname[] =  static const char *const yytname[] =
202  {  {
# Line 819  yyerrlab: Line 825  yyerrlab:
825      {      {
826        ++yynerrs;        ++yynerrs;
827    
828  #if %%error_verbose  #if YYERROR_VERBOSE
829        yyn = yypact[yystate];        yyn = yypact[yystate];
830    
831        if (yyn > YYFLAG && yyn < YYLAST)        if (yyn > YYFLAG && yyn < YYLAST)
# Line 862  yyerrlab: Line 868  yyerrlab:
868              yyerror ("parse error; also virtual memory exhausted");              yyerror ("parse error; also virtual memory exhausted");
869          }          }
870        else        else
871  #endif /* %%ERROR_VERBOSE */  #endif /* YYERROR_VERBOSE */
872          yyerror ("parse error");          yyerror ("parse error");
873      }      }
874    goto yyerrlab1;    goto yyerrlab1;

Legend:
Removed from v.1.77  
changed lines
  Added in v.1.78

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