summaryrefslogtreecommitdiff
path: root/lexer/smarty_internal_templatelexer.plex
diff options
context:
space:
mode:
authorUwe Tews <uwe.tews@googlemail.com>2015-06-01 22:26:45 +0200
committerUwe Tews <uwe.tews@googlemail.com>2015-06-01 22:26:45 +0200
commitfa269d418fb4d3687558746e67e054c225628d13 (patch)
tree769898214f72d97dd5a875a38a2569fffea7a0cb /lexer/smarty_internal_templatelexer.plex
parent3771ea8d35396bbc5312c70cbc0ca9f93f021ad7 (diff)
downloadsmarty-fa269d418fb4d3687558746e67e054c225628d13.tar.gz
smarty-fa269d418fb4d3687558746e67e054c225628d13.tar.bz2
smarty-fa269d418fb4d3687558746e67e054c225628d13.zip
- bugfix <?xml ... ?> including template variables broken since 3.1.22 https://github.com/smarty-php/smarty/issues/47
Diffstat (limited to 'lexer/smarty_internal_templatelexer.plex')
-rw-r--r--lexer/smarty_internal_templatelexer.plex8
1 files changed, 7 insertions, 1 deletions
diff --git a/lexer/smarty_internal_templatelexer.plex b/lexer/smarty_internal_templatelexer.plex
index ef5a8dd0..c6164813 100644
--- a/lexer/smarty_internal_templatelexer.plex
+++ b/lexer/smarty_internal_templatelexer.plex
@@ -128,10 +128,16 @@ class Smarty_Internal_Templatelexer
*
* @var string
*/
-
public $yyTracePrompt;
/**
+ * XML flag true while processing xml
+ *
+ * @var bool
+ */
+ public $is_xml = false;
+
+ /**
* state names
*
* @var array