aboutsummaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/coreSQLiteStudio/parser/lexer.h
diff options
context:
space:
mode:
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