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

Diff of /bison/data/glr.c

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

revision 1.17 by eggert, Sat Oct 19 01:33:20 2002 UTC revision 1.18 by akim, Sun Oct 20 11:16:01 2002 UTC
# Line 19  m4_include([c.m4]) Line 19  m4_include([c.m4])
19  # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
20  # 02111-1307  USA  # 02111-1307  USA
21    
22    
23    ## ---------------- ##
24    ## Default values.  ##
25    ## ---------------- ##
26    
27    # Stack parameters.
28    m4_define_default([b4_stack_depth_max], [10000])
29    m4_define_default([b4_stack_depth_init],  [200])
30    
31    # Location type.
32    m4_define_default([b4_location_type], [yyltype])
33    
34    
35    
36    ## ----------------- ##
37    ## Semantic Values.  ##
38    ## ----------------- ##
39    
40    
41  # b4_lhs_value([TYPE])  # b4_lhs_value([TYPE])
42  # --------------------  # --------------------
43  # Expansion of $<TYPE>$.  # Expansion of $<TYPE>$.
# Line 174  typedef struct yyltype Line 193  typedef struct yyltype
193    int last_line;    int last_line;
194    int last_column;])[    int last_column;])[
195  } yyltype;  } yyltype;
196  # define YYLTYPE ]b4_ltype[  # define YYLTYPE ]b4_location_type[
197  # define YYLTYPE_IS_TRIVIAL 1  # define YYLTYPE_IS_TRIVIAL 1
198  #endif  #endif
199    
# Line 462  int yydebug; Line 481  int yydebug;
481    
482  /* YYINITDEPTH -- initial size of the parser's stacks.  */  /* YYINITDEPTH -- initial size of the parser's stacks.  */
483  #ifndef YYINITDEPTH  #ifndef YYINITDEPTH
484  # define YYINITDEPTH ]b4_initdepth[  # define YYINITDEPTH ]b4_stack_depth_init[
485  #endif  #endif
486    
487  /* YYMAXDEPTH -- maximum size the stacks can grow to (effective only  /* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
# Line 477  int yydebug; Line 496  int yydebug;
496  #endif  #endif
497    
498  #ifndef YYMAXDEPTH  #ifndef YYMAXDEPTH
499  # define YYMAXDEPTH ]b4_maxdepth[  # define YYMAXDEPTH ]b4_stack_depth_max[
500  #endif  #endif
501    
502  /* Minimum number of free items on the stack allowed after an  /* Minimum number of free items on the stack allowed after an

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

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