* wrap/python/cgi/ltl2tgba.in: Pass the formula to
never_claim_reachable, and cgi.escape its output. Lighten the color a bit.
This commit is contained in:
parent
cf1ab2946f
commit
9a8d554f59
2 changed files with 12 additions and 5 deletions
|
|
@ -191,8 +191,8 @@ LTL-to-Büchi translator</H1>""" % extra_header
|
|||
|
||||
formula = form.getfirst('formula', '')
|
||||
|
||||
color_fm = "#D3AEF8"
|
||||
color_lacim = "#F8AED3"
|
||||
color_fm = "#DFC6F8"
|
||||
color_lacim = "#F8C6DF"
|
||||
|
||||
options_common = [
|
||||
('show_formula_png', 'draw the formula', 0),
|
||||
|
|
@ -433,7 +433,10 @@ if show_degen_png:
|
|||
if show_never_claim:
|
||||
print '<H3>Never claim (for degeneralized automaton)</H3>'
|
||||
print '<PRE>'
|
||||
spot.never_claim_reachable(spot.get_cout(), degen)
|
||||
s = spot.ostringstream()
|
||||
spot.never_claim_reachable(s, degen, f)
|
||||
print cgi.escape(s.str())
|
||||
del s
|
||||
print '</PRE>'
|
||||
sys.stdout.flush()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue