Use homemade isSpace() instead of std::ispace() for portability.

This commit is contained in:
Vincent Richard 2010-02-03 10:56:12 +00:00
parent 1b19b40022
commit 6298cdc850

View File

@ -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;