Commit 7c0efb2b authored by GoshaZotov's avatar GoshaZotov

new cSpecialOperandStart -> cSpecialOperandStart.prototype

parent 29e47c95
...@@ -4813,7 +4813,7 @@ parserFormula.prototype.setFormula = function(formula) { ...@@ -4813,7 +4813,7 @@ parserFormula.prototype.setFormula = function(formula) {
if(startSumproduct){ if(startSumproduct){
counterSumproduct++; counterSumproduct++;
if(1 === counterSumproduct){ if(1 === counterSumproduct){
t.outStack.push(new cSpecialOperandStart()); t.outStack.push(cSpecialOperandStart.prototype);
} }
} }
}; };
...@@ -4902,7 +4902,7 @@ parserFormula.prototype.setFormula = function(formula) { ...@@ -4902,7 +4902,7 @@ parserFormula.prototype.setFormula = function(formula) {
counterSumproduct--; counterSumproduct--;
if(counterSumproduct < 1){ if(counterSumproduct < 1){
startSumproduct = false; startSumproduct = false;
t.outStack.push(new cSpecialOperandEnd()); t.outStack.push(cSpecialOperandEnd.prototype);
} }
} }
...@@ -5196,6 +5196,7 @@ parserFormula.prototype.setFormula = function(formula) { ...@@ -5196,6 +5196,7 @@ parserFormula.prototype.setFormula = function(formula) {
t.error.push(c_oAscError.ID.FrmlAnotherParsingError); t.error.push(c_oAscError.ID.FrmlAnotherParsingError);
return t.isParsed = false; return t.isParsed = false;
} }
if (wasRigthParentheses) { if (wasRigthParentheses) {
t.elemArr.push(new cMultOperator()); t.elemArr.push(new cMultOperator());
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment