diff options
-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); } |