* lib/net/imap.rb: supports unknown resp_text_code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8e5c3b23f2
commit
2fbc717875
@ -1,3 +1,7 @@
|
|||||||
|
Wed Feb 14 17:28:24 2001 Shugo Maeda <shugo@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/net/imap.rb: supports unknown resp_text_code.
|
||||||
|
|
||||||
Wed Feb 14 00:44:17 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Wed Feb 14 00:44:17 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* dir.c (dir_s_glob): supprt backslash escape of metacharacters
|
* dir.c (dir_s_glob): supprt backslash escape of metacharacters
|
||||||
|
@ -1475,6 +1475,12 @@ module Net
|
|||||||
when /\A(?:UIDVALIDITY|UIDNEXT|UNSEEN)\z/n
|
when /\A(?:UIDVALIDITY|UIDNEXT|UNSEEN)\z/n
|
||||||
match(T_SPACE)
|
match(T_SPACE)
|
||||||
result = ResponseCode.new(name, number)
|
result = ResponseCode.new(name, number)
|
||||||
|
else
|
||||||
|
match(T_SPACE)
|
||||||
|
@lex_state = EXPR_CTEXT
|
||||||
|
token = match(T_TEXT)
|
||||||
|
@lex_state = EXPR_BEG
|
||||||
|
result = ResponseCode.new(name, token.value)
|
||||||
end
|
end
|
||||||
match(T_RBRA)
|
match(T_RBRA)
|
||||||
@lex_state = EXPR_RTEXT
|
@lex_state = EXPR_RTEXT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user