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

Diff of /bison/data/bison.c++

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

revision 1.14 by ra, Mon Mar 4 16:48:33 2002 UTC revision 1.15 by ra, Sat Mar 9 14:31:16 2002 UTC
# Line 25  m4_define_default([b4_header_guard], Line 25  m4_define_default([b4_header_guard],
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,
# Line 126  namespace yy Line 144  namespace yy
144    
145  namespace yy  namespace yy
146  {  {
147    class b4_name    class b4_name b4_inherit
148    {    {
149    public:    public:
150    
# Line 140  namespace yy Line 158  namespace yy
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      }      }

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

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