diff --git a/src/Lexer.cpp b/src/Lexer.cpp index 842952bca..dbce50c83 100644 --- a/src/Lexer.cpp +++ b/src/Lexer.cpp @@ -1290,7 +1290,8 @@ bool Lexer::readWord ( word += utf8_character (utf8_next_char (text, cursor)); } - return word.length () > 0 ? true : false; + // Word has to at least contain the quotes. + return word.length () >= 2 ? true : false; } ////////////////////////////////////////////////////////////////////////////////