Support reading the new style of neverclaim output by Spin 6.24+.
* src/neverparse/neverclaimparse.yy, src/neverparse/neverclaimscan.ll: Allow transitions between do..od, recognize atomic and assert. * src/neverparse/parsedecl.hh: Pass the error_list to the lexer. * src/tgbatest/neverclaimread.test: Add a test case.
This commit is contained in:
parent
ff102d3d94
commit
327bd2d621
4 changed files with 162 additions and 28 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// Copyright (C) 2010 Laboratoire de Recherche et Développement de
|
||||
// l'EPITA.
|
||||
// Copyright (C) 2010, 2013 Laboratoire de Recherche et Développement
|
||||
// de l'EPITA.
|
||||
//
|
||||
// This file is part of Spot, a model checking library.
|
||||
//
|
||||
|
|
@ -24,8 +24,9 @@
|
|||
#include "location.hh"
|
||||
|
||||
# define YY_DECL \
|
||||
int neverclaimyylex (neverclaimyy::parser::semantic_type *yylval, \
|
||||
neverclaimyy::location *yylloc)
|
||||
int neverclaimyylex(neverclaimyy::parser::semantic_type *yylval, \
|
||||
neverclaimyy::location *yylloc, \
|
||||
spot::neverclaim_parse_error_list& error_list)
|
||||
YY_DECL;
|
||||
|
||||
namespace spot
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue