From d13f1e243ff5ac94ecfc64f2bd81ae5d1c33bfcc Mon Sep 17 00:00:00 2001 From: Michael Schmidt Date: Mon, 4 Jun 2018 14:47:16 +0200 Subject: Various improvements in the wording of diagnostics. Fix various typos in diagnostic messages and unified wording and capitalization. Bug 23850 --- cparser/Unblock.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cparser/Unblock.ml') diff --git a/cparser/Unblock.ml b/cparser/Unblock.ml index 5df2e2cf..da8049a5 100644 --- a/cparser/Unblock.ml +++ b/cparser/Unblock.ml @@ -31,7 +31,7 @@ let rec local_initializer env path init k = let (ty_elt, sz) = match unroll env path.etyp with | TArray(ty_elt, Some sz, _) -> (ty_elt, sz) - | _ -> Diagnostics.fatal_error Diagnostics.no_loc "Wrong type for array initializer" in + | _ -> Diagnostics.fatal_error Diagnostics.no_loc "wrong type for array initializer" in let rec array_init pos il = if pos >= sz then k else begin let (i1, il') = -- cgit