hoa: fix handling of escaped characters in atomic propositions
* src/hoaparse/hoascan.ll: Remove superfluous line. * src/tgbaalgos/hoaf.cc: Do not call to_string() to display names, as this would add another level of escaping. * src/tgbatest/hoaparse.test: Test it.
This commit is contained in:
parent
a9fa7d33c5
commit
0d59e55f4d
3 changed files with 8 additions and 4 deletions
|
|
@ -118,7 +118,6 @@ identifier [[:alpha:]_][[:alnum:]_-]*
|
|||
yylval->str = new std::string(s);
|
||||
return token::STRING;
|
||||
}
|
||||
\\\" s += '"';
|
||||
\\. s += yytext[1];
|
||||
[^\\\"]+ s.append(yytext, yyleng);
|
||||
<<EOF>> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue