From a8379e7bc1780e07dec6286550d8817df40734aa Mon Sep 17 00:00:00 2001 From: Alexey Arno Date: Thu, 5 May 2016 18:26:36 +0300 Subject: [PATCH] dbms: Server: Fixed syntax coloring issue. [#METR-19697] --- dbms/src/Parsers/ASTFunction.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dbms/src/Parsers/ASTFunction.cpp b/dbms/src/Parsers/ASTFunction.cpp index 30d4a3f2e53..1bf2eb943a4 100644 --- a/dbms/src/Parsers/ASTFunction.cpp +++ b/dbms/src/Parsers/ASTFunction.cpp @@ -307,6 +307,7 @@ void ASTFunction::formatCase(const FormatSettings & settings, FormatState & stat settings.ostr << s_ws; settings.ostr << (settings.hilite ? hilite_keyword : "") << s_then << s_ws; + settings.ostr << hilite_none; dst_expr_list->children[i]->formatImpl(settings, state, frame); settings.ostr << settings.nl_or_ws; } @@ -327,6 +328,7 @@ void ASTFunction::formatCase(const FormatSettings & settings, FormatState & stat else { settings.ostr << (settings.hilite ? hilite_keyword : "") << s_then << s_ws; + settings.ostr << hilite_none; args[i]->formatImpl(settings, state, frame); settings.ostr << settings.nl_or_ws; } @@ -337,6 +339,7 @@ void ASTFunction::formatCase(const FormatSettings & settings, FormatState & stat settings.ostr << (settings.hilite ? hilite_keyword : "") << indent_str2 << s_else << s_ws; + settings.ostr << hilite_none; args.back()->formatImpl(settings, state, frame); settings.ostr << settings.nl_or_ws;