mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-22 13:26:07 +03:00
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
@ -1149,8 +1149,11 @@ class PHPExcel_Writer_Excel5_Parser
|
||||
return $token;
|
||||
break;
|
||||
case "^":
|
||||
return $token;
|
||||
break;
|
||||
return $token;
|
||||
break;
|
||||
case "&":
|
||||
return $token;
|
||||
break;
|
||||
default:
|
||||
// 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
|
||||
@ -1265,6 +1268,10 @@ class PHPExcel_Writer_Excel5_Parser
|
||||
$this->_advance();
|
||||
$result2 = $this->_expression();
|
||||
$result = $this->_createTree('ptgNE', $result, $result2);
|
||||
} elseif ($this->_current_token == "&") {
|
||||
$this->_advance();
|
||||
$result2 = $this->_expression();
|
||||
$result = $this->_createTree('ptgConcat', $result, $result2);
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
|
||||
Fixed in SVN:
|
||||
|
||||
- Bugfix: (Progi1984) Workitem 7895 - Excel5 : Formula : Concatenation operator
|
||||
|
||||
2010-08-26 (v1.7.4):
|
||||
- Bugfix: (Progi1984) Workitem 7895 - Excel5 : Formula : Power
|
||||
|
Loading…
Reference in New Issue
Block a user