* src/evtgbatest/evtgbaparse.yy, src/evtgbaparse/evtgbascan.ll,

src/evtgbaparse/parsedecl.hh, src/evtgbaparse/public.hh,
src/ltlparse/fmterror.cc, src/ltlparse/ltlparse.yy,
src/ltlparse/ltlscan.ll, src/ltlparse/parsedecl.hh,
src/ltlparse/public.hh, src/tgbaparse/parsedecl.hh,
src/tgbaparse/public.hh, src/tgbaparse/tgbaparse.yy,
src/tgbaparse/tgbascan.ll: Adjust for Bison 2.3.  Use %name-prefix
instead of the "#define yy ... " kludge.
This commit is contained in:
Alexandre Duret-Lutz 2006-08-01 16:35:06 +00:00
parent db98955e9d
commit c055212326
14 changed files with 86 additions and 70 deletions

View file

@ -27,7 +27,8 @@
#include "location.hh"
# define YY_DECL \
int tgbayylex (yystype *yylval, yy::location *yylloc)
int tgbayylex (tgbayy::parser::semantic_type *yylval, \
tgbayy::location *yylloc)
YY_DECL;
namespace spot
@ -42,11 +43,11 @@ namespace spot
// skeleton does not support anything close to %name-prefix at the
// moment. All parser are named yy::Parser which makes it somewhat
// difficult to define multiple parsers.
namespace tgbayy
{
using namespace yy;
}
#define yy tgbayy
// namespace tgbayy
// {
// using namespace yy;
// }
// #define yy tgbayy