aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorGravatar barras <barras@85f007b7-540e-0410-9357-904b9bb8a0f7>2003-12-31 18:58:37 +0000
committerGravatar barras <barras@85f007b7-540e-0410-9357-904b9bb8a0f7>2003-12-31 18:58:37 +0000
commit6c94c70d3638e5ac4406ba1abc0b91b941f775b5 (patch)
tree432c7156a07f5d2491692b9b5b5618fbc8b5cb4f /lib
parentd515b8776fb99f1e261ef7cc83aa5791c248a686 (diff)
*** empty log message ***
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@5164 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'lib')
-rw-r--r--lib/util.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/util.ml b/lib/util.ml
index 3203d0f78..d80f09062 100644
--- a/lib/util.ml
+++ b/lib/util.ml
@@ -48,7 +48,8 @@ let is_letter c =
let is_digit c = (c >= '0' && c <= '9')
-let is_ident_tail c = is_letter c or is_digit c or c = '\''
+let is_ident_tail c =
+ is_letter c or is_digit c or c = '\'' or c = '_'
(* Strings *)