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>$. |
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 |
|
|
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 |
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 |