| 261 | } |
| 262 | |
| 263 | RET parse_object_value(PARAMS) { |
| 264 | INIT(object_value); |
| 265 | parse_punct(ARGS, '{'); REQ |
| 266 | parse_punct(ARGS, '}'); |
| 267 | struct graphql_object_field *p = NULL; |
| 268 | while (*err) { |
| 269 | *err = NULL; |
| 270 | if (!p) { |
| 271 | obj->first = p = parse_object_field(ARGS); MSG("expected: object field or '}'"); REQ |
| 272 | } else { |
| 273 | p->next = parse_object_field(ARGS); MSG("expected: object field or '}'"); REQ |
| 274 | p = p->next; |
| 275 | } |
| 276 | parse_punct(ARGS, '}'); |
| 277 | } |
| 278 | EXIT; |
| 279 | } |
| 280 | |
| 281 | RET parse_default_value(PARAMS) { |
| 282 | INIT(default_value); |
no test coverage detected