pkg-psyc: parser

This commit is contained in:
Gabor Adam Toth 2011-05-10 14:10:30 +02:00
parent 62763ffeba
commit fb0acabad7
1 changed files with 6 additions and 0 deletions

View File

@ -217,6 +217,9 @@ f_psyc_parse (svalue_t *sp) {
// for values of routing variables as they repeat a lot
put_string(sv, new_n_tabled(value.ptr, value.length));
break;
case PSYC_PARSE_ENTITY_START:
case PSYC_PARSE_ENTITY_CONT:
break;
case PSYC_PARSE_ENTITY_END:
case PSYC_PARSE_ENTITY:
if (oper != ':') {
@ -257,6 +260,9 @@ f_psyc_parse (svalue_t *sp) {
}
}
break;
case PSYC_PARSE_BODY_START:
case PSYC_PARSE_BODY_CONT:
break;
case PSYC_PARSE_BODY_END:
case PSYC_PARSE_BODY:
if (str) errorf("Got two PSYC methods in the same packet!?\n");