summaryrefslogtreecommitdiff
path: root/lib/net/imap.rb
diff options
context:
space:
mode:
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 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