| 748 | |
| 749 | |
| 750 | static void get_first_nonspace(json_string_t *js, int *t_next, int *c_len) |
| 751 | { |
| 752 | do |
| 753 | { |
| 754 | if ((*c_len= json_next_char(js)) <= 0) |
| 755 | *t_next= json_eos(js) ? C_EOS : C_BAD; |
| 756 | else |
| 757 | { |
| 758 | *t_next= (js->c_next < 128) ? json_chr_map[js->c_next] : C_ETC; |
| 759 | js->c_str+= *c_len; |
| 760 | } |
| 761 | } while (*t_next == C_SPACE); |
| 762 | } |
| 763 | |
| 764 | |
| 765 | /* Next key name. */ |
no outgoing calls
no test coverage detected