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