diff options
| author | Uwe Tews <uwe.tews@googlemail.com> | 2017-10-12 08:21:12 +0200 |
|---|---|---|
| committer | Uwe Tews <uwe.tews@googlemail.com> | 2017-10-12 08:21:12 +0200 |
| commit | b271173a2d9b711d533400ffdb3108eeeadd4cfb (patch) | |
| tree | 7738f37dd2295baa29c52e2f96e48e32190c32be /lexer/smarty_internal_templatelexer.plex | |
| parent | 34fc5e6b464221fbfa4a3644241dcec12efe7b0c (diff) | |
| download | smarty-b271173a2d9b711d533400ffdb3108eeeadd4cfb.tar.gz smarty-b271173a2d9b711d533400ffdb3108eeeadd4cfb.tar.bz2 smarty-b271173a2d9b711d533400ffdb3108eeeadd4cfb.zip | |
bugfix $smarty.block.child and $smarty.block.parent could not be used like any
$smarty special variable https://github.com/smarty-php/smarty/issues/393
Diffstat (limited to 'lexer/smarty_internal_templatelexer.plex')
| -rw-r--r-- | lexer/smarty_internal_templatelexer.plex | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lexer/smarty_internal_templatelexer.plex b/lexer/smarty_internal_templatelexer.plex index d70fabad..cbd13626 100644 --- a/lexer/smarty_internal_templatelexer.plex +++ b/lexer/smarty_internal_templatelexer.plex @@ -344,7 +344,6 @@ class Smarty_Internal_Templatelexer rdel = ~\s*SMARTYrdel~ nocacherdel = ~(\s+nocache)?\s*SMARTYrdel~ notblockid = ~(?:(?!block)[0-9]*[a-zA-Z_]\w*)~ - smartyblockchildparent = ~[\$]smarty\.block\.(child|parent)~ integer = ~\d+~ hex = ~0[xX][0-9a-fA-F]+~ math = ~\s*([*]{1,2}|[%/^&]|[<>]{2})\s*~ @@ -515,10 +514,6 @@ class Smarty_Internal_Templatelexer singlequotestring { $this->token = Smarty_Internal_Templateparser::TP_SINGLEQUOTESTRING; } - smartyblockchildparent { - $this->token = Smarty_Internal_Templateparser::TP_SMARTYBLOCKCHILDPARENT; - $this->taglineno = $this->line; - } dollar id { $this->token = Smarty_Internal_Templateparser::TP_DOLLARID; } |
