Skip to content

Commit

Permalink
fix regression in last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeloffner committed Jun 22, 2024
1 parent b7d5d97 commit 71a8e07
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 71a8e07

Please sign in to comment.