summaryrefslogtreecommitdiffstats
path: root/yql/essentials/sql/v1/reflect/sql_reflect.h
diff options
context:
space:
mode:
authorvityaman <[email protected]>2025-04-09 15:56:28 +0300
committerrobot-piglet <[email protected]>2025-04-09 16:23:45 +0300
commit51016b5bd58ceae9cd9e56aaa4b52a0a12174221 (patch)
tree8996776d97804c1e0f08e329abed7c638e2ce506 /yql/essentials/sql/v1/reflect/sql_reflect.h
parent8c02be7c9a260edf13714760e07bf560c803761a (diff)
YQL-19616 Fix regex lexer
Fixed regex lexer issues: - `TSKIP` token recognition - `HEXGIGITS` number recognition - `EOF` token content --- - Related to https://github.com/ydb-platform/ydb/issues/15129 - Related to https://github.com/vityaman/ydb/issues/11 --- Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1190 commit_hash:497c39efcbbe4e387da523b5e2c8abaa6485d93b
Diffstat (limited to 'yql/essentials/sql/v1/reflect/sql_reflect.h')
-rw-r--r--yql/essentials/sql/v1/reflect/sql_reflect.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/yql/essentials/sql/v1/reflect/sql_reflect.h b/yql/essentials/sql/v1/reflect/sql_reflect.h
index ca398706873..1f67a2f93a3 100644
--- a/yql/essentials/sql/v1/reflect/sql_reflect.h
+++ b/yql/essentials/sql/v1/reflect/sql_reflect.h
@@ -12,6 +12,8 @@ namespace NSQLReflect {
THashSet<TString> PunctuationNames;
TVector<TString> OtherNames;
THashMap<TString, TString> BlockByName;
+
+ static const TStringBuf KeywordBlock(const TStringBuf name);
};
TLexerGrammar LoadLexerGrammar();