Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
8a5a907a
Commit
8a5a907a
authored
13 years ago
by
Julien Signoles
Browse files
Options
Downloads
Patches
Plain Diff
RIP parameters.ml*
parent
57e15850
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/e-acsl/misc.ml
+3
-3
3 additions, 3 deletions
src/plugins/e-acsl/misc.ml
with
3 additions
and
3 deletions
src/plugins/e-acsl/misc.ml
+
3
−
3
View file @
8a5a907a
...
...
@@ -52,10 +52,10 @@ let mk_call ?(loc=Location.unknown) ?result fname args =
(* Build a C conditional doing a runtime assertion check. *)
let
mk_e_acsl_guard
?
(
reverse
=
false
)
e
p
=
let
loc
=
p
.
loc
in
let
unicode
=
Parameters
.
Unicode
.
get
()
in
Parameters
.
Unicode
.
off
()
;
let
unicode
=
Kernel
.
Unicode
.
get
()
in
Kernel
.
Unicode
.
off
()
;
let
msg
=
Pretty_utils
.
sfprintf
"%a@?"
Cil
.
d_predicate_named
p
in
Parameters
.
Unicode
.
set
unicode
;
Kernel
.
Unicode
.
set
unicode
;
let
s
=
mk_call
~
loc
"e_acsl_fail"
[
mkString
loc
msg
]
in
let
e
=
if
reverse
then
new_exp
~
loc
:
e
.
eloc
(
UnOp
(
LNot
,
e
,
intType
))
else
e
in
mkStmt
~
valid_sid
:
true
(
If
(
e
,
mkBlock
[
s
]
,
mkBlock
[]
,
loc
))
...
...
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