[
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: | Re: [Caml-list] debugging ocamlyacc grammars |
"Rafael 'Dido' Sevilla" <dido@imperium.ph> writes:
> I'm attempting to debug a grammar for ocamlyacc i'm in the process of
> writing, and am wondering if there's a feature there similar to what
> happens when you #define YYDEBUG 1 and set yydebug = 1 with Bison or
> Yacc, giving a dump of the parser's state, stack, and read tokens, which
> is invaluable for debugging.
Do you mean the parser.output file produced when you use the -v
option?
ocamlyacc -v foo.mly
-James
-------------------
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