I was testing updating a Lua 5.1 project to 5.3 and needed the continue keyword from
http://lua-users.org/lists/lua-l/2009-06/msg00331.html. I couldn't find any updated patch, so I did a quick implementation myself.
This doesn't have the "skipped initialization" check. This builds on simple branches and goto doesn't do that, so that check doesn't seem necessary now. This patch does allow continue to not be the last statement in a block, like break.