diff options
author | kosako <kosako@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-05-21 00:56:05 +0000 |
---|---|---|
committer | kosako <kosako@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-05-21 00:56:05 +0000 |
commit | 24faafb25308b140b40eb876b8f5078544565cb6 (patch) | |
tree | e32e24be443999425587fa9f85fc33b3f8454834 /regexec.c | |
parent | 3c9db8d6ac19de67cb2d34f3392e4844a1dd1c3b (diff) | |
download | ruby-24faafb25308b140b40eb876b8f5078544565cb6.tar.gz ruby-24faafb25308b140b40eb876b8f5078544565cb6.tar.xz ruby-24faafb25308b140b40eb876b8f5078544565cb6.zip |
fix bug [ruby-list:42234]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regexec.c')
-rw-r--r-- | regexec.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |