From d33051cb7236a930c1baf879fee75e92c35a93ee Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 21 Jan 2016 15:10:02 +0100 Subject: update to Smarty 3.1.29 --- include/smarty/lexer/smarty_internal_templateparser.y | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'include/smarty/lexer/smarty_internal_templateparser.y') diff --git a/include/smarty/lexer/smarty_internal_templateparser.y b/include/smarty/lexer/smarty_internal_templateparser.y index 47d81c014..c64e34a67 100644 --- a/include/smarty/lexer/smarty_internal_templateparser.y +++ b/include/smarty/lexer/smarty_internal_templateparser.y @@ -352,26 +352,18 @@ tag(res) ::= LDEL variable(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). { res = $this->compiler->compileTag('private_print_expression',a,array('value'=>e)); } tag(res) ::= LDEL 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). { res = $this->compiler->compileTag('private_print_expression',a,array('value'=>e)); } -tag(res) ::= LDEL expr(e) modifierlist(l) attributes(a). { - res = $this->compiler->compileTag('private_print_expression',a,array('value'=>e,'modifierlist'=>l)); +tag(res) ::= LDEL expr(e). { + res = $this->compiler->compileTag('private_print_expression',array(),array('value'=>e)); } tag(res) ::= LDEL expr(e) attributes(a). { -- cgit v1.2.3