summaryrefslogtreecommitdiff
path: root/lexer/smarty_internal_templatelexer.plex
diff options
context:
space:
mode:
authorUwe Tews <uwe.tews@googlemail.com>2015-05-23 23:40:02 +0200
committerUwe Tews <uwe.tews@googlemail.com>2015-05-23 23:40:02 +0200
commitc9cd39f36f3921a186e9f140733edc22f8e4201f (patch)
tree49d1de303d06c02e1d478c29a217c1e6ffbad2f0 /lexer/smarty_internal_templatelexer.plex
parent0356b705788b7ddaa92156945f6d6e9e4791f1e4 (diff)
downloadsmarty-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.plex1
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) {