Browse thread
[Caml-list] lexing and parsing languages with file inclusion
- James Leifer
[
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: | James Leifer <James.Leifer@i...> |
| Subject: | [Caml-list] lexing and parsing languages with file inclusion |
Hi, I'm looking for a good way, when using ocamllex and ocamlyacc, to parse a language that allows file inclusion, e.g. #include "foo" I'd like to get the filename, line number, and character position right when reporting errors. Suggestions and pointers would be gratefully received. -- James Leifer INRIA Rocquencourt ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners