mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fixed parsing of %r{} when generating source popup
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d745e584e9
commit
256be3c09c
2 changed files with 6 additions and 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:20:20 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…
Add table
Add a link
Reference in a new issue