[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua C++ exception catching too broad.
- From: "Joe Smith" <unknown_kev_cat@...>
- Date: Sat, 29 Jul 2006 20:43:52 -0400
"Mark Hamburg" <email@example.com> wrote in message
If you do that, I think it will probably leave the Lua state messed up.
Concurred. However, that is for the end user to deal with. Enigma, the
project in which I noticed that catch statement has reasons to do this, and
in all such cases will discard the lua state, automatically assuming it is
corrupted beyond repair. Really the basic complaint is that a library (even
one such as lua) really should not be using catch(...) and in this case it
It is a trivial one line patch.