diff options
Diffstat (limited to 'include/smarty/lexer/smarty_internal_templateparser.y')
-rw-r--r-- | include/smarty/lexer/smarty_internal_templateparser.y | 12 |
1 files changed, 2 insertions, 10 deletions
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). { |