* 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:
parent
db98955e9d
commit
c055212326
14 changed files with 86 additions and 70 deletions
|
|
@ -25,6 +25,7 @@
|
|||
#include "evtgba/symbol.hh"
|
||||
%}
|
||||
|
||||
%name-prefix="evtgbayy"
|
||||
%parse-param {spot::evtgba_parse_error_list &error_list}
|
||||
%parse-param {spot::evtgba_explicit* &result}
|
||||
%debug
|
||||
|
|
@ -120,7 +121,8 @@ init_decl:
|
|||
%%
|
||||
|
||||
void
|
||||
yy::parser::error(const location_type& location, const std::string& message)
|
||||
evtgbayy::parser::error(const location_type& location,
|
||||
const std::string& message)
|
||||
{
|
||||
error_list.push_back(spot::evtgba_parse_error(location, message));
|
||||
}
|
||||
|
|
@ -135,7 +137,7 @@ namespace spot
|
|||
if (evtgbayyopen(name))
|
||||
{
|
||||
error_list.push_back
|
||||
(evtgba_parse_error(yy::location(),
|
||||
(evtgba_parse_error(evtgbayy::location(),
|
||||
std::string("Cannot open file ") + name));
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue