diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-05-05 11:29:20 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-05-05 11:31:32 +0200 |
commit | 850612f220380ecd8d53c1b7f4132ae468ead2ea (patch) | |
tree | f086a5ceea6fa968d28982be1c7b98ba2de368ae /lib.h | |
parent | f0a987503cb55f438a79c6d14058b23c5b801a0c (diff) |
compiler: properly handle break/continue in nested scopes
When emitting byte code for break or continue statements, ensure that local
variables in all containing scopes up to the loop body scope are popped,
not just those in the same scope the statement is located in.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'lib.h')
0 files changed, 0 insertions, 0 deletions