Pluf Framework

Pluf Framework Commit Details


Date:2011-10-30 19:11:59 (13 years 1 month ago)
Author:Thomas Keller
Branch:develop, master
Commit:e32248025529ba03e8ff4b8dbe8badafbe12a12a
Parents: 46b7f25197549255d51d00b7acaa6f5debd1420f
Message:Object member variables like $t.class or $t.function where wrongly parsed, as the original code enforced a T_STRING symbol after the dot symbol ".", which denotes the object accessor here.

Changes:

File differences

src/Pluf/Translation/TemplateExtractor.php
380380
381381
382382
383
383
384384
385385
386386
if ($type == T_AS) {
$afterAs = true;
}
if ($type == T_STRING && $inDot) {
if ($inDot) {
$result .= $str;
} elseif ($type == T_VARIABLE) {
$result .= '$t->_vars[\''.substr($str, 1).'\']';

Archive Download the corresponding diff file

Branches

Tags

Number of commits:
Page rendered in 0.06093s using 13 queries.