lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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.