Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Why3
why3
Commits
b6d81e15
Commit
b6d81e15
authored
Oct 02, 2010
by
Andrei Paskevich
Browse files
don't print empty labels in Pretty
parent
53c1a2d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/core/pretty.ml
View file @
b6d81e15
...
...
@@ -182,7 +182,8 @@ let prio_binop = function
|
Fimplies
->
1
|
Fiff
->
1
let
print_label
fmt
(
l
,_
)
=
fprintf
fmt
"
\"
%s
\"
"
l
let
print_label
fmt
(
l
,_
)
=
if
l
=
""
then
()
else
fprintf
fmt
"
\"
%s
\"
"
l
let
rec
print_term
fmt
t
=
print_lterm
0
fmt
t
and
print_fmla
fmt
f
=
print_lfmla
0
fmt
f
...
...
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