25 |
[m4_bpatsubst(m4_toupper([BISON_]b4_output_header_name), |
[m4_bpatsubst(m4_toupper([BISON_]b4_output_header_name), |
26 |
[[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]], [_])]) |
[[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]], [_])]) |
27 |
|
|
28 |
|
m4_define([b4_inherit], |
29 |
|
[m4_ifdef([b4_root], |
30 |
|
[: public b4_root |
31 |
|
], |
32 |
|
[])]) |
33 |
|
|
34 |
|
m4_define([b4_param], |
35 |
|
[m4_ifdef([b4_root], |
36 |
|
[, |
37 |
|
const Param& param], |
38 |
|
[])]) |
39 |
|
|
40 |
|
m4_define([b4_constructor], |
41 |
|
[m4_ifdef([b4_root], |
42 |
|
[b4_root (param), |
43 |
|
], |
44 |
|
[])]) |
45 |
|
|
46 |
m4_define([b4_copyright], |
m4_define([b4_copyright], |
47 |
[/* -*- C++ -*- */ |
[/* -*- C++ -*- */ |
48 |
/* A Bison parser, made from b4_filename, |
/* A Bison parser, made from b4_filename, |
144 |
|
|
145 |
namespace yy |
namespace yy |
146 |
{ |
{ |
147 |
class b4_name |
class b4_name b4_inherit |
148 |
{ |
{ |
149 |
public: |
public: |
150 |
|
|
158 |
|
|
159 |
#if YYLSP_NEEDED |
#if YYLSP_NEEDED |
160 |
b4_name (bool debug, |
b4_name (bool debug, |
161 |
LocationType initlocation) : debug_ (debug), |
LocationType initlocation[]b4_param) : |
162 |
initlocation_ (initlocation) |
b4_constructor[]debug_ (debug), |
163 |
|
initlocation_ (initlocation) |
164 |
#else |
#else |
165 |
b4_name (bool debug) : debug_ (debug) |
b4_name (bool debug[]b4_param) : |
166 |
|
b4_constructor[]debug_ (debug) |
167 |
#endif |
#endif |
168 |
{ |
{ |
169 |
} |
} |