Browse thread
Handling include files using ocamllex
[
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: | 2007-08-05 (05:35) |
From: | Erik de Castro Lopo <mle+ocaml@m...> |
Subject: | Re: [Caml-list] Handling include files using ocamllex |
Erik de Castro Lopo wrote: > | Parser.TOK_EOF -> > ( match ls.stack with > | [] -> Parser.TOK_EOF > | (fn, ch, lb) :: tail -> > ls.filename <- fn ; > ls.chan <- ch ; > ls.stack <- tail ; > get_token ls dummy_lexbuf > ) Ooops, in the above section, there is a missing ls.lexbuf <- lb ; just before the recursive call to get_token. Erik -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "I'm too fucking busy, or vice versa" -- Dorothy Parker