Fixed parsing of %r{} when generating source popup
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8aa7a96238
commit
417f9ec4aa
@ -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
|
||||
|
@ -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 = "\""
|
||||
|
Loading…
x
Reference in New Issue
Block a user