summaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-20 06:09:03 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-20 06:09:03 +0000
commitb6a9641ba836529c8ec9467382b096e0540fec76 (patch)
tree7e96a157461b2818df6e902eeeec61fe39834075 /parse.y
parent0c2091d44bc044a162913c98bdc30ae423513a42 (diff)
downloadruby-b6a9641ba836529c8ec9467382b096e0540fec76.tar.gz
ruby-b6a9641ba836529c8ec9467382b096e0540fec76.tar.xz
ruby-b6a9641ba836529c8ec9467382b096e0540fec76.zip
* parse.y (parser_read_escape): has8bit flag may be set with control
escape. [ruby-core:13722] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13981 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 696ff6312..fdd17f0aa 100644
--- a/parse.y
+++ b/parse.y
@@ -5144,7 +5144,7 @@ parser_read_escape(struct parser_params *parser, int flags,
if (flags & ESCAPE_CONTROL) goto eof;
if ((c = nextc())== '\\') {
int tmp;
- c = read_escape(flags|ESCAPE_CONTROL, &tmp, &tmp, encp);
+ c = read_escape(flags|ESCAPE_CONTROL, has8bit, &tmp, encp);
}
else if (c == '?')
return 0177;