aboutsummaryrefslogtreecommitdiff
path: root/parsing/lexer.mli
diff options
context:
space:
mode:
authorherbelin2011-08-08 23:04:18 +0000
committerherbelin2011-08-08 23:04:18 +0000
commitea09770efde4a7bdd573407a408e54ec2b41b6ad (patch)
tree46b3d831db010166446a9915ae3f11b02dbf50ee /parsing/lexer.mli
parent5184fde1c73ac58364df8a60442dbaaba9685555 (diff)
Be a bit less aggressive in declaring idents as keywords in notations
(an articulating ident needs to be a keyword if the constr entry that preceeds it is higher than the level of applications). Also fixed is_ident_not_keyword which only looked at the first letter and at the keyword status to decide if a token is an ident. This allowed to simplified define_keywords in Metasyntax. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14389 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'parsing/lexer.mli')
-rw-r--r--parsing/lexer.mli1
1 files changed, 1 insertions, 0 deletions
diff --git a/parsing/lexer.mli b/parsing/lexer.mli
index 0a40d07276..1899f7f4d5 100644
--- a/parsing/lexer.mli
+++ b/parsing/lexer.mli
@@ -21,6 +21,7 @@ val location_table : unit -> location_table
val restore_location_table : location_table -> unit
val check_ident : string -> unit
+val is_ident : string -> bool
val check_keyword : string -> unit
type frozen_t