preserve Lua error line numbers in more cases