diff options
author | 2013-06-19 08:39:27 +0000 | |
---|---|---|
committer | 2013-06-19 08:39:27 +0000 | |
commit | 9fd57222b55d9840ebfe4ecae7c9af5562374908 (patch) | |
tree | 9ea001ac8f53c134918cff4fa2be6edb833899b1 /parsing/tok.mli | |
parent | a3b4bde65a350bf3dc54ccec8f7608355c6a008a (diff) |
KEYID token makes parsing more robust in face of notations
A notation may introduce a new keyword that masks an quasi keyword
(IDENT "of" for example) used in some grammar rules. KEYID "of"
acepts both "of" as an ident and "of" as a keyword. Rephrasing grammar
rules with KEYID makes hence them more robust in face of user notations.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16590 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'parsing/tok.mli')
-rw-r--r-- | parsing/tok.mli | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/parsing/tok.mli b/parsing/tok.mli index a7f15c981..28af26194 100644 --- a/parsing/tok.mli +++ b/parsing/tok.mli @@ -13,6 +13,7 @@ type t = | METAIDENT of string | PATTERNIDENT of string | IDENT of string + | KEYID of string | FIELD of string | INT of string | STRING of string |