parsedecl.hh 1.32 KB
Newer Older
1
// -*- coding: utf-8 -*-
2 3 4
// Copyright (C) 2013, 2014 Laboratoire de Recherche et
// Développement de l'Epita.
// Copyright (C) 2003, 2005 Laboratoire d'Informatique de Paris
5 6
// 6 (LIP6), département Systèmes Répartis Coopératifs (SRC),
// Université Pierre et Marie Curie.
Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
7 8 9 10 11
//
// 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
12
// the Free Software Foundation; either version 3 of the License, or
Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
13 14 15 16 17 18 19 20
// (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
21
// along with this program.  If not, see <http://www.gnu.org/licenses/>.
Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
22

23 24 25 26 27
#ifndef SPOT_TGBAPARSE_PARSEDECL_HH
# define SPOT_TGBAPARSE_PARSEDECL_HH

#include <string>
#include "tgbaparse.hh"
28
#include "misc/location.hh"
29 30

# define YY_DECL \
31
  int tgbayylex (tgbayy::parser::semantic_type *yylval, \
32
		 spot::location *yylloc)
33 34 35 36 37 38 39 40 41 42
YY_DECL;

namespace spot
{
  int tgbayyopen(const std::string& name);
  void tgbayyclose();
}


#endif // SPOT_TGBAPARSE_PARSEDECL_HH