Skip to content
Snippets Groups Projects
Commit 7cecf4a1 authored by DarkGod's avatar DarkGod
Browse files

force flush on error, does this work on windows ? needs testing

parent e29bc31c
No related branches found
No related tags found
No related merge requests found
......@@ -196,6 +196,7 @@ static int traceback (lua_State *L) {
add_lua_error(ar.short_src, ar.currentline, ar.name?ar.name:"");
}
}
fflush(stdout);
return 1;
}
......@@ -228,6 +229,7 @@ void stackDump (lua_State *L) {
i--;
}
printf("--------------- Stack Dump Finished ---------------\n" );
fflush(stdout);
}
int docall (lua_State *L, int narg, int nret)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment