From f01bd2cb7d96bc7665a1b416587d1b7712c72b3c Mon Sep 17 00:00:00 2001 From: cxl Date: Thu, 11 Sep 2014 15:42:36 +0000 Subject: [PATCH] Fixed CParser::SkipSpaces (thanks cbpporter) git-svn-id: svn://ultimatepp.org/upp/trunk@7661 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Core/Parser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uppsrc/Core/Parser.h b/uppsrc/Core/Parser.h index 03a022303..62b14fff4 100644 --- a/uppsrc/Core/Parser.h +++ b/uppsrc/Core/Parser.h @@ -99,7 +99,7 @@ public: void Set(const char *ptr, const char *fn, int line = 1); void Set(const char *ptr); - CParser& SkipSpaces(bool b = true) { skipspaces = true; return *this; } + CParser& SkipSpaces(bool b = true) { skipspaces = b; return *this; } CParser& NoSkipSpaces() { skipspaces = false; return *this; } CParser& UnicodeEscape(bool b = true) { uescape = b; return *this; } CParser& SkipComments(bool b = true);