Bug #15098 » bug_1722.diff
typo3_src-3.8.1/t3lib/class.t3lib_tsparser.php 2005-11-17 23:59:34.000000000 +0100 | ||
---|---|---|
$this->regHighLight("operator_postspace", $lineP, strlen(ltrim(substr($line,1))));
|
||
}
|
||
}
|
||
$str='';
|
||
switch(substr($line,0,1)) {
|
||
case '+':
|
||
$str = current($this->getVal($objStrName,&$setup));
|
||
case '=':
|
||
$str .= trim(substr($line,1));
|
||
if ($this->syntaxHighLight) $this->regHighLight("value", $lineP, strlen(ltrim(substr($line,1)))-strlen(trim(substr($line,1))));
|
||
if (strstr($objStrName,'.')) {
|
||
$value = Array();
|
||
$value[0] = trim(substr($line,1));
|
||
$value[0] = $str;
|
||
$this->setVal($objStrName,$setup,$value);
|
||
} else {
|
||
$setup[$objStrName] = trim(substr($line,1));
|
||
$setup[$objStrName] = $str;
|
||
if ($this->lastComment && $this->regComments) { // Setting comment..
|
||
$setup[$objStrName.'..'].=$this->lastComment;
|
||
}
|