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
cddbb16b
Commit
cddbb16b
authored
8 years ago
by
Julien Signoles
Browse files
Options
Downloads
Patches
Plain Diff
[typing] rename exception which had kept a temporary name
parent
f160c5e6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/plugins/e-acsl/E_ACSL.mli
+1
-1
1 addition, 1 deletion
src/plugins/e-acsl/E_ACSL.mli
src/plugins/e-acsl/error.ml
+3
-3
3 additions, 3 deletions
src/plugins/e-acsl/error.ml
src/plugins/e-acsl/error.mli
+1
-1
1 addition, 1 deletion
src/plugins/e-acsl/error.mli
with
5 additions
and
5 deletions
src/plugins/e-acsl/E_ACSL.mli
+
1
−
1
View file @
cddbb16b
...
...
@@ -25,7 +25,7 @@
open
Cil_types
module
Error
:
sig
exception
New_t
yping_error
of
string
exception
T
yping_error
of
string
exception
Not_yet
of
string
end
...
...
This diff is collapsed.
Click to expand it.
src/plugins/e-acsl/error.ml
+
3
−
3
View file @
cddbb16b
...
...
@@ -20,8 +20,8 @@
(* *)
(**************************************************************************)
exception
New_t
yping_error
of
string
let
untypable
s
=
raise
(
New_t
yping_error
s
)
exception
T
yping_error
of
string
let
untypable
s
=
raise
(
T
yping_error
s
)
exception
Not_yet
of
string
let
not_yet
s
=
raise
(
Not_yet
s
)
...
...
@@ -52,7 +52,7 @@ let generic_handle f res x =
try
f
x
with
|
New_t
yping_error
s
->
|
T
yping_error
s
->
let
msg
=
Format
.
sprintf
"@[invalid E-ACSL construct@ `%s'.@]"
s
in
Options
.
warning
~
once
:
true
~
current
:
true
"@[%s@ Ignoring annotation.@]"
msg
;
Nb_typing
.
set
(
Nb_typing
.
get
()
+
1
);
...
...
This diff is collapsed.
Click to expand it.
src/plugins/e-acsl/error.mli
+
1
−
1
View file @
cddbb16b
...
...
@@ -22,7 +22,7 @@
(** Handling errors. *)
exception
New_t
yping_error
of
string
exception
T
yping_error
of
string
exception
Not_yet
of
string
val
untypable
:
string
->
'
a
...
...
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