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
7e0134b6
Commit
7e0134b6
authored
Feb 06, 2013
by
MARCHE Claude
Browse files
fix to make Frama-C plug-in compile
parent
cabb6801
Changes
1
Show whitespace changes
Inline
Side-by-side
src/jessie/ACSLtoWhy3.ml
View file @
7e0134b6
...
...
@@ -117,13 +117,14 @@ let array_modules, array_theories =
let
array_module
:
Mlw_module
.
modul
=
Stdlib
.
Mstr
.
find
"Array"
array_modules
(*
let array_type : Mlw_ty.T.itysymbol =
match
Mlw_module.ns_find_ts array_module.Mlw_module.mod_export ["array"]
with
| Mlw_module.PT itys -> itys
| Mlw_module.TS _ -> assert false
*)
(*********)
...
...
@@ -138,7 +139,9 @@ let ctype ty =
|
TInt
(
_
,
_
)
->
Mlw_ty
.
ity_pur
Ty
.
ts_int
[]
|
TFloat
(
_
,
_
)
->
Self
.
not_yet_implemented
"ctype TFloat"
|
TPtr
(
ty
,
_attr
)
->
array_type
|
TPtr
(
_ty
,
_attr
)
->
(* array_type *)
Self
.
not_yet_implemented
"ctype TPtr"
|
TArray
(
_
,
_
,
_
,
_
)
->
Self
.
not_yet_implemented
"ctype TArray"
|
TFun
(
_
,
_
,
_
,
_
)
->
...
...
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