There is also a modification patch for Lua 5.1 called Cocos that fixes this. It was written by Mike Pall, better known as the author of LuaJIT.
http://coco.luajit.org
I saw a patch he wrote for copying coroutines, for those who miss multi-shot continuations.