/[bison]/bison/data/lalr1.cc
ViewVC logotype

Diff of /bison/data/lalr1.cc

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

revision 1.23 by akim, Thu Feb 6 10:04:29 2003 UTC revision 1.24 by akim, Wed Feb 19 14:33:27 2003 UTC
# Line 21  m4_divert(-1) Line 21  m4_divert(-1)
21  ## Default values.  ##  ## Default values.  ##
22  ## ---------------- ##  ## ---------------- ##
23    
 # Stack parameters.  
 m4_define_default([b4_stack_depth_init],  [200])  
   
24  # Default Parser class name.  # Default Parser class name.
25  m4_define_default([b4_parser_class_name], [Parser])  m4_define_default([b4_parser_class_name], [Parser])
26    
# Line 248  namespace yy Line 245  namespace yy
245      static const int terror_;      static const int terror_;
246      static const int errcode_;      static const int errcode_;
247      static const int ntokens_;      static const int ntokens_;
     static const int initdepth_;  
248      static const unsigned user_token_number_max_;      static const unsigned user_token_number_max_;
249      static const TokenNumberType undef_token_;      static const TokenNumberType undef_token_;
250    
# Line 296  m4_if(b4_defines_flag, 0, [], [#include Line 292  m4_if(b4_defines_flag, 0, [], [#include
292  # define YYCDEBUG    if (0) cdebug_  # define YYCDEBUG    if (0) cdebug_
293  #endif /* !YYDEBUG */  #endif /* !YYDEBUG */
294    
295    #define YYACCEPT        goto yyacceptlab
296    #define YYABORT         goto yyabortlab
297    #define YYERROR         goto yyerrlab1
298    
299    
300  int  int
301  yy::]b4_parser_class_name[::parse ()  yy::]b4_parser_class_name[::parse ()
302  {  {
# Line 515  b4_syncline([@oline@], [@ofile@])[ Line 516  b4_syncline([@oline@], [@ofile@])[
516      }      }
517    goto yyerrlab1;    goto yyerrlab1;
518    
519    /* Error raised explicitly by an action.  */  
520      /*----------------------------------------------------.
521      | yyerrlab1 -- error raised explicitly by an action.  |
522      `----------------------------------------------------*/
523   yyerrlab1:   yyerrlab1:
524    if (errstatus == 3)    if (errstatus == 3)
525      {      {
# Line 762  const int yy::]b4_parser_class_name[::fi Line 766  const int yy::]b4_parser_class_name[::fi
766  const int yy::]b4_parser_class_name[::terror_ = 1;  const int yy::]b4_parser_class_name[::terror_ = 1;
767  const int yy::]b4_parser_class_name[::errcode_ = 256;  const int yy::]b4_parser_class_name[::errcode_ = 256;
768  const int yy::]b4_parser_class_name[::ntokens_ = ]b4_tokens_number[;  const int yy::]b4_parser_class_name[::ntokens_ = ]b4_tokens_number[;
 const int yy::]b4_parser_class_name[::initdepth_ = ]b4_stack_depth_init[;  
769    
770  const unsigned yy::]b4_parser_class_name[::user_token_number_max_ = ]b4_user_token_number_max[;  const unsigned yy::]b4_parser_class_name[::user_token_number_max_ = ]b4_user_token_number_max[;
771  const yy::]b4_parser_class_name[::TokenNumberType yy::]b4_parser_class_name[::undef_token_ = ]b4_undef_token_number[;  const yy::]b4_parser_class_name[::TokenNumberType yy::]b4_parser_class_name[::undef_token_ = ]b4_undef_token_number[;

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

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