Use homemade isSpace() instead of std::ispace() for portability.
This commit is contained in:
parent
1b19b40022
commit
6298cdc850
@ -475,7 +475,7 @@ void word::generate(utility::outputStream& os, const string::size_type maxLineLe
|
||||
|
||||
os << string(curLineStart, lastWSpos);
|
||||
|
||||
if (lastWSpos > curLineStart && std::isspace(*(lastWSpos - 1)))
|
||||
if (lastWSpos > curLineStart && parserHelpers::isSpace(*(lastWSpos - 1)))
|
||||
state->lastCharIsSpace = true;
|
||||
else
|
||||
state->lastCharIsSpace = false;
|
||||
|
Loading…
Reference in New Issue
Block a user