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
e0d8224f
Commit
e0d8224f
authored
Mar 23, 2010
by
Jean-Christophe Filliâtre
Browse files
print_inst plus robust
parent
1d0d5289
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/core/pretty.ml
View file @
e0d8224f
...
...
@@ -328,7 +328,8 @@ let print_inst fmt (id1,id2) =
else
if
Hid
.
mem
phash
id2
then
let
n
=
id_unique
pprinter
id1
in
fprintf
fmt
"prop %s = %a"
n
print_pr
(
Hid
.
find
phash
id2
)
else
assert
false
else
fprintf
fmt
"ident %s = %s"
id1
.
id_long
id2
.
id_long
let
print_decl
fmt
d
=
match
d
.
d_node
with
|
Dtype
tl
->
print_list
newline
print_type_decl
fmt
tl
...
...
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