Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Why3
why3
Commits
eb83e89f
Commit
eb83e89f
authored
Jan 19, 2018
by
Guillaume Melquiond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some ill-formed boxes in Coq printer.
parent
9cc138e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/printer/coq.ml
src/printer/coq.ml
+2
-2
No files found.
src/printer/coq.ml
View file @
eb83e89f
...
...
@@ -365,7 +365,7 @@ and print_fnode opl opr info fmt f = match f.t_node with
(
print_list
newline
(
print_fbranch
info
))
bl
|
Tif
(
f1
,
f2
,
f3
)
->
fprintf
fmt
(
protect_on
opr
"@[<hov>if @[<hov>%a@] then@
[
@<hov>%a@]@ else@
[
@<hov>%a@]@]"
)
"@[<hov>if @[<hov>%a@] then@ @
[
<hov>%a@]@ else@ @
[
<hov>%a@]@]"
)
(
print_fmla
info
)
f1
(
print_fmla
info
)
f2
(
print_opl_fmla
info
)
f3
|
Tapp
(
ps
,
tl
)
->
begin
match
query_syntax
info
.
info_syn
ps
.
ls_name
with
...
...
@@ -795,7 +795,7 @@ let print_param_decl ~prev info fmt ls =
(
print_ls_type
info
)
ls
.
ls_value
(
print_previous_proof
None
info
)
prev
else
fprintf
fmt
"@[<hv 2>Parameter %a:@ @<hov>%a%a%a.@]@]@
\n
@
\n
"
fprintf
fmt
"@[<hv 2>Parameter %a:@ @
[
<hov>%a%a%a.@]@]@
\n
@
\n
"
print_ls
ls
(
print_params
info
~
whytypes
:
true
)
all_ty_params
(
print_arrow_list
(
print_ty
info
))
ls
.
ls_args
(
print_ls_type
info
)
ls
.
ls_value
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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