summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/codegen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen.c b/src/codegen.c
index b8909e809..83d0136ef 100644
--- a/src/codegen.c
+++ b/src/codegen.c
@@ -355,7 +355,7 @@ genop_peep(codegen_scope *s, mrb_code i, int val)
static void
scope_error(codegen_scope *s)
{
- exit(1);
+ exit(EXIT_FAILURE);
}
static inline void