caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* ocamlyacc error recovery
@ 2010-07-17 20:00 Warren Harris
  0 siblings, 0 replies; only message in thread
From: Warren Harris @ 2010-07-17 20:00 UTC (permalink / raw)
  To: caml-list caml-list

I was wondering if it was possible for ocamlyacc to perform error recovery by attempting to insert a token in the stream and continuing to parse. The docs indicate that the error recovery mechanism is mostly centered around discarding tokens, but in this case I'd like to attempt to insert a close-delimiter to see if the parse can continue. Thanks for any pointers,

Warren

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-07-17 20:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-17 20:00 ocamlyacc error recovery Warren Harris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).