summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-23 06:30:26 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-23 06:30:26 +0000
commit2109a52503eb61ef38b25aa2266f0313e7ad56ac (patch)
tree7f6a9f8e9d6d98b3bcd852212df1011c862036fc /parse.y
parentf1afb3959cb1746ea9f632cac069549ff289e84b (diff)
* re.c (REG_CASESTATE): unused macro removed.
(rb_reg_prepare_re): check encoding difference. (rb_reg_initialize): check 8bit byte. * parse.y (parser_tokadd_escape): fix has8bit. [ruby-dev:32113] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index adae072923..75d39042f4 100644
--- a/parse.y
+++ b/parse.y
@@ -5206,7 +5206,7 @@ parser_tokadd_escape(struct parser_params *parser, int term,
hex = tok_hex(&numlen);
if (numlen == 0) goto eof;
tokcopy(numlen + 2);
- if (hex >= 0x80) *has8bit = ENC_CODERANGE_UNKNOWN;
+ if (hex >= 0x80) *has8bit = 1;
}
return 0;