diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-23 06:30:26 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-23 06:30:26 +0000 |
commit | 2109a52503eb61ef38b25aa2266f0313e7ad56ac (patch) | |
tree | 7f6a9f8e9d6d98b3bcd852212df1011c862036fc /parse.y | |
parent | f1afb3959cb1746ea9f632cac069549ff289e84b (diff) | |
download | ruby-2109a52503eb61ef38b25aa2266f0313e7ad56ac.tar.gz |
* 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.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |