aboutsummaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/coreSQLiteStudio/parser/lexer.h
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2023-04-30 18:30:36 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2023-04-30 18:30:36 -0400
commit3565aad630864ecdbe53fdaa501ea708555b3c7c (patch)
treec743e4ad0bad39ebdb2f514c7cc52d34a257ebbe /SQLiteStudio3/coreSQLiteStudio/parser/lexer.h
parent1fdc150116cad39aae5c5da407c3312b47a59e3a (diff)
New upstream version 3.4.4+dfsg.upstream/3.4.4+dfsg
Diffstat (limited to 'SQLiteStudio3/coreSQLiteStudio/parser/lexer.h')
-rw-r--r--SQLiteStudio3/coreSQLiteStudio/parser/lexer.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/SQLiteStudio3/coreSQLiteStudio/parser/lexer.h b/SQLiteStudio3/coreSQLiteStudio/parser/lexer.h
index 10db9ce..07b2d06 100644
--- a/SQLiteStudio3/coreSQLiteStudio/parser/lexer.h
+++ b/SQLiteStudio3/coreSQLiteStudio/parser/lexer.h
@@ -202,6 +202,13 @@ class API_EXPORT Lexer
QString sqlToTokenize;
/**
+ * @brief Token produced by the lexer previously.
+ *
+ * This is used only by the stateful lexer processing (i.e. with getToken())
+ */
+ TokenPtr prevTokenProcessed;
+
+ /**
* @brief Current tokenizer position in the sqlToTokenize.
*
* This position index is used to track which SQL characters should be tokenized