parseaut: make the scanner reentrant

* spot/parseaut/parseaut.yy, spot/parseaut/parsedecl.hh,
spot/parseaut/public.hh, spot/parseaut/scanaut.ll: Use a reentrant
scanner, so that we can now parse multiple automaton streams at the
same time.  This is needed for the future autcross, which is going to
read several individual automata produced by different tools, while
reading the stream of automata to process.
This commit is contained in:
Alexandre Duret-Lutz 2017-07-26 18:25:09 +02:00
parent 6c3e09489e
commit b9fff6a4b1
5 changed files with 108 additions and 70 deletions

4
NEWS
View file

@ -163,6 +163,10 @@ New in spot 2.3.5.dev (not yet released)
(for efficiency reasons), in this version operator | is
symmetrically grouping all Fin() terms.
- The automaton parser is now reentrant, making it possible to
process automata from different streams at the same time (i.e.,
using multiple spot::automaton_stream_parser instances at once).
Python:
- The 'spot.gen' package exports the functions from libspotgen.