parsetl: fix crash in debug-mode

Fixes #193, reported by Etienne Renault.

* spot/parsetl/parsetl.yy: Clone printed formulas.
* tests/core/parse.test: Add test case.
* NEWS: Mention the issue.
This commit is contained in:
Alexandre Duret-Lutz 2016-10-29 13:13:09 +02:00
parent a5fb5784f6
commit 40ed12050b
3 changed files with 9 additions and 4 deletions

2
NEWS
View file

@ -31,6 +31,8 @@ New in spot 2.1.2.dev (not yet released)
* str_sere() and str_utf8_sere() were not returning the same
string that print_sere() and print_utf8_sere() would print.
* Running the LTL parser in debug-mode would crash.
New in spot 2.1.2 (2016-10-14)
Command-line tools: