If lua_beginblock and lua_endblock were defined as macros, they could use __FILE__ and __LINE__ to print out the source code of where things go wrong, instead of just this unhelpful message: lua: `lua_beginblock': too many nested blocks Norman