Reads and returns all tokens up to one of tokens. Leaves the
matched token in the token list.
# File lib/rdoc/parser/ruby_tools.rb, line 68
def get_tk_until(*tokens)
read = []
loop do
tk = get_tk
case tk when *tokens then unget_tk tk; break end
read << tk
end
read
end