mirror of
git://git.psyced.org/git/psyclpc
synced 2024-08-15 03:20:16 +00:00
pkg-psyc: parser
This commit is contained in:
parent
62763ffeba
commit
fb0acabad7
1 changed files with 6 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue