From 6683cc7e83c636b618955f4de2a5a3501ac9a4a0 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Thu, 19 Feb 2015 21:31:47 -0800 Subject: [PATCH] Converted to Lexer2. --- src/text.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/text.cpp b/src/text.cpp index 62618ad97..d2efa8517 100644 --- a/src/text.cpp +++ b/src/text.cpp @@ -34,7 +34,7 @@ #include #include #include -#include +#include #include #include #include @@ -473,7 +473,7 @@ bool nontrivial (const std::string& input) std::string::size_type i = 0; int character; while ((character = utf8_next_char (input, i))) - if (! Lexer::is_ws (character)) + if (! Lexer2::isWhitespace (character)) return true; return false; @@ -495,7 +495,7 @@ bool noSpaces (const std::string& input) std::string::size_type i = 0; int character; while ((character = utf8_next_char (input, i))) - if (Lexer::is_ws (character)) + if (Lexer2::isWhitespace (character)) return false; return true;