Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
1245d19d
Commit
1245d19d
authored
May 24, 2004
by
Alexandre Duret-Lutz
Browse files
* src/sanity/style.test: Catch `;'-not-followed-by-space.
* src/ltlvisit/reducform.cc, src/ltlvisit/forminf.cc: Fix style.
parent
0e0fd18c
Changes
4
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
1245d19d
2004-05-24 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/sanity/style.test: Catch `;'-not-followed-by-space.
* src/ltlvisit/reducform.cc, src/ltlvisit/forminf.cc: Fix style.
* src/ltlvisit/reducform.hh: Fix some Doxygen comments.
* src/tgbatest/ltl2tgba.cc (syntax): Keep options sorted.
...
...
src/ltlvisit/forminf.cc
View file @
1245d19d
...
...
@@ -61,7 +61,10 @@ namespace spot
node_type_form_visitor
::
node_type_form_visitor
(){}
node_type_form_visitor
::
type
node_type_form_visitor
::
result
()
const
{
return
result_
;}
node_type_form_visitor
::
result
()
const
{
return
result_
;
}
void
node_type_form_visitor
::
visit
(
const
atomic_prop
*
)
...
...
src/ltlvisit/reducform.cc
View file @
1245d19d
...
...
@@ -134,7 +134,7 @@ namespace spot
case
binop
::
Xor
:
case
binop
::
Equiv
:
case
binop
::
Implies
:
break
;
;
break
;
case
binop
::
U
:
/* a < b => a U b = b */
...
...
@@ -218,7 +218,7 @@ namespace spot
f1
=
*
index
;
index
++
;
}
for
(;
index
!=
res
->
end
();
index
++
)
for
(;
index
!=
res
->
end
();
index
++
)
{
f2
=
*
index
;
/* a < b => a + b = b */
...
...
src/sanity/style.test
View file @
1245d19d
...
...
@@ -95,6 +95,9 @@ for dir in "${INCDIR-..}" "${INCDIR-..}"/../iface; do
grep
'[ ];'
$tmp
&&
diag
'No space before semicolon.'
grep
-
v
'for (;;)'
$tmp
|
grep
';[^ ")]'
&&
diag
'Must have space or newline after semicolon.'
$fail
&&
echo
"
$file
"
>>
failures
done
done
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment