From baedd2b4f7ea3d9e5a37d2c19184b75dfdcc68e9 Mon Sep 17 00:00:00 2001 From: kosako Date: Sun, 21 May 2006 00:56:05 +0000 Subject: fix bug [ruby-list:42234] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- regexec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'regexec.c') diff --git a/regexec.c b/regexec.c index de14d6d818..90514d403c 100644 --- a/regexec.c +++ b/regexec.c @@ -360,7 +360,8 @@ typedef struct _StackType { /* stack type check mask */ #define STK_MASK_POP_USED 0x00ff #define IS_TO_VOID_TARGET(stk) \ - (((stk)->type & STK_MASK_POP_USED) || (stk)->type == STK_NULL_CHECK_START) + (((stk)->type & STK_MASK_POP_USED) || \ + (stk)->type == STK_NULL_CHECK_START || (stk)->type == STK_NULL_CHECK_END) typedef struct { void* stack_p; -- cgit v1.2.3