aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main.c b/src/main.c
index 250e3d3..1911873 100644
--- a/src/main.c
+++ b/src/main.c
@@ -31,12 +31,6 @@ int main(int argc, char **argv) {
interp.stacktrace = interp.nil;
mainret = -1; goto end;
}
- if (Interp_ref(&interp, ret)->type == kBreakSignal
- || Interp_ref(&interp, ret)->type == kContinueSignal
- || Interp_ref(&interp, ret)->type == kReturnSignal) {
- fprintf(stderr, "Error: unexpected control flow signal.\n");
- mainret = -1; goto end;
- }
}
#ifdef WITHREADLINE
Parser_set_readline(interp.parser);