From 8e640722c62692818ab840d50b3758f89a41a54e Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Wed, 25 Nov 2015 16:48:41 -0500 Subject: Imported Upstream version 3.0.7 --- SQLiteStudio3/coreSQLiteStudio/parser/token.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'SQLiteStudio3/coreSQLiteStudio/parser/token.h') diff --git a/SQLiteStudio3/coreSQLiteStudio/parser/token.h b/SQLiteStudio3/coreSQLiteStudio/parser/token.h index 222ce1a..aecc7ec 100644 --- a/SQLiteStudio3/coreSQLiteStudio/parser/token.h +++ b/SQLiteStudio3/coreSQLiteStudio/parser/token.h @@ -190,7 +190,7 @@ struct API_EXPORT Token * * Note, that from SQL perspective also comments are whitespaces. */ - bool isWhitespace() const; + bool isWhitespace(bool includeComments = true) const; /** * @brief Tests whether this token represents separating value (like an operator, or parenthesis) in SQL understanding. @@ -633,7 +633,7 @@ class API_EXPORT TokenList : public QList * * The condition to test if tokens is a whitespace is a call to Token::isWhitespace(). */ - TokenList filterWhiteSpaces() const; + TokenList filterWhiteSpaces(bool includeComments = true) const; /** * @brief Returns sub-list of tokens from this list. -- cgit v1.2.3