| 49 | } |
| 50 | |
| 51 | static bool td_identifier_first(unsigned char ch) { |
| 52 | return ch == '_' || (ch >= 'A' && ch <= 'Z') || (ch >= 'a' && ch <= 'z'); |
| 53 | } |
| 54 | |
| 55 | static bool td_identifier(const char *text, size_t len) { |
| 56 | if (!len || !td_identifier_first((unsigned char)text[0])) |