Commit 26498d8b authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix bug 33101

parent ab2a4b51
...@@ -4633,7 +4633,7 @@ parserFormula.prototype.parse = function(local, digitDelim) { ...@@ -4633,7 +4633,7 @@ parserFormula.prototype.parse = function(local, digitDelim) {
this.operand_expected = false; this.operand_expected = false;
found_operand = null found_operand = null
} else { } else {
if (this.operand_str == null || this.operand_str == "'") { if (this.operand_str == null || this.operand_str === "'" || this.operand_str === '"') {
this.outStack.push(new cError(cErrorType.wrong_name)); this.outStack.push(new cError(cErrorType.wrong_name));
this.error.push(c_oAscError.ID.FrmlAnotherParsingError); this.error.push(c_oAscError.ID.FrmlAnotherParsingError);
return this.isParsed = false; return this.isParsed = false;
...@@ -4644,9 +4644,6 @@ parserFormula.prototype.parse = function(local, digitDelim) { ...@@ -4644,9 +4644,6 @@ parserFormula.prototype.parse = function(local, digitDelim) {
this.operand_expected = false; this.operand_expected = false;
if (this.operand_str != null) { if (this.operand_str != null) {
if (this.operand_str == '"') {
continue;
}
this.pCurrPos += this.operand_str.length; this.pCurrPos += this.operand_str.length;
} }
} }
......
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