Anything in the high order range of UTF-8 is assumed to not be whitespace. This isn't correct, but simple, and usually works.
| 566 | // Anything in the high order range of UTF-8 is assumed to not be whitespace. This isn't |
| 567 | // correct, but simple, and usually works. |
| 568 | static bool IsWhiteSpace( char p ) { |
| 569 | return !IsUTF8Continuation(p) && isspace( static_cast<unsigned char>(p) ); |
| 570 | } |
| 571 | |
| 572 | inline static bool IsNameStartChar( unsigned char ch ) { |
| 573 | if ( ch >= 128 ) { |
no test coverage detected