pike.git / lib / modules / Protocols.pmod / IMAP.pmod / parse_line.pike

version» Context lines:

pike.git/lib/modules/Protocols.pmod/IMAP.pmod/parse_line.pike:163:    {    case '(':    buffer = buffer[1..];    return ([ "type" : "list", "list" : 1 ]);    case '"': {    string s = get_string();    return s && ([ "type" : "string", "string" : s ]);    }    case "{": {    object s = get_string(); -  return s && ({ "type" : "literal", "length" : s->length; }); +  return s && ([ "type" : "literal", "length" : s->length ]);    }    default: {    string atom = get_atom(1);       if (!strlen(buffer) || (buffer[0] != '['))    return ([ "type" : "atom", "atom" : atom ]);       buffer = buffer[1..];    return ([ "type" : "atom_options", "atom" : atom, "options" : 1 ]);    }