minetest/src/script/common
Michael Muller ddd9317b73 Clean up stack after script_get_backtrace (#7854)
script_get_backtrace() was leaving its return value on the stack, corrupting
subsequent lua operations for functions that did not immediately return.

This problem can specifically be observed in the case of multiple "groupcaps"
entries, each of which provides the legacy "maxwear" property.  These cause a
backtrace and thus pollute the stack for the following lua_next() call.
2018-11-28 20:01:01 +01:00
..
c_content.cpp Raycast: export exact pointing location (#6304) 2018-08-16 20:10:08 +02:00
c_content.h Raycast: export exact pointing location (#6304) 2018-08-16 20:10:08 +02:00
c_converter.cpp Lua templating reading (part 4): s16, v2s16, v2f (#7512) 2018-07-08 23:06:33 +02:00
c_converter.h Lua templating reading (part 4): s16, v2s16, v2f (#7512) 2018-07-08 23:06:33 +02:00
c_internal.cpp Clean up stack after script_get_backtrace (#7854) 2018-11-28 20:01:01 +01:00
c_internal.h Modernize lua read (part 2 & 3): C++ templating assurance (#7410) 2018-06-30 17:11:38 +02:00
c_types.cpp Remove lua_State parameter from LuaError::LuaError 2014-03-15 16:28:59 -04:00
c_types.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
CMakeLists.txt Modernize lua read (part 2 & 3): C++ templating assurance (#7410) 2018-06-30 17:11:38 +02:00
helper.cpp Lua templating reading (part 4): s16, v2s16, v2f (#7512) 2018-07-08 23:06:33 +02:00
helper.h Modernize lua read (part 2 & 3): C++ templating assurance (#7410) 2018-06-30 17:11:38 +02:00