From 5d9ce6e0934aaace3204ade98e03d8d3c5069731 Mon Sep 17 00:00:00 2001 From: Tomasz Sowa Date: Sat, 12 May 2012 18:20:39 +0000 Subject: [PATCH] changed: in SpaceParser: white characters can be escaped by '\ ' and in such a case this is not a delimiter (when reading single token) git-svn-id: svn://ttmath.org/publicrep/pikotools/trunk@410 e52654a7-88a9-db11-a3e9-0013d4bc506e --- space/spaceparser.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/space/spaceparser.cpp b/space/spaceparser.cpp index 0a7155b..5119607 100755 --- a/space/spaceparser.cpp +++ b/space/spaceparser.cpp @@ -409,11 +409,11 @@ void SpaceParser::ReadTokenSingle(bool white_delimit, bool new_line_delimit, int if( lastc == commentary ) SkipLine(); - if( lastc == -1 || - (white_delimit && IsWhite(lastc)) || - (!char_was_escaped && + if( lastc == -1 || + (!char_was_escaped && ( lastc == list_end || + (white_delimit && IsWhite(lastc)) || (new_line_delimit && lastc == '\n') || (delimit1 != -1 && lastc == delimit1) || (delimit2 != -1 && lastc == delimit2)