- bugfix regression when mdifier parameter was follow by math https://github.com/smarty-php/smarty/issues/132

This commit is contained in:
uwetews
2015-12-18 04:43:55 +01:00
parent 05c069d889
commit 44eea98260
4 changed files with 1098 additions and 1127 deletions

View File

@@ -1,4 +1,7 @@
 ===== 3.1.29-dev ===== (xx.xx.2015)  ===== 3.1.29-dev ===== (xx.xx.2015)
18.12.2015
- bugfix regression when mdifier parameter was follow by math https://github.com/smarty-php/smarty/issues/132
17.12.2015 17.12.2015
- bugfix {$smarty.capture.nameFail} did lowercase capture name https://github.com/smarty-php/smarty/issues/135 - bugfix {$smarty.capture.nameFail} did lowercase capture name https://github.com/smarty-php/smarty/issues/135
- bugfix using {block append/prepend} on same block in multiple levels of inheritance templates could fail (forum topic 25827) - bugfix using {block append/prepend} on same block in multiple levels of inheritance templates could fail (forum topic 25827)

View File

@@ -352,26 +352,18 @@ tag(res) ::= LDEL variable(e). {
res = $this->compiler->compileTag('private_print_expression',array(),array('value'=>e)); res = $this->compiler->compileTag('private_print_expression',array(),array('value'=>e));
} }
tag(res) ::= LDEL variable(e) modifierlist(l) attributes(a). {
res = $this->compiler->compileTag('private_print_expression',a,array('value'=>e, 'modifierlist'=>l));
}
tag(res) ::= LDEL variable(e) attributes(a). { tag(res) ::= LDEL variable(e) attributes(a). {
res = $this->compiler->compileTag('private_print_expression',a,array('value'=>e)); res = $this->compiler->compileTag('private_print_expression',a,array('value'=>e));
} }
tag(res) ::= LDEL value(e). { tag(res) ::= LDEL value(e). {
res = $this->compiler->compileTag('private_print_expression',array(),array('value'=>e)); res = $this->compiler->compileTag('private_print_expression',array(),array('value'=>e));
} }
tag(res) ::= LDEL value(e) modifierlist(l) attributes(a). {
res = $this->compiler->compileTag('private_print_expression',a,array('value'=>e, 'modifierlist'=>l));
}
tag(res) ::= LDEL value(e) attributes(a). { tag(res) ::= LDEL value(e) attributes(a). {
res = $this->compiler->compileTag('private_print_expression',a,array('value'=>e)); res = $this->compiler->compileTag('private_print_expression',a,array('value'=>e));
} }
tag(res) ::= LDEL expr(e) modifierlist(l) attributes(a). { tag(res) ::= LDEL expr(e). {
res = $this->compiler->compileTag('private_print_expression',a,array('value'=>e,'modifierlist'=>l)); res = $this->compiler->compileTag('private_print_expression',array(),array('value'=>e));
} }
tag(res) ::= LDEL expr(e) attributes(a). { tag(res) ::= LDEL expr(e) attributes(a). {

View File

@@ -118,7 +118,7 @@ class Smarty extends Smarty_Internal_TemplateBase
/** /**
* smarty version * smarty version
*/ */
const SMARTY_VERSION = '3.1.29-dev/10'; const SMARTY_VERSION = '3.1.29-dev/11';
/** /**
* define variable scopes * define variable scopes

File diff suppressed because it is too large Load Diff