Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at ocaml.org.

Browse thread
ocamlyacc error recovery
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Warren Harris <warrensomebody@g...>
Subject: ocamlyacc error recovery
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