Commit 1b222106 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

* src/ltlparse/ltlscan.ll: Include ltlparse/parsedecl.hh,

not parsedecl.hh.
* src/tgbaparse/tgbascan.ll: Likewise, include tgbaparse/parsedecl.hh.
parent f83a21cf
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);
}
}
\ No newline at end of file
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment