diff options
| author | Alexander Khosrowshahi <alexk@vector35.com> | 2025-06-28 17:18:57 -0400 |
|---|---|---|
| committer | Alexander Khosrowshahi <alexk@vector35.com> | 2025-06-28 17:18:57 -0400 |
| commit | 261f31ed63c6eadf7f23a73acd3b9d6e51ee7c6b (patch) | |
| tree | 5f7f1cbfd00ecb7ce823aa0dd32a7e656c2a1d8e /lang/c | |
| parent | 4072c101bebea857722305954231e00590bfe1cc (diff) | |
Fix psuedo-c semicolon highlighting in ternary operations
Diffstat (limited to 'lang/c')
| -rw-r--r-- | lang/c/pseudoc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/c/pseudoc.cpp b/lang/c/pseudoc.cpp index 4de9f447..6f3c58ab 100644 --- a/lang/c/pseudoc.cpp +++ b/lang/c/pseudoc.cpp @@ -528,7 +528,7 @@ bool PseudoCFunction::TryEmitSimplifiedTernary( // Emit the false-source expression GetExprText(falseAssign, emitter, settings, TernaryOperatorPrecedence); - emitter.Append(KeywordToken, ";"); + emitter.Append(TextToken, ";"); // If the ternary expression is too complex (i.e. too many tokens), revert back. if (tokens.size() - originalTokenCount > emitter.GetMaxTernarySimplificationTokens()) |
