mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
shugo
* lib/net/imap.rb (ResponseParser#section): accept T_NUMBER. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
24053a65d0
commit
4960282ab3
1 changed files with 1 additions and 1 deletions
|
@ -1288,7 +1288,7 @@ module Net
|
||||||
str = ""
|
str = ""
|
||||||
token = match(T_LBRA)
|
token = match(T_LBRA)
|
||||||
str.concat(token.value)
|
str.concat(token.value)
|
||||||
token = match(T_ATOM)
|
token = match(T_ATOM, T_NUMBER)
|
||||||
str.concat(token.value)
|
str.concat(token.value)
|
||||||
token = lookahead
|
token = lookahead
|
||||||
if token.symbol == T_SPACE
|
if token.symbol == T_SPACE
|
||||||
|
|
Loading…
Reference in a new issue