English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse 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: 2010-07-17 (20:03)
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