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

Diff of /bison/data/bison.simple

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

revision 1.27 by eggert, Fri May 24 12:37:12 2002 UTC revision 1.28 by akim, Sun May 26 18:38:41 2002 UTC
# Line 362  static const b4_uint_type(b4_rline_max) Line 362  static const b4_uint_type(b4_rline_max)
362  };  };
363  #endif  #endif
364    
365  #if (YYDEBUG) || YYERROR_VERBOSE  #if YYDEBUG || YYERROR_VERBOSE
366  /* YYTNME[[SYMBOL-NUM]] -- String name of the symbol SYMBOL-NUM.  /* YYTNME[[SYMBOL-NUM]] -- String name of the symbol SYMBOL-NUM.
367     First, the terminals, then, starting at YYNTOKENS, nonterminals. */     First, the terminals, then, starting at YYNTOKENS, nonterminals. */
368  static const char *const yytname[[]] =  static const char *const yytname[[]] =
# Line 389  static const b4_uint_type(b4_r2_max) yyr Line 389  static const b4_uint_type(b4_r2_max) yyr
389    b4_r2    b4_r2
390  };  };
391    
392  /* YYDEFACT[[S]] -- default rule to reduce with in state S when YYTABLE  /* YYDEFACT[[STATE-NAME]] -- Default rule to reduce with in state
393     doesn't specify something else to do.  Zero means the default is an     STATE-NUM when YYTABLE doesn't specify something else to do.  Zero
394     error.  */     means the default is an error.  */
395  static const short yydefact[[]] =  static const short yydefact[[]] =
396  {  {
397    b4_defact    b4_defact
# Line 429  static const short yycheck[[]] = Line 429  static const short yycheck[[]] =
429    b4_check    b4_check
430  };  };
431    
432    #if YYDEBUG
433    /* YYSTOS[[STATE-NUM]] -- The (internal number of the) accessing
434       symbol of state STATE-NUM.  */
435    static const b4_uint_type(b4_stos_max) yystos[[]] =
436    {
437      b4_stos
438    };
439    #endif
440    
441  #if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__)  #if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__)
442  # define YYSIZE_T __SIZE_TYPE__  # define YYSIZE_T __SIZE_TYPE__
# Line 1137  yyerrlab1: Line 1145  yyerrlab1:
1145        /* Pop the current state because it cannot handle the error token.  */        /* Pop the current state because it cannot handle the error token.  */
1146        if (yyssp == yyss)        if (yyssp == yyss)
1147          YYABORT;          YYABORT;
1148    
1149    #if YYDEBUG
1150          if (yydebug)
1151            {
1152              if (yystos[yystate] < YYNTOKENS)
1153                {
1154                  YYFPRINTF (stderr, "Error: popping token %d (%s",
1155                             yytoknum[yystos[yystate]], yytname[yystos[yystate]]);
1156    # ifdef YYPRINT
1157                  YYPRINT (stderr, yytoknum[yystos[yystate]], *yyvsp);
1158    # endif
1159                  YYFPRINTF (stderr, ")\n");
1160                }
1161              else
1162                {
1163                  YYFPRINTF (stderr, "Error: popping nonterminal (%s)\n",
1164                             yytname[yystos[yystate]]);
1165                }
1166            }
1167    #endif
1168    
1169        yyvsp--;        yyvsp--;
1170        yystate = *--yyssp;        yystate = *--yyssp;
1171  #if YYLSP_NEEDED  #if YYLSP_NEEDED

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

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