From 71a8e0726f6b791efdf06f12772c24251543fc2a Mon Sep 17 00:00:00 2001 From: michaeloffner Date: Sat, 22 Jun 2024 17:15:19 +0200 Subject: [PATCH] fix regression in last commit --- .../transformer/cfml/expression/AbstrCFMLExprTransformer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/lucee/transformer/cfml/expression/AbstrCFMLExprTransformer.java b/core/src/main/java/lucee/transformer/cfml/expression/AbstrCFMLExprTransformer.java index 0e284a43b6..c245d843f9 100755 --- a/core/src/main/java/lucee/transformer/cfml/expression/AbstrCFMLExprTransformer.java +++ b/core/src/main/java/lucee/transformer/cfml/expression/AbstrCFMLExprTransformer.java @@ -1876,7 +1876,7 @@ private FunctionMember getFunctionMember(Data data, final ExprString name, boole } private Expression getListener(Data data) throws TemplateException { - if (!data.insideCase && data.insideTenaryMiddle && data.srcCode.isPreviousIgnoreSpace(')') && data.srcCode.forwardIfCurrent(':')) { + if (!data.insideCase && !data.insideTenaryMiddle && data.srcCode.isPreviousIgnoreSpace(')') && data.srcCode.forwardIfCurrent(':')) { int pos = data.srcCode.getPos(); comments(data); Expression expr = assignOp(data);