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

Diff of /bison/data/yacc.c

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

revision 1.21 by akim, Sat Oct 19 14:39:07 2002 UTC revision 1.22 by akim, Sun Oct 20 11:16:01 2002 UTC
# Line 20  m4_include([c.m4]) Line 20  m4_include([c.m4])
20  # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
21  # 02111-1307  USA  # 02111-1307  USA
22    
23    
24    
25    ## ---------------- ##
26    ## Default values.  ##
27    ## ---------------- ##
28    
29    # Stack parameters.
30    m4_define_default([b4_stack_depth_max], [10000])
31    m4_define_default([b4_stack_depth_init],  [200])
32    
33    # Location type.
34    m4_define_default([b4_location_type], [yyltype])
35    
36    
37    
38    
39    ## ----------------- ##
40    ## Semantic Values.  ##
41    ## ----------------- ##
42    
43    
44  # b4_lhs_value([TYPE])  # b4_lhs_value([TYPE])
45  # --------------------  # --------------------
46  # Expansion of $<TYPE>$.  # Expansion of $<TYPE>$.
# Line 203  typedef struct yyltype Line 224  typedef struct yyltype
224    int last_line;    int last_line;
225    int last_column;    int last_column;
226  } yyltype;  } yyltype;
227  # define YYLTYPE b4_ltype  # define YYLTYPE b4_location_type
228  # define YYLTYPE_IS_TRIVIAL 1  # define YYLTYPE_IS_TRIVIAL 1
229  #endif  #endif
230    
# Line 543  int yydebug; Line 564  int yydebug;
564    
565  /* YYINITDEPTH -- initial size of the parser's stacks.  */  /* YYINITDEPTH -- initial size of the parser's stacks.  */
566  #ifndef YYINITDEPTH  #ifndef YYINITDEPTH
567  # define YYINITDEPTH b4_initdepth  # define YYINITDEPTH b4_stack_depth_init
568  #endif  #endif
569    
570  /* YYMAXDEPTH -- maximum size the stacks can grow to (effective only  /* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
# Line 558  int yydebug; Line 579  int yydebug;
579  #endif  #endif
580    
581  #ifndef YYMAXDEPTH  #ifndef YYMAXDEPTH
582  # define YYMAXDEPTH b4_maxdepth  # define YYMAXDEPTH b4_stack_depth_max
583  #endif  #endif
584    
585    

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

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