fix(lua): warning message

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-11-16 19:58:34 -08:00
parent 926ed0a02d
commit 0e6df0a55b

View file

@ -118,7 +118,7 @@ int safe_function_wrapper(lua_State * L, lua_CFunction f){
error_msg = _error_msg.c_str(); error_msg = _error_msg.c_str();
} catch (elaborator_exception & e) { } catch (elaborator_exception & e) {
push_justification(L, e.get_justification()); push_justification(L, e.get_justification());
lua_error(L); return lua_error(L);
} catch (exception & e) { } catch (exception & e) {
_error_msg = e.what(); _error_msg = e.what();
error_msg = _error_msg.c_str(); error_msg = _error_msg.c_str();