diff options
| author | Uwe Tews <uwe.tews@googlemail.com> | 2015-05-23 23:40:02 +0200 |
|---|---|---|
| committer | Uwe Tews <uwe.tews@googlemail.com> | 2015-05-23 23:40:02 +0200 |
| commit | c9cd39f36f3921a186e9f140733edc22f8e4201f (patch) | |
| tree | 49d1de303d06c02e1d478c29a217c1e6ffbad2f0 /lexer/smarty_internal_templatelexer.plex | |
| parent | 0356b705788b7ddaa92156945f6d6e9e4791f1e4 (diff) | |
| download | smarty-c9cd39f36f3921a186e9f140733edc22f8e4201f.tar.gz smarty-c9cd39f36f3921a186e9f140733edc22f8e4201f.tar.bz2 smarty-c9cd39f36f3921a186e9f140733edc22f8e4201f.zip | |
minor bugfix when processing autoliteral { php} tag. Does not effect generated output.
Diffstat (limited to 'lexer/smarty_internal_templatelexer.plex')
| -rw-r--r-- | lexer/smarty_internal_templatelexer.plex | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lexer/smarty_internal_templatelexer.plex b/lexer/smarty_internal_templatelexer.plex index bd9b7a94..56b7b8db 100644 --- a/lexer/smarty_internal_templatelexer.plex +++ b/lexer/smarty_internal_templatelexer.plex @@ -328,7 +328,6 @@ class Smarty_Internal_Templatelexer phpstart { $obj = new Smarty_Internal_Compile_Private_Php(); $obj->parsePhp($this); - $this->token = Smarty_Internal_Templateparser::TP_PHP; } ldel literal rdel { if ($this->smarty->auto_literal && isset($this->value[$this->ldel_length]) ? strpos(" \n\t\r", $this->value[$this->ldel_length]) !== false : false) { |
