From 7b20a1f70e4d550f41d184eecd35220881f35649 Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 19 Jul 2001 05:45:23 +0000 Subject: regex.c updated git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- regex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'regex.c') diff --git a/regex.c b/regex.c index 4539624234..e580f34c39 100644 --- a/regex.c +++ b/regex.c @@ -3373,7 +3373,7 @@ re_search(bufp, string, size, startpos, range, regs) #define MAX_NUM_FAILURE_ITEMS (num_regs * NUM_REG_ITEMS + NUM_NONREG_ITEMS) /* We push this many things on the stack whenever we fail. */ -#define NUM_FAILURE_ITEMS (last_used_reg * NUM_REG_ITEMS + NUM_REG_ITEMS + 1) +#define NUM_FAILURE_ITEMS (last_used_reg * NUM_REG_ITEMS + NUM_NOREG_ITEMS + 1) /* This pushes counter information for succeed_n and jump_n */ #define PUSH_FAILURE_COUNT(ptr) \ -- cgit v1.2.3