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
12f1d315
Commit
12f1d315
authored
15 years ago
by
Andrei Paskevich
Browse files
Options
Downloads
Patches
Plain Diff
export print_theory_tdecl in Pretty
parent
0e9334c1
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/core/pretty.ml
+2
-2
2 additions, 2 deletions
src/core/pretty.ml
src/core/pretty.mli
+3
-1
3 additions, 1 deletion
src/core/pretty.mli
with
5 additions
and
3 deletions
src/core/pretty.ml
+
2
−
2
View file @
12f1d315
...
...
@@ -355,7 +355,7 @@ let print_named_task fmt name task =
fprintf
fmt
"@[<hov 2>task %s@
\n
%a@]@
\n
end@."
name
(
print_list
newline2
print_task_tdecl
)
(
task_tdecls
task
)
let
print_th_tdecl
fmt
=
function
let
print_th
eory
_tdecl
fmt
=
function
|
Theory
.
Decl
d
->
print_decl
fmt
d
|
Theory
.
Use
th
->
...
...
@@ -366,7 +366,7 @@ let print_th_tdecl fmt = function
let
print_theory
fmt
th
=
fprintf
fmt
"@[<hov 2>theory %a@
\n
%a@]@
\n
end@."
print_th
th
(
print_list
newline2
print_th_tdecl
)
th
.
th_decls
print_th
th
(
print_list
newline2
print_th
eory
_tdecl
)
th
.
th_decls
module
NsTree
=
struct
type
t
=
...
...
This diff is collapsed.
Click to expand it.
src/core/pretty.mli
+
3
−
1
View file @
12f1d315
...
...
@@ -52,9 +52,11 @@ val print_type_decl : formatter -> ty_decl -> unit
val
print_logic_decl
:
formatter
->
logic_decl
->
unit
val
print_ind_decl
:
formatter
->
ind_decl
->
unit
val
print_prop_decl
:
formatter
->
prop_decl
->
unit
val
print_decl
:
formatter
->
decl
->
unit
val
print_task_tdecl
:
formatter
->
Task
.
tdecl
->
unit
val
print_theory_tdecl
:
formatter
->
Theory
.
tdecl
->
unit
val
print_task
:
formatter
->
task
->
unit
val
print_theory
:
formatter
->
theory
->
unit
...
...
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