diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-08-20 06:15:53 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-08-20 06:15:53 +0000 |
commit | ba294ad0601e84a4c64e31ac03bebf5e964c3029 (patch) | |
tree | e9eebcf8350f85a2314ed6004c08fb12bae963f3 | |
parent | c7868668121470b56f173a596b750e8a27fe9e18 (diff) |
* parse.y (tokadd_escape): escaped backslashes too much.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | parse.y | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Mon Aug 20 15:14:27 2001 Yukihiro Matsumoto <matz@ruby-lang.org> + + * parse.y (tokadd_escape): escaped backslashes too much. + Mon Aug 20 13:24:08 2001 Yukihiro Matsumoto <matz@ruby-lang.org> * range.c (range_step): 'iter' here should be an array. @@ -2401,7 +2401,7 @@ tokadd_escape(term) return -1; default: - if (c == '/' && c != term) + if (c != '/' || c != term) tokadd('\\'); tokadd(c); } |