Skip to content
Snippets Groups Projects
Commit a8575ca3 authored by Julien Signoles's avatar Julien Signoles
Browse files

[e-acsl] fixing comments

parent d71e168c
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@
(* *)
(**************************************************************************)
(** Labeled term and predicates pre-analysis *)
(** Pre-analysis for Labeled terms and predicates. *)
open Cil_types
open Cil_datatype
......
......@@ -20,12 +20,12 @@
(* *)
(**************************************************************************)
(** Labeled term and predicates pre-analysis.
(** Pre-analysis for Labeled terms and predicates.
This pre-analysis records, for each labeled term or predicate, the place
where the translation must happen.
The list of labeled term or predicates to be translated for a given
The list of labeled terms or predicates to be translated for a given
statement is provided by [Labels.at_for_stmt]. *)
open Cil_types
......
......@@ -255,7 +255,7 @@ let translations: varinfo Error.result At_data.Hashtbl.t =
At_data.Hashtbl.create 17
(* [pretranslate_to_exp ~loc kf env pot] immediately translates the given
[pred_or_term] in the current environment and return the translated
[pred_or_term] in the current environment and returns the translated
expression. *)
let pretranslate_to_exp ~loc kf env pot =
Options.debug ~level:4 "pre-translating %a in local environment '%a'"
......@@ -440,7 +440,7 @@ let pretranslate_to_exp_with_lscope ~loc ~lscope kf env pot =
let clabels_ref: Logic_label.Set.t ref = ref Logic_label.Set.empty
(* [is_label_defined label] returns [true] if [label] is either a C label that
has been defined, a built-in label or a formal label, and return false if
has been defined, a built-in label or a formal label, and returns [false] if
[label] is a C label that has not been defined. *)
let is_label_defined label =
match label with
......@@ -533,7 +533,7 @@ let to_exp ~loc ~adata kf env pot label =
| Result.Error exn ->
Env.Context.save env;
raise exn
with Not_found ->begin
with Not_found -> begin
match pot with
| PoT_term t -> !term_to_exp_ref ~adata ~inplace:true kf env t
| PoT_pred p -> !predicate_to_exp_ref ~adata ~inplace:true kf env p
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment