diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/rdoc/parsers/parse_rb.rb | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Wed Jun 23 01:45:27 2004 Dave Thomas <dave@pragprog.com> + + * lib/rdoc/parsers/parse_rb.rb (RubyLex::identify_quotation): + Fix problem with the 'r' being dropped from %r{xxx} + Wed Jun 23 00:10:17 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp> * ext/win32ole/win32ole.c (ole_hresult2msg): remove trailing diff --git a/lib/rdoc/parsers/parse_rb.rb b/lib/rdoc/parsers/parse_rb.rb index bd2414826c..70236af343 100644 --- a/lib/rdoc/parsers/parse_rb.rb +++ b/lib/rdoc/parsers/parse_rb.rb @@ -1123,6 +1123,7 @@ class RubyLex def identify_quotation(initial_char) ch = getc if lt = PERCENT_LTYPE[ch] + initial_char += ch ch = getc elsif ch =~ /\W/ lt = "\"" |