/[bison]/bison/data/lalr1.cc
ViewVC logotype

Diff of /bison/data/lalr1.cc

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

revision 1.19 by akim, Mon Jan 13 15:42:31 2003 UTC revision 1.20 by eggert, Wed Jan 29 06:31:02 2003 UTC
# Line 1  Line 1 
1  m4_divert(-1)  m4_divert(-1)
2  # C++ skeleton for Bison  # C++ skeleton for Bison
3  # Copyright (C) 2002 Free Software Foundation, Inc.  # Copyright (C) 2002, 2003 Free Software Foundation, Inc.
4    
5  # This program is free software; you can redistribute it and/or modify  # This program is free software; you can redistribute it and/or modify
6  # it under the terms of the GNU General Public License as published by  # it under the terms of the GNU General Public License as published by
# Line 87  m4_define([b4_constructor], Line 87  m4_define([b4_constructor],
87  # We do want M4 expansion after # for CPP macros.  # We do want M4 expansion after # for CPP macros.
88  m4_changecom()  m4_changecom()
89  m4_divert(0)dnl  m4_divert(0)dnl
90  @output @output_header_name@  m4_if(b4_defines_flag, 0, [],
91    [@output @output_header_name@
92  b4_copyright([C++ Skeleton parser for LALR(1) parsing with Bison],  b4_copyright([C++ Skeleton parser for LALR(1) parsing with Bison],
93               [2002])[               [2002, 2003])[
94  /* FIXME: This is wrong, we want computed header guards.  /* FIXME: This is wrong, we want computed header guards.
95     I don't know why the macros are missing now. :( */     I don't know why the macros are missing now. :( */
96  #ifndef PARSER_HEADER_H  #ifndef PARSER_HEADER_H
# Line 282  namespace yy Line 283  namespace yy
283  }  }
284    
285  #endif /* ! defined PARSER_HEADER_H */]  #endif /* ! defined PARSER_HEADER_H */]
286  dnl  ])dnl
287  @output @output_parser_name@  @output @output_parser_name@
288  b4_copyright([C++ Skeleton parser for LALR(1) parsing with Bison],  b4_copyright([C++ Skeleton parser for LALR(1) parsing with Bison],
289               [2002])[               [2002, 2003])
290    
291  #include @output_header_name@  m4_if(b4_defines_flag, 0, [], [#include @output_header_name@])[
292    
293  /* Enable debugging if requested.  */  /* Enable debugging if requested.  */
294  #if YYDEBUG  #if YYDEBUG
# Line 766  const yy::]b4_parser_class_name[::TokenN Line 767  const yy::]b4_parser_class_name[::TokenN
767  ]b4_epilogue  ]b4_epilogue
768  dnl  dnl
769  @output stack.hh  @output stack.hh
770  b4_copyright([2002])[  b4_copyright([2002, 2003])[
771    
772  #ifndef BISON_STACK_HH  #ifndef BISON_STACK_HH
773  # define BISON_STACK_HH  # define BISON_STACK_HH
# Line 863  namespace yy Line 864  namespace yy
864  #endif // not BISON_STACK_HH]  #endif // not BISON_STACK_HH]
865  dnl  dnl
866  @output location.hh  @output location.hh
867  b4_copyright([2002])[  b4_copyright([2002, 2003])[
868    
869  #ifndef BISON_LOCATION_HH  #ifndef BISON_LOCATION_HH
870  # define BISON_LOCATION_HH  # define BISON_LOCATION_HH

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

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