mirror of git://git.psyced.org/git/psyclpc
pkg-psyc: parser
This commit is contained in:
parent
62763ffeba
commit
fb0acabad7
|
@ -217,6 +217,9 @@ f_psyc_parse (svalue_t *sp) {
|
||||||
// for values of routing variables as they repeat a lot
|
// for values of routing variables as they repeat a lot
|
||||||
put_string(sv, new_n_tabled(value.ptr, value.length));
|
put_string(sv, new_n_tabled(value.ptr, value.length));
|
||||||
break;
|
break;
|
||||||
|
case PSYC_PARSE_ENTITY_START:
|
||||||
|
case PSYC_PARSE_ENTITY_CONT:
|
||||||
|
break;
|
||||||
case PSYC_PARSE_ENTITY_END:
|
case PSYC_PARSE_ENTITY_END:
|
||||||
case PSYC_PARSE_ENTITY:
|
case PSYC_PARSE_ENTITY:
|
||||||
if (oper != ':') {
|
if (oper != ':') {
|
||||||
|
@ -257,6 +260,9 @@ f_psyc_parse (svalue_t *sp) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case PSYC_PARSE_BODY_START:
|
||||||
|
case PSYC_PARSE_BODY_CONT:
|
||||||
|
break;
|
||||||
case PSYC_PARSE_BODY_END:
|
case PSYC_PARSE_BODY_END:
|
||||||
case PSYC_PARSE_BODY:
|
case PSYC_PARSE_BODY:
|
||||||
if (str) errorf("Got two PSYC methods in the same packet!?\n");
|
if (str) errorf("Got two PSYC methods in the same packet!?\n");
|
||||||
|
|
Loading…
Reference in New Issue