diff options
author | Emil Renner Berthing <esmil@mailme.dk> | 2012-10-15 21:05:15 +0200 |
---|---|---|
committer | Emil Renner Berthing <esmil@mailme.dk> | 2012-12-11 11:22:48 +0100 |
commit | 58c692c8494dcba136a1d883ce3badf5acf50155 (patch) | |
tree | 44da019176ac0c28c7f943cfc7cafb41e5be9c4e /bin/pool.c | |
parent | f0dad553a7092ffa11bb1f84fbbd22e3a47d8ac2 (diff) | |
download | lem-58c692c8494dcba136a1d883ce3badf5acf50155.tar.gz lem-58c692c8494dcba136a1d883ce3badf5acf50155.tar.xz lem-58c692c8494dcba136a1d883ce3badf5acf50155.zip |
lem-repl: use pcall
The sethandler functionality is an ugly hack around
Lua 5.1's inability to yield inside pcalls.
This means you'll now get an ugly crash when you call
functions which yield from lem-repl.
However this only happens when compiling against Lua 5.1.
Lua 5.2 and LuaJIT2 doesn't have this problem.
Diffstat (limited to 'bin/pool.c')
0 files changed, 0 insertions, 0 deletions