Cosmetics.
* src/sanity/style.test: Catch some binary operators not delimited with spaces. * src/tgbaalgos/bfssteps.cc, src/tgbaalgos/magic.cc, src/tgbaalgos/reducerun.cc, src/tgbaalgos/se05.cc, src/tgbaalgos/tau03.cc, src/tgbaalgos/tau03opt.cc: Fix these.
This commit is contained in:
parent
36f7c648b6
commit
12783ff784
8 changed files with 51 additions and 35 deletions
10
ChangeLog
10
ChangeLog
|
|
@ -1,3 +1,13 @@
|
||||||
|
2011-03-31 Alexandre Duret-Lutz <adl@va-et-vient.net>
|
||||||
|
|
||||||
|
Cosmetics.
|
||||||
|
|
||||||
|
* src/sanity/style.test: Catch some binary operators not
|
||||||
|
delimited with spaces.
|
||||||
|
* src/tgbaalgos/bfssteps.cc, src/tgbaalgos/magic.cc,
|
||||||
|
src/tgbaalgos/reducerun.cc, src/tgbaalgos/se05.cc,
|
||||||
|
src/tgbaalgos/tau03.cc, src/tgbaalgos/tau03opt.cc: Fix these.
|
||||||
|
|
||||||
2011-03-31 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
2011-03-31 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
||||||
|
|
||||||
Make state_explicit instances persistent objects.
|
Make state_explicit instances persistent objects.
|
||||||
|
|
|
||||||
|
|
@ -121,10 +121,16 @@ for dir in "${INCDIR-..}" "${INCDIR-..}"/../iface; do
|
||||||
grep ",[^ \t\"%']" $tmp &&
|
grep ",[^ \t\"%']" $tmp &&
|
||||||
diag 'Space after coma.'
|
diag 'Space after coma.'
|
||||||
|
|
||||||
grep '[^ ]&&[^ ]' $tmp &&
|
# The 'r' allows operator&&
|
||||||
|
grep '[^ r]&&[^ ]' $tmp &&
|
||||||
diag 'Space arround binary operators.'
|
diag 'Space arround binary operators.'
|
||||||
|
|
||||||
grep '[^ ]||[^ ]' $tmp &&
|
# The 'r' allows operator||
|
||||||
|
grep '[^ r]||[^ ]' $tmp &&
|
||||||
|
diag 'Space arround binary operators.'
|
||||||
|
|
||||||
|
# The 'r' allows operator==
|
||||||
|
grep '[^ r][!<>=]=[^ ]' $tmp &&
|
||||||
diag 'Space arround binary operators.'
|
diag 'Space arround binary operators.'
|
||||||
|
|
||||||
grep '[ ]default:[^:].*;' $tmp &&
|
grep '[ ]default:[^:].*;' $tmp &&
|
||||||
|
|
|
||||||
|
|
@ -479,7 +479,7 @@ namespace spot
|
||||||
s->destroy();
|
s->destroy();
|
||||||
s = it->first;
|
s = it->first;
|
||||||
}
|
}
|
||||||
return color_ref(&(it->second));
|
return color_ref(&it->second);
|
||||||
}
|
}
|
||||||
|
|
||||||
void add_new_state(const state* s, color c)
|
void add_new_state(const state* s, color c)
|
||||||
|
|
|
||||||
|
|
@ -525,7 +525,7 @@ namespace spot
|
||||||
s->destroy();
|
s->destroy();
|
||||||
s = it->first;
|
s = it->first;
|
||||||
}
|
}
|
||||||
return color_ref(&(it->second)); // blue or red state
|
return color_ref(&it->second); // blue or red state
|
||||||
}
|
}
|
||||||
if (s != *ic)
|
if (s != *ic)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -344,7 +344,7 @@ namespace spot
|
||||||
s->destroy();
|
s->destroy();
|
||||||
s = it->first;
|
s = it->first;
|
||||||
}
|
}
|
||||||
return color_ref(&(it->second.first), &(it->second.second));
|
return color_ref(&it->second.first, &it->second.second);
|
||||||
}
|
}
|
||||||
|
|
||||||
void add_new_state(const state* s, color c)
|
void add_new_state(const state* s, color c)
|
||||||
|
|
|
||||||
|
|
@ -520,7 +520,7 @@ namespace spot
|
||||||
s = it->first;
|
s = it->first;
|
||||||
}
|
}
|
||||||
// blue or red state
|
// blue or red state
|
||||||
return color_ref(&(it->second.first), &(it->second.second));
|
return color_ref(&it->second.first, &it->second.second);
|
||||||
}
|
}
|
||||||
if (s != ic->first)
|
if (s != ic->first)
|
||||||
{
|
{
|
||||||
|
|
@ -529,7 +529,7 @@ namespace spot
|
||||||
}
|
}
|
||||||
// cyan state
|
// cyan state
|
||||||
return color_ref(&h, &hc, ic->first,
|
return color_ref(&h, &hc, ic->first,
|
||||||
&(ic->second.first), &(ic->second.second));
|
&ic->second.first, &ic->second.second);
|
||||||
}
|
}
|
||||||
|
|
||||||
void add_new_state(const state* s, color c, const weight& w)
|
void add_new_state(const state* s, color c, const weight& w)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue