summaryrefslogtreecommitdiff
path: root/eval_intern.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-18 13:36:46 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-18 13:36:46 (GMT)
commit2082417a48d56295796e2bbfc2001ecf5008a88a (patch)
treed878bc4f903586e57529180e58c3c7dd32722e07 /eval_intern.h
parentbfb8b125faa32e908c474dece5e3d83a4424d209 (diff)
* eval.c (setup_exception): internal exception should be hidden
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval_intern.h')
-rw-r--r--eval_intern.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/eval_intern.h b/eval_intern.h
index cacaa6c..e1316bf 100644
--- a/eval_intern.h
+++ b/eval_intern.h
@@ -135,6 +135,8 @@ NORETURN(void _longjmp(jmp_buf, int));
#define JUMP_TAG(st) TH_JUMP_TAG(GET_THREAD(), (st))
+#define INTERNAL_EXCEPTION_P(exc) FIXNUM_P(exc)
+
enum ruby_tag_type {
RUBY_TAG_RETURN = 0x1,
RUBY_TAG_BREAK = 0x2,