reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
948 state = current_state(s); 950 isl_die(s->ctx, isl_error_invalid, 954 if (get_yaml_indent(s) == ISL_YAML_INDENT_FLOW && 955 isl_stream_next_token_is(s, '}')) 957 if (update_state(s, isl_yaml_mapping_key) < 0) 961 tok = isl_stream_next_token(s); 963 if (s->eof) 964 isl_stream_error(s, NULL, "unexpected EOF"); 969 if (update_state(s, isl_yaml_mapping_val) < 0) 973 isl_stream_error(s, tok, "expecting ':'"); 974 isl_stream_push_token(s, tok); 977 if (get_yaml_indent(s) == ISL_YAML_INDENT_FLOW) { 978 if (!isl_stream_eat_if_available(s, ',')) 980 if (update_state(s, isl_yaml_mapping_key) < 0) 984 tok = isl_stream_next_token(s); 988 isl_stream_push_token(s, tok); 989 if (indent < get_yaml_indent(s)) 991 if (update_state(s, isl_yaml_mapping_key) < 0) 995 if (get_yaml_indent(s) == ISL_YAML_INDENT_FLOW) { 996 if (isl_stream_next_token_is(s, ']')) 998 if (update_state(s, isl_yaml_sequence) < 0) 1002 tok = isl_stream_next_token(s); 1004 if (s->eof) 1005 isl_stream_error(s, NULL, "unexpected EOF"); 1010 if (update_state(s, isl_yaml_sequence) < 0) 1014 isl_stream_error(s, tok, "expecting '-'"); 1015 isl_stream_push_token(s, tok); 1018 if (get_yaml_indent(s) == ISL_YAML_INDENT_FLOW) 1019 return isl_stream_eat_if_available(s, ','); 1020 tok = isl_stream_next_token(s); 1024 if (indent < get_yaml_indent(s) || tok->type != '-') { 1025 isl_stream_push_token(s, tok); 1031 isl_die(s->ctx, isl_error_internal,