* src/ltlparse/ltlscan.ll: Include ltlparse/parsedecl.hh,
not parsedecl.hh. * src/tgbaparse/tgbascan.ll: Likewise, include tgbaparse/parsedecl.hh.
This commit is contained in:
parent
f83a21cf94
commit
1b222106ab
3 changed files with 13 additions and 7 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2003-11-14 Alexandre Duret-Lutz <adl@src.lip6.fr>
|
||||
|
||||
* src/ltlparse/ltlscan.ll: Include ltlparse/parsedecl.hh,
|
||||
not parsedecl.hh.
|
||||
* src/tgbaparse/tgbascan.ll: Likewise, include tgbaparse/parsedecl.hh.
|
||||
|
||||
2003-11-13 Alexandre Duret-Lutz <adl@src.lip6.fr>
|
||||
|
||||
* src/tgbaalgos/emptinesscheck.cc (emptiness_check::complete_cycle):
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
%{
|
||||
#include <string>
|
||||
#include "parsedecl.hh"
|
||||
#include "ltlparse/parsedecl.hh"
|
||||
|
||||
/* Hack Flex so we read from a string instead of reading from a file. */
|
||||
#define YY_INPUT(buf, result, max_size) \
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
%{
|
||||
#include <string>
|
||||
#include "parsedecl.hh"
|
||||
#include "tgbaparse/parsedecl.hh"
|
||||
|
||||
#define YY_USER_ACTION \
|
||||
yylloc->columns(yyleng);
|
||||
|
|
@ -29,8 +29,8 @@ eol \n|\r|\n\r|\r\n
|
|||
yylloc->step ();
|
||||
%}
|
||||
|
||||
\"[^\"]*\" {
|
||||
yylval->str = new std::string(yytext + 1,
|
||||
\"[^\"]*\" {
|
||||
yylval->str = new std::string(yytext + 1,
|
||||
yyleng - 2);
|
||||
return STRING;
|
||||
}
|
||||
|
|
@ -42,9 +42,9 @@ acc[ \t]*= return ACC_DEF;
|
|||
return IDENT;
|
||||
}
|
||||
|
||||
/* discard whitespace */
|
||||
/* discard whitespace */
|
||||
{eol} yylloc->lines(yyleng); yylloc->step();
|
||||
[ \t]+ yylloc->step();
|
||||
[ \t]+ yylloc->step();
|
||||
|
||||
. return *yytext;
|
||||
|
||||
|
|
@ -80,4 +80,4 @@ namespace spot
|
|||
{
|
||||
fclose(yyin);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue