Converted to Lexer2.
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
#include <strings.h>
|
||||
#include <ctype.h>
|
||||
#include <Context.h>
|
||||
#include <Lexer.h>
|
||||
#include <Lexer2.h>
|
||||
#include <math.h>
|
||||
#include <util.h>
|
||||
#include <text.h>
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user