parseaut, dot: install a highlighting framework
* spot/parseaut/parseaut.yy, spot/parseaut/scanaut.ll: Parse "spot.highlight.edges" and "spot.highlight.states" to fill the "highlight-edges" and "highlight-states" properties. * spot/twaalgos/dot.cc: Use these properties to highlight states. * tests/core/readsave.test: Add a small test.
This commit is contained in:
parent
91bb93eeaa
commit
348f7cce0b
4 changed files with 126 additions and 35 deletions
|
|
@ -118,6 +118,8 @@ identifier [[:alpha:]_][[:alnum:]_.-]*
|
|||
"tool:" return token::TOOL;
|
||||
"name:" return token::NAME;
|
||||
"properties:" return token::PROPERTIES;
|
||||
"spot.highlight.states:" return token::SPOT_HIGHLIGHT_STATES;
|
||||
"spot.highlight.edges:" return token::SPOT_HIGHLIGHT_EDGES;
|
||||
"--BODY--" return token::BODY;
|
||||
"--END--" BEGIN(INITIAL); return token::END;
|
||||
"State:" return token::STATE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue