aboutsummaryrefslogtreecommitdiffstats
path: root/debug/DebugInformation.ml
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@college-de-france.fr>2019-05-31 11:55:57 +0200
committerXavier Leroy <xavier.leroy@college-de-france.fr>2019-05-31 12:00:37 +0200
commit8b0724fdb1af4f89a603f7bde4b5b625c870e111 (patch)
tree728c79a8ed3f2d99a24d181f712665f3a80fbd23 /debug/DebugInformation.ml
parente10555313645cf3c35f244f42afa5a03fba2bac1 (diff)
downloadcompcert-kvx-8b0724fdb1af4f89a603f7bde4b5b625c870e111.tar.gz
compcert-kvx-8b0724fdb1af4f89a603f7bde4b5b625c870e111.zip
Fix misspellings in messages, man pages, and comments
This is a manual, partial merge of Github pull request #296 by @Fourchaux. flocq/, cparser/MenhirLib/ and parts of test/ have not been changed because these are local copies and the fixes should be performed upstream.
Diffstat (limited to 'debug/DebugInformation.ml')
-rw-r--r--debug/DebugInformation.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/debug/DebugInformation.ml b/debug/DebugInformation.ml
index 21c2ad19..3498a779 100644
--- a/debug/DebugInformation.ml
+++ b/debug/DebugInformation.ml
@@ -223,7 +223,7 @@ let name_to_definition: (string,int) Hashtbl.t = Hashtbl.create 7
(* Mapping from atom to debug id *)
let atom_to_definition: (atom, int) Hashtbl.t = Hashtbl.create 7
-(* Various lookup functions for defintions *)
+(* Various lookup functions for definitions *)
let find_gvar_stamp id =
let id = (Hashtbl.find stamp_to_definition id) in
let var = Hashtbl.find definitions id in
@@ -342,7 +342,7 @@ let insert_global_declaration env dec =
replace_var id ({var with gvar_declaration = false;})
end
end else begin
- (* Implict declarations need special handling *)
+ (* Implicit declarations need special handling *)
let id' = try Hashtbl.find name_to_definition id.name with Not_found ->
let id' = next_id () in
Hashtbl.add name_to_definition id.name id';id' in