| 334 | } |
| 335 | |
| 336 | RET parse_arguments(PARAMS) { |
| 337 | INIT(arguments); |
| 338 | parse_punct(ARGS, '('); REQ |
| 339 | obj->first = parse_argument(ARGS); REQ |
| 340 | struct graphql_argument *p = obj->first; |
| 341 | parse_punct(ARGS, ')'); |
| 342 | while (*err) { |
| 343 | *err = NULL; |
| 344 | p->next = parse_argument(ARGS); MSG("expected: argument or ')'"); REQ; |
| 345 | p = p->next; |
| 346 | parse_punct(ARGS, ')'); |
| 347 | } |
| 348 | EXIT; |
| 349 | } |
| 350 | |
| 351 | RET parse_directive(PARAMS) { |
| 352 | INIT(directive); |
no test coverage detected