/[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.20 by akim, Mon Apr 8 11:45:59 2002 UTC revision 1.21 by akim, Mon Apr 8 12:31:15 2002 UTC
# Line 137  yystype; Line 137  yystype;
137  # define YYSTYPE yystype  # define YYSTYPE yystype
138  #endif  #endif
139    
140    #line __oline__  "__ofile__"
141  #ifndef YYLLOC_DEFAULT  #ifndef YYLLOC_DEFAULT
142  # define YYLLOC_DEFAULT(Current, Rhs, N) \  # define YYLLOC_DEFAULT(Current, Rhs, N) \
143     Current.last_line = Rhs[[N]].last_line; \     Current.last_line = Rhs[[N]].last_line; \
# Line 167  namespace yy Line 168  namespace yy
168    template < >    template < >
169    struct Traits< b4_name >    struct Traits< b4_name >
170    {    {
171      typedef typedef b4_uint_type(b4_token_number_max) TokenNumberType;      typedef b4_uint_type(b4_token_number_max) TokenNumberType;
172      typedef typedef b4_sint_type(b4_item_number_max)  RhsNumberType;      typedef b4_sint_type(b4_rhs_number_max)   RhsNumberType;
173      typedef int      StateType;      typedef int      StateType;
174      typedef yystype  SemanticType;      typedef yystype  SemanticType;
175      typedef b4_ltype LocationType;      typedef b4_ltype LocationType;
# Line 182  namespace yy Line 183  namespace yy
183    public:    public:
184    
185      typedef Traits< b4_name >::TokenNumberType TokenNumberType;      typedef Traits< b4_name >::TokenNumberType TokenNumberType;
186      typedef Traits< b4_name >::RhsNumberType   TokenNumberType;      typedef Traits< b4_name >::RhsNumberType   RhsNumberType;
187      typedef Traits< b4_name >::StateType       StateType;      typedef Traits< b4_name >::StateType       StateType;
188      typedef Traits< b4_name >::SemanticType    SemanticType;      typedef Traits< b4_name >::SemanticType    SemanticType;
189      typedef Traits< b4_name >::LocationType    LocationType;      typedef Traits< b4_name >::LocationType    LocationType;
# Line 236  namespace yy Line 237  namespace yy
237    
238      /* More tables, for debugging.  */      /* More tables, for debugging.  */
239  #if YYDEBUG  #if YYDEBUG
240      static const short rhs_[[]];      static const RhsNumberType rhs_[[]];
241      static const short prhs_[[]];      static const short prhs_[[]];
242      static const short rline_[[]];      static const short rline_[[]];
243  #endif  #endif
# Line 459  yy::b4_name::parse () Line 460  yy::b4_name::parse ()
460        }        }
461    }    }
462    
463    /* Line __line__ of __file__.  */
464    #line __oline__ "__ofile__"
465    
466    state_stack_.pop (len_);    state_stack_.pop (len_);
467    semantic_stack_.pop (len_);    semantic_stack_.pop (len_);
468    location_stack_.pop (len_);    location_stack_.pop (len_);
# Line 686  const yy::b4_name::name_[[]] = Line 690  const yy::b4_name::name_[[]] =
690    
691  #if YYDEBUG  #if YYDEBUG
692  /* YYRHS -- A `-1'-separated list of the rules' RHS. */  /* YYRHS -- A `-1'-separated list of the rules' RHS. */
693  const RhsNumberType  const yy::b4_name::RhsNumberType
694  yy::b4_name::rhs_[[]] =  yy::b4_name::rhs_[[]] =
695  {  {
696    b4_rhs    b4_rhs
# Line 709  yy::b4_name::rline_[[]] = Line 713  yy::b4_name::rline_[[]] =
713  #endif  #endif
714    
715  /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX.  */  /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX.  */
716  TokenNumberType  yy::b4_name::TokenNumberType
717  yy::b4_name::translate_ (int token)  yy::b4_name::translate_ (int token)
718  {  {
719    static    static

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

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