mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Import RDoc 3
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d7effd506f
commit
2ef9c50c6e
106 changed files with 8878 additions and 4179 deletions
|
@ -49,7 +49,6 @@ module RDoc::Parser::RubyTools
|
|||
obj.pop_token
|
||||
end if @token_listeners
|
||||
else
|
||||
warn("':' not followed by identifier or operator")
|
||||
tk = tk1
|
||||
end
|
||||
end
|
||||
|
@ -62,6 +61,10 @@ module RDoc::Parser::RubyTools
|
|||
tk
|
||||
end
|
||||
|
||||
##
|
||||
# Reads and returns all tokens up to one of +tokens+. Leaves the matched
|
||||
# token in the token list.
|
||||
|
||||
def get_tk_until(*tokens)
|
||||
read = []
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue