summaryrefslogtreecommitdiffhomepage
path: root/src/codegen.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-04-05 08:37:04 -0700
committerYukihiro "Matz" Matsumoto <[email protected]>2013-04-05 08:37:04 -0700
commita20384ce746e362c94818c5fd85b99aeb83b859f (patch)
treeceb4d8beb66b8858338a551423eb266d32246598 /src/codegen.c
parent93819c0186266224a4292bed123823f571b3df37 (diff)
parent1541a61f5db1ce6e278b5f9c910a595c0c7dbe58 (diff)
downloadmruby-a20384ce746e362c94818c5fd85b99aeb83b859f.tar.gz
mruby-a20384ce746e362c94818c5fd85b99aeb83b859f.zip
Merge pull request #1141 from mattn/fix_exit
Fix exit
Diffstat (limited to 'src/codegen.c')
-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