[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Catching syntax errors.
- From: Steve Goodrich <steveg@...>
- Date: Thu, 22 Jan 1998 11:25:45 -0700
We are finally really embedding lua into one of our testers in a way
that our end users can access it. A side effect of this is that we need
to be able to recognize when a bad file has been fed to the lua
interpreter and handle the problem gracefully. Is there anyway for the
embedding program to be notified of syntax errors rather than just
printing them to standard error and calling exit().
We are working under DOS.
Thanks
Steve.