* data/bison.c++ (YYDEBUG, YYERROR_VERBOSE): After the prologue.

(Copyright notice): Update.
This commit is contained in:
Robert Anisko
2002-02-11 14:15:51 +00:00
parent b418ecd84f
commit 4162fa07ae
2 changed files with 9 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
2002-02-11 Akim Demaille <akim@epita.fr> 2002-02-11 Robert Anisko <robert@lrde.epita.fr>
* tests/regression.at (%nonassoc and eof): Don't include * data/bison.c++ (YYDEBUG, YYERROR_VERBOSE): After the prologue.
nonportable headers. (Copyright notice): Update.
2002-02-08 Robert Anisko <robert@lrde.epita.fr> 2002-02-08 Robert Anisko <robert@lrde.epita.fr>

View File

@@ -5,7 +5,7 @@
by GNU bison b4_version. */ by GNU bison b4_version. */
/* Skeleton output parser for bison, /* Skeleton output parser for bison,
Copyright 1984, 1989, 1990, 2000, 2001 Free Software Foundation, Inc. Copyright 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
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
@@ -32,6 +32,11 @@
#include <string> #include <string>
/* Using locations. */
#define YYLSP_NEEDED b4_locations_flag
b4_prologue
/* Enabling traces. */ /* Enabling traces. */
#ifndef YYDEBUG #ifndef YYDEBUG
# define YYDEBUG b4_debug # define YYDEBUG b4_debug
@@ -42,11 +47,6 @@
# define YYERROR_VERBOSE b4_error_verbose # define YYERROR_VERBOSE b4_error_verbose
#endif #endif
/* Using locations. */
#define YYLSP_NEEDED b4_locations_flag
b4_prologue
// FIXME: This should be defined in traits, not here. // FIXME: This should be defined in traits, not here.
typedef b4_stype yystype; typedef b4_stype yystype;