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
534c7f45
Commit
534c7f45
authored
3 years ago
by
Basile Desloges
Committed by
Julien Signoles
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[eacsl] Fix Lscope.compare
parent
a2ea6893
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/e-acsl/src/analyses/lscope.ml
+4
-2
4 additions, 2 deletions
src/plugins/e-acsl/src/analyses/lscope.ml
with
4 additions
and
2 deletions
src/plugins/e-acsl/src/analyses/lscope.ml
+
4
−
2
View file @
534c7f45
...
@@ -135,11 +135,11 @@ module D = Datatype.Make(struct
...
@@ -135,11 +135,11 @@ module D = Datatype.Make(struct
in
in
let
c
=
let
c
=
if
c
<>
0
then
c
if
c
<>
0
then
c
else
compare
lr1
lr2
else
Stdlib
.
compare
lr1
lr2
in
in
let
c
=
let
c
=
if
c
<>
0
then
c
if
c
<>
0
then
c
else
compare
rr1
rr2
else
Stdlib
.
compare
rr1
rr2
in
in
c
c
|
Lvs_formal
(
lv1
,
li1
)
,
Lvs_formal
(
lv2
,
li2
)
->
|
Lvs_formal
(
lv1
,
li1
)
,
Lvs_formal
(
lv2
,
li2
)
->
...
@@ -154,6 +154,8 @@ module D = Datatype.Make(struct
...
@@ -154,6 +154,8 @@ module D = Datatype.Make(struct
lscope_vars1
lscope_vars1
lscope_vars2
lscope_vars2
let
equal
=
Datatype
.
from_compare
let
hash
lscope
=
let
hash
lscope
=
let
lscope_vars
=
get_all
lscope
in
let
lscope_vars
=
get_all
lscope
in
hash_list
hash_list
...
...
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