aboutsummaryrefslogtreecommitdiff
path: root/src/tools.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools.cpp')
-rw-r--r--src/tools.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools.cpp b/src/tools.cpp
index 2d48552..73efda9 100644
--- a/src/tools.cpp
+++ b/src/tools.cpp
@@ -348,7 +348,7 @@ static void populate_func_lookup_table_recur(DEBUGSPEW_PARAM_COMMA(Universe* U_)
348 while (lua_next(L_, breadthFirstCache) != 0) { // L_: ... {i_} {bfc} k {} 348 while (lua_next(L_, breadthFirstCache) != 0) { // L_: ... {i_} {bfc} k {}
349 DEBUGSPEW_CODE(char const* key = (lua_type(L_, -2) == LUA_TSTRING) ? lua_tostring(L_, -2) : "not a string"); 349 DEBUGSPEW_CODE(char const* key = (lua_type(L_, -2) == LUA_TSTRING) ? lua_tostring(L_, -2) : "not a string");
350 DEBUGSPEW_CODE(fprintf(stderr, INDENT_BEGIN "table '%s'\n" INDENT_END(U_), key)); 350 DEBUGSPEW_CODE(fprintf(stderr, INDENT_BEGIN "table '%s'\n" INDENT_END(U_), key));
351 DEBUGSPEW_CODE(DebugSpewIndentScope scope{ U_ }); 351 DEBUGSPEW_CODE(DebugSpewIndentScope scope2{ U_ });
352 // un-visit this table in case we do need to process it 352 // un-visit this table in case we do need to process it
353 lua_pushvalue(L_, -1); // L_: ... {i_} {bfc} k {} {} 353 lua_pushvalue(L_, -1); // L_: ... {i_} {bfc} k {} {}
354 lua_rawget(L_, cache); // L_: ... {i_} {bfc} k {} n 354 lua_rawget(L_, cache); // L_: ... {i_} {bfc} k {} n