Skip to content

Commit

Permalink
[se] Fix bug 72034
Browse files Browse the repository at this point in the history
  • Loading branch information
GoshaZotov committed Dec 12, 2024
1 parent e676248 commit c144b80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cell/model/FormulaObjects/parserFormula.js
Original file line number Diff line number Diff line change
Expand Up @@ -6203,7 +6203,7 @@ _func[cElementType.cell3D] = _func[cElementType.cell];
res = [];
}

if (i === this.argPosArr.length - 1 && this.error !== undefined) {
if (i === this.argPosArr.length - 1 && this.error === c_oAscError.ID.FrmlParenthesesCorrectCount) {
// We don't cut off the line at the last element, but only if the formula is parsed with an error (the formula is not closed or not entered completely)
res.push(sFormula.substring(this.argPosArr[i].start - 1, this.argPosArr[i].end));
continue
Expand Down

0 comments on commit c144b80

Please sign in to comment.