diff options
Diffstat (limited to 'src/lane.cpp')
-rw-r--r-- | src/lane.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lane.cpp b/src/lane.cpp index 2a2030d..b55b611 100644 --- a/src/lane.cpp +++ b/src/lane.cpp | |||
@@ -462,9 +462,9 @@ static constexpr RegistryUniqueKey kStackTraceRegKey{ 0x3F327747CACAA904ull }; | |||
462 | lua_pushstring(L_, _ar.what); // L_: some_error {} {} what | 462 | lua_pushstring(L_, _ar.what); // L_: some_error {} {} what |
463 | lua_setfield(L_, -2, "what"); // L_: some_error {} {} | 463 | lua_setfield(L_, -2, "what"); // L_: some_error {} {} |
464 | } else if (_ar.currentline > 0) { | 464 | } else if (_ar.currentline > 0) { |
465 | lua_pushfstring(L_, "%s:%d", _ar.short_src, _ar.currentline); // L_: some_error {} "blah:blah" | 465 | std::ignore = luaG_pushstringview(L_, "%s:%d", _ar.short_src, _ar.currentline); // L_: some_error {} "blah:blah" |
466 | } else { | 466 | } else { |
467 | lua_pushfstring(L_, "%s:?", _ar.short_src); // L_: some_error {} "blah" | 467 | std::ignore = luaG_pushstringview(L_, "%s:?", _ar.short_src); // L_: some_error {} "blah" |
468 | } | 468 | } |
469 | lua_rawseti(L_, -2, static_cast<lua_Integer>(_n)); // L_: some_error {} | 469 | lua_rawseti(L_, -2, static_cast<lua_Integer>(_n)); // L_: some_error {} |
470 | } | 470 | } |