diff options
author | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2010-05-19 15:29:44 +0000 |
---|---|---|
committer | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2010-05-19 15:29:44 +0000 |
commit | 259dde7928696593c2d3c6de474f5cf50fa4417d (patch) | |
tree | 7fe225a0731c13b30cb10ae7098e096f38903366 /parsing/grammar.mllib | |
parent | e1feff1215562d8f99fedf73c87011e6d7edca19 (diff) |
Nicer representation of tokens, more independant of camlp*
Cf tok.ml, token isn't anymore string*string where first
string encodes the kind of the token, but rather a nice
sum type. Unfortunately, string*string (a.k.a Plexing.pattern)
is still used in some places of Camlp5, so there's a few
conversions back and forth. But the penalty should be quite low,
and having nicer tokens helps in the forthcoming integration
of support for camlp4 post 3.10
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13018 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'parsing/grammar.mllib')
-rw-r--r-- | parsing/grammar.mllib | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/parsing/grammar.mllib b/parsing/grammar.mllib index 483538da6..98905d3c0 100644 --- a/parsing/grammar.mllib +++ b/parsing/grammar.mllib @@ -66,6 +66,7 @@ Topconstr Genarg Ppextend Tacexpr +Tok Lexer Extend Vernacexpr |