Workitem 7895 - Excel5 : Formula : Concatenation operator
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@59912 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
parent
509f27e5c6
commit
ab9d03069d
|
@ -1151,6 +1151,9 @@ class PHPExcel_Writer_Excel5_Parser
|
||||||
case "^":
|
case "^":
|
||||||
return $token;
|
return $token;
|
||||||
break;
|
break;
|
||||||
|
case "&":
|
||||||
|
return $token;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
// if it's a reference A1 or $A$1 or $A1 or A$1
|
// if it's a reference A1 or $A$1 or $A1 or A$1
|
||||||
if (preg_match('/^\$?[A-Ia-i]?[A-Za-z]\$?[0-9]+$/',$token) and
|
if (preg_match('/^\$?[A-Ia-i]?[A-Za-z]\$?[0-9]+$/',$token) and
|
||||||
|
@ -1265,6 +1268,10 @@ class PHPExcel_Writer_Excel5_Parser
|
||||||
$this->_advance();
|
$this->_advance();
|
||||||
$result2 = $this->_expression();
|
$result2 = $this->_expression();
|
||||||
$result = $this->_createTree('ptgNE', $result, $result2);
|
$result = $this->_createTree('ptgNE', $result, $result2);
|
||||||
|
} elseif ($this->_current_token == "&") {
|
||||||
|
$this->_advance();
|
||||||
|
$result2 = $this->_expression();
|
||||||
|
$result = $this->_createTree('ptgConcat', $result, $result2);
|
||||||
}
|
}
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
|
|
||||||
Fixed in SVN:
|
Fixed in SVN:
|
||||||
|
- Bugfix: (Progi1984) Workitem 7895 - Excel5 : Formula : Concatenation operator
|
||||||
|
|
||||||
2010-08-26 (v1.7.4):
|
2010-08-26 (v1.7.4):
|
||||||
- Bugfix: (Progi1984) Workitem 7895 - Excel5 : Formula : Power
|
- Bugfix: (Progi1984) Workitem 7895 - Excel5 : Formula : Power
|
||||||
|
|
Loading…
Reference in New Issue