Lexer: ::isLiteral now stops at EOS

This commit is contained in:
Paul Beckingham 2015-07-27 00:57:30 -04:00
parent f2fe397048
commit 99a53edca0
2 changed files with 4 additions and 3 deletions

View file

@ -1271,6 +1271,7 @@ bool Lexer::isLiteral (
// End boundary conditions must be met.
if (endBoundary &&
_text[_cursor + common] &&
! Lexer::isWhitespace (_text[_cursor + common]) &&
! Lexer::isSingleCharOperator (_text[_cursor + common]))
return false;