@@ -1505,8 +1505,8 @@ def resp_text_code
1505
1505
when "UIDNEXT" then SP! ; nz_number
1506
1506
when "UIDVALIDITY" then SP! ; nz_number
1507
1507
when "UNSEEN" then SP! ; nz_number # rev1 only
1508
- when "APPENDUID" then resp_code_apnd__data
1509
- when "COPYUID" then resp_code_copy__data
1508
+ when "APPENDUID" then SP! ; resp_code_apnd__data # rev2, UIDPLUS
1509
+ when "COPYUID" then SP! ; resp_code_copy__data # rev2, UIDPLUS
1510
1510
when "BADCHARSET" then charset_list
1511
1511
when "ALERT" , "PARSE" , "READ-ONLY" , "READ-WRITE" , "TRYCREATE"
1512
1512
when "NOMODSEQ" # CONDSTORE
@@ -1549,18 +1549,18 @@ def charset_list
1549
1549
# match uid_set even if that returns a single-member array.
1550
1550
#
1551
1551
def resp_code_apnd__data
1552
- match ( T_SPACE ) ; validity = number
1553
- match ( T_SPACE ) ; dst_uids = uid_set # uniqueid ⊂ uid-set
1552
+ validity = number ; SP!
1553
+ dst_uids = uid_set # uniqueid ⊂ uid-set
1554
1554
UIDPlusData . new ( validity , nil , dst_uids )
1555
1555
end
1556
1556
1557
1557
# already matched: "COPYUID"
1558
1558
#
1559
1559
# resp-code-copy = "COPYUID" SP nz-number SP uid-set SP uid-set
1560
1560
def resp_code_copy__data
1561
- match ( T_SPACE ) ; validity = number
1562
- match ( T_SPACE ) ; src_uids = uid_set
1563
- match ( T_SPACE ) ; dst_uids = uid_set
1561
+ validity = number ; SP!
1562
+ src_uids = uid_set ; SP!
1563
+ dst_uids = uid_set
1564
1564
UIDPlusData . new ( validity , src_uids , dst_uids )
1565
1565
end
1566
1566
0 commit comments