summaryrefslogtreecommitdiff
path: root/indra/llui/llkeywords.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2025-03-31 22:49:43 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2025-03-31 22:49:43 +0300
commit3c2933bba61e02197599af38c08fb50952c20d1c (patch)
tree29b7c62a325021fbcbfb92f59dbbe757cce35900 /indra/llui/llkeywords.cpp
parent42355faffb3fb4f29ed2e807b28f6160c95c859d (diff)
#3800 Add support for single-quoted strings
Diffstat (limited to 'indra/llui/llkeywords.cpp')
-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 21761367b0..d046f61b88 100644
--- a/indra/llui/llkeywords.cpp
+++ b/indra/llui/llkeywords.cpp
@@ -246,6 +246,7 @@ void LLKeywords::processTokens()
if (mLuauLanguage)
{
+ 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