Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
why3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Why3
why3
Commits
a5d56f8b
Commit
a5d56f8b
authored
7 years ago
by
Guillaume Melquiond
Browse files
Options
Downloads
Patches
Plain Diff
Fix unbalanced output when a transformation has no subgoals.
parent
15acb65c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/why3session/why3session_html.ml
+4
-1
4 additions, 1 deletion
src/why3session/why3session_html.ml
with
4 additions
and
1 deletion
src/why3session/why3session_html.ml
+
4
−
1
View file @
a5d56f8b
...
...
@@ -174,13 +174,16 @@ let rec num_lines acc tr =
fprintf
fmt
"<td style=
\"
background-color:#E0E0E0
\"
></td>"
done
;
fprintf
fmt
"</tr>@
\n
"
;
fprintf
fmt
"<tr><td rowspan=
\"
%d
\"
> </td>"
(
num_lines
0
tr
);
let
nl
=
num_lines
0
tr
in
if
nl
>
0
then
begin
fprintf
fmt
"<tr><td rowspan=
\"
%d
\"
> </td>"
nl
;
let
(
_
:
bool
)
=
List
.
fold_left
(
fun
needs_tr
g
->
print_goal
fmt
needs_tr
(
depth
+
1
)
max_depth
provers
g
;
true
)
false
tr
.
transf_goals
in
()
end
and
print_goal
fmt
needs_tr
depth
max_depth
provers
g
=
if
needs_tr
then
fprintf
fmt
"<tr>"
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment