From 4960282ab351ebcd6840347f8c4403a9ed66c201 Mon Sep 17 00:00:00 2001 From: shugo Date: Mon, 30 Oct 2000 04:17:42 +0000 Subject: 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 --- lib/net/imap.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/net/imap.rb') diff --git a/lib/net/imap.rb b/lib/net/imap.rb index fa8825d172..dd3cb72de7 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 -- cgit v1.2.3