The lines.n value produced by Auto3 implementation was 1 too small causing the last line in a file to be eaten by karaskel.

Originally committed to SVN as r2818.
This commit is contained in:
Niels Martin Hansen 2009-04-17 21:34:43 +00:00
parent 5a76711a19
commit c55df071cf

View file

@ -764,7 +764,7 @@ static void MakeEventsTable(lua_State *L, struct Auto3Interpreter *script)
// Finally, make 'n' key in table
lua_pushstring(L, "n");
lua_pushnumber(L, n);
lua_pushnumber(L, n+1);
lua_settable(L, -3);
}