diff options
author | kosako <kosako@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-01 12:23:17 +0000 |
---|---|---|
committer | kosako <kosako@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-01 12:23:17 +0000 |
commit | eaf373d6026c20a7b6c5e263fc9f0e8ca81d3b8c (patch) | |
tree | 0ef275c208608619d678971c360f2854f86da830 /regcomp.c | |
parent | 7f08f0d51126de193a9bd87804718a57e06b24fa (diff) | |
download | ruby-eaf373d6026c20a7b6c5e263fc9f0e8ca81d3b8c.tar.gz |
regcomp.c: uninitialized member (backrefed_status) was used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -3339,7 +3339,6 @@ typedef struct { typedef struct { MinMaxLen mmd; - BitStatusType backrefed_status; OnigEncoding enc; OnigOptionType options; OnigAmbigType ambig_flag; @@ -4271,7 +4270,7 @@ optimize_node_left(Node* node, NodeOptInfo* opt, OptEnv* env) r = optimize_node_left(en->target, opt, env); if (is_set_opt_anc_info(&opt->anc, ANCHOR_ANYCHAR_STAR_MASK)) { - if (BIT_STATUS_AT(env->backrefed_status, en->regnum)) + if (BIT_STATUS_AT(env->scan_env->backrefed_mem, en->regnum)) remove_opt_anc_info(&opt->anc, ANCHOR_ANYCHAR_STAR_MASK); } } |