summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2025-04-02 18:12:51 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2025-04-02 18:12:51 +0300
commita1f682baedea2929806d7c9347b4e51df5986a39 (patch)
treec0207ee9e88f9f286d1402ab408944e85dedd688
parent3c2933bba61e02197599af38c08fb50952c20d1c (diff)
#3800 Add support for interpolated strings
-rw-r--r--indra/llui/llkeywords.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llui/llkeywords.cpp b/indra/llui/llkeywords.cpp
index d046f61b88..85f57b6548 100644
--- a/indra/llui/llkeywords.cpp
+++ b/indra/llui/llkeywords.cpp
@@ -247,6 +247,7 @@ void LLKeywords::processTokens()
if (mLuauLanguage)
{
addToken(LLKeywordToken::TT_DOUBLE_QUOTATION_MARKS, "\'", LLUIColorTable::instance().getColor("SyntaxLslStringLiteral"), "String literal", "\'");
+ addToken(LLKeywordToken::TT_DOUBLE_QUOTATION_MARKS, "`", LLUIColorTable::instance().getColor("SyntaxLslStringLiteral"), "String literal", "`");
// Add Lua-style comments
addToken(LLKeywordToken::TT_ONE_SIDED_DELIMITER, "--", LLUIColorTable::instance().getColor("SyntaxLslComment"), "Comment (Lua-style single-line)\nNon-functional commentary or disabled code", delimiter);
// Add Lua multi-line comments