Merge: Unify escaping
authorJean Privat <jean@pryen.org>
Sat, 9 Apr 2016 13:58:02 +0000 (09:58 -0400)
committerJean Privat <jean@pryen.org>
Sat, 9 Apr 2016 13:58:02 +0000 (09:58 -0400)
For some historical reasons, the `return` was managed slightly differently from `break` and `continue`.

This PR unify the whole thing thus simplify how the escaping mechanism is handled by the interpreted. By the way this also fixes #2008 (that is caused by an unhandled `return` specific case)

This will also help the implementation of correct escaping and `finally` in the compiler.

Pull-Request: #2010
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>


No differences found