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 | baedd2b4f7ea3d9e5a37d2c19184b75dfdcc68e9 (patch) | |
tree | e32e24be443999425587fa9f85fc33b3f8454834 /regexec.c | |
parent | 9a012539baf79006b2c6b25b4eaf8d2cdd40e123 (diff) | |
download | ruby-baedd2b4f7ea3d9e5a37d2c19184b75dfdcc68e9.tar.gz |
fix bug [ruby-list:42234]
git-svn-id: svn+ssh://ci.ruby-lang.org/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; |