Browse thread
camlp4 stream parser syntax
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Joel Reymont <joelr1@g...> |
| Subject: | Re: Re : Re : [Caml-list] Re: camlp4 stream parser syntax |
On Mar 8, 2009, at 1:08 AM, Matthieu Wipliez wrote: >> actionDelay: [ [ "delay"; expression -> >> Asthelper.failwith (convert_loc _loc) >> "RVC-CAL does not permit the use of delay." ] ]; Which of the following tokens does "delay" get checked against? I'm assuming that camlp4 has to give "delay" to the lexer somehow and ask the lexer if the next token matches "delay". How does this happen? >> >> type token = >> | KEYWORD of string >> | SYMBOL of string >> | IDENT of string >> | INT of int * string >> | FLOAT of float * string >> | CHAR of char * string >> | STRING of string * string >> | EOI Thanks, Joel --- http://tinyco.de Mac, C++, OCaml