| 651 | } |
| 652 | |
| 653 | inline static bool IsNameStartChar(unsigned char ch) |
| 654 | { |
| 655 | if (ch >= 128) |
| 656 | { |
| 657 | // This is a heuristic guess in attempt to not implement Unicode-aware isalpha() |
| 658 | return true; |
| 659 | } |
| 660 | if (isalpha(ch)) |
| 661 | { |
| 662 | return true; |
| 663 | } |
| 664 | return ch == ':' || ch == '_'; |
| 665 | } |
| 666 | |
| 667 | inline static bool IsNameChar(unsigned char ch) |
| 668 | { |
no outgoing calls
no test coverage detected