summaryrefslogtreecommitdiff
path: root/lib/net/imap.rb
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-10-30 04:17:42 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-10-30 04:17:42 +0000
commit4960282ab351ebcd6840347f8c4403a9ed66c201 (patch)
treeaaedd64957ed53677452fb023791150683d98d1e /lib/net/imap.rb
parent24053a65d0abb4c6237a94ae24a2b1e2bc1da7c1 (diff)
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
Diffstat (limited to 'lib/net/imap.rb')
-rw-r--r--lib/net/imap.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/imap.rb b/lib/net/imap.rb
index fa8825d..dd3cb72 100644
--- a/lib/net/imap.rb
+++ b/lib/net/imap.rb
@@ -1288,7 +1288,7 @@ module Net
str = ""
token = match(T_LBRA)
str.concat(token.value)
- token = match(T_ATOM)
+ token = match(T_ATOM, T_NUMBER)
str.concat(token.value)
token = lookahead
if token.symbol == T_SPACE