|
From: Braden M. <br...@en...> - 2001-09-28 20:42:56
|
On Fri, 2001-09-28 at 15:41, clayton cottingham wrote:
> could you
> let me know if there is a way
> {in C++} to access/send a file/stream
> to the VRML97Parser functions
> and get an answer back to its validity/parsability as a vrml doc?
Yes. If you don't get any error output, it should have succeeded.
If you're asking whether the calling context will get any indication of
whether or not the parse completely succeeded, the answer is, "Probably
not." ANTLR's error handling uses exceptions. Our use of this error
handling could be tuned quite a bit more than it is now. Ideally no
exception should ever propagate up to the top level, but I can't rule
this out right now. It's not something you should depend on.
--
Braden McDaniel e-mail: <br...@en...>
<http://endoframe.com> Jabber: <br...@ja...>
|