* src/misc/location.hh, src/misc/position.hh: New files, from Bison 2.7. * src/misc/Makefile.am: Distribute them. * src/eltlparse/Makefile.am, src/eltlparse/eltlparse.yy, src/eltlparse/parsedecl.hh, src/eltlparse/public.hh, src/kripkeparse/Makefile.am, src/kripkeparse/kripkeparse.yy, src/kripkeparse/parsedecl.hh, src/kripkeparse/public.hh, src/ltlparse/Makefile.am, src/ltlparse/fmterror.cc, src/ltlparse/ltlparse.yy, src/ltlparse/parsedecl.hh, src/ltlparse/public.hh, src/neverparse/Makefile.am, src/neverparse/neverclaimparse.yy, src/neverparse/parsedecl.hh, src/neverparse/public.hh, src/tgbaparse/Makefile.am, src/tgbaparse/parsedecl.hh, src/tgbaparse/public.hh, src/tgbaparse/tgbaparse.yy: Adjust to use and include misc/location.hh. * NEWS: Mention this change.
39 lines
1.3 KiB
C++
39 lines
1.3 KiB
C++
// -*- coding: utf-8 -*-
|
|
// Copyright (C) 2010, 2013 Laboratoire de Recherche et Développement
|
|
// de l'EPITA.
|
|
//
|
|
// This file is part of Spot, a model checking library.
|
|
//
|
|
// Spot is free software; you can redistribute it and/or modify it
|
|
// under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation; either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// Spot is distributed in the hope that it will be useful, but WITHOUT
|
|
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
|
|
// License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
#ifndef SPOT_NEVERPARSE_PARSEDECL_HH
|
|
# define SPOT_NEVERPARSE_PARSEDECL_HH
|
|
|
|
#include <string>
|
|
#include "neverclaimparse.hh"
|
|
#include "misc/location.hh"
|
|
|
|
# define YY_DECL \
|
|
int neverclaimyylex(neverclaimyy::parser::semantic_type *yylval, \
|
|
spot::location *yylloc, \
|
|
spot::neverclaim_parse_error_list& error_list)
|
|
YY_DECL;
|
|
|
|
namespace spot
|
|
{
|
|
int neverclaimyyopen(const std::string& name);
|
|
void neverclaimyyclose();
|
|
}
|
|
|
|
#endif // SPOT_NEVERCLAIMPARSE_PARSEDECL_HH
|