| 57 | |
| 58 | |
| 59 | static bool |
| 60 | containsNewLine( Reader::Location begin, |
| 61 | Reader::Location end ) |
| 62 | { |
| 63 | for ( ;begin < end; ++begin ) |
| 64 | if ( *begin == '\n' || *begin == '\r' ) |
| 65 | return true; |
| 66 | return false; |
| 67 | } |
| 68 | |
| 69 | static std::string codePointToUTF8(unsigned int cp) |
| 70 | { |