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

Diff of /bison/data/bison.c++

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

revision 1.27 by akim, Fri May 3 08:42:48 2002 UTC revision 1.28 by akim, Sun May 5 11:56:06 2002 UTC
# Line 203  namespace yy Line 203  namespace yy
203    struct Traits< b4_name >    struct Traits< b4_name >
204    {    {
205      typedef b4_uint_type(b4_token_number_max) TokenNumberType;      typedef b4_uint_type(b4_token_number_max) TokenNumberType;
206      typedef b4_sint_type(b4_rhs_number_max)   RhsNumberType;      typedef b4_sint_type(b4_rhs_max)          RhsNumberType;
207      typedef int      StateType;      typedef int      StateType;
208      typedef yystype  SemanticType;      typedef yystype  SemanticType;
209      typedef b4_ltype LocationType;      typedef b4_ltype LocationType;
# Line 263  namespace yy Line 263  namespace yy
263      static const short table_[[]];      static const short table_[[]];
264      static const short check_[[]];      static const short check_[[]];
265      static const TokenNumberType r1_[[]];      static const TokenNumberType r1_[[]];
266      static const short r2_[[]];      static const b4_uint_type(b4_r2_max) r2_[[]];
267    
268  #if YYDEBUG || YYERROR_VERBOSE  #if YYDEBUG || YYERROR_VERBOSE
269      static const char* const name_[[]];      static const char* const name_[[]];
# Line 272  namespace yy Line 272  namespace yy
272      /* More tables, for debugging.  */      /* More tables, for debugging.  */
273  #if YYDEBUG  #if YYDEBUG
274      static const RhsNumberType rhs_[[]];      static const RhsNumberType rhs_[[]];
275      static const short prhs_[[]];      static const b4_uint_type(b4_prhs_max) prhs_[[]];
276      static const short rline_[[]];      static const b4_uint_type(b4_rline_max) rline_[[]];
277  #endif  #endif
278    
279      /* Even more tables.  */      /* Even more tables.  */
# Line 466  yy::b4_name::parse () Line 466  yy::b4_name::parse ()
466    if (debug_)    if (debug_)
467      {      {
468        YYFPRINTF (stderr, "Reducing via rule %d (line %d), ", n_ - 1, rline_[[n_]]);        YYFPRINTF (stderr, "Reducing via rule %d (line %d), ", n_ - 1, rline_[[n_]]);
469        for (unsigned i = prhs_[[n_]];        for (b4_uint_type(b4_prhs_max) i = prhs_[[n_]];
470             rhs_[[i]] >= 0; ++i)             rhs_[[i]] >= 0; ++i)
471          YYFPRINTF (stderr, "%s ", name_[[rhs_[i]]]);          YYFPRINTF (stderr, "%s ", name_[[rhs_[i]]]);
472        YYFPRINTF (stderr, "-> %s\n", name_[[r1_[n_]]]);        YYFPRINTF (stderr, "-> %s\n", name_[[r1_[n_]]]);
# Line 696  yy::b4_name::r1_[[]] = Line 696  yy::b4_name::r1_[[]] =
696  };  };
697    
698  /* YYR2[[YYN]] -- Number of symbols composing right hand side of rule YYN.  */  /* YYR2[[YYN]] -- Number of symbols composing right hand side of rule YYN.  */
699  const short  const b4_uint_type(b4_r2_max)
700  yy::b4_name::r2_[[]] =  yy::b4_name::r2_[[]] =
701  {  {
702    b4_r2    b4_r2
# Line 722  yy::b4_name::rhs_[[]] = Line 722  yy::b4_name::rhs_[[]] =
722    
723  /* YYPRHS[[YYN]] -- Index of the first RHS symbol of rule number YYN in  /* YYPRHS[[YYN]] -- Index of the first RHS symbol of rule number YYN in
724     YYRHS.  */     YYRHS.  */
725  const short  const b4_uint_type(b4_prhs_max)
726  yy::b4_name::prhs_[[]] =  yy::b4_name::prhs_[[]] =
727  {  {
728    b4_prhs    b4_prhs
729  };  };
730    
731  /* YYRLINE[[YYN]] -- source line where rule number YYN was defined.  */  /* YYRLINE[[YYN]] -- source line where rule number YYN was defined.  */
732  const short  const b4_uint_type(b4_rline_max)
733  yy::b4_name::rline_[[]] =  yy::b4_name::rline_[[]] =
734  {  {
735    b4_rline    b4_rline

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