| 199 | } |
| 200 | |
| 201 | static void trimQuotes(const char*& keyStart, const char*& keyEnd) { |
| 202 | // Skip quotations on struct keys. |
| 203 | if ((keyStart[0] == '\'' && (keyEnd - 1)[0] == '\'') || |
| 204 | (keyStart[0] == '\"' && (keyEnd - 1)[0] == '\"')) { |
| 205 | keyStart++; |
| 206 | keyEnd--; |
| 207 | } |
| 208 | } |
| 209 | |
| 210 | static bool skipToCloseQuotes(const char*& input, const char* end) { |
| 211 | auto ch = *input; |
no outgoing calls
no test coverage detected