aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/names.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/names.ml b/kernel/names.ml
index c4ced8e999..6633ba238e 100644
--- a/kernel/names.ml
+++ b/kernel/names.ml
@@ -114,7 +114,7 @@ let check_ident s =
if l = 0 then error "The empty string is not an identifier";
let c = String.get s 0 in
if (is_letter c) or c = '_' or c = '$' then check_ident_suffix 1 l s
- else error (s^": an identifier starts with a letter")
+ else error (s^": an identifier should start with a letter")
let is_ident s = try check_ident s; true with _ -> false