aboutsummaryrefslogtreecommitdiffstats
path: root/library/Smarty/libs/sysplugins/smarty_internal_templateparser.php
diff options
context:
space:
mode:
authorroyalterra <royalterra@users.noreply.github.com>2015-12-11 09:39:01 +0000
committerroyalterra <royalterra@users.noreply.github.com>2015-12-11 09:39:01 +0000
commit4ff31d0a4140d923cbb8ddbe18ccf578a367375f (patch)
tree1f63d4b042c3dbf7bfe2c3e74f0a24ef2e5f94ec /library/Smarty/libs/sysplugins/smarty_internal_templateparser.php
parentb92cc852d142940f0f8dd78ddf7be835dc8b9e07 (diff)
parentf73c82632f213ac7971b54220b4a0c87d354ca1e (diff)
downloadvolse-hubzilla-4ff31d0a4140d923cbb8ddbe18ccf578a367375f.tar.gz
volse-hubzilla-4ff31d0a4140d923cbb8ddbe18ccf578a367375f.tar.bz2
volse-hubzilla-4ff31d0a4140d923cbb8ddbe18ccf578a367375f.zip
Merge pull request #1 from redmatrix/master
merge branches
Diffstat (limited to 'library/Smarty/libs/sysplugins/smarty_internal_templateparser.php')
-rw-r--r--library/Smarty/libs/sysplugins/smarty_internal_templateparser.php5545
1 files changed, 1917 insertions, 3628 deletions
diff --git a/library/Smarty/libs/sysplugins/smarty_internal_templateparser.php b/library/Smarty/libs/sysplugins/smarty_internal_templateparser.php
index 98b9fc7fb..57dbf61a3 100644
--- a/library/Smarty/libs/sysplugins/smarty_internal_templateparser.php
+++ b/library/Smarty/libs/sysplugins/smarty_internal_templateparser.php
@@ -1,17 +1,9 @@
<?php
-/**
- * Smarty Internal Plugin Templateparser
- * This is the template parser.
- * It is generated from the internal.templateparser.y file
- *
- * @package Smarty
- * @subpackage Compiler
- * @author Uwe Tews
- */
class TP_yyToken implements ArrayAccess
{
public $string = '';
+
public $metadata = array();
public function __construct($s, $m = array())
@@ -31,7 +23,7 @@ class TP_yyToken implements ArrayAccess
public function __toString()
{
- return $this->_string;
+ return $this->string;
}
public function offsetExists($offset)
@@ -48,8 +40,7 @@ class TP_yyToken implements ArrayAccess
{
if ($offset === null) {
if (isset($value[0])) {
- $x = ($value instanceof TP_yyToken) ?
- $value->metadata : $value;
+ $x = ($value instanceof TP_yyToken) ? $value->metadata : $value;
$this->metadata = array_merge($this->metadata, $x);
return;
@@ -85,2072 +76,809 @@ class TP_yyStackEntry
;
-#line 13 "smarty_internal_templateparser.y"
-class Smarty_Internal_Templateparser#line 80 "smarty_internal_templateparser.php"
+#line 11 "../smarty/lexer/smarty_internal_templateparser.y"
+
+/**
+ * Smarty Template Parser Class
+ *
+ * This is the template parser.
+ * It is generated from the smarty_internal_templateparser.y file
+ *
+ * @author Uwe Tews <uwe.tews@googlemail.com>
+ */
+class Smarty_Internal_Templateparser
{
- #line 15 "smarty_internal_templateparser.y"
+ #line 23 "../smarty/lexer/smarty_internal_templateparser.y"
const Err1 = "Security error: Call to private object member not allowed";
+
const Err2 = "Security error: Call to dynamic object member not allowed";
+
const Err3 = "PHP in template not allowed. Use SmartyBC to enable it";
- // states whether the parse was successful or not
+
+ /**
+ * result status
+ *
+ * @var bool
+ */
public $successful = true;
+
+ /**
+ * return value
+ *
+ * @var mixed
+ */
public $retvalue = 0;
+
+ /**
+ * counter for prefix code
+ *
+ * @var int
+ */
public static $prefix_number = 0;
- private $_string;
+
+ /**
+ * @var
+ */
public $yymajor;
+
+ /**
+ * last index of array variable
+ *
+ * @var mixed
+ */
public $last_index;
+
+ /**
+ * last variable name
+ *
+ * @var string
+ */
public $last_variable;
+
+ /**
+ * root parse tree buffer
+ *
+ * @var Smarty_Internal_ParseTree
+ */
public $root_buffer;
+
+ /**
+ * current parse tree object
+ *
+ * @var Smarty_Internal_ParseTree
+ */
public $current_buffer;
- private $lex;
+
+ /**
+ * lexer object
+ *
+ * @var Smarty_Internal_Templatelexer
+ */
+ public $lex;
+
+ /**
+ * internal error flag
+ *
+ * @var bool
+ */
private $internalError = false;
- private $strip = false;
- function __construct($lex, $compiler)
+ /**
+ * {strip} status
+ *
+ * @var bool
+ */
+ public $strip = false;
+
+ /**
+ * compiler object
+ *
+ * @var Smarty_Internal_TemplateCompilerBase
+ */
+ public $compiler = null;
+
+ /**
+ * smarty object
+ *
+ * @var Smarty
+ */
+ public $smarty = null;
+
+ /**
+ * template object
+ *
+ * @var Smarty_Internal_Template
+ */
+ public $template = null;
+
+ /**
+ * block nesting level
+ *
+ * @var int
+ */
+ public $block_nesting_level = 0;
+
+ /**
+ * security object
+ *
+ * @var Smarty_Security
+ */
+ public $security = null;
+
+ /**
+ * template prefix array
+ *
+ * @var \Smarty_Internal_ParseTree[]
+ */
+ public $template_prefix = array();
+
+ /**
+ * security object
+ *
+ * @var \Smarty_Internal_ParseTree[]
+ */
+ public $template_postfix = array();
+
+ /**
+ * constructor
+ *
+ * @param Smarty_Internal_Templatelexer $lex
+ * @param Smarty_Internal_TemplateCompilerBase $compiler
+ */
+ function __construct(Smarty_Internal_Templatelexer $lex, Smarty_Internal_TemplateCompilerBase $compiler)
{
$this->lex = $lex;
$this->compiler = $compiler;
- $this->smarty = $this->compiler->smarty;
$this->template = $this->compiler->template;
- $this->compiler->has_variable_string = false;
- $this->compiler->prefix_code = array();
- $this->block_nesting_level = 0;
- if ($this->security = isset($this->smarty->security_policy)) {
- $this->php_handling = $this->smarty->security_policy->php_handling;
- } else {
- $this->php_handling = $this->smarty->php_handling;
- }
- $this->is_xml = false;
- $this->asp_tags = (ini_get('asp_tags') != '0');
- $this->current_buffer = $this->root_buffer = new _smarty_template_buffer($this);
+ $this->smarty = $this->template->smarty;
+ $this->security = isset($this->smarty->security_policy) ? $this->smarty->security_policy : false;
+ $this->current_buffer = $this->root_buffer = new Smarty_Internal_ParseTree_Template();
}
- public function compileVariable($variable)
+ /**
+ * insert PHP code in current buffer
+ *
+ * @param string $code
+ */
+ public function insertPhpCode($code)
{
- if (strpos($variable, '(') == 0) {
- // not a variable variable
- $var = trim($variable, '\'');
- $this->compiler->tag_nocache = $this->compiler->tag_nocache | $this->template->getVariable($var, null, true, false)->nocache;
- $this->template->properties['variables'][$var] = $this->compiler->tag_nocache | $this->compiler->nocache;
- }
- // return '(isset($_smarty_tpl->tpl_vars['. $variable .'])?$_smarty_tpl->tpl_vars['. $variable .']->value:$_smarty_tpl->getVariable('. $variable .')->value)';
- return '$_smarty_tpl->tpl_vars[' . $variable . ']->value';
+ $this->current_buffer->append_subtree($this, new Smarty_Internal_ParseTree_Tag($this, $code));
}
- #line 130 "smarty_internal_templateparser.php"
+ /**
+ * merge PHP code with prefix code and return parse tree tag object
+ *
+ * @param string $code
+ *
+ * @return Smarty_Internal_ParseTree_Tag
+ */
+ public function mergePrefixCode($code)
+ {
+ $tmp = '';
+ foreach ($this->compiler->prefix_code as $preCode) {
+ $tmp .= $preCode;
+ }
+ $this->compiler->prefix_code = array();
+ $tmp .= $code;
+ return new Smarty_Internal_ParseTree_Tag($this, $this->compiler->processNocacheCode($tmp, true));
+ }
const TP_VERT = 1;
+
const TP_COLON = 2;
- const TP_RDEL = 3;
- const TP_COMMENT = 4;
- const TP_PHPSTARTTAG = 5;
- const TP_PHPENDTAG = 6;
- const TP_PHPENDSCRIPT = 7;
- const TP_ASPSTARTTAG = 8;
- const TP_ASPENDTAG = 9;
- const TP_XMLTAG = 10;
- const TP_TEXT = 11;
- const TP_STRIPON = 12;
- const TP_STRIPOFF = 13;
- const TP_BLOCKSOURCE = 14;
- const TP_LITERALSTART = 15;
- const TP_LITERALEND = 16;
- const TP_LITERAL = 17;
- const TP_LDEL = 18;
- const TP_DOLLAR = 19;
- const TP_ID = 20;
- const TP_EQUAL = 21;
- const TP_PTR = 22;
- const TP_LDELIF = 23;
- const TP_LDELFOR = 24;
- const TP_SEMICOLON = 25;
- const TP_INCDEC = 26;
- const TP_TO = 27;
- const TP_STEP = 28;
- const TP_LDELFOREACH = 29;
- const TP_SPACE = 30;
- const TP_AS = 31;
- const TP_APTR = 32;
- const TP_LDELSETFILTER = 33;
- const TP_SMARTYBLOCKCHILDPARENT = 34;
- const TP_LDELSLASH = 35;
- const TP_ATTR = 36;
- const TP_INTEGER = 37;
- const TP_COMMA = 38;
- const TP_OPENP = 39;
- const TP_CLOSEP = 40;
- const TP_MATH = 41;
- const TP_UNIMATH = 42;
- const TP_ANDSYM = 43;
- const TP_ISIN = 44;
- const TP_ISDIVBY = 45;
- const TP_ISNOTDIVBY = 46;
- const TP_ISEVEN = 47;
- const TP_ISNOTEVEN = 48;
- const TP_ISEVENBY = 49;
- const TP_ISNOTEVENBY = 50;
- const TP_ISODD = 51;
- const TP_ISNOTODD = 52;
- const TP_ISODDBY = 53;
- const TP_ISNOTODDBY = 54;
- const TP_INSTANCEOF = 55;
- const TP_QMARK = 56;
- const TP_NOT = 57;
- const TP_TYPECAST = 58;
- const TP_HEX = 59;
- const TP_DOT = 60;
- const TP_SINGLEQUOTESTRING = 61;
- const TP_DOUBLECOLON = 62;
- const TP_AT = 63;
- const TP_HATCH = 64;
- const TP_OPENB = 65;
- const TP_CLOSEB = 66;
- const TP_EQUALS = 67;
- const TP_NOTEQUALS = 68;
- const TP_GREATERTHAN = 69;
- const TP_LESSTHAN = 70;
- const TP_GREATEREQUAL = 71;
- const TP_LESSEQUAL = 72;
- const TP_IDENTITY = 73;
- const TP_NONEIDENTITY = 74;
- const TP_MOD = 75;
- const TP_LAND = 76;
- const TP_LOR = 77;
- const TP_LXOR = 78;
- const TP_QUOTE = 79;
- const TP_BACKTICK = 80;
- const TP_DOLLARID = 81;
- const YY_NO_ACTION = 560;
- const YY_ACCEPT_ACTION = 559;
- const YY_ERROR_ACTION = 558;
-
- const YY_SZ_ACTTAB = 2541;
- static public $yy_action = array(
- /* 0 */
- 225, 35, 312, 333, 198, 272, 273, 275, 283, 292,
- /* 10 */
- 293, 294, 295, 287, 288, 267, 190, 43, 19, 8,
- /* 20 */
- 204, 14, 212, 299, 2, 108, 225, 9, 424, 41,
- /* 30 */
- 139, 208, 225, 41, 250, 32, 228, 13, 159, 32,
- /* 40 */
- 51, 52, 50, 44, 11, 12, 298, 300, 21, 23,
- /* 50 */
- 303, 302, 25, 17, 225, 424, 234, 225, 225, 381,
- /* 60 */
- 421, 424, 45, 38, 145, 357, 313, 323, 322, 324,
- /* 70 */
- 325, 326, 320, 315, 314, 316, 317, 319, 127, 41,
- /* 80 */
- 46, 42, 338, 41, 168, 32, 41, 421, 14, 32,
- /* 90 */
- 299, 34, 32, 421, 51, 52, 50, 44, 11, 12,
- /* 100 */
- 298, 300, 21, 23, 303, 302, 25, 17, 225, 104,
- /* 110 */
- 185, 46, 46, 559, 95, 279, 242, 271, 3, 321,
- /* 120 */
- 313, 323, 322, 324, 325, 326, 320, 315, 314, 316,
- /* 130 */
- 317, 319, 14, 241, 299, 34, 208, 41, 225, 14,
- /* 140 */
- 418, 299, 28, 32, 179, 7, 356, 285, 51, 52,
- /* 150 */
- 50, 44, 11, 12, 298, 300, 21, 23, 303, 302,
- /* 160 */
- 25, 17, 225, 225, 274, 424, 240, 41, 134, 190,
- /* 170 */
- 332, 343, 340, 32, 313, 323, 322, 324, 325, 326,
- /* 180 */
- 320, 315, 314, 316, 317, 319, 37, 122, 182, 31,
- /* 190 */
- 202, 225, 424, 352, 225, 14, 7, 299, 424, 225,
- /* 200 */
- 150, 386, 51, 52, 50, 44, 11, 12, 298, 300,
- /* 210 */
- 21, 23, 303, 302, 25, 17, 225, 46, 349, 134,
- /* 220 */
- 41, 278, 242, 271, 7, 29, 32, 341, 313, 323,
- /* 230 */
- 322, 324, 325, 326, 320, 315, 314, 316, 317, 319,
- /* 240 */
- 226, 227, 197, 304, 103, 184, 232, 134, 46, 14,
- /* 250 */
- 35, 299, 265, 46, 321, 18, 51, 52, 50, 44,
- /* 260 */
- 11, 12, 298, 300, 21, 23, 303, 302, 25, 17,
- /* 270 */
- 225, 208, 264, 259, 258, 218, 6, 109, 345, 35,
- /* 280 */
- 193, 263, 313, 323, 322, 324, 325, 326, 320, 315,
- /* 290 */
- 314, 316, 317, 319, 241, 192, 304, 107, 102, 175,
- /* 300 */
- 269, 201, 191, 304, 203, 142, 253, 208, 321, 335,
- /* 310 */
- 51, 52, 50, 44, 11, 12, 298, 300, 21, 23,
- /* 320 */
- 303, 302, 25, 17, 225, 208, 268, 196, 208, 305,
- /* 330 */
- 485, 208, 230, 200, 308, 485, 313, 323, 322, 324,
- /* 340 */
- 325, 326, 320, 315, 314, 316, 317, 319, 30, 159,
- /* 350 */
- 105, 20, 233, 161, 186, 305, 301, 274, 256, 247,
- /* 360 */
- 208, 225, 321, 36, 51, 52, 50, 44, 11, 12,
- /* 370 */
- 298, 300, 21, 23, 303, 302, 25, 17, 225, 204,
- /* 380 */
- 207, 14, 254, 299, 131, 259, 249, 225, 158, 127,
- /* 390 */
- 313, 323, 322, 324, 325, 326, 320, 315, 314, 316,
- /* 400 */
- 317, 319, 237, 262, 130, 225, 45, 183, 187, 14,
- /* 410 */
- 169, 223, 301, 342, 274, 334, 321, 321, 51, 52,
- /* 420 */
- 50, 44, 11, 12, 298, 300, 21, 23, 303, 302,
- /* 430 */
- 25, 17, 225, 204, 204, 14, 6, 244, 141, 259,
- /* 440 */
- 291, 46, 98, 194, 313, 323, 322, 324, 325, 326,
- /* 450 */
- 320, 315, 314, 316, 317, 319, 132, 262, 227, 166,
- /* 460 */
- 163, 189, 14, 284, 231, 26, 237, 27, 321, 321,
- /* 470 */
- 321, 32, 51, 52, 50, 44, 11, 12, 298, 300,
- /* 480 */
- 21, 23, 303, 302, 25, 17, 225, 204, 14, 276,
- /* 490 */
- 245, 206, 22, 4, 144, 328, 150, 120, 313, 323,
- /* 500 */
- 322, 324, 325, 326, 320, 315, 314, 316, 317, 319,
- /* 510 */
- 195, 348, 262, 176, 171, 39, 30, 199, 143, 180,
- /* 520 */
- 148, 281, 321, 260, 159, 230, 51, 52, 50, 44,
- /* 530 */
- 11, 12, 298, 300, 21, 23, 303, 302, 25, 17,
- /* 540 */
- 225, 296, 205, 129, 346, 289, 124, 329, 125, 339,
- /* 550 */
- 97, 119, 313, 323, 322, 324, 325, 326, 320, 315,
- /* 560 */
- 314, 316, 317, 319, 127, 262, 262, 239, 277, 282,
- /* 570 */
- 307, 94, 266, 351, 269, 170, 159, 181, 172, 106,
- /* 580 */
- 51, 52, 50, 44, 11, 12, 298, 300, 21, 23,
- /* 590 */
- 303, 302, 25, 17, 225, 330, 270, 301, 15, 115,
- /* 600 */
- 331, 310, 326, 255, 140, 126, 313, 323, 322, 324,
- /* 610 */
- 325, 326, 320, 315, 314, 316, 317, 319, 301, 326,
- /* 620 */
- 262, 326, 326, 326, 326, 326, 326, 326, 326, 326,
- /* 630 */
- 326, 326, 326, 243, 51, 52, 50, 44, 11, 12,
- /* 640 */
- 298, 300, 21, 23, 303, 302, 25, 17, 225, 40,
- /* 650 */
- 326, 326, 326, 326, 326, 326, 326, 113, 99, 100,
- /* 660 */
- 313, 323, 322, 324, 325, 326, 320, 315, 314, 316,
- /* 670 */
- 317, 319, 262, 262, 262, 326, 326, 326, 326, 326,
- /* 680 */
- 326, 326, 326, 326, 326, 326, 326, 326, 51, 52,
- /* 690 */
- 50, 44, 11, 12, 298, 300, 21, 23, 303, 302,
- /* 700 */
- 25, 17, 225, 326, 326, 326, 326, 326, 326, 326,
- /* 710 */
- 326, 114, 326, 326, 313, 323, 322, 324, 325, 326,
- /* 720 */
- 320, 315, 314, 316, 317, 319, 262, 326, 326, 326,
- /* 730 */
- 326, 326, 326, 326, 326, 326, 326, 326, 326, 326,
- /* 740 */
- 326, 286, 51, 52, 50, 44, 11, 12, 298, 300,
- /* 750 */
- 21, 23, 303, 302, 25, 17, 225, 326, 326, 326,
- /* 760 */
- 326, 326, 326, 326, 326, 326, 326, 326, 313, 323,
- /* 770 */
- 322, 324, 325, 326, 320, 315, 314, 316, 317, 319,
- /* 780 */
- 326, 326, 326, 326, 326, 326, 326, 326, 326, 326,
- /* 790 */
- 326, 326, 326, 326, 326, 326, 51, 52, 50, 44,
- /* 800 */
- 11, 12, 298, 300, 21, 23, 303, 302, 25, 17,
- /* 810 */
- 326, 326, 326, 326, 326, 326, 326, 326, 326, 326,
- /* 820 */
- 159, 326, 313, 323, 322, 324, 325, 326, 320, 315,
- /* 830 */
- 314, 316, 317, 319, 326, 326, 326, 326, 51, 52,
- /* 840 */
- 50, 44, 11, 12, 298, 300, 21, 23, 303, 302,
- /* 850 */
- 25, 17, 326, 326, 326, 326, 326, 326, 212, 326,
- /* 860 */
- 326, 326, 326, 9, 313, 323, 322, 324, 325, 326,
- /* 870 */
- 320, 315, 314, 316, 317, 319, 326, 326, 326, 326,
- /* 880 */
- 326, 326, 326, 8, 138, 211, 326, 326, 2, 108,
- /* 890 */
- 326, 235, 326, 326, 139, 157, 165, 326, 250, 128,
- /* 900 */
- 228, 326, 246, 326, 24, 321, 326, 48, 261, 326,
- /* 910 */
- 326, 251, 336, 353, 326, 311, 326, 301, 174, 173,
- /* 920 */
- 326, 326, 49, 47, 280, 238, 297, 321, 321, 105,
- /* 930 */
- 1, 337, 326, 147, 326, 326, 326, 326, 326, 301,
- /* 940 */
- 301, 8, 123, 92, 96, 257, 2, 108, 326, 311,
- /* 950 */
- 326, 326, 139, 326, 326, 235, 250, 309, 228, 146,
- /* 960 */
- 246, 326, 24, 128, 162, 48, 326, 326, 326, 326,
- /* 970 */
- 235, 326, 350, 321, 155, 251, 336, 353, 128, 311,
- /* 980 */
- 49, 47, 280, 238, 297, 301, 326, 105, 1, 326,
- /* 990 */
- 251, 336, 353, 326, 311, 14, 326, 299, 326, 8,
- /* 1000 */
- 138, 224, 96, 326, 2, 108, 326, 41, 326, 252,
- /* 1010 */
- 139, 235, 326, 32, 250, 153, 228, 326, 246, 128,
- /* 1020 */
- 24, 326, 326, 48, 326, 326, 326, 326, 326, 326,
- /* 1030 */
- 326, 251, 336, 353, 326, 311, 326, 326, 49, 47,
- /* 1040 */
- 280, 238, 297, 326, 326, 105, 1, 326, 326, 326,
- /* 1050 */
- 326, 326, 14, 326, 299, 326, 326, 8, 142, 224,
- /* 1060 */
- 96, 326, 2, 108, 41, 235, 248, 326, 139, 154,
- /* 1070 */
- 32, 235, 250, 128, 228, 156, 246, 326, 33, 128,
- /* 1080 */
- 326, 48, 326, 326, 326, 251, 336, 353, 326, 311,
- /* 1090 */
- 326, 251, 336, 353, 326, 311, 49, 47, 280, 238,
- /* 1100 */
- 297, 326, 326, 105, 1, 326, 326, 326, 326, 326,
- /* 1110 */
- 326, 326, 326, 326, 326, 8, 138, 213, 96, 326,
- /* 1120 */
- 2, 108, 326, 326, 326, 326, 139, 235, 326, 326,
- /* 1130 */
- 250, 149, 228, 326, 246, 128, 24, 326, 326, 48,
- /* 1140 */
- 326, 326, 326, 326, 326, 326, 326, 251, 336, 353,
- /* 1150 */
- 326, 311, 326, 326, 49, 47, 280, 238, 297, 326,
- /* 1160 */
- 326, 105, 1, 326, 326, 326, 326, 326, 326, 326,
- /* 1170 */
- 326, 326, 326, 8, 138, 210, 96, 326, 2, 108,
- /* 1180 */
- 326, 326, 326, 326, 139, 235, 326, 326, 250, 151,
- /* 1190 */
- 228, 326, 219, 128, 24, 326, 326, 48, 326, 326,
- /* 1200 */
- 326, 326, 326, 326, 326, 251, 336, 353, 326, 311,
- /* 1210 */
- 326, 326, 49, 47, 280, 238, 297, 326, 326, 105,
- /* 1220 */
- 1, 326, 326, 326, 326, 326, 326, 326, 326, 326,
- /* 1230 */
- 326, 8, 136, 224, 96, 326, 2, 108, 326, 326,
- /* 1240 */
- 326, 326, 139, 235, 326, 326, 250, 152, 228, 326,
- /* 1250 */
- 246, 128, 24, 326, 326, 48, 326, 326, 326, 326,
- /* 1260 */
- 326, 326, 326, 251, 336, 353, 326, 311, 326, 326,
- /* 1270 */
- 49, 47, 280, 238, 297, 326, 326, 105, 1, 326,
- /* 1280 */
- 225, 326, 391, 326, 422, 326, 326, 326, 326, 8,
- /* 1290 */
- 135, 224, 96, 326, 2, 108, 326, 326, 326, 326,
- /* 1300 */
- 139, 236, 229, 326, 250, 326, 228, 326, 246, 41,
- /* 1310 */
- 5, 422, 326, 48, 326, 32, 326, 422, 7, 326,
- /* 1320 */
- 7, 326, 326, 326, 198, 178, 326, 326, 49, 47,
- /* 1330 */
- 280, 238, 297, 326, 321, 105, 1, 43, 19, 326,
- /* 1340 */
- 326, 134, 326, 134, 326, 326, 326, 8, 138, 209,
- /* 1350 */
- 96, 208, 2, 108, 326, 326, 326, 326, 139, 326,
- /* 1360 */
- 326, 326, 250, 326, 228, 326, 246, 326, 24, 198,
- /* 1370 */
- 164, 48, 326, 326, 326, 326, 326, 326, 326, 321,
- /* 1380 */
- 326, 326, 43, 19, 326, 326, 49, 47, 280, 238,
- /* 1390 */
- 297, 326, 326, 105, 1, 326, 208, 326, 326, 326,
- /* 1400 */
- 326, 326, 326, 326, 326, 8, 142, 224, 96, 326,
- /* 1410 */
- 2, 108, 326, 326, 326, 326, 139, 326, 326, 326,
- /* 1420 */
- 250, 326, 228, 326, 246, 326, 33, 198, 177, 48,
- /* 1430 */
- 326, 326, 326, 326, 326, 326, 326, 321, 326, 326,
- /* 1440 */
- 43, 19, 326, 326, 49, 47, 280, 238, 297, 326,
- /* 1450 */
- 326, 105, 326, 326, 208, 326, 326, 326, 326, 326,
- /* 1460 */
- 326, 326, 326, 8, 142, 222, 96, 326, 2, 108,
- /* 1470 */
- 326, 326, 326, 326, 139, 326, 326, 326, 250, 326,
- /* 1480 */
- 228, 326, 246, 326, 33, 326, 467, 48, 326, 326,
- /* 1490 */
- 326, 326, 326, 326, 326, 326, 326, 326, 326, 326,
- /* 1500 */
- 326, 326, 49, 47, 280, 238, 297, 326, 467, 105,
- /* 1510 */
- 467, 467, 326, 467, 467, 326, 326, 326, 326, 467,
- /* 1520 */
- 326, 467, 7, 467, 96, 326, 326, 326, 326, 326,
- /* 1530 */
- 326, 326, 326, 326, 326, 235, 326, 326, 467, 121,
- /* 1540 */
- 326, 326, 86, 128, 326, 134, 326, 326, 326, 467,
- /* 1550 */
- 326, 290, 318, 326, 326, 251, 336, 353, 326, 311,
- /* 1560 */
- 326, 326, 326, 467, 326, 326, 326, 235, 326, 216,
- /* 1570 */
- 354, 133, 326, 326, 68, 117, 249, 326, 326, 326,
- /* 1580 */
- 326, 326, 326, 290, 318, 326, 326, 251, 336, 353,
- /* 1590 */
- 235, 311, 326, 326, 133, 326, 326, 76, 128, 326,
- /* 1600 */
- 326, 326, 326, 326, 326, 326, 290, 318, 326, 235,
- /* 1610 */
- 251, 336, 353, 133, 311, 326, 76, 128, 326, 326,
- /* 1620 */
- 326, 221, 326, 326, 326, 290, 318, 326, 326, 251,
- /* 1630 */
- 336, 353, 326, 311, 326, 326, 326, 326, 235, 326,
- /* 1640 */
- 215, 326, 121, 326, 326, 86, 128, 326, 326, 326,
- /* 1650 */
- 326, 326, 326, 326, 290, 318, 326, 326, 251, 336,
- /* 1660 */
- 353, 235, 311, 326, 326, 133, 326, 326, 59, 117,
- /* 1670 */
- 137, 326, 326, 355, 326, 326, 326, 290, 318, 326,
- /* 1680 */
- 326, 251, 336, 353, 235, 311, 326, 326, 133, 326,
- /* 1690 */
- 326, 76, 128, 326, 326, 326, 326, 326, 326, 326,
- /* 1700 */
- 290, 318, 326, 235, 251, 336, 353, 110, 311, 326,
- /* 1710 */
- 69, 128, 326, 326, 326, 217, 326, 326, 326, 290,
- /* 1720 */
- 318, 326, 326, 251, 336, 353, 326, 311, 326, 235,
- /* 1730 */
- 101, 160, 326, 133, 326, 326, 57, 128, 326, 326,
- /* 1740 */
- 321, 326, 326, 43, 19, 290, 318, 326, 235, 251,
- /* 1750 */
- 336, 353, 133, 311, 326, 73, 128, 208, 326, 326,
- /* 1760 */
- 326, 326, 326, 326, 290, 318, 326, 326, 251, 336,
- /* 1770 */
- 353, 235, 311, 326, 326, 133, 326, 326, 78, 128,
- /* 1780 */
- 326, 326, 326, 326, 326, 326, 326, 290, 318, 326,
- /* 1790 */
- 235, 251, 336, 353, 133, 311, 326, 70, 128, 326,
- /* 1800 */
- 326, 326, 326, 326, 326, 326, 290, 318, 326, 326,
- /* 1810 */
- 251, 336, 353, 326, 311, 326, 235, 198, 167, 326,
- /* 1820 */
- 133, 326, 326, 64, 128, 326, 326, 321, 326, 326,
- /* 1830 */
- 43, 19, 290, 318, 326, 235, 251, 336, 353, 133,
- /* 1840 */
- 311, 326, 67, 128, 208, 326, 326, 326, 326, 326,
- /* 1850 */
- 326, 290, 318, 326, 326, 251, 336, 353, 235, 311,
- /* 1860 */
- 326, 326, 133, 326, 326, 88, 128, 326, 326, 326,
- /* 1870 */
- 326, 326, 326, 326, 290, 318, 326, 235, 251, 336,
- /* 1880 */
- 353, 133, 311, 326, 82, 128, 326, 326, 326, 326,
- /* 1890 */
- 326, 326, 326, 290, 318, 326, 326, 251, 336, 353,
- /* 1900 */
- 326, 311, 326, 235, 198, 188, 326, 133, 326, 326,
- /* 1910 */
- 72, 128, 326, 326, 321, 326, 326, 43, 19, 290,
- /* 1920 */
- 318, 326, 235, 251, 336, 353, 93, 311, 326, 55,
- /* 1930 */
- 116, 208, 326, 326, 326, 326, 326, 326, 290, 318,
- /* 1940 */
- 326, 326, 251, 336, 353, 235, 311, 326, 326, 112,
- /* 1950 */
- 326, 326, 87, 128, 326, 326, 326, 326, 326, 326,
- /* 1960 */
- 326, 290, 318, 326, 235, 251, 336, 353, 133, 311,
- /* 1970 */
- 326, 77, 128, 326, 326, 326, 326, 326, 326, 326,
- /* 1980 */
- 290, 318, 326, 326, 251, 336, 353, 326, 311, 326,
- /* 1990 */
- 235, 326, 326, 326, 133, 326, 326, 89, 128, 326,
- /* 2000 */
- 326, 326, 326, 326, 326, 326, 290, 318, 326, 235,
- /* 2010 */
- 251, 336, 353, 133, 311, 326, 75, 128, 326, 326,
- /* 2020 */
- 326, 326, 326, 326, 326, 290, 318, 326, 326, 251,
- /* 2030 */
- 336, 353, 235, 311, 326, 326, 133, 326, 326, 91,
- /* 2040 */
- 128, 326, 326, 326, 326, 326, 326, 326, 290, 318,
- /* 2050 */
- 326, 235, 251, 336, 353, 133, 311, 326, 62, 128,
- /* 2060 */
- 326, 326, 326, 326, 326, 326, 326, 290, 318, 326,
- /* 2070 */
- 326, 251, 336, 353, 326, 311, 326, 235, 326, 326,
- /* 2080 */
- 326, 93, 326, 326, 53, 116, 326, 326, 326, 326,
- /* 2090 */
- 326, 326, 326, 290, 318, 326, 235, 220, 336, 353,
- /* 2100 */
- 133, 311, 326, 63, 128, 326, 326, 326, 326, 326,
- /* 2110 */
- 326, 326, 290, 318, 326, 326, 251, 336, 353, 235,
- /* 2120 */
- 311, 326, 326, 133, 326, 326, 61, 128, 326, 326,
- /* 2130 */
- 326, 326, 326, 326, 326, 290, 318, 326, 235, 214,
- /* 2140 */
- 336, 353, 133, 311, 326, 71, 128, 326, 326, 326,
- /* 2150 */
- 326, 326, 326, 326, 290, 318, 326, 326, 251, 336,
- /* 2160 */
- 353, 326, 311, 326, 235, 326, 326, 326, 133, 326,
- /* 2170 */
- 326, 85, 128, 326, 326, 326, 326, 326, 326, 326,
- /* 2180 */
- 290, 318, 326, 235, 251, 336, 353, 133, 311, 326,
- /* 2190 */
- 65, 128, 326, 326, 326, 326, 326, 326, 326, 290,
- /* 2200 */
- 318, 326, 326, 251, 336, 353, 235, 311, 326, 326,
- /* 2210 */
- 111, 326, 326, 74, 128, 326, 326, 326, 326, 326,
- /* 2220 */
- 326, 326, 290, 318, 326, 235, 251, 336, 353, 118,
- /* 2230 */
- 311, 326, 58, 128, 326, 326, 326, 326, 326, 326,
- /* 2240 */
- 326, 290, 318, 326, 326, 251, 336, 353, 326, 311,
- /* 2250 */
- 326, 235, 326, 326, 326, 133, 326, 326, 56, 128,
- /* 2260 */
- 326, 326, 326, 326, 326, 326, 326, 290, 318, 326,
- /* 2270 */
- 235, 251, 336, 353, 133, 311, 326, 79, 128, 326,
- /* 2280 */
- 326, 326, 326, 326, 326, 326, 290, 318, 326, 326,
- /* 2290 */
- 251, 336, 353, 235, 311, 326, 326, 133, 326, 326,
- /* 2300 */
- 80, 128, 326, 326, 326, 326, 326, 326, 326, 290,
- /* 2310 */
- 318, 326, 235, 251, 336, 353, 133, 311, 326, 84,
- /* 2320 */
- 128, 326, 326, 326, 326, 326, 326, 326, 290, 318,
- /* 2330 */
- 326, 326, 251, 336, 353, 326, 311, 326, 235, 326,
- /* 2340 */
- 326, 326, 133, 326, 326, 66, 128, 326, 326, 326,
- /* 2350 */
- 326, 326, 326, 326, 290, 318, 326, 344, 251, 336,
- /* 2360 */
- 353, 326, 311, 326, 10, 326, 326, 326, 326, 2,
- /* 2370 */
- 108, 344, 326, 326, 326, 139, 326, 326, 10, 250,
- /* 2380 */
- 326, 228, 326, 2, 108, 326, 326, 326, 326, 139,
- /* 2390 */
- 326, 326, 326, 250, 326, 228, 235, 326, 326, 326,
- /* 2400 */
- 133, 326, 326, 60, 128, 326, 326, 326, 326, 326,
- /* 2410 */
- 326, 326, 290, 318, 326, 326, 251, 336, 353, 326,
- /* 2420 */
- 311, 326, 326, 326, 326, 306, 16, 347, 326, 235,
- /* 2430 */
- 326, 326, 326, 133, 326, 326, 81, 128, 326, 327,
- /* 2440 */
- 16, 347, 326, 326, 326, 290, 318, 326, 326, 251,
- /* 2450 */
- 336, 353, 326, 311, 326, 326, 235, 326, 326, 326,
- /* 2460 */
- 133, 326, 326, 68, 128, 326, 326, 326, 326, 326,
- /* 2470 */
- 326, 326, 290, 318, 326, 326, 251, 336, 353, 326,
- /* 2480 */
- 311, 326, 235, 326, 326, 326, 133, 326, 326, 54,
- /* 2490 */
- 128, 326, 326, 326, 326, 326, 326, 326, 290, 318,
- /* 2500 */
- 326, 326, 251, 336, 353, 235, 311, 326, 326, 133,
- /* 2510 */
- 326, 326, 83, 128, 326, 326, 235, 326, 326, 326,
- /* 2520 */
- 133, 290, 318, 90, 128, 251, 336, 353, 326, 311,
- /* 2530 */
- 326, 326, 290, 318, 326, 326, 251, 336, 353, 326,
- /* 2540 */
- 311,
- );
- static public $yy_lookahead = array(
- /* 0 */
- 1, 38, 3, 40, 91, 4, 5, 6, 7, 8,
- /* 10 */
- 9, 10, 11, 12, 13, 14, 15, 104, 105, 18,
- /* 20 */
- 118, 18, 60, 20, 23, 24, 1, 65, 3, 30,
- /* 30 */
- 29, 118, 1, 30, 33, 36, 35, 21, 22, 36,
- /* 40 */
- 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
- /* 50 */
- 51, 52, 53, 54, 1, 30, 31, 1, 1, 3,
- /* 60 */
- 3, 36, 2, 18, 19, 20, 67, 68, 69, 70,
- /* 70 */
- 71, 72, 73, 74, 75, 76, 77, 78, 62, 30,
- /* 80 */
- 55, 28, 37, 30, 111, 36, 30, 30, 18, 36,
- /* 90 */
- 20, 21, 36, 36, 41, 42, 43, 44, 45, 46,
- /* 100 */
- 47, 48, 49, 50, 51, 52, 53, 54, 1, 91,
- /* 110 */
- 92, 55, 55, 83, 84, 85, 86, 87, 38, 101,
- /* 120 */
- 67, 68, 69, 70, 71, 72, 73, 74, 75, 76,
- /* 130 */
- 77, 78, 18, 63, 20, 21, 118, 30, 1, 18,
- /* 140 */
- 3, 20, 21, 36, 111, 39, 66, 26, 41, 42,
- /* 150 */
- 43, 44, 45, 46, 47, 48, 49, 50, 51, 52,
- /* 160 */
- 53, 54, 1, 1, 26, 3, 60, 30, 62, 15,
- /* 170 */
- 16, 17, 66, 36, 67, 68, 69, 70, 71, 72,
- /* 180 */
- 73, 74, 75, 76, 77, 78, 18, 19, 20, 32,
- /* 190 */
- 100, 1, 30, 109, 1, 18, 39, 20, 36, 1,
- /* 200 */
- 116, 3, 41, 42, 43, 44, 45, 46, 47, 48,
- /* 210 */
- 49, 50, 51, 52, 53, 54, 1, 55, 80, 62,
- /* 220 */
- 30, 85, 86, 87, 39, 32, 36, 66, 67, 68,
- /* 230 */
- 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,
- /* 240 */
- 63, 86, 114, 115, 91, 92, 31, 62, 55, 18,
- /* 250 */
- 38, 20, 40, 55, 101, 18, 41, 42, 43, 44,
- /* 260 */
- 45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
- /* 270 */
- 1, 118, 3, 94, 95, 96, 39, 122, 123, 38,
- /* 280 */
- 91, 40, 67, 68, 69, 70, 71, 72, 73, 74,
- /* 290 */
- 75, 76, 77, 78, 63, 114, 115, 100, 91, 92,
- /* 300 */
- 112, 91, 114, 115, 91, 19, 20, 118, 101, 20,
- /* 310 */
- 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
- /* 320 */
- 51, 52, 53, 54, 1, 118, 3, 100, 118, 119,
- /* 330 */
- 60, 118, 2, 91, 3, 65, 67, 68, 69, 70,
- /* 340 */
- 71, 72, 73, 74, 75, 76, 77, 78, 21, 22,
- /* 350 */
- 64, 21, 63, 92, 111, 119, 113, 26, 19, 20,
- /* 360 */
- 118, 1, 101, 21, 41, 42, 43, 44, 45, 46,
- /* 370 */
- 47, 48, 49, 50, 51, 52, 53, 54, 1, 118,
- /* 380 */
- 3, 18, 22, 20, 19, 94, 95, 1, 98, 62,
- /* 390 */
- 67, 68, 69, 70, 71, 72, 73, 74, 75, 76,
- /* 400 */
- 77, 78, 60, 113, 39, 1, 2, 92, 92, 18,
- /* 410 */
- 111, 20, 113, 87, 26, 89, 101, 101, 41, 42,
- /* 420 */
- 43, 44, 45, 46, 47, 48, 49, 50, 51, 52,
- /* 430 */
- 53, 54, 1, 118, 118, 18, 39, 20, 19, 94,
- /* 440 */
- 95, 55, 98, 25, 67, 68, 69, 70, 71, 72,
- /* 450 */
- 73, 74, 75, 76, 77, 78, 38, 113, 86, 92,
- /* 460 */
- 92, 92, 18, 40, 20, 30, 60, 2, 101, 101,
- /* 470 */
- 101, 36, 41, 42, 43, 44, 45, 46, 47, 48,
- /* 480 */
- 49, 50, 51, 52, 53, 54, 1, 118, 18, 109,
- /* 490 */
- 20, 20, 56, 39, 19, 123, 116, 98, 67, 68,
- /* 500 */
- 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,
- /* 510 */
- 25, 80, 113, 92, 64, 27, 21, 20, 19, 64,
- /* 520 */
- 20, 3, 101, 20, 22, 2, 41, 42, 43, 44,
- /* 530 */
- 45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
- /* 540 */
- 1, 20, 3, 19, 3, 20, 20, 20, 19, 66,
- /* 550 */
- 98, 98, 67, 68, 69, 70, 71, 72, 73, 74,
- /* 560 */
- 75, 76, 77, 78, 62, 113, 113, 20, 37, 37,
- /* 570 */
- 3, 20, 20, 101, 112, 111, 22, 111, 111, 111,
- /* 580 */
- 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
- /* 590 */
- 51, 52, 53, 54, 1, 116, 30, 113, 97, 88,
- /* 600 */
- 16, 115, 124, 97, 99, 98, 67, 68, 69, 70,
- /* 610 */
- 71, 72, 73, 74, 75, 76, 77, 78, 113, 124,
- /* 620 */
- 113, 124, 124, 124, 124, 124, 124, 124, 124, 124,
- /* 630 */
- 124, 124, 124, 40, 41, 42, 43, 44, 45, 46,
- /* 640 */
- 47, 48, 49, 50, 51, 52, 53, 54, 1, 2,
- /* 650 */
- 124, 124, 124, 124, 124, 124, 124, 98, 98, 98,
- /* 660 */
- 67, 68, 69, 70, 71, 72, 73, 74, 75, 76,
- /* 670 */
- 77, 78, 113, 113, 113, 124, 124, 124, 124, 124,
- /* 680 */
- 124, 124, 124, 124, 124, 124, 124, 124, 41, 42,
- /* 690 */
- 43, 44, 45, 46, 47, 48, 49, 50, 51, 52,
- /* 700 */
- 53, 54, 1, 124, 124, 124, 124, 124, 124, 124,
- /* 710 */
- 124, 98, 124, 124, 67, 68, 69, 70, 71, 72,
- /* 720 */
- 73, 74, 75, 76, 77, 78, 113, 124, 124, 124,
- /* 730 */
- 124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
- /* 740 */
- 124, 40, 41, 42, 43, 44, 45, 46, 47, 48,
- /* 750 */
- 49, 50, 51, 52, 53, 54, 1, 124, 124, 124,
- /* 760 */
- 124, 124, 124, 124, 124, 124, 124, 124, 67, 68,
- /* 770 */
- 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,
- /* 780 */
- 124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
- /* 790 */
- 124, 124, 124, 124, 124, 124, 41, 42, 43, 44,
- /* 800 */
- 45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
- /* 810 */
- 124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
- /* 820 */
- 22, 124, 67, 68, 69, 70, 71, 72, 73, 74,
- /* 830 */
- 75, 76, 77, 78, 124, 124, 124, 124, 41, 42,
- /* 840 */
- 43, 44, 45, 46, 47, 48, 49, 50, 51, 52,
- /* 850 */
- 53, 54, 124, 124, 124, 124, 124, 124, 60, 124,
- /* 860 */
- 124, 124, 124, 65, 67, 68, 69, 70, 71, 72,
- /* 870 */
- 73, 74, 75, 76, 77, 78, 124, 124, 124, 124,
- /* 880 */
- 124, 124, 124, 18, 19, 20, 124, 124, 23, 24,
- /* 890 */
- 124, 86, 124, 124, 29, 90, 92, 124, 33, 94,
- /* 900 */
- 35, 124, 37, 124, 39, 101, 124, 42, 103, 124,
- /* 910 */
- 124, 106, 107, 108, 124, 110, 124, 113, 92, 92,
- /* 920 */
- 124, 124, 57, 58, 59, 60, 61, 101, 101, 64,
- /* 930 */
- 65, 66, 124, 94, 124, 124, 124, 124, 124, 113,
- /* 940 */
- 113, 18, 19, 20, 79, 106, 23, 24, 124, 110,
- /* 950 */
- 124, 124, 29, 124, 124, 86, 33, 34, 35, 90,
- /* 960 */
- 37, 124, 39, 94, 92, 42, 124, 124, 124, 124,
- /* 970 */
- 86, 124, 103, 101, 90, 106, 107, 108, 94, 110,
- /* 980 */
- 57, 58, 59, 60, 61, 113, 124, 64, 65, 124,
- /* 990 */
- 106, 107, 108, 124, 110, 18, 124, 20, 124, 18,
- /* 1000 */
- 19, 20, 79, 124, 23, 24, 124, 30, 124, 32,
- /* 1010 */
- 29, 86, 124, 36, 33, 90, 35, 124, 37, 94,
- /* 1020 */
- 39, 124, 124, 42, 124, 124, 124, 124, 124, 124,
- /* 1030 */
- 124, 106, 107, 108, 124, 110, 124, 124, 57, 58,
- /* 1040 */
- 59, 60, 61, 124, 124, 64, 65, 124, 124, 124,
- /* 1050 */
- 124, 124, 18, 124, 20, 124, 124, 18, 19, 20,
- /* 1060 */
- 79, 124, 23, 24, 30, 86, 32, 124, 29, 90,
- /* 1070 */
- 36, 86, 33, 94, 35, 90, 37, 124, 39, 94,
- /* 1080 */
- 124, 42, 124, 124, 124, 106, 107, 108, 124, 110,
- /* 1090 */
- 124, 106, 107, 108, 124, 110, 57, 58, 59, 60,
- /* 1100 */
- 61, 124, 124, 64, 65, 124, 124, 124, 124, 124,
- /* 1110 */
- 124, 124, 124, 124, 124, 18, 19, 20, 79, 124,
- /* 1120 */
- 23, 24, 124, 124, 124, 124, 29, 86, 124, 124,
- /* 1130 */
- 33, 90, 35, 124, 37, 94, 39, 124, 124, 42,
- /* 1140 */
- 124, 124, 124, 124, 124, 124, 124, 106, 107, 108,
- /* 1150 */
- 124, 110, 124, 124, 57, 58, 59, 60, 61, 124,
- /* 1160 */
- 124, 64, 65, 124, 124, 124, 124, 124, 124, 124,
- /* 1170 */
- 124, 124, 124, 18, 19, 20, 79, 124, 23, 24,
- /* 1180 */
- 124, 124, 124, 124, 29, 86, 124, 124, 33, 90,
- /* 1190 */
- 35, 124, 37, 94, 39, 124, 124, 42, 124, 124,
- /* 1200 */
- 124, 124, 124, 124, 124, 106, 107, 108, 124, 110,
- /* 1210 */
- 124, 124, 57, 58, 59, 60, 61, 124, 124, 64,
- /* 1220 */
- 65, 124, 124, 124, 124, 124, 124, 124, 124, 124,
- /* 1230 */
- 124, 18, 19, 20, 79, 124, 23, 24, 124, 124,
- /* 1240 */
- 124, 124, 29, 86, 124, 124, 33, 90, 35, 124,
- /* 1250 */
- 37, 94, 39, 124, 124, 42, 124, 124, 124, 124,
- /* 1260 */
- 124, 124, 124, 106, 107, 108, 124, 110, 124, 124,
- /* 1270 */
- 57, 58, 59, 60, 61, 124, 124, 64, 65, 124,
- /* 1280 */
- 1, 124, 3, 124, 3, 124, 124, 124, 124, 18,
- /* 1290 */
- 19, 20, 79, 124, 23, 24, 124, 124, 124, 124,
- /* 1300 */
- 29, 22, 21, 124, 33, 124, 35, 124, 37, 30,
- /* 1310 */
- 39, 30, 124, 42, 124, 36, 124, 36, 39, 124,
- /* 1320 */
- 39, 124, 124, 124, 91, 92, 124, 124, 57, 58,
- /* 1330 */
- 59, 60, 61, 124, 101, 64, 65, 104, 105, 124,
- /* 1340 */
- 124, 62, 124, 62, 124, 124, 124, 18, 19, 20,
- /* 1350 */
- 79, 118, 23, 24, 124, 124, 124, 124, 29, 124,
- /* 1360 */
- 124, 124, 33, 124, 35, 124, 37, 124, 39, 91,
- /* 1370 */
- 92, 42, 124, 124, 124, 124, 124, 124, 124, 101,
- /* 1380 */
- 124, 124, 104, 105, 124, 124, 57, 58, 59, 60,
- /* 1390 */
- 61, 124, 124, 64, 65, 124, 118, 124, 124, 124,
- /* 1400 */
- 124, 124, 124, 124, 124, 18, 19, 20, 79, 124,
- /* 1410 */
- 23, 24, 124, 124, 124, 124, 29, 124, 124, 124,
- /* 1420 */
- 33, 124, 35, 124, 37, 124, 39, 91, 92, 42,
- /* 1430 */
- 124, 124, 124, 124, 124, 124, 124, 101, 124, 124,
- /* 1440 */
- 104, 105, 124, 124, 57, 58, 59, 60, 61, 124,
- /* 1450 */
- 124, 64, 124, 124, 118, 124, 124, 124, 124, 124,
- /* 1460 */
- 124, 124, 124, 18, 19, 20, 79, 124, 23, 24,
- /* 1470 */
- 124, 124, 124, 124, 29, 124, 124, 124, 33, 124,
- /* 1480 */
- 35, 124, 37, 124, 39, 124, 3, 42, 124, 124,
- /* 1490 */
- 124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
- /* 1500 */
- 124, 124, 57, 58, 59, 60, 61, 124, 25, 64,
- /* 1510 */
- 27, 28, 124, 30, 31, 124, 124, 124, 124, 36,
- /* 1520 */
- 124, 38, 39, 40, 79, 124, 124, 124, 124, 124,
- /* 1530 */
- 124, 124, 124, 124, 124, 86, 124, 124, 55, 90,
- /* 1540 */
- 124, 124, 93, 94, 124, 62, 124, 124, 124, 66,
- /* 1550 */
- 124, 102, 103, 124, 124, 106, 107, 108, 124, 110,
- /* 1560 */
- 124, 124, 124, 80, 124, 124, 124, 86, 124, 120,
- /* 1570 */
- 121, 90, 124, 124, 93, 94, 95, 124, 124, 124,
- /* 1580 */
- 124, 124, 124, 102, 103, 124, 124, 106, 107, 108,
- /* 1590 */
- 86, 110, 124, 124, 90, 124, 124, 93, 94, 124,
- /* 1600 */
- 124, 124, 124, 124, 124, 124, 102, 103, 124, 86,
- /* 1610 */
- 106, 107, 108, 90, 110, 124, 93, 94, 124, 124,
- /* 1620 */
- 124, 117, 124, 124, 124, 102, 103, 124, 124, 106,
- /* 1630 */
- 107, 108, 124, 110, 124, 124, 124, 124, 86, 124,
- /* 1640 */
- 117, 124, 90, 124, 124, 93, 94, 124, 124, 124,
- /* 1650 */
- 124, 124, 124, 124, 102, 103, 124, 124, 106, 107,
- /* 1660 */
- 108, 86, 110, 124, 124, 90, 124, 124, 93, 94,
- /* 1670 */
- 95, 124, 124, 121, 124, 124, 124, 102, 103, 124,
- /* 1680 */
- 124, 106, 107, 108, 86, 110, 124, 124, 90, 124,
- /* 1690 */
- 124, 93, 94, 124, 124, 124, 124, 124, 124, 124,
- /* 1700 */
- 102, 103, 124, 86, 106, 107, 108, 90, 110, 124,
- /* 1710 */
- 93, 94, 124, 124, 124, 117, 124, 124, 124, 102,
- /* 1720 */
- 103, 124, 124, 106, 107, 108, 124, 110, 124, 86,
- /* 1730 */
- 91, 92, 124, 90, 124, 124, 93, 94, 124, 124,
- /* 1740 */
- 101, 124, 124, 104, 105, 102, 103, 124, 86, 106,
- /* 1750 */
- 107, 108, 90, 110, 124, 93, 94, 118, 124, 124,
- /* 1760 */
- 124, 124, 124, 124, 102, 103, 124, 124, 106, 107,
- /* 1770 */
- 108, 86, 110, 124, 124, 90, 124, 124, 93, 94,
- /* 1780 */
- 124, 124, 124, 124, 124, 124, 124, 102, 103, 124,
- /* 1790 */
- 86, 106, 107, 108, 90, 110, 124, 93, 94, 124,
- /* 1800 */
- 124, 124, 124, 124, 124, 124, 102, 103, 124, 124,
- /* 1810 */
- 106, 107, 108, 124, 110, 124, 86, 91, 92, 124,
- /* 1820 */
- 90, 124, 124, 93, 94, 124, 124, 101, 124, 124,
- /* 1830 */
- 104, 105, 102, 103, 124, 86, 106, 107, 108, 90,
- /* 1840 */
- 110, 124, 93, 94, 118, 124, 124, 124, 124, 124,
- /* 1850 */
- 124, 102, 103, 124, 124, 106, 107, 108, 86, 110,
- /* 1860 */
- 124, 124, 90, 124, 124, 93, 94, 124, 124, 124,
- /* 1870 */
- 124, 124, 124, 124, 102, 103, 124, 86, 106, 107,
- /* 1880 */
- 108, 90, 110, 124, 93, 94, 124, 124, 124, 124,
- /* 1890 */
- 124, 124, 124, 102, 103, 124, 124, 106, 107, 108,
- /* 1900 */
- 124, 110, 124, 86, 91, 92, 124, 90, 124, 124,
- /* 1910 */
- 93, 94, 124, 124, 101, 124, 124, 104, 105, 102,
- /* 1920 */
- 103, 124, 86, 106, 107, 108, 90, 110, 124, 93,
- /* 1930 */
- 94, 118, 124, 124, 124, 124, 124, 124, 102, 103,
- /* 1940 */
- 124, 124, 106, 107, 108, 86, 110, 124, 124, 90,
- /* 1950 */
- 124, 124, 93, 94, 124, 124, 124, 124, 124, 124,
- /* 1960 */
- 124, 102, 103, 124, 86, 106, 107, 108, 90, 110,
- /* 1970 */
- 124, 93, 94, 124, 124, 124, 124, 124, 124, 124,
- /* 1980 */
- 102, 103, 124, 124, 106, 107, 108, 124, 110, 124,
- /* 1990 */
- 86, 124, 124, 124, 90, 124, 124, 93, 94, 124,
- /* 2000 */
- 124, 124, 124, 124, 124, 124, 102, 103, 124, 86,
- /* 2010 */
- 106, 107, 108, 90, 110, 124, 93, 94, 124, 124,
- /* 2020 */
- 124, 124, 124, 124, 124, 102, 103, 124, 124, 106,
- /* 2030 */
- 107, 108, 86, 110, 124, 124, 90, 124, 124, 93,
- /* 2040 */
- 94, 124, 124, 124, 124, 124, 124, 124, 102, 103,
- /* 2050 */
- 124, 86, 106, 107, 108, 90, 110, 124, 93, 94,
- /* 2060 */
- 124, 124, 124, 124, 124, 124, 124, 102, 103, 124,
- /* 2070 */
- 124, 106, 107, 108, 124, 110, 124, 86, 124, 124,
- /* 2080 */
- 124, 90, 124, 124, 93, 94, 124, 124, 124, 124,
- /* 2090 */
- 124, 124, 124, 102, 103, 124, 86, 106, 107, 108,
- /* 2100 */
- 90, 110, 124, 93, 94, 124, 124, 124, 124, 124,
- /* 2110 */
- 124, 124, 102, 103, 124, 124, 106, 107, 108, 86,
- /* 2120 */
- 110, 124, 124, 90, 124, 124, 93, 94, 124, 124,
- /* 2130 */
- 124, 124, 124, 124, 124, 102, 103, 124, 86, 106,
- /* 2140 */
- 107, 108, 90, 110, 124, 93, 94, 124, 124, 124,
- /* 2150 */
- 124, 124, 124, 124, 102, 103, 124, 124, 106, 107,
- /* 2160 */
- 108, 124, 110, 124, 86, 124, 124, 124, 90, 124,
- /* 2170 */
- 124, 93, 94, 124, 124, 124, 124, 124, 124, 124,
- /* 2180 */
- 102, 103, 124, 86, 106, 107, 108, 90, 110, 124,
- /* 2190 */
- 93, 94, 124, 124, 124, 124, 124, 124, 124, 102,
- /* 2200 */
- 103, 124, 124, 106, 107, 108, 86, 110, 124, 124,
- /* 2210 */
- 90, 124, 124, 93, 94, 124, 124, 124, 124, 124,
- /* 2220 */
- 124, 124, 102, 103, 124, 86, 106, 107, 108, 90,
- /* 2230 */
- 110, 124, 93, 94, 124, 124, 124, 124, 124, 124,
- /* 2240 */
- 124, 102, 103, 124, 124, 106, 107, 108, 124, 110,
- /* 2250 */
- 124, 86, 124, 124, 124, 90, 124, 124, 93, 94,
- /* 2260 */
- 124, 124, 124, 124, 124, 124, 124, 102, 103, 124,
- /* 2270 */
- 86, 106, 107, 108, 90, 110, 124, 93, 94, 124,
- /* 2280 */
- 124, 124, 124, 124, 124, 124, 102, 103, 124, 124,
- /* 2290 */
- 106, 107, 108, 86, 110, 124, 124, 90, 124, 124,
- /* 2300 */
- 93, 94, 124, 124, 124, 124, 124, 124, 124, 102,
- /* 2310 */
- 103, 124, 86, 106, 107, 108, 90, 110, 124, 93,
- /* 2320 */
- 94, 124, 124, 124, 124, 124, 124, 124, 102, 103,
- /* 2330 */
- 124, 124, 106, 107, 108, 124, 110, 124, 86, 124,
- /* 2340 */
- 124, 124, 90, 124, 124, 93, 94, 124, 124, 124,
- /* 2350 */
- 124, 124, 124, 124, 102, 103, 124, 11, 106, 107,
- /* 2360 */
- 108, 124, 110, 124, 18, 124, 124, 124, 124, 23,
- /* 2370 */
- 24, 11, 124, 124, 124, 29, 124, 124, 18, 33,
- /* 2380 */
- 124, 35, 124, 23, 24, 124, 124, 124, 124, 29,
- /* 2390 */
- 124, 124, 124, 33, 124, 35, 86, 124, 124, 124,
- /* 2400 */
- 90, 124, 124, 93, 94, 124, 124, 124, 124, 124,
- /* 2410 */
- 124, 124, 102, 103, 124, 124, 106, 107, 108, 124,
- /* 2420 */
- 110, 124, 124, 124, 124, 79, 80, 81, 124, 86,
- /* 2430 */
- 124, 124, 124, 90, 124, 124, 93, 94, 124, 79,
- /* 2440 */
- 80, 81, 124, 124, 124, 102, 103, 124, 124, 106,
- /* 2450 */
- 107, 108, 124, 110, 124, 124, 86, 124, 124, 124,
- /* 2460 */
- 90, 124, 124, 93, 94, 124, 124, 124, 124, 124,
- /* 2470 */
- 124, 124, 102, 103, 124, 124, 106, 107, 108, 124,
- /* 2480 */
- 110, 124, 86, 124, 124, 124, 90, 124, 124, 93,
- /* 2490 */
- 94, 124, 124, 124, 124, 124, 124, 124, 102, 103,
- /* 2500 */
- 124, 124, 106, 107, 108, 86, 110, 124, 124, 90,
- /* 2510 */
- 124, 124, 93, 94, 124, 124, 86, 124, 124, 124,
- /* 2520 */
- 90, 102, 103, 93, 94, 106, 107, 108, 124, 110,
- /* 2530 */
- 124, 124, 102, 103, 124, 124, 106, 107, 108, 124,
- /* 2540 */
- 110,
- );
- const YY_SHIFT_USE_DFLT = - 39;
- const YY_SHIFT_MAX = 259;
- static public $yy_shift_ofst = array(
- /* 0 */
- 1, 1097, 1271, 1097, 981, 1271, 981, 981, 923, 865,
- /* 10 */
- 923, 981, 981, 981, 981, 981, 981, 981, 981, 981,
- /* 20 */
- 981, 981, 1213, 981, 981, 981, 1155, 1329, 981, 981,
- /* 30 */
- 981, 981, 981, 981, 981, 981, 981, 981, 981, 981,
- /* 40 */
- 981, 1155, 981, 981, 1039, 1039, 1445, 1387, 1387, 1387,
- /* 50 */
- 1387, 1387, 1387, - 1, 53, 107, 107, 107, 107, 107,
- /* 60 */
- 539, 431, 701, 161, 377, 269, 647, 485, 593, 215,
- /* 70 */
- 323, 755, 755, 755, 755, 755, 755, 755, 755, 755,
- /* 80 */
- 755, 755, 755, 755, 755, 755, 755, 755, 755, 755,
- /* 90 */
- 797, 797, 1279, 56, 190, 1, 2346, 977, 1034, 3,
- /* 100 */
- 3, 137, 137, 190, 190, 286, 798, 404, 365, 2360,
- /* 110 */
- 25, 162, 57, 121, 70, 154, 16, 327, 198, 231,
- /* 120 */
- 114, 193, 417, 391, 360, 363, 363, 339, 502, 363,
- /* 130 */
- 365, 363, 365, 386, 339, 444, 470, 49, 444, 435,
- /* 140 */
- 49, 363, 363, 363, 363, 363, 31, 554, 31, 31,
- /* 150 */
- 554, 31, 31, 31, 31, 31, 31, - 39, 177, 168,
- /* 160 */
- 49, 49, 49, 49, 49, 49, 49, 49, - 38, - 38,
- /* 170 */
- - 38, 270, - 38, 49, 49, 49, 49, 49, 49, - 38,
- /* 180 */
- 270, - 38, 237, 49, 49, 49, - 38, 49, 49, 49,
- /* 190 */
- 584, 554, 554, 31, 566, 566, 60, 554, 31, 454,
- /* 200 */
- 31, 31, 60, 31, - 39, - 39, - 39, - 39, - 39, 1483,
- /* 210 */
- 1281, 106, 45, 157, 138, - 37, 80, 241, 418, 342,
- /* 220 */
- 331, 212, 185, 330, 185, 289, 552, 541, 526, 525,
- /* 230 */
- 521, 523, 524, 527, 529, 567, 551, 532, 531, 483,
- /* 240 */
- 547, 503, 518, 436, 454, 465, 406, 397, 419, 423,
- /* 250 */
- 471, 388, 475, 455, 500, 499, 497, 450, 488, 495,
- );
- const YY_REDUCE_USE_DFLT = - 99;
- const YY_REDUCE_MAX = 208;
- static public $yy_reduce_ofst = array(
- /* 0 */
- 30, 1449, 1575, 1552, 1523, 1481, 1504, 1598, 1836, 2010,
- /* 10 */
- 1991, 1791, 1685, 1643, 1704, 1749, 2033, 2078, 2310, 2419,
- /* 20 */
- 2139, 2207, 2252, 2343, 2370, 1772, 1617, 1946, 1904, 2184,
- /* 30 */
- 1923, 1878, 1859, 1965, 2052, 1662, 1817, 1730, 2097, 2396,
- /* 40 */
- 2430, 2120, 2165, 2226, 869, 805, 985, 925, 884, 979,
- /* 50 */
- 1099, 1041, 1157, 1639, 1233, 1639, 1336, 1278, 1726, 1813,
- /* 60 */
- - 87, - 87, - 87, - 87, - 87, - 87, - 87, - 87, - 87, - 87,
- /* 70 */
- - 87, - 87, - 87, - 87, - 87, - 87, - 87, - 87, - 87, - 87,
- /* 80 */
- - 87, - 87, - 87, - 87, - 87, - 87, - 87, - 87, - 87, - 87,
- /* 90 */
- - 87, - 87, 18, 207, 153, 136, 155, 827, 872, 804,
- /* 100 */
- 826, 261, 316, 369, 315, 839, 188, 210, 179, 372,
- /* 110 */
- 189, 189, 189, 505, 299, 326, 128, 128, 189, 299,
- /* 120 */
- 299, 189, 507, 453, 242, 344, 243, 84, 128, 452,
- /* 130 */
- 291, 399, 345, 189, 380, 613, 453, 421, 453, 368,
- /* 140 */
- 367, 560, 453, 559, 561, 290, 189, 128, 213, 189,
- /* 150 */
- 181, 189, 189, 189, 189, 189, 189, 189, 484, 479,
- /* 160 */
- 472, 472, 472, 472, 472, 472, 472, 472, 462, 462,
- /* 170 */
- 462, 464, 462, 472, 472, 472, 472, 472, 472, 462,
- /* 180 */
- 467, 462, 466, 472, 472, 472, 462, 472, 472, 472,
- /* 190 */
- 511, 486, 486, - 98, 501, 506, 236, 486, - 98, 468,
- /* 200 */
- - 98, - 98, 236, - 98, 227, - 27, 197, 33, 90,
- );
- static public $yyExpectedTokens = array(
- /* 0 */
- array(4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 23, 24, 29, 33, 35,),
- /* 1 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 2 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 3 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 4 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 5 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 6 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 7 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 8 */
- array(18, 19, 20, 23, 24, 29, 33, 34, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 9 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 66, 79,),
- /* 10 */
- array(18, 19, 20, 23, 24, 29, 33, 34, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 11 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 12 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 13 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 14 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 15 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 16 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 17 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 18 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 19 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 20 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 21 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 22 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 23 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 24 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 25 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 26 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 27 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 28 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 29 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 30 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 31 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 32 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 33 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 34 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 35 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 36 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 37 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 38 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 39 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 40 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 41 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 42 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 43 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 44 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 45 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 65, 79,),
- /* 46 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 79,),
- /* 47 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 79,),
- /* 48 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 79,),
- /* 49 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 79,),
- /* 50 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 79,),
- /* 51 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 79,),
- /* 52 */
- array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 64, 79,),
- /* 53 */
- array(1, 3, 30, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 54 */
- array(1, 28, 30, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 55 */
- array(1, 30, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 56 */
- array(1, 30, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 57 */
- array(1, 30, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 58 */
- array(1, 30, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 59 */
- array(1, 30, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 60 */
- array(1, 3, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 61 */
- array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 80,),
- /* 62 */
- array(1, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 63 */
- array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 64 */
- array(1, 3, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 65 */
- array(1, 3, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 66 */
- array(1, 2, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 67 */
- array(1, 25, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 68 */
- array(1, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 69 */
- array(1, 31, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 70 */
- array(1, 3, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 71 */
- array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 72 */
- array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 73 */
- array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 74 */
- array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 75 */
- array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 76 */
- array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 77 */
- array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 78 */
- array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 79 */
- array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 80 */
- array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 81 */
- array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 82 */
- array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 83 */
- array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 84 */
- array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 85 */
- array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 86 */
- array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 87 */
- array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 88 */
- array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 89 */
- array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 90 */
- array(41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 91 */
- array(41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,),
- /* 92 */
- array(1, 3, 22, 30, 36, 39, 62,),
- /* 93 */
- array(1, 3, 30, 36, 55,),
- /* 94 */
- array(1, 30, 36,),
- /* 95 */
- array(4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 23, 24, 29, 33, 35,),
- /* 96 */
- array(11, 18, 23, 24, 29, 33, 35, 79, 80, 81,),
- /* 97 */
- array(18, 20, 30, 32, 36,),
- /* 98 */
- array(18, 20, 30, 32, 36,),
- /* 99 */
- array(18, 20, 30, 36,),
- /* 100 */
- array(18, 20, 30, 36,),
- /* 101 */
- array(1, 3, 30, 36,),
- /* 102 */
- array(1, 3, 30, 36,),
- /* 103 */
- array(1, 30, 36,),
- /* 104 */
- array(1, 30, 36,),
- /* 105 */
- array(19, 20, 64,),
- /* 106 */
- array(22, 60, 65,),
- /* 107 */
- array(1, 2,),
- /* 108 */
- array(19, 39,),
- /* 109 */
- array(11, 18, 23, 24, 29, 33, 35, 79, 80, 81,),
- /* 110 */
- array(1, 3, 30, 31, 36, 55,),
- /* 111 */
- array(1, 3, 30, 36, 55,),
- /* 112 */
- array(1, 3, 30, 36, 55,),
- /* 113 */
- array(18, 20, 21, 26,),
- /* 114 */
- array(18, 20, 21, 63,),
- /* 115 */
- array(15, 16, 17,),
- /* 116 */
- array(21, 22, 62,),
- /* 117 */
- array(21, 22, 62,),
- /* 118 */
- array(1, 3, 55,),
- /* 119 */
- array(18, 20, 63,),
- /* 120 */
- array(18, 20, 21,),
- /* 121 */
- array(1, 32, 55,),
- /* 122 */
- array(18, 20,),
- /* 123 */
- array(18, 20,),
- /* 124 */
- array(1, 22,),
- /* 125 */
- array(18, 20,),
- /* 126 */
- array(18, 20,),
- /* 127 */
- array(19, 20,),
- /* 128 */
- array(22, 62,),
- /* 129 */
- array(18, 20,),
- /* 130 */
- array(19, 39,),
- /* 131 */
- array(18, 20,),
- /* 132 */
- array(19, 39,),
- /* 133 */
- array(1, 55,),
- /* 134 */
- array(19, 20,),
- /* 135 */
- array(18, 20,),
- /* 136 */
- array(18, 20,),
- /* 137 */
- array(30, 36,),
- /* 138 */
- array(18, 20,),
- /* 139 */
- array(30, 36,),
- /* 140 */
- array(30, 36,),
- /* 141 */
- array(18, 20,),
- /* 142 */
- array(18, 20,),
- /* 143 */
- array(18, 20,),
- /* 144 */
- array(18, 20,),
- /* 145 */
- array(18, 20,),
- /* 146 */
- array(1,),
- /* 147 */
- array(22,),
- /* 148 */
- array(1,),
- /* 149 */
- array(1,),
- /* 150 */
- array(22,),
- /* 151 */
- array(1,),
- /* 152 */
- array(1,),
- /* 153 */
- array(1,),
- /* 154 */
- array(1,),
- /* 155 */
- array(1,),
- /* 156 */
- array(1,),
- /* 157 */
- array(),
- /* 158 */
- array(18, 20, 63,),
- /* 159 */
- array(18, 19, 20,),
- /* 160 */
- array(30, 36,),
- /* 161 */
- array(30, 36,),
- /* 162 */
- array(30, 36,),
- /* 163 */
- array(30, 36,),
- /* 164 */
- array(30, 36,),
- /* 165 */
- array(30, 36,),
- /* 166 */
- array(30, 36,),
- /* 167 */
- array(30, 36,),
- /* 168 */
- array(60, 65,),
- /* 169 */
- array(60, 65,),
- /* 170 */
- array(60, 65,),
- /* 171 */
- array(60, 65,),
- /* 172 */
- array(60, 65,),
- /* 173 */
- array(30, 36,),
- /* 174 */
- array(30, 36,),
- /* 175 */
- array(30, 36,),
- /* 176 */
- array(30, 36,),
- /* 177 */
- array(30, 36,),
- /* 178 */
- array(30, 36,),
- /* 179 */
- array(60, 65,),
- /* 180 */
- array(60, 65,),
- /* 181 */
- array(60, 65,),
- /* 182 */
- array(18, 39,),
- /* 183 */
- array(30, 36,),
- /* 184 */
- array(30, 36,),
- /* 185 */
- array(30, 36,),
- /* 186 */
- array(60, 65,),
- /* 187 */
- array(30, 36,),
- /* 188 */
- array(30, 36,),
- /* 189 */
- array(30, 36,),
- /* 190 */
- array(16,),
- /* 191 */
- array(22,),
- /* 192 */
- array(22,),
- /* 193 */
- array(1,),
- /* 194 */
- array(30,),
- /* 195 */
- array(30,),
- /* 196 */
- array(2,),
- /* 197 */
- array(22,),
- /* 198 */
- array(1,),
- /* 199 */
- array(39,),
- /* 200 */
- array(1,),
- /* 201 */
- array(1,),
- /* 202 */
- array(2,),
- /* 203 */
- array(1,),
- /* 204 */
- array(),
- /* 205 */
- array(),
- /* 206 */
- array(),
- /* 207 */
- array(),
- /* 208 */
- array(),
- /* 209 */
- array(3, 25, 27, 28, 30, 31, 36, 38, 39, 40, 55, 62, 66, 80,),
- /* 210 */
- array(3, 21, 30, 36, 39, 62,),
- /* 211 */
- array(39, 60, 62, 66,),
- /* 212 */
- array(18, 19, 20, 37,),
- /* 213 */
- array(32, 39, 62,),
- /* 214 */
- array(26, 80,),
- /* 215 */
- array(38, 40,),
- /* 216 */
- array(38, 66,),
- /* 217 */
- array(38, 40,),
- /* 218 */
- array(25, 38,),
- /* 219 */
- array(21, 60,),
- /* 220 */
- array(3, 26,),
- /* 221 */
- array(38, 40,),
- /* 222 */
- array(39, 62,),
- /* 223 */
- array(2, 21,),
- /* 224 */
- array(39, 62,),
- /* 225 */
- array(20, 63,),
- /* 226 */
- array(20,),
- /* 227 */
- array(3,),
- /* 228 */
- array(20,),
- /* 229 */
- array(20,),
- /* 230 */
- array(20,),
- /* 231 */
- array(2,),
- /* 232 */
- array(19,),
- /* 233 */
- array(20,),
- /* 234 */
- array(19,),
- /* 235 */
- array(3,),
- /* 236 */
- array(20,),
- /* 237 */
- array(37,),
- /* 238 */
- array(37,),
- /* 239 */
- array(66,),
- /* 240 */
- array(20,),
- /* 241 */
- array(20,),
- /* 242 */
- array(3,),
- /* 243 */
- array(56,),
- /* 244 */
- array(39,),
- /* 245 */
- array(2,),
- /* 246 */
- array(60,),
- /* 247 */
- array(39,),
- /* 248 */
- array(19,),
- /* 249 */
- array(40,),
- /* 250 */
- array(20,),
- /* 251 */
- array(26,),
- /* 252 */
- array(19,),
- /* 253 */
- array(64,),
- /* 254 */
- array(20,),
- /* 255 */
- array(19,),
- /* 256 */
- array(20,),
- /* 257 */
- array(64,),
- /* 258 */
- array(27,),
- /* 259 */
- array(21,),
- /* 260 */
- array(),
- /* 261 */
- array(),
- /* 262 */
- array(),
- /* 263 */
- array(),
- /* 264 */
- array(),
- /* 265 */
- array(),
- /* 266 */
- array(),
- /* 267 */
- array(),
- /* 268 */
- array(),
- /* 269 */
- array(),
- /* 270 */
- array(),
- /* 271 */
- array(),
- /* 272 */
- array(),
- /* 273 */
- array(),
- /* 274 */
- array(),
- /* 275 */
- array(),
- /* 276 */
- array(),
- /* 277 */
- array(),
- /* 278 */
- array(),
- /* 279 */
- array(),
- /* 280 */
- array(),
- /* 281 */
- array(),
- /* 282 */
- array(),
- /* 283 */
- array(),
- /* 284 */
- array(),
- /* 285 */
- array(),
- /* 286 */
- array(),
- /* 287 */
- array(),
- /* 288 */
- array(),
- /* 289 */
- array(),
- /* 290 */
- array(),
- /* 291 */
- array(),
- /* 292 */
- array(),
- /* 293 */
- array(),
- /* 294 */
- array(),
- /* 295 */
- array(),
- /* 296 */
- array(),
- /* 297 */
- array(),
- /* 298 */
- array(),
- /* 299 */
- array(),
- /* 300 */
- array(),
- /* 301 */
- array(),
- /* 302 */
- array(),
- /* 303 */
- array(),
- /* 304 */
- array(),
- /* 305 */
- array(),
- /* 306 */
- array(),
- /* 307 */
- array(),
- /* 308 */
- array(),
- /* 309 */
- array(),
- /* 310 */
- array(),
- /* 311 */
- array(),
- /* 312 */
- array(),
- /* 313 */
- array(),
- /* 314 */
- array(),
- /* 315 */
- array(),
- /* 316 */
- array(),
- /* 317 */
- array(),
- /* 318 */
- array(),
- /* 319 */
- array(),
- /* 320 */
- array(),
- /* 321 */
- array(),
- /* 322 */
- array(),
- /* 323 */
- array(),
- /* 324 */
- array(),
- /* 325 */
- array(),
- /* 326 */
- array(),
- /* 327 */
- array(),
- /* 328 */
- array(),
- /* 329 */
- array(),
- /* 330 */
- array(),
- /* 331 */
- array(),
- /* 332 */
- array(),
- /* 333 */
- array(),
- /* 334 */
- array(),
- /* 335 */
- array(),
- /* 336 */
- array(),
- /* 337 */
- array(),
- /* 338 */
- array(),
- /* 339 */
- array(),
- /* 340 */
- array(),
- /* 341 */
- array(),
- /* 342 */
- array(),
- /* 343 */
- array(),
- /* 344 */
- array(),
- /* 345 */
- array(),
- /* 346 */
- array(),
- /* 347 */
- array(),
- /* 348 */
- array(),
- /* 349 */
- array(),
- /* 350 */
- array(),
- /* 351 */
- array(),
- /* 352 */
- array(),
- /* 353 */
- array(),
- /* 354 */
- array(),
- /* 355 */
- array(),
- /* 356 */
- array(),
- /* 357 */
- array(),
- );
- static public $yy_default = array(
- /* 0 */
- 361, 541, 558, 558, 512, 558, 512, 512, 558, 558,
- /* 10 */
- 558, 558, 558, 558, 558, 558, 558, 558, 558, 558,
- /* 20 */
- 558, 558, 558, 558, 558, 558, 558, 558, 558, 558,
- /* 30 */
- 558, 558, 558, 558, 558, 558, 558, 558, 558, 558,
- /* 40 */
- 558, 558, 558, 558, 558, 558, 558, 558, 558, 558,
- /* 50 */
- 558, 558, 558, 558, 418, 418, 418, 418, 387, 395,
- /* 60 */
- 558, 558, 558, 558, 558, 558, 558, 558, 558, 423,
- /* 70 */
- 558, 428, 425, 510, 423, 429, 511, 543, 444, 542,
- /* 80 */
- 447, 448, 443, 442, 439, 452, 544, 420, 451, 400,
- /* 90 */
- 456, 455, 467, 431, 418, 358, 558, 418, 418, 418,
- /* 100 */
- 418, 438, 475, 418, 418, 558, 524, 409, 558, 558,
- /* 110 */
- 431, 431, 431, 558, 485, 558, 476, 476, 431, 485,
- /* 120 */
- 485, 431, 558, 558, 412, 558, 485, 558, 476, 558,
- /* 130 */
- 558, 558, 558, 431, 558, 558, 558, 397, 558, 418,
- /* 140 */
- 418, 558, 558, 558, 558, 558, 441, 476, 414, 434,
- /* 150 */
- 521, 436, 435, 460, 459, 458, 454, 519, 486, 558,
- /* 160 */
- 385, 384, 405, 404, 389, 406, 399, 388, 505, 483,
- /* 170 */
- 482, 481, 480, 407, 408, 383, 398, 403, 402, 504,
- /* 180 */
- 479, 502, 485, 393, 392, 390, 503, 382, 396, 394,
- /* 190 */
- 378, 525, 522, 475, 557, 557, 513, 499, 438, 485,
- /* 200 */
- 413, 410, 514, 415, 518, 485, 518, 485, 518, 433,
- /* 210 */
- 467, 467, 558, 467, 457, 558, 558, 558, 558, 463,
- /* 220 */
- 457, 558, 453, 497, 467, 558, 558, 558, 558, 558,
- /* 230 */
- 558, 497, 558, 558, 558, 558, 558, 465, 558, 558,
- /* 240 */
- 558, 558, 558, 469, 497, 497, 463, 523, 558, 558,
- /* 250 */
- 558, 457, 558, 558, 558, 558, 558, 558, 426, 558,
- /* 260 */
- 477, 520, 495, 507, 490, 508, 487, 374, 498, 484,
- /* 270 */
- 556, 364, 363, 365, 461, 366, 472, 466, 360, 359,
- /* 280 */
- 462, 362, 464, 367, 430, 401, 469, 372, 373, 419,
- /* 290 */
- 432, 427, 368, 369, 370, 371, 433, 470, 445, 497,
- /* 300 */
- 446, 496, 450, 449, 500, 517, 545, 474, 552, 411,
- /* 310 */
- 501, 478, 553, 526, 534, 533, 535, 536, 437, 537,
- /* 320 */
- 532, 417, 528, 527, 529, 530, 531, 546, 547, 515,
- /* 330 */
- 506, 375, 376, 509, 377, 516, 468, 494, 489, 492,
- /* 340 */
- 491, 493, 379, 380, 555, 548, 554, 551, 550, 549,
- /* 350 */
- 440, 416, 473, 471, 539, 540, 538, 488,
- );
- const YYNOCODE = 125;
+
+ const TP_PHP = 3;
+
+ const TP_NOCACHE = 4;
+
+ const TP_TEXT = 5;
+
+ const TP_STRIPON = 6;
+
+ const TP_STRIPOFF = 7;
+
+ const TP_LITERALSTART = 8;
+
+ const TP_LITERALEND = 9;
+
+ const TP_LITERAL = 10;
+
+ const TP_RDEL = 11;
+
+ const TP_SIMPELOUTPUT = 12;
+
+ const TP_LDEL = 13;
+
+ const TP_DOLLARID = 14;
+
+ const TP_EQUAL = 15;
+
+ const TP_SIMPLETAG = 16;
+
+ const TP_ID = 17;
+
+ const TP_PTR = 18;
+
+ const TP_LDELIF = 19;
+
+ const TP_LDELFOR = 20;
+
+ const TP_SEMICOLON = 21;
+
+ const TP_INCDEC = 22;
+
+ const TP_TO = 23;
+
+ const TP_STEP = 24;
+
+ const TP_LDELFOREACH = 25;
+
+ const TP_SPACE = 26;
+
+ const TP_AS = 27;
+
+ const TP_APTR = 28;
+
+ const TP_LDELSETFILTER = 29;
+
+ const TP_SMARTYBLOCKCHILDPARENT = 30;
+
+ const TP_CLOSETAG = 31;
+
+ const TP_LDELSLASH = 32;
+
+ const TP_ATTR = 33;
+
+ const TP_INTEGER = 34;
+
+ const TP_COMMA = 35;
+
+ const TP_OPENP = 36;
+
+ const TP_CLOSEP = 37;
+
+ const TP_MATH = 38;
+
+ const TP_UNIMATH = 39;
+
+ const TP_ISIN = 40;
+
+ const TP_INSTANCEOF = 41;
+
+ const TP_QMARK = 42;
+
+ const TP_NOT = 43;
+
+ const TP_TYPECAST = 44;
+
+ const TP_HEX = 45;
+
+ const TP_DOT = 46;
+
+ const TP_SINGLEQUOTESTRING = 47;
+
+ const TP_DOUBLECOLON = 48;
+
+ const TP_NAMESPACE = 49;
+
+ const TP_AT = 50;
+
+ const TP_HATCH = 51;
+
+ const TP_OPENB = 52;
+
+ const TP_CLOSEB = 53;
+
+ const TP_DOLLAR = 54;
+
+ const TP_LOGOP = 55;
+
+ const TP_TLOGOP = 56;
+
+ const TP_SINGLECOND = 57;
+
+ const TP_QUOTE = 58;
+
+ const TP_BACKTICK = 59;
+
+ const YY_NO_ACTION = 535;
+
+ const YY_ACCEPT_ACTION = 534;
+
+ const YY_ERROR_ACTION = 533;
+
+ const YY_SZ_ACTTAB = 2082;
+
+ static public $yy_action = array(278, 8, 134, 451, 281, 68, 207, 7, 85, 248, 29, 98, 168, 114, 252, 451, 367, 230,
+ 315, 245, 235, 249, 233, 36, 28, 145, 38, 42, 140, 36, 27, 39, 41, 322, 222, 300,
+ 27, 213, 195, 82, 1, 31, 265, 92, 164, 181, 53, 278, 8, 133, 97, 281, 201, 249, 7,
+ 85, 35, 307, 35, 307, 114, 226, 227, 215, 230, 108, 245, 235, 265, 208, 195, 28,
+ 195, 5, 42, 184, 268, 277, 39, 41, 322, 222, 218, 258, 213, 120, 82, 1, 333, 265,
+ 181, 175, 3, 53, 278, 8, 135, 105, 281, 206, 249, 7, 85, 35, 307, 207, 24, 114, 16,
+ 103, 305, 230, 17, 245, 235, 404, 233, 195, 28, 288, 15, 42, 96, 265, 20, 39, 41,
+ 322, 222, 300, 404, 213, 450, 82, 1, 6, 265, 404, 52, 113, 53, 278, 8, 135, 450,
+ 281, 206, 289, 7, 85, 261, 463, 228, 244, 114, 122, 296, 463, 230, 102, 245, 235,
+ 236, 198, 182, 28, 262, 122, 42, 143, 274, 102, 39, 41, 322, 222, 300, 33, 213,
+ 314, 82, 1, 274, 265, 207, 86, 311, 53, 278, 8, 136, 195, 281, 206, 362, 7, 85,
+ 283, 285, 287, 229, 114, 33, 228, 309, 230, 326, 245, 235, 36, 233, 291, 28, 479,
+ 479, 42, 27, 147, 479, 39, 41, 322, 222, 300, 159, 213, 249, 82, 1, 193, 265, 94,
+ 169, 249, 53, 278, 8, 135, 251, 281, 197, 249, 7, 85, 248, 29, 91, 150, 114, 252,
+ 193, 479, 230, 207, 245, 235, 249, 233, 195, 28, 288, 191, 42, 407, 450, 207, 39,
+ 41, 322, 222, 300, 179, 213, 195, 82, 1, 450, 265, 407, 52, 249, 53, 278, 8, 135,
+ 407, 281, 204, 195, 7, 85, 313, 251, 93, 155, 114, 226, 225, 12, 230, 108, 245,
+ 235, 249, 233, 247, 28, 479, 479, 42, 282, 189, 479, 39, 41, 322, 222, 300, 161,
+ 213, 195, 82, 1, 25, 265, 103, 177, 249, 53, 278, 8, 132, 142, 281, 206, 249, 7,
+ 85, 195, 244, 34, 249, 114, 103, 193, 103, 230, 251, 245, 235, 207, 233, 289, 4,
+ 237, 113, 42, 228, 146, 138, 39, 41, 322, 222, 300, 10, 213, 249, 82, 1, 148, 265,
+ 251, 113, 99, 53, 278, 8, 137, 251, 281, 206, 288, 7, 85, 294, 103, 186, 246, 114,
+ 237, 335, 33, 230, 319, 245, 235, 329, 233, 255, 23, 52, 331, 42, 188, 246, 264,
+ 39, 41, 322, 222, 300, 167, 213, 138, 82, 1, 34, 265, 288, 10, 249, 53, 278, 8,
+ 135, 153, 281, 199, 207, 7, 85, 234, 226, 250, 249, 114, 108, 193, 190, 230, 308,
+ 245, 235, 337, 209, 232, 28, 128, 160, 42, 128, 193, 207, 39, 41, 322, 222, 300,
+ 11, 213, 463, 82, 1, 158, 265, 27, 463, 108, 53, 278, 8, 137, 176, 281, 206, 180,
+ 7, 85, 220, 14, 276, 249, 114, 269, 207, 172, 230, 251, 245, 235, 106, 233, 286,
+ 23, 407, 115, 42, 259, 193, 141, 39, 41, 322, 222, 300, 267, 213, 312, 82, 407,
+ 144, 265, 207, 207, 38, 53, 407, 187, 246, 272, 273, 271, 270, 266, 184, 318, 207,
+ 13, 278, 8, 22, 242, 281, 2, 173, 7, 85, 36, 84, 265, 19, 114, 6, 156, 27, 230,
+ 137, 245, 235, 223, 217, 304, 249, 237, 248, 29, 228, 214, 163, 252, 119, 66, 112,
+ 40, 43, 37, 102, 249, 126, 298, 260, 265, 192, 212, 297, 301, 284, 274, 295, 170,
+ 324, 257, 256, 82, 304, 185, 265, 211, 302, 228, 214, 336, 221, 123, 73, 112, 166,
+ 334, 183, 102, 248, 29, 298, 260, 253, 252, 212, 297, 301, 275, 274, 279, 195, 304,
+ 36, 294, 165, 205, 228, 214, 171, 27, 123, 58, 109, 225, 117, 251, 102, 139, 149,
+ 298, 260, 89, 151, 212, 297, 301, 304, 274, 301, 181, 157, 228, 214, 248, 29, 123,
+ 73, 112, 252, 249, 87, 102, 35, 307, 298, 260, 88, 36, 212, 297, 301, 174, 274, 90,
+ 27, 304, 195, 95, 301, 216, 228, 214, 301, 301, 123, 46, 109, 110, 301, 301, 102,
+ 301, 207, 298, 260, 450, 405, 212, 297, 301, 231, 274, 401, 301, 304, 238, 301,
+ 450, 301, 228, 214, 405, 327, 119, 66, 112, 301, 36, 405, 102, 301, 450, 298, 260,
+ 27, 301, 212, 297, 301, 304, 274, 301, 301, 450, 228, 214, 301, 301, 123, 73, 112,
+ 303, 301, 301, 102, 301, 301, 298, 260, 301, 301, 212, 297, 301, 137, 274, 301,
+ 254, 304, 301, 301, 301, 210, 228, 214, 248, 29, 123, 75, 112, 252, 301, 301, 102,
+ 301, 301, 298, 260, 301, 301, 212, 297, 301, 301, 274, 301, 301, 304, 301, 243,
+ 301, 82, 228, 214, 265, 301, 123, 60, 112, 301, 301, 301, 102, 241, 301, 298, 260,
+ 301, 301, 212, 297, 301, 304, 274, 301, 301, 301, 228, 214, 301, 301, 104, 71, 112,
+ 301, 301, 301, 102, 301, 301, 298, 260, 301, 301, 212, 297, 301, 301, 274, 301,
+ 301, 304, 301, 301, 301, 301, 228, 81, 301, 301, 83, 47, 107, 301, 301, 301, 102,
+ 301, 301, 298, 260, 301, 301, 212, 297, 301, 301, 274, 301, 301, 304, 301, 301,
+ 301, 301, 228, 214, 301, 301, 123, 76, 112, 301, 301, 301, 102, 301, 301, 298, 260,
+ 301, 301, 212, 297, 301, 304, 274, 301, 301, 301, 228, 214, 301, 301, 123, 67, 112,
+ 301, 301, 301, 102, 301, 301, 298, 260, 301, 301, 212, 297, 301, 301, 274, 301,
+ 301, 304, 301, 301, 301, 301, 228, 214, 301, 301, 123, 64, 112, 301, 301, 301, 102,
+ 301, 301, 298, 260, 301, 310, 212, 297, 301, 301, 274, 301, 278, 9, 299, 301, 281,
+ 301, 301, 7, 85, 301, 301, 301, 301, 114, 310, 301, 301, 230, 301, 245, 235, 278,
+ 9, 299, 301, 281, 301, 301, 7, 85, 301, 301, 301, 301, 114, 301, 301, 301, 230,
+ 301, 245, 235, 301, 301, 181, 154, 316, 21, 301, 181, 152, 301, 301, 301, 249, 304,
+ 301, 35, 307, 249, 228, 203, 35, 307, 123, 61, 112, 325, 21, 301, 102, 195, 301,
+ 298, 260, 301, 195, 212, 297, 301, 301, 274, 304, 301, 301, 181, 162, 228, 214,
+ 301, 301, 123, 62, 112, 301, 249, 301, 102, 35, 307, 298, 260, 301, 301, 212, 297,
+ 301, 301, 274, 301, 301, 304, 195, 207, 301, 301, 228, 214, 301, 301, 123, 65, 112,
+ 196, 301, 301, 102, 301, 301, 298, 260, 301, 301, 212, 297, 301, 301, 274, 304,
+ 301, 301, 301, 301, 228, 214, 301, 301, 123, 48, 112, 40, 43, 37, 102, 301, 301,
+ 298, 260, 301, 301, 212, 297, 301, 301, 274, 304, 301, 324, 257, 256, 228, 214,
+ 301, 301, 123, 63, 112, 301, 301, 301, 102, 18, 200, 298, 260, 292, 301, 212, 297,
+ 301, 301, 274, 301, 301, 304, 301, 207, 301, 301, 228, 202, 301, 293, 116, 59, 112,
+ 320, 301, 301, 102, 301, 301, 298, 260, 301, 301, 212, 297, 301, 301, 274, 304,
+ 265, 301, 301, 301, 228, 79, 301, 301, 83, 45, 107, 40, 43, 37, 102, 301, 301, 298,
+ 260, 301, 301, 212, 297, 301, 301, 274, 304, 301, 324, 257, 256, 228, 214, 301,
+ 301, 123, 58, 112, 301, 301, 301, 102, 301, 301, 298, 260, 301, 301, 212, 297, 301,
+ 301, 274, 301, 301, 304, 301, 207, 301, 301, 228, 214, 301, 301, 123, 72, 112, 40,
+ 43, 37, 102, 301, 301, 298, 260, 301, 301, 212, 297, 301, 301, 274, 304, 178, 324,
+ 257, 256, 228, 214, 301, 301, 123, 55, 112, 40, 43, 37, 102, 301, 301, 298, 260,
+ 301, 301, 212, 297, 301, 301, 274, 304, 301, 324, 257, 256, 228, 214, 301, 301,
+ 123, 54, 112, 301, 301, 301, 102, 301, 301, 298, 260, 301, 301, 212, 297, 301, 301,
+ 274, 301, 301, 304, 301, 207, 301, 301, 228, 214, 301, 301, 101, 77, 112, 280, 301,
+ 301, 102, 301, 301, 298, 260, 301, 301, 212, 297, 301, 301, 274, 304, 301, 301,
+ 301, 301, 228, 214, 301, 301, 123, 80, 112, 40, 43, 37, 102, 301, 301, 298, 260,
+ 301, 301, 212, 297, 301, 301, 274, 304, 301, 324, 257, 256, 228, 214, 301, 301,
+ 123, 56, 112, 301, 301, 301, 102, 301, 301, 298, 260, 301, 301, 212, 297, 301, 301,
+ 274, 301, 301, 304, 301, 207, 301, 301, 228, 214, 301, 301, 123, 70, 112, 194, 301,
+ 301, 102, 301, 301, 298, 260, 301, 301, 212, 297, 301, 301, 274, 304, 301, 301,
+ 301, 301, 228, 214, 301, 301, 123, 74, 112, 40, 43, 37, 102, 301, 301, 298, 260,
+ 301, 301, 212, 297, 301, 301, 274, 304, 301, 324, 257, 256, 228, 214, 301, 301,
+ 123, 49, 112, 301, 301, 301, 102, 301, 301, 298, 260, 301, 301, 212, 297, 301, 301,
+ 274, 301, 301, 304, 301, 207, 301, 301, 228, 214, 301, 301, 100, 57, 112, 301, 301,
+ 301, 102, 301, 301, 298, 260, 301, 301, 212, 297, 301, 301, 274, 304, 301, 301,
+ 301, 301, 228, 214, 301, 301, 123, 44, 112, 40, 43, 37, 102, 301, 301, 298, 260,
+ 301, 301, 212, 297, 301, 301, 274, 304, 301, 324, 257, 256, 228, 214, 301, 301,
+ 123, 69, 112, 301, 301, 301, 102, 301, 301, 298, 260, 301, 301, 212, 297, 301, 301,
+ 274, 301, 301, 304, 301, 301, 301, 301, 228, 214, 301, 301, 118, 50, 112, 301, 301,
+ 301, 102, 301, 301, 298, 260, 301, 301, 212, 297, 301, 301, 274, 304, 301, 301,
+ 301, 301, 228, 214, 301, 301, 123, 78, 112, 301, 301, 301, 102, 301, 301, 298, 260,
+ 207, 301, 212, 297, 301, 301, 274, 304, 301, 301, 359, 301, 228, 224, 301, 301,
+ 121, 301, 112, 301, 301, 288, 102, 301, 301, 36, 306, 301, 301, 212, 297, 301, 27,
+ 274, 301, 301, 304, 301, 301, 301, 52, 228, 224, 301, 301, 131, 301, 112, 301, 301,
+ 301, 102, 301, 301, 219, 321, 301, 301, 212, 297, 301, 301, 274, 219, 479, 479,
+ 301, 301, 301, 479, 463, 301, 301, 479, 479, 301, 30, 301, 479, 463, 417, 417, 301,
+ 301, 301, 301, 479, 479, 301, 207, 301, 479, 463, 301, 301, 301, 301, 301, 463,
+ 328, 463, 301, 479, 301, 463, 332, 207, 463, 301, 463, 288, 479, 301, 463, 36, 450,
+ 290, 417, 417, 417, 463, 27, 463, 301, 479, 301, 463, 450, 301, 52, 301, 36, 301,
+ 301, 417, 417, 417, 301, 27, 301, 301, 304, 301, 40, 43, 37, 228, 224, 301, 301,
+ 127, 301, 112, 301, 301, 301, 102, 301, 301, 301, 324, 257, 256, 212, 297, 301,
+ 301, 274, 301, 301, 304, 301, 301, 219, 301, 228, 224, 301, 301, 125, 301, 112,
+ 301, 479, 479, 102, 15, 301, 479, 463, 301, 301, 212, 297, 301, 301, 274, 534, 51,
+ 263, 285, 287, 229, 304, 301, 228, 301, 301, 228, 224, 207, 301, 124, 301, 112,
+ 301, 301, 463, 102, 463, 207, 479, 301, 463, 301, 212, 297, 301, 304, 274, 207,
+ 301, 301, 228, 224, 36, 301, 130, 301, 112, 301, 301, 27, 102, 301, 301, 301, 40,
+ 43, 37, 212, 297, 301, 32, 274, 36, 239, 40, 43, 37, 301, 301, 27, 301, 324, 257,
+ 256, 40, 43, 37, 301, 301, 301, 301, 324, 257, 256, 301, 301, 301, 301, 301, 304,
+ 301, 324, 257, 256, 228, 224, 301, 301, 129, 301, 112, 301, 301, 301, 102, 301,
+ 301, 26, 301, 301, 219, 212, 297, 301, 301, 274, 301, 479, 479, 301, 479, 479, 479,
+ 463, 207, 479, 463, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301,
+ 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 463, 301, 463, 463,
+ 479, 463, 463, 479, 207, 463, 40, 43, 37, 301, 301, 301, 301, 301, 301, 301, 301,
+ 301, 301, 301, 301, 301, 301, 324, 257, 256, 301, 330, 301, 301, 301, 301, 301,
+ 301, 301, 301, 301, 301, 301, 411, 301, 40, 43, 37, 207, 301, 301, 301, 301, 411,
+ 301, 411, 301, 207, 411, 301, 317, 301, 324, 257, 256, 411, 301, 411, 301, 411,
+ 301, 301, 301, 301, 301, 301, 301, 111, 237, 301, 301, 301, 301, 301, 323, 40, 43,
+ 37, 301, 207, 301, 301, 301, 301, 40, 43, 37, 301, 301, 373, 301, 301, 324, 257,
+ 256, 301, 240, 301, 301, 301, 301, 324, 257, 256, 36, 301, 301, 301, 301, 301, 301,
+ 27, 301, 301, 450, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 450,);
+
+ static public $yy_lookahead = array(12, 13, 14, 36, 16, 17, 1, 19, 20, 12, 13, 71, 72, 25, 17, 48, 11, 29, 30, 31,
+ 32, 81, 34, 26, 36, 28, 2, 39, 14, 26, 33, 43, 44, 45, 46, 47, 33, 49, 98, 51,
+ 52, 23, 54, 71, 72, 71, 58, 12, 13, 14, 36, 16, 17, 81, 19, 20, 84, 85, 84, 85,
+ 25, 75, 76, 77, 29, 79, 31, 32, 54, 34, 98, 36, 98, 36, 39, 8, 9, 10, 43, 44,
+ 45, 46, 47, 14, 49, 48, 51, 52, 53, 54, 71, 72, 35, 58, 12, 13, 14, 67, 16, 17,
+ 81, 19, 20, 84, 85, 1, 15, 25, 21, 18, 53, 29, 13, 31, 32, 11, 34, 98, 36, 22,
+ 15, 39, 35, 54, 28, 43, 44, 45, 46, 47, 26, 49, 36, 51, 52, 36, 54, 33, 41, 48,
+ 58, 12, 13, 14, 48, 16, 17, 64, 19, 20, 70, 46, 69, 99, 25, 75, 59, 52, 29, 79,
+ 31, 32, 70, 34, 71, 36, 86, 75, 39, 51, 90, 79, 43, 44, 45, 46, 47, 35, 49, 37,
+ 51, 52, 90, 54, 1, 102, 103, 58, 12, 13, 14, 98, 16, 17, 11, 19, 20, 63, 64, 65,
+ 66, 25, 35, 69, 37, 29, 34, 31, 32, 26, 34, 17, 36, 12, 13, 39, 33, 72, 17, 43,
+ 44, 45, 46, 47, 72, 49, 81, 51, 52, 98, 54, 71, 72, 81, 58, 12, 13, 14, 93, 16,
+ 17, 81, 19, 20, 12, 13, 71, 72, 25, 17, 98, 50, 29, 1, 31, 32, 81, 34, 98, 36,
+ 22, 71, 39, 11, 36, 1, 43, 44, 45, 46, 47, 72, 49, 98, 51, 52, 48, 54, 26, 41,
+ 81, 58, 12, 13, 14, 33, 16, 17, 98, 19, 20, 53, 93, 71, 72, 25, 75, 76, 15, 29,
+ 79, 31, 32, 81, 34, 22, 36, 12, 13, 39, 11, 71, 17, 43, 44, 45, 46, 47, 72, 49,
+ 98, 51, 52, 15, 54, 18, 72, 81, 58, 12, 13, 14, 72, 16, 17, 81, 19, 20, 98, 99,
+ 15, 81, 25, 18, 98, 18, 29, 93, 31, 32, 1, 34, 64, 36, 46, 48, 39, 69, 72, 46,
+ 43, 44, 45, 46, 47, 52, 49, 81, 51, 52, 91, 54, 93, 48, 80, 58, 12, 13, 14, 93,
+ 16, 17, 22, 19, 20, 92, 18, 94, 95, 25, 46, 103, 35, 29, 37, 31, 32, 53, 34, 17,
+ 36, 41, 53, 39, 94, 95, 95, 43, 44, 45, 46, 47, 72, 49, 46, 51, 52, 15, 54, 22,
+ 52, 81, 58, 12, 13, 14, 72, 16, 17, 1, 19, 20, 50, 75, 76, 81, 25, 79, 98, 80,
+ 29, 89, 31, 32, 89, 34, 18, 36, 96, 51, 39, 96, 98, 1, 43, 44, 45, 46, 47, 26,
+ 49, 46, 51, 52, 75, 54, 33, 52, 79, 58, 12, 13, 14, 72, 16, 17, 14, 19, 20, 17,
+ 28, 65, 81, 25, 68, 1, 91, 29, 93, 31, 32, 79, 34, 37, 36, 11, 17, 39, 17, 98,
+ 14, 43, 44, 45, 46, 47, 9, 49, 96, 51, 26, 27, 54, 1, 1, 2, 58, 33, 94, 95, 3,
+ 4, 5, 6, 7, 8, 34, 1, 2, 12, 13, 13, 14, 16, 36, 17, 19, 20, 26, 17, 54, 42, 25,
+ 36, 72, 33, 29, 14, 31, 32, 17, 17, 64, 81, 46, 12, 13, 69, 70, 72, 17, 73, 74,
+ 75, 38, 39, 40, 79, 81, 17, 82, 83, 54, 17, 86, 87, 88, 17, 90, 17, 91, 55, 56,
+ 57, 51, 64, 71, 54, 100, 101, 69, 70, 53, 50, 73, 74, 75, 91, 53, 80, 79, 12,
+ 13, 82, 83, 17, 17, 86, 87, 88, 5, 90, 81, 98, 64, 26, 92, 28, 97, 69, 70, 91,
+ 33, 73, 74, 75, 76, 78, 93, 79, 79, 91, 82, 83, 79, 91, 86, 87, 88, 64, 90, 104,
+ 71, 72, 69, 70, 12, 13, 73, 74, 75, 17, 81, 79, 79, 84, 85, 82, 83, 79, 26, 86,
+ 87, 88, 91, 90, 79, 33, 64, 98, 91, 104, 97, 69, 70, 104, 104, 73, 74, 75, 76,
+ 104, 104, 79, 104, 1, 82, 83, 36, 11, 86, 87, 88, 15, 90, 11, 104, 64, 46, 104,
+ 48, 104, 69, 70, 26, 53, 73, 74, 75, 104, 26, 33, 79, 104, 36, 82, 83, 33, 104,
+ 86, 87, 88, 64, 90, 104, 104, 48, 69, 70, 104, 104, 73, 74, 75, 101, 104, 104,
+ 79, 104, 104, 82, 83, 104, 104, 86, 87, 88, 14, 90, 104, 17, 64, 104, 104, 104,
+ 97, 69, 70, 12, 13, 73, 74, 75, 17, 104, 104, 79, 104, 104, 82, 83, 104, 104,
+ 86, 87, 88, 104, 90, 104, 104, 64, 104, 49, 104, 51, 69, 70, 54, 104, 73, 74,
+ 75, 104, 104, 104, 79, 50, 104, 82, 83, 104, 104, 86, 87, 88, 64, 90, 104, 104,
+ 104, 69, 70, 104, 104, 73, 74, 75, 104, 104, 104, 79, 104, 104, 82, 83, 104,
+ 104, 86, 87, 88, 104, 90, 104, 104, 64, 104, 104, 104, 104, 69, 70, 104, 104,
+ 73, 74, 75, 104, 104, 104, 79, 104, 104, 82, 83, 104, 104, 86, 87, 88, 104, 90,
+ 104, 104, 64, 104, 104, 104, 104, 69, 70, 104, 104, 73, 74, 75, 104, 104, 104,
+ 79, 104, 104, 82, 83, 104, 104, 86, 87, 88, 64, 90, 104, 104, 104, 69, 70, 104,
+ 104, 73, 74, 75, 104, 104, 104, 79, 104, 104, 82, 83, 104, 104, 86, 87, 88, 104,
+ 90, 104, 104, 64, 104, 104, 104, 104, 69, 70, 104, 104, 73, 74, 75, 104, 104,
+ 104, 79, 104, 104, 82, 83, 104, 5, 86, 87, 88, 104, 90, 104, 12, 13, 14, 104,
+ 16, 104, 104, 19, 20, 104, 104, 104, 104, 25, 5, 104, 104, 29, 104, 31, 32, 12,
+ 13, 14, 104, 16, 104, 104, 19, 20, 104, 104, 104, 104, 25, 104, 104, 104, 29,
+ 104, 31, 32, 104, 104, 71, 72, 58, 59, 104, 71, 72, 104, 104, 104, 81, 64, 104,
+ 84, 85, 81, 69, 70, 84, 85, 73, 74, 75, 58, 59, 104, 79, 98, 104, 82, 83, 104,
+ 98, 86, 87, 88, 104, 90, 64, 104, 104, 71, 72, 69, 70, 104, 104, 73, 74, 75,
+ 104, 81, 104, 79, 84, 85, 82, 83, 104, 104, 86, 87, 88, 104, 90, 104, 104, 64,
+ 98, 1, 104, 104, 69, 70, 104, 104, 73, 74, 75, 11, 104, 104, 79, 104, 104, 82,
+ 83, 104, 104, 86, 87, 88, 104, 90, 64, 104, 104, 104, 104, 69, 70, 104, 104, 73,
+ 74, 75, 38, 39, 40, 79, 104, 104, 82, 83, 104, 104, 86, 87, 88, 104, 90, 64,
+ 104, 55, 56, 57, 69, 70, 104, 104, 73, 74, 75, 104, 104, 104, 79, 13, 14, 82,
+ 83, 17, 104, 86, 87, 88, 104, 90, 104, 104, 64, 104, 1, 104, 104, 69, 70, 104,
+ 34, 73, 74, 75, 11, 104, 104, 79, 104, 104, 82, 83, 104, 104, 86, 87, 88, 104,
+ 90, 64, 54, 104, 104, 104, 69, 70, 104, 104, 73, 74, 75, 38, 39, 40, 79, 104,
+ 104, 82, 83, 104, 104, 86, 87, 88, 104, 90, 64, 104, 55, 56, 57, 69, 70, 104,
+ 104, 73, 74, 75, 104, 104, 104, 79, 104, 104, 82, 83, 104, 104, 86, 87, 88, 104,
+ 90, 104, 104, 64, 104, 1, 104, 104, 69, 70, 104, 104, 73, 74, 75, 38, 39, 40,
+ 79, 104, 104, 82, 83, 104, 104, 86, 87, 88, 104, 90, 64, 27, 55, 56, 57, 69, 70,
+ 104, 104, 73, 74, 75, 38, 39, 40, 79, 104, 104, 82, 83, 104, 104, 86, 87, 88,
+ 104, 90, 64, 104, 55, 56, 57, 69, 70, 104, 104, 73, 74, 75, 104, 104, 104, 79,
+ 104, 104, 82, 83, 104, 104, 86, 87, 88, 104, 90, 104, 104, 64, 104, 1, 104, 104,
+ 69, 70, 104, 104, 73, 74, 75, 11, 104, 104, 79, 104, 104, 82, 83, 104, 104, 86,
+ 87, 88, 104, 90, 64, 104, 104, 104, 104, 69, 70, 104, 104, 73, 74, 75, 38, 39,
+ 40, 79, 104, 104, 82, 83, 104, 104, 86, 87, 88, 104, 90, 64, 104, 55, 56, 57,
+ 69, 70, 104, 104, 73, 74, 75, 104, 104, 104, 79, 104, 104, 82, 83, 104, 104, 86,
+ 87, 88, 104, 90, 104, 104, 64, 104, 1, 104, 104, 69, 70, 104, 104, 73, 74, 75,
+ 11, 104, 104, 79, 104, 104, 82, 83, 104, 104, 86, 87, 88, 104, 90, 64, 104, 104,
+ 104, 104, 69, 70, 104, 104, 73, 74, 75, 38, 39, 40, 79, 104, 104, 82, 83, 104,
+ 104, 86, 87, 88, 104, 90, 64, 104, 55, 56, 57, 69, 70, 104, 104, 73, 74, 75,
+ 104, 104, 104, 79, 104, 104, 82, 83, 104, 104, 86, 87, 88, 104, 90, 104, 104,
+ 64, 104, 1, 104, 104, 69, 70, 104, 104, 73, 74, 75, 104, 104, 104, 79, 104, 104,
+ 82, 83, 104, 104, 86, 87, 88, 104, 90, 64, 104, 104, 104, 104, 69, 70, 104, 104,
+ 73, 74, 75, 38, 39, 40, 79, 104, 104, 82, 83, 104, 104, 86, 87, 88, 104, 90, 64,
+ 104, 55, 56, 57, 69, 70, 104, 104, 73, 74, 75, 104, 104, 104, 79, 104, 104, 82,
+ 83, 104, 104, 86, 87, 88, 104, 90, 104, 104, 64, 104, 104, 104, 104, 69, 70,
+ 104, 104, 73, 74, 75, 104, 104, 104, 79, 104, 104, 82, 83, 104, 104, 86, 87, 88,
+ 104, 90, 64, 104, 104, 104, 104, 69, 70, 104, 104, 73, 74, 75, 104, 104, 104,
+ 79, 104, 104, 82, 83, 1, 104, 86, 87, 88, 104, 90, 64, 104, 104, 11, 104, 69,
+ 70, 104, 104, 73, 104, 75, 104, 104, 22, 79, 104, 104, 26, 83, 104, 104, 86, 87,
+ 88, 33, 90, 104, 104, 64, 104, 104, 104, 41, 69, 70, 104, 104, 73, 104, 75, 104,
+ 104, 104, 79, 104, 104, 2, 83, 104, 104, 86, 87, 88, 104, 90, 2, 12, 13, 104,
+ 104, 104, 17, 18, 104, 104, 12, 13, 104, 15, 104, 17, 18, 1, 2, 104, 104, 104,
+ 104, 12, 13, 104, 1, 104, 17, 18, 104, 104, 104, 104, 104, 46, 11, 48, 104, 50,
+ 104, 52, 53, 1, 46, 104, 48, 22, 50, 104, 52, 26, 36, 11, 38, 39, 40, 46, 33,
+ 48, 104, 50, 104, 52, 48, 104, 41, 104, 26, 104, 104, 55, 56, 57, 104, 33, 104,
+ 104, 64, 104, 38, 39, 40, 69, 70, 104, 104, 73, 104, 75, 104, 104, 104, 79, 104,
+ 104, 104, 55, 56, 57, 86, 87, 88, 104, 90, 104, 104, 64, 104, 104, 2, 104, 69,
+ 70, 104, 104, 73, 104, 75, 104, 12, 13, 79, 15, 104, 17, 18, 104, 104, 86, 87,
+ 88, 104, 90, 61, 62, 63, 64, 65, 66, 64, 104, 69, 104, 104, 69, 70, 1, 104, 73,
+ 104, 75, 104, 104, 46, 79, 48, 1, 50, 104, 52, 104, 86, 87, 88, 64, 90, 1, 104,
+ 104, 69, 70, 26, 104, 73, 104, 75, 104, 104, 33, 79, 104, 104, 104, 38, 39, 40,
+ 86, 87, 88, 24, 90, 26, 37, 38, 39, 40, 104, 104, 33, 104, 55, 56, 57, 38, 39,
+ 40, 104, 104, 104, 104, 55, 56, 57, 104, 104, 104, 104, 104, 64, 104, 55, 56,
+ 57, 69, 70, 104, 104, 73, 104, 75, 104, 104, 104, 79, 104, 104, 2, 104, 104, 2,
+ 86, 87, 88, 104, 90, 104, 12, 13, 104, 12, 13, 17, 18, 1, 17, 18, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 46, 104, 48, 46, 50, 48, 52, 50, 1, 52, 38, 39, 40,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 55, 56,
+ 57, 104, 59, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 11, 104, 38,
+ 39, 40, 1, 104, 104, 104, 104, 21, 104, 23, 104, 1, 26, 104, 53, 104, 55, 56,
+ 57, 33, 104, 35, 104, 37, 104, 104, 104, 104, 104, 104, 104, 21, 46, 104, 104,
+ 104, 104, 104, 37, 38, 39, 40, 104, 1, 104, 104, 104, 104, 38, 39, 40, 104, 104,
+ 11, 104, 104, 55, 56, 57, 104, 18, 104, 104, 104, 104, 55, 56, 57, 26, 104, 104,
+ 104, 104, 104, 104, 33, 104, 104, 36, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 48,);
+
+ const YY_SHIFT_USE_DFLT = - 34;
+
+ const YY_SHIFT_MAX = 242;
+
+ static public $yy_shift_ofst = array(517, 270, 82, 270, 317, 82, 82, 317, - 12, - 12, 35, 411, 82, 82, 82, 129, 82,
+ 82, 82, 176, 82, 82, 82, 82, 82, 82, 223, 82, 82, 82, 82, 82, 82, 82, 82, 82,
+ 411, 364, 364, 458, 458, 458, 458, 458, 1830, 1706, 1810, 1810, 1810, 1810,
+ 1810, 517, 733, 933, 2001, 1306, 1389, 1223, 1820, 1952, 526, 1917, 1992, 1140,
+ 1057, 1472, 1472, 1472, 2033, 1472, 1472, 1472, 1472, 1472, 1472, 1472, 1472,
+ 1472, 1196, 1689, 1196, 1600, 533, 183, 512, 14, 954, - 3, 589, 634, 634, 684,
+ 684, 512, 512, 368, 14, 14, 512, 513, 484, 104, 746, 518, 252, 67, 232, 91,
+ 232, 325, 3, 486, 307, 462, 433, 428, 349, 3, 5, 452, 462, 264, 327, 264, 264,
+ 264, 264, 264, 327, 264, 264, - 34, 1772, 1653, 1662, 1902, 1899, 1675, 1113,
+ 543, 105, 295, 3, 415, 69, 69, 3, 3, 313, 313, 3, 313, 3, 3, 3, 3, 3, 3, 283,
+ 3, 415, 3, 3, 3, 3, 69, 313, 3, 3, 3, 313, 313, 313, 99, 313, 3, 3, 3, 69, 3,
+ 498, 264, 264, 24, 497, 264, 327, 327, 327, 264, 24, 264, - 34, - 34, - 34,
+ - 34, - 34, 1680, 1977, 678, 201, 652, 238, 97, 96, 357, 228, 382, 344, 308,
+ 142, 57, 37, - 33, 360, 87, 167, 539, 545, 562, 507, 194, 172, 118, 397, 456,
+ 402, 18, 299, 605, 556, 588, 552, 508, 481, 479, 398, 492, 534, 499, 522, 560,
+ 498,);
+
+ const YY_REDUCE_USE_DFLT = - 61;
+
+ const YY_REDUCE_MAX = 196;
+
+ static public $yy_reduce_ofst = array(1737, 488, 575, 633, 550, 658, 521, 604, 770, 1102, 1075, 1407, 1461, 1517,
+ 1351, 1158, 1212, 1295, 1046, 716, 992, 936, 853, 963, 1019, 687, 1268, 1241,
+ 1129, 1185, 1490, 1434, 1378, 1324, 799, 824, 741, 1544, 1573, 1819, 1678,
+ 1740, 1707, 1765, 923, - 28, 571, - 28, 19, 918, 959, 134, 80, 83, - 26, - 26,
+ - 26, - 26, - 26, - 26, - 26, - 26, - 26, - 26, - 26, - 26, - 26, - 26, 160,
+ - 26, - 26, - 26, - 26, - 26, - 26, - 26, - 26, - 26, - 26, 222, - 26, 222,
+ 92, 175, - 60, - 14, 288, 145, 199, 286, 254, 152, 246, 354, 401, 293, 358,
+ 221, 340, 240, 190, 190, 279, 412, 190, 416, 395, 310, 279, 310, 472, 389,
+ 310, 352, 260, 93, 190, 487, 190, 190, 355, 190, 310, 190, 190, 190, 515, 190,
+ 424, 190, 190, 190, 530, 530, 530, 530, 530, 530, 551, 535, 530, 530, 531,
+ 540, 574, 555, 531, 531, 524, 524, 531, 524, 531, 531, 531, 531, 531, 531,
+ 549, 531, 544, 531, 531, 531, 531, 587, 524, 531, 531, 531, 524, 524, 524,
+ 573, 524, 531, 531, 531, 580, 531, 579, 131, 131, 54, 30, 131, 311, 311, 311,
+ 131, 54, 131, 294, 519, 489, 359, 506,);
+
+ static public $yyExpectedTokens = array(array(3, 4, 5, 6, 7, 8, 12, 13, 16, 19, 20, 25, 29, 31, 32,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 30, 31, 32, 34, 36, 39, 43, 44,
+ 45, 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 30, 31, 32, 34, 36, 39, 43, 44,
+ 45, 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 53, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 52, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 54, 58,),
+ array(12, 13, 14, 16, 17, 19, 20, 25, 29, 31, 32, 34, 36, 39, 43, 44, 45,
+ 46, 47, 49, 51, 54, 58,),
+ array(1, 24, 26, 33, 38, 39, 40, 55, 56, 57,),
+ array(1, 11, 26, 33, 38, 39, 40, 55, 56, 57,),
+ array(1, 26, 33, 38, 39, 40, 55, 56, 57,),
+ array(1, 26, 33, 38, 39, 40, 55, 56, 57,),
+ array(1, 26, 33, 38, 39, 40, 55, 56, 57,),
+ array(1, 26, 33, 38, 39, 40, 55, 56, 57,),
+ array(1, 26, 33, 38, 39, 40, 55, 56, 57,),
+ array(3, 4, 5, 6, 7, 8, 12, 13, 16, 19, 20, 25, 29, 31, 32,),
+ array(14, 17, 49, 51, 54,),
+ array(5, 12, 13, 14, 16, 19, 20, 25, 29, 31, 32, 58, 59,),
+ array(1, 21, 38, 39, 40, 55, 56, 57,),
+ array(1, 11, 38, 39, 40, 55, 56, 57,),
+ array(1, 11, 38, 39, 40, 55, 56, 57,),
+ array(1, 27, 38, 39, 40, 55, 56, 57,),
+ array(1, 37, 38, 39, 40, 55, 56, 57,),
+ array(1, 38, 39, 40, 53, 55, 56, 57,), array(1, 2, 38, 39, 40, 55, 56, 57,),
+ array(1, 38, 39, 40, 55, 56, 57, 59,),
+ array(1, 37, 38, 39, 40, 55, 56, 57,),
+ array(1, 11, 38, 39, 40, 55, 56, 57,),
+ array(1, 11, 38, 39, 40, 55, 56, 57,), array(1, 38, 39, 40, 55, 56, 57,),
+ array(1, 38, 39, 40, 55, 56, 57,), array(1, 38, 39, 40, 55, 56, 57,),
+ array(1, 11, 18, 26, 33, 36, 48,), array(1, 38, 39, 40, 55, 56, 57,),
+ array(1, 38, 39, 40, 55, 56, 57,), array(1, 38, 39, 40, 55, 56, 57,),
+ array(1, 38, 39, 40, 55, 56, 57,), array(1, 38, 39, 40, 55, 56, 57,),
+ array(1, 38, 39, 40, 55, 56, 57,), array(1, 38, 39, 40, 55, 56, 57,),
+ array(1, 38, 39, 40, 55, 56, 57,), array(1, 38, 39, 40, 55, 56, 57,),
+ array(38, 39, 40, 55, 56, 57,), array(1, 11, 22, 26, 33, 41,),
+ array(38, 39, 40, 55, 56, 57,), array(1, 11, 22, 26, 33, 41,),
+ array(14, 17, 51, 54,), array(1, 11, 26, 33,), array(1, 26, 33,),
+ array(14, 36, 54,),
+ array(5, 12, 13, 14, 16, 19, 20, 25, 29, 31, 32, 58, 59,),
+ array(12, 13, 17, 26, 28, 33,), array(12, 13, 17, 26, 28, 33,),
+ array(12, 13, 17, 26, 33,), array(12, 13, 17, 26, 33,),
+ array(1, 11, 26, 33,), array(1, 11, 26, 33,), array(1, 26, 33,),
+ array(1, 26, 33,), array(18, 46, 52,), array(14, 36, 54,),
+ array(14, 36, 54,), array(1, 26, 33,), array(1, 2,),
+ array(1, 11, 26, 27, 33,), array(1, 11, 26, 33,), array(12, 13, 17, 50,),
+ array(13, 14, 17, 54,), array(1, 11, 26, 33,), array(8, 9, 10,),
+ array(12, 13, 17,), array(15, 18, 48,), array(12, 13, 17,),
+ array(15, 18, 48,), array(26, 33,), array(14, 54,), array(18, 48,),
+ array(14, 17,), array(26, 33,), array(1, 18,), array(1, 53,),
+ array(26, 33,), array(1, 11,), array(1, 28,), array(14, 17,), array(1,),
+ array(18,), array(1,), array(1,), array(1,), array(1,), array(1,),
+ array(18,), array(1,), array(1,), array(),
+ array(2, 12, 13, 15, 17, 18, 46, 48, 50, 52,),
+ array(2, 12, 13, 17, 18, 46, 48, 50, 52, 53,),
+ array(2, 12, 13, 15, 17, 18, 46, 48, 50, 52,),
+ array(2, 12, 13, 17, 18, 46, 48, 50, 52,),
+ array(2, 12, 13, 17, 18, 46, 48, 50, 52,),
+ array(12, 13, 17, 18, 46, 48, 50, 52,), array(13, 14, 17, 34, 54,),
+ array(12, 13, 17, 50,), array(15, 46, 52,), array(12, 13, 17,),
+ array(26, 33,), array(46, 52,), array(14, 54,), array(14, 54,),
+ array(26, 33,), array(26, 33,), array(46, 52,), array(46, 52,),
+ array(26, 33,), array(46, 52,), array(26, 33,), array(26, 33,),
+ array(26, 33,), array(26, 33,), array(26, 33,), array(26, 33,),
+ array(15, 22,), array(26, 33,), array(46, 52,), array(26, 33,),
+ array(26, 33,), array(26, 33,), array(26, 33,), array(14, 54,),
+ array(46, 52,), array(26, 33,), array(26, 33,), array(26, 33,),
+ array(46, 52,), array(46, 52,), array(46, 52,), array(13, 36,),
+ array(46, 52,), array(26, 33,), array(26, 33,), array(26, 33,),
+ array(14, 54,), array(26, 33,), array(36,), array(1,), array(1,), array(2,),
+ array(9,), array(1,), array(18,), array(18,), array(18,), array(1,),
+ array(2,), array(1,), array(), array(), array(), array(), array(),
+ array(1, 2, 36, 38, 39, 40, 48, 55, 56, 57,),
+ array(11, 21, 23, 26, 33, 35, 37, 46,), array(11, 15, 26, 33, 36, 48,),
+ array(12, 13, 17, 50,), array(36, 46, 48, 53,), array(22, 41, 53,),
+ array(22, 41, 59,), array(28, 36, 48,), array(35, 37,), array(36, 48,),
+ array(17, 50,), array(46, 53,), array(15, 46,), array(35, 37,),
+ array(35, 53,), array(36, 48,), array(36, 48,), array(22, 41,),
+ array(21, 35,), array(35, 37,), array(53,), array(53,), array(17,),
+ array(36,), array(17,), array(34,), array(51,), array(22,), array(37,),
+ array(15,), array(23,), array(11,), array(5,), array(17,), array(17,),
+ array(17,), array(46,), array(17,), array(17,), array(51,), array(34,),
+ array(17,), array(42,), array(17,), array(17,), array(36,), array(),
+ array(), array(), array(), array(), array(), array(), array(), array(),
+ array(), array(), array(), array(), array(), array(), array(), array(),
+ array(), array(), array(), array(), array(), array(), array(), array(),
+ array(), array(), array(), array(), array(), array(), array(), array(),
+ array(), array(), array(), array(), array(), array(), array(), array(),
+ array(), array(), array(), array(), array(), array(), array(), array(),
+ array(), array(), array(), array(), array(), array(), array(), array(),
+ array(), array(), array(), array(), array(), array(), array(), array(),
+ array(), array(), array(), array(), array(), array(), array(), array(),
+ array(), array(), array(), array(), array(), array(), array(), array(),
+ array(), array(), array(), array(), array(), array(), array(), array(),
+ array(), array(), array(), array(), array(), array(),);
+
+ static public $yy_default = array(341, 518, 498, 533, 533, 498, 498, 533, 533, 533, 533, 533, 533, 533, 533, 533,
+ 533, 533, 533, 533, 533, 533, 533, 533, 533, 533, 533, 533, 533, 533, 533, 533,
+ 533, 533, 533, 533, 533, 533, 533, 533, 533, 533, 533, 533, 401, 533, 377, 401,
+ 401, 401, 368, 338, 533, 533, 533, 533, 533, 406, 533, 533, 533, 533, 533, 533,
+ 533, 520, 521, 422, 440, 382, 496, 406, 412, 497, 519, 408, 413, 403, 429, 430,
+ 428, 430, 533, 415, 401, 533, 533, 401, 401, 401, 401, 447, 421, 401, 401, 510,
+ 533, 533, 401, 391, 415, 415, 463, 533, 415, 533, 463, 453, 463, 453, 379, 533,
+ 453, 533, 401, 395, 415, 401, 415, 415, 533, 425, 453, 415, 433, 431, 397, 418,
+ 507, 432, 419, 505, 452, 452, 452, 452, 452, 452, 533, 465, 479, 463, 386, 456,
+ 533, 533, 388, 387, 461, 457, 364, 459, 384, 360, 385, 361, 380, 378, 533, 363,
+ 458, 365, 369, 381, 366, 533, 490, 376, 375, 372, 491, 460, 489, 463, 488, 370,
+ 374, 390, 533, 389, 463, 421, 396, 499, 354, 398, 511, 508, 485, 392, 500, 447,
+ 504, 504, 463, 504, 463, 440, 436, 440, 464, 440, 430, 430, 440, 533, 440, 533,
+ 436, 436, 533, 533, 533, 448, 430, 533, 533, 533, 443, 533, 509, 533, 533, 533,
+ 430, 533, 533, 409, 533, 346, 533, 533, 533, 436, 533, 533, 533, 438, 533, 442,
+ 533, 533, 479, 451, 503, 394, 486, 383, 483, 400, 410, 481, 482, 402, 450, 502,
+ 514, 513, 479, 501, 420, 427, 426, 339, 487, 480, 350, 351, 352, 353, 349, 347,
+ 344, 345, 455, 348, 355, 356, 358, 399, 484, 371, 357, 340, 454, 342, 414, 343,
+ 434, 531, 530, 466, 467, 468, 462, 417, 526, 441, 416, 528, 443, 444, 516, 517,
+ 446, 515, 424, 423, 445, 495, 532, 525, 492, 475, 493, 393, 522, 477, 437, 494,
+ 469, 506, 435, 442, 512, 523, 439, 470, 529, 473, 527, 476, 474, 478, 472, 524,
+ 471, 449,);
+
+ const YYNOCODE = 105;
+
const YYSTACKDEPTH = 500;
- const YYNSTATE = 358;
- const YYNRULE = 200;
- const YYERRORSYMBOL = 82;
+
+ const YYNSTATE = 338;
+
+ const YYNRULE = 195;
+
+ const YYERRORSYMBOL = 60;
+
const YYERRSYMDT = 'yy0';
+
const YYFALLBACK = 0;
+
public static $yyFallback = array();
public function Trace($TraceFILE, $zTracePrompt)
@@ -2171,447 +899,134 @@ class Smarty_Internal_Templateparser#line 80 "smarty_internal_templateparser.php
}
public $yyTraceFILE;
+
public $yyTracePrompt;
+
public $yyidx; /* Index of top element in stack */
public $yyerrcnt; /* Shifts left before out of the error */
public $yystack = array(); /* The parser's stack */
- public $yyTokenName = array(
- '$', 'VERT', 'COLON', 'RDEL',
- 'COMMENT', 'PHPSTARTTAG', 'PHPENDTAG', 'PHPENDSCRIPT',
- 'ASPSTARTTAG', 'ASPENDTAG', 'XMLTAG', 'TEXT',
- 'STRIPON', 'STRIPOFF', 'BLOCKSOURCE', 'LITERALSTART',
- 'LITERALEND', 'LITERAL', 'LDEL', 'DOLLAR',
- 'ID', 'EQUAL', 'PTR', 'LDELIF',
- 'LDELFOR', 'SEMICOLON', 'INCDEC', 'TO',
- 'STEP', 'LDELFOREACH', 'SPACE', 'AS',
- 'APTR', 'LDELSETFILTER', 'SMARTYBLOCKCHILDPARENT', 'LDELSLASH',
- 'ATTR', 'INTEGER', 'COMMA', 'OPENP',
- 'CLOSEP', 'MATH', 'UNIMATH', 'ANDSYM',
- 'ISIN', 'ISDIVBY', 'ISNOTDIVBY', 'ISEVEN',
- 'ISNOTEVEN', 'ISEVENBY', 'ISNOTEVENBY', 'ISODD',
- 'ISNOTODD', 'ISODDBY', 'ISNOTODDBY', 'INSTANCEOF',
- 'QMARK', 'NOT', 'TYPECAST', 'HEX',
- 'DOT', 'SINGLEQUOTESTRING', 'DOUBLECOLON', 'AT',
- 'HATCH', 'OPENB', 'CLOSEB', 'EQUALS',
- 'NOTEQUALS', 'GREATERTHAN', 'LESSTHAN', 'GREATEREQUAL',
- 'LESSEQUAL', 'IDENTITY', 'NONEIDENTITY', 'MOD',
- 'LAND', 'LOR', 'LXOR', 'QUOTE',
- 'BACKTICK', 'DOLLARID', 'error', 'start',
- 'template', 'template_element', 'smartytag', 'literal',
- 'literal_elements', 'literal_element', 'value', 'modifierlist',
- 'attributes', 'expr', 'varindexed', 'statement',
- 'statements', 'optspace', 'varvar', 'foraction',
- 'modparameters', 'attribute', 'ternary', 'array',
- 'ifcond', 'lop', 'variable', 'function',
- 'doublequoted_with_quotes', 'static_class_access', 'object', 'arrayindex',
- 'indexdef', 'varvarele', 'objectchain', 'objectelement',
- 'method', 'params', 'modifier', 'modparameter',
- 'arrayelements', 'arrayelement', 'doublequoted', 'doublequotedcontent',
- );
-
- public static $yyRuleName = array(
- /* 0 */
- "start ::= template",
- /* 1 */
- "template ::= template_element",
- /* 2 */
- "template ::= template template_element",
- /* 3 */
- "template ::=",
- /* 4 */
- "template_element ::= smartytag RDEL",
- /* 5 */
- "template_element ::= COMMENT",
- /* 6 */
- "template_element ::= literal",
- /* 7 */
- "template_element ::= PHPSTARTTAG",
- /* 8 */
- "template_element ::= PHPENDTAG",
- /* 9 */
- "template_element ::= PHPENDSCRIPT",
- /* 10 */
- "template_element ::= ASPSTARTTAG",
- /* 11 */
- "template_element ::= ASPENDTAG",
- /* 12 */
- "template_element ::= XMLTAG",
- /* 13 */
- "template_element ::= TEXT",
- /* 14 */
- "template_element ::= STRIPON",
- /* 15 */
- "template_element ::= STRIPOFF",
- /* 16 */
- "template_element ::= BLOCKSOURCE",
- /* 17 */
- "literal ::= LITERALSTART LITERALEND",
- /* 18 */
- "literal ::= LITERALSTART literal_elements LITERALEND",
- /* 19 */
- "literal_elements ::= literal_elements literal_element",
- /* 20 */
- "literal_elements ::=",
- /* 21 */
- "literal_element ::= literal",
- /* 22 */
- "literal_element ::= LITERAL",
- /* 23 */
- "smartytag ::= LDEL value",
- /* 24 */
- "smartytag ::= LDEL value modifierlist attributes",
- /* 25 */
- "smartytag ::= LDEL value attributes",
- /* 26 */
- "smartytag ::= LDEL expr modifierlist attributes",
- /* 27 */
- "smartytag ::= LDEL expr attributes",
- /* 28 */
- "smartytag ::= LDEL DOLLAR ID EQUAL value",
- /* 29 */
- "smartytag ::= LDEL DOLLAR ID EQUAL expr",
- /* 30 */
- "smartytag ::= LDEL DOLLAR ID EQUAL expr attributes",
- /* 31 */
- "smartytag ::= LDEL varindexed EQUAL expr attributes",
- /* 32 */
- "smartytag ::= LDEL ID attributes",
- /* 33 */
- "smartytag ::= LDEL ID",
- /* 34 */
- "smartytag ::= LDEL ID PTR ID attributes",
- /* 35 */
- "smartytag ::= LDEL ID modifierlist attributes",
- /* 36 */
- "smartytag ::= LDEL ID PTR ID modifierlist attributes",
- /* 37 */
- "smartytag ::= LDELIF expr",
- /* 38 */
- "smartytag ::= LDELIF expr attributes",
- /* 39 */
- "smartytag ::= LDELIF statement",
- /* 40 */
- "smartytag ::= LDELIF statement attributes",
- /* 41 */
- "smartytag ::= LDELFOR statements SEMICOLON optspace expr SEMICOLON optspace DOLLAR varvar foraction attributes",
- /* 42 */
- "foraction ::= EQUAL expr",
- /* 43 */
- "foraction ::= INCDEC",
- /* 44 */
- "smartytag ::= LDELFOR statement TO expr attributes",
- /* 45 */
- "smartytag ::= LDELFOR statement TO expr STEP expr attributes",
- /* 46 */
- "smartytag ::= LDELFOREACH attributes",
- /* 47 */
- "smartytag ::= LDELFOREACH SPACE value AS DOLLAR varvar attributes",
- /* 48 */
- "smartytag ::= LDELFOREACH SPACE value AS DOLLAR varvar APTR DOLLAR varvar attributes",
- /* 49 */
- "smartytag ::= LDELFOREACH SPACE expr AS DOLLAR varvar attributes",
- /* 50 */
- "smartytag ::= LDELFOREACH SPACE expr AS DOLLAR varvar APTR DOLLAR varvar attributes",
- /* 51 */
- "smartytag ::= LDELSETFILTER ID modparameters",
- /* 52 */
- "smartytag ::= LDELSETFILTER ID modparameters modifierlist",
- /* 53 */
- "smartytag ::= LDEL SMARTYBLOCKCHILDPARENT",
- /* 54 */
- "smartytag ::= LDELSLASH ID",
- /* 55 */
- "smartytag ::= LDELSLASH ID modifierlist",
- /* 56 */
- "smartytag ::= LDELSLASH ID PTR ID",
- /* 57 */
- "smartytag ::= LDELSLASH ID PTR ID modifierlist",
- /* 58 */
- "attributes ::= attributes attribute",
- /* 59 */
- "attributes ::= attribute",
- /* 60 */
- "attributes ::=",
- /* 61 */
- "attribute ::= SPACE ID EQUAL ID",
- /* 62 */
- "attribute ::= ATTR expr",
- /* 63 */
- "attribute ::= ATTR value",
- /* 64 */
- "attribute ::= SPACE ID",
- /* 65 */
- "attribute ::= SPACE expr",
- /* 66 */
- "attribute ::= SPACE value",
- /* 67 */
- "attribute ::= SPACE INTEGER EQUAL expr",
- /* 68 */
- "statements ::= statement",
- /* 69 */
- "statements ::= statements COMMA statement",
- /* 70 */
- "statement ::= DOLLAR varvar EQUAL expr",
- /* 71 */
- "statement ::= varindexed EQUAL expr",
- /* 72 */
- "statement ::= OPENP statement CLOSEP",
- /* 73 */
- "expr ::= value",
- /* 74 */
- "expr ::= ternary",
- /* 75 */
- "expr ::= DOLLAR ID COLON ID",
- /* 76 */
- "expr ::= expr MATH value",
- /* 77 */
- "expr ::= expr UNIMATH value",
- /* 78 */
- "expr ::= expr ANDSYM value",
- /* 79 */
- "expr ::= array",
- /* 80 */
- "expr ::= expr modifierlist",
- /* 81 */
- "expr ::= expr ifcond expr",
- /* 82 */
- "expr ::= expr ISIN array",
- /* 83 */
- "expr ::= expr ISIN value",
- /* 84 */
- "expr ::= expr lop expr",
- /* 85 */
- "expr ::= expr ISDIVBY expr",
- /* 86 */
- "expr ::= expr ISNOTDIVBY expr",
- /* 87 */
- "expr ::= expr ISEVEN",
- /* 88 */
- "expr ::= expr ISNOTEVEN",
- /* 89 */
- "expr ::= expr ISEVENBY expr",
- /* 90 */
- "expr ::= expr ISNOTEVENBY expr",
- /* 91 */
- "expr ::= expr ISODD",
- /* 92 */
- "expr ::= expr ISNOTODD",
- /* 93 */
- "expr ::= expr ISODDBY expr",
- /* 94 */
- "expr ::= expr ISNOTODDBY expr",
- /* 95 */
- "expr ::= value INSTANCEOF ID",
- /* 96 */
- "expr ::= value INSTANCEOF value",
- /* 97 */
- "ternary ::= OPENP expr CLOSEP QMARK DOLLAR ID COLON expr",
- /* 98 */
- "ternary ::= OPENP expr CLOSEP QMARK expr COLON expr",
- /* 99 */
- "value ::= variable",
- /* 100 */
- "value ::= UNIMATH value",
- /* 101 */
- "value ::= NOT value",
- /* 102 */
- "value ::= TYPECAST value",
- /* 103 */
- "value ::= variable INCDEC",
- /* 104 */
- "value ::= HEX",
- /* 105 */
- "value ::= INTEGER",
- /* 106 */
- "value ::= INTEGER DOT INTEGER",
- /* 107 */
- "value ::= INTEGER DOT",
- /* 108 */
- "value ::= DOT INTEGER",
- /* 109 */
- "value ::= ID",
- /* 110 */
- "value ::= function",
- /* 111 */
- "value ::= OPENP expr CLOSEP",
- /* 112 */
- "value ::= SINGLEQUOTESTRING",
- /* 113 */
- "value ::= doublequoted_with_quotes",
- /* 114 */
- "value ::= ID DOUBLECOLON static_class_access",
- /* 115 */
- "value ::= varindexed DOUBLECOLON static_class_access",
- /* 116 */
- "value ::= smartytag RDEL",
- /* 117 */
- "value ::= value modifierlist",
- /* 118 */
- "variable ::= varindexed",
- /* 119 */
- "variable ::= DOLLAR varvar AT ID",
- /* 120 */
- "variable ::= object",
- /* 121 */
- "variable ::= HATCH ID HATCH",
- /* 122 */
- "variable ::= HATCH ID HATCH arrayindex",
- /* 123 */
- "variable ::= HATCH variable HATCH",
- /* 124 */
- "variable ::= HATCH variable HATCH arrayindex",
- /* 125 */
- "varindexed ::= DOLLAR varvar arrayindex",
- /* 126 */
- "arrayindex ::= arrayindex indexdef",
- /* 127 */
- "arrayindex ::=",
- /* 128 */
- "indexdef ::= DOT DOLLAR varvar",
- /* 129 */
- "indexdef ::= DOT DOLLAR varvar AT ID",
- /* 130 */
- "indexdef ::= DOT ID",
- /* 131 */
- "indexdef ::= DOT INTEGER",
- /* 132 */
- "indexdef ::= DOT LDEL expr RDEL",
- /* 133 */
- "indexdef ::= OPENB ID CLOSEB",
- /* 134 */
- "indexdef ::= OPENB ID DOT ID CLOSEB",
- /* 135 */
- "indexdef ::= OPENB expr CLOSEB",
- /* 136 */
- "indexdef ::= OPENB CLOSEB",
- /* 137 */
- "varvar ::= varvarele",
- /* 138 */
- "varvar ::= varvar varvarele",
- /* 139 */
- "varvarele ::= ID",
- /* 140 */
- "varvarele ::= LDEL expr RDEL",
- /* 141 */
- "object ::= varindexed objectchain",
- /* 142 */
- "objectchain ::= objectelement",
- /* 143 */
- "objectchain ::= objectchain objectelement",
- /* 144 */
- "objectelement ::= PTR ID arrayindex",
- /* 145 */
- "objectelement ::= PTR DOLLAR varvar arrayindex",
- /* 146 */
- "objectelement ::= PTR LDEL expr RDEL arrayindex",
- /* 147 */
- "objectelement ::= PTR ID LDEL expr RDEL arrayindex",
- /* 148 */
- "objectelement ::= PTR method",
- /* 149 */
- "function ::= ID OPENP params CLOSEP",
- /* 150 */
- "method ::= ID OPENP params CLOSEP",
- /* 151 */
- "method ::= DOLLAR ID OPENP params CLOSEP",
- /* 152 */
- "params ::= params COMMA expr",
- /* 153 */
- "params ::= expr",
- /* 154 */
- "params ::=",
- /* 155 */
- "modifierlist ::= modifierlist modifier modparameters",
- /* 156 */
- "modifierlist ::= modifier modparameters",
- /* 157 */
- "modifier ::= VERT AT ID",
- /* 158 */
- "modifier ::= VERT ID",
- /* 159 */
- "modparameters ::= modparameters modparameter",
- /* 160 */
- "modparameters ::=",
- /* 161 */
- "modparameter ::= COLON value",
- /* 162 */
- "modparameter ::= COLON array",
- /* 163 */
- "static_class_access ::= method",
- /* 164 */
- "static_class_access ::= method objectchain",
- /* 165 */
- "static_class_access ::= ID",
- /* 166 */
- "static_class_access ::= DOLLAR ID arrayindex",
- /* 167 */
- "static_class_access ::= DOLLAR ID arrayindex objectchain",
- /* 168 */
- "ifcond ::= EQUALS",
- /* 169 */
- "ifcond ::= NOTEQUALS",
- /* 170 */
- "ifcond ::= GREATERTHAN",
- /* 171 */
- "ifcond ::= LESSTHAN",
- /* 172 */
- "ifcond ::= GREATEREQUAL",
- /* 173 */
- "ifcond ::= LESSEQUAL",
- /* 174 */
- "ifcond ::= IDENTITY",
- /* 175 */
- "ifcond ::= NONEIDENTITY",
- /* 176 */
- "ifcond ::= MOD",
- /* 177 */
- "lop ::= LAND",
- /* 178 */
- "lop ::= LOR",
- /* 179 */
- "lop ::= LXOR",
- /* 180 */
- "array ::= OPENB arrayelements CLOSEB",
- /* 181 */
- "arrayelements ::= arrayelement",
- /* 182 */
- "arrayelements ::= arrayelements COMMA arrayelement",
- /* 183 */
- "arrayelements ::=",
- /* 184 */
- "arrayelement ::= value APTR expr",
- /* 185 */
- "arrayelement ::= ID APTR expr",
- /* 186 */
- "arrayelement ::= expr",
- /* 187 */
- "doublequoted_with_quotes ::= QUOTE QUOTE",
- /* 188 */
- "doublequoted_with_quotes ::= QUOTE doublequoted QUOTE",
- /* 189 */
- "doublequoted ::= doublequoted doublequotedcontent",
- /* 190 */
- "doublequoted ::= doublequotedcontent",
- /* 191 */
- "doublequotedcontent ::= BACKTICK variable BACKTICK",
- /* 192 */
- "doublequotedcontent ::= BACKTICK expr BACKTICK",
- /* 193 */
- "doublequotedcontent ::= DOLLARID",
- /* 194 */
- "doublequotedcontent ::= LDEL variable RDEL",
- /* 195 */
- "doublequotedcontent ::= LDEL expr RDEL",
- /* 196 */
- "doublequotedcontent ::= smartytag RDEL",
- /* 197 */
- "doublequotedcontent ::= TEXT",
- /* 198 */
- "optspace ::= SPACE",
- /* 199 */
- "optspace ::=",
- );
+ public $yyTokenName = array('$', 'VERT', 'COLON', 'PHP', 'NOCACHE', 'TEXT', 'STRIPON', 'STRIPOFF', 'LITERALSTART',
+ 'LITERALEND', 'LITERAL', 'RDEL', 'SIMPELOUTPUT', 'LDEL', 'DOLLARID', 'EQUAL',
+ 'SIMPLETAG', 'ID', 'PTR', 'LDELIF', 'LDELFOR', 'SEMICOLON', 'INCDEC', 'TO', 'STEP',
+ 'LDELFOREACH', 'SPACE', 'AS', 'APTR', 'LDELSETFILTER', 'SMARTYBLOCKCHILDPARENT',
+ 'CLOSETAG', 'LDELSLASH', 'ATTR', 'INTEGER', 'COMMA', 'OPENP', 'CLOSEP', 'MATH',
+ 'UNIMATH', 'ISIN', 'INSTANCEOF', 'QMARK', 'NOT', 'TYPECAST', 'HEX', 'DOT',
+ 'SINGLEQUOTESTRING', 'DOUBLECOLON', 'NAMESPACE', 'AT', 'HATCH', 'OPENB', 'CLOSEB',
+ 'DOLLAR', 'LOGOP', 'TLOGOP', 'SINGLECOND', 'QUOTE', 'BACKTICK', 'error', 'start',
+ 'template', 'template_element', 'smartytag', 'literal', 'text_content',
+ 'literal_elements', 'literal_element', 'tag', 'variable', 'modifierlist', 'attributes',
+ 'value', 'expr', 'varindexed', 'statement', 'statements', 'foraction', 'varvar',
+ 'modparameters', 'attribute', 'ternary', 'array', 'lop', 'scond', 'ns1', 'function',
+ 'doublequoted_with_quotes', 'static_class_access', 'object', 'arrayindex', 'indexdef',
+ 'varvarele', 'objectchain', 'objectelement', 'method', 'params', 'modifier',
+ 'modparameter', 'arrayelements', 'arrayelement', 'doublequoted',
+ 'doublequotedcontent',);
+
+ public static $yyRuleName = array('start ::= template', 'template ::= template_element',
+ 'template ::= template template_element', 'template ::=',
+ 'template_element ::= smartytag', 'template_element ::= literal',
+ 'template_element ::= PHP', 'template_element ::= NOCACHE',
+ 'template_element ::= text_content', 'text_content ::= TEXT',
+ 'text_content ::= text_content TEXT', 'template_element ::= STRIPON',
+ 'template_element ::= STRIPOFF', 'literal ::= LITERALSTART LITERALEND',
+ 'literal ::= LITERALSTART literal_elements LITERALEND',
+ 'literal_elements ::= literal_elements literal_element', 'literal_elements ::=',
+ 'literal_element ::= literal', 'literal_element ::= LITERAL',
+ 'smartytag ::= tag RDEL', 'smartytag ::= SIMPELOUTPUT', 'tag ::= LDEL variable',
+ 'tag ::= LDEL variable modifierlist attributes',
+ 'tag ::= LDEL variable attributes', 'tag ::= LDEL value',
+ 'tag ::= LDEL value modifierlist attributes', 'tag ::= LDEL value attributes',
+ 'tag ::= LDEL expr modifierlist attributes', 'tag ::= LDEL expr attributes',
+ 'tag ::= LDEL DOLLARID EQUAL value', 'tag ::= LDEL DOLLARID EQUAL expr',
+ 'tag ::= LDEL DOLLARID EQUAL expr attributes',
+ 'tag ::= LDEL varindexed EQUAL expr attributes', 'smartytag ::= SIMPLETAG',
+ 'tag ::= LDEL ID attributes', 'tag ::= LDEL ID',
+ 'tag ::= LDEL ID modifierlist attributes', 'tag ::= LDEL ID PTR ID attributes',
+ 'tag ::= LDEL ID PTR ID modifierlist attributes', 'tag ::= LDELIF expr',
+ 'tag ::= LDELIF expr attributes', 'tag ::= LDELIF statement',
+ 'tag ::= LDELIF statement attributes',
+ 'tag ::= LDELFOR statements SEMICOLON expr SEMICOLON varindexed foraction attributes',
+ 'foraction ::= EQUAL expr', 'foraction ::= INCDEC',
+ 'tag ::= LDELFOR statement TO expr attributes',
+ 'tag ::= LDELFOR statement TO expr STEP expr attributes',
+ 'tag ::= LDELFOREACH attributes',
+ 'tag ::= LDELFOREACH SPACE value AS varvar attributes',
+ 'tag ::= LDELFOREACH SPACE value AS varvar APTR varvar attributes',
+ 'tag ::= LDELFOREACH SPACE expr AS varvar attributes',
+ 'tag ::= LDELFOREACH SPACE expr AS varvar APTR varvar attributes',
+ 'tag ::= LDELSETFILTER ID modparameters',
+ 'tag ::= LDELSETFILTER ID modparameters modifierlist',
+ 'tag ::= LDEL SMARTYBLOCKCHILDPARENT', 'smartytag ::= CLOSETAG',
+ 'tag ::= LDELSLASH ID', 'tag ::= LDELSLASH ID modifierlist',
+ 'tag ::= LDELSLASH ID PTR ID', 'tag ::= LDELSLASH ID PTR ID modifierlist',
+ 'attributes ::= attributes attribute', 'attributes ::= attribute',
+ 'attributes ::=', 'attribute ::= SPACE ID EQUAL ID', 'attribute ::= ATTR expr',
+ 'attribute ::= ATTR value', 'attribute ::= SPACE ID', 'attribute ::= SPACE expr',
+ 'attribute ::= SPACE value', 'attribute ::= SPACE INTEGER EQUAL expr',
+ 'statements ::= statement', 'statements ::= statements COMMA statement',
+ 'statement ::= DOLLARID EQUAL INTEGER', 'statement ::= DOLLARID EQUAL expr',
+ 'statement ::= varindexed EQUAL expr', 'statement ::= OPENP statement CLOSEP',
+ 'expr ::= value', 'expr ::= ternary', 'expr ::= DOLLARID COLON ID',
+ 'expr ::= expr MATH value', 'expr ::= expr UNIMATH value', 'expr ::= array',
+ 'expr ::= expr modifierlist', 'expr ::= expr lop expr', 'expr ::= expr scond',
+ 'expr ::= expr ISIN array', 'expr ::= expr ISIN value',
+ 'expr ::= variable INSTANCEOF ns1', 'expr ::= variable INSTANCEOF variable',
+ 'ternary ::= OPENP expr CLOSEP QMARK DOLLARID COLON expr',
+ 'ternary ::= OPENP expr CLOSEP QMARK expr COLON expr', 'value ::= variable',
+ 'value ::= UNIMATH value', 'value ::= NOT value', 'value ::= TYPECAST value',
+ 'value ::= variable INCDEC', 'value ::= HEX', 'value ::= INTEGER',
+ 'value ::= INTEGER DOT INTEGER', 'value ::= INTEGER DOT', 'value ::= DOT INTEGER',
+ 'value ::= ID', 'value ::= function', 'value ::= OPENP expr CLOSEP',
+ 'value ::= SINGLEQUOTESTRING', 'value ::= doublequoted_with_quotes',
+ 'value ::= varindexed DOUBLECOLON static_class_access', 'value ::= smartytag',
+ 'value ::= value modifierlist', 'value ::= NAMESPACE',
+ 'value ::= ns1 DOUBLECOLON static_class_access', 'ns1 ::= ID',
+ 'ns1 ::= NAMESPACE', 'variable ::= DOLLARID', 'variable ::= varindexed',
+ 'variable ::= varvar AT ID', 'variable ::= object', 'variable ::= HATCH ID HATCH',
+ 'variable ::= HATCH ID HATCH arrayindex', 'variable ::= HATCH variable HATCH',
+ 'variable ::= HATCH variable HATCH arrayindex',
+ 'varindexed ::= DOLLARID arrayindex', 'varindexed ::= varvar arrayindex',
+ 'arrayindex ::= arrayindex indexdef', 'arrayindex ::=',
+ 'indexdef ::= DOT DOLLARID', 'indexdef ::= DOT varvar',
+ 'indexdef ::= DOT varvar AT ID', 'indexdef ::= DOT ID',
+ 'indexdef ::= DOT INTEGER', 'indexdef ::= DOT LDEL expr RDEL',
+ 'indexdef ::= OPENB ID CLOSEB', 'indexdef ::= OPENB ID DOT ID CLOSEB',
+ 'indexdef ::= OPENB SINGLEQUOTESTRING CLOSEB',
+ 'indexdef ::= OPENB INTEGER CLOSEB', 'indexdef ::= OPENB DOLLARID CLOSEB',
+ 'indexdef ::= OPENB variable CLOSEB', 'indexdef ::= OPENB value CLOSEB',
+ 'indexdef ::= OPENB expr CLOSEB', 'indexdef ::= OPENB CLOSEB',
+ 'varvar ::= DOLLARID', 'varvar ::= DOLLAR', 'varvar ::= varvar varvarele',
+ 'varvarele ::= ID', 'varvarele ::= SIMPELOUTPUT', 'varvarele ::= LDEL expr RDEL',
+ 'object ::= varindexed objectchain', 'objectchain ::= objectelement',
+ 'objectchain ::= objectchain objectelement',
+ 'objectelement ::= PTR ID arrayindex', 'objectelement ::= PTR varvar arrayindex',
+ 'objectelement ::= PTR LDEL expr RDEL arrayindex',
+ 'objectelement ::= PTR ID LDEL expr RDEL arrayindex',
+ 'objectelement ::= PTR method', 'function ::= ns1 OPENP params CLOSEP',
+ 'method ::= ID OPENP params CLOSEP', 'method ::= DOLLARID OPENP params CLOSEP',
+ 'params ::= params COMMA expr', 'params ::= expr', 'params ::=',
+ 'modifierlist ::= modifierlist modifier modparameters',
+ 'modifierlist ::= modifier modparameters', 'modifier ::= VERT AT ID',
+ 'modifier ::= VERT ID', 'modparameters ::= modparameters modparameter',
+ 'modparameters ::=', 'modparameter ::= COLON value',
+ 'modparameter ::= COLON array', 'static_class_access ::= method',
+ 'static_class_access ::= method objectchain', 'static_class_access ::= ID',
+ 'static_class_access ::= DOLLARID arrayindex',
+ 'static_class_access ::= DOLLARID arrayindex objectchain', 'lop ::= LOGOP',
+ 'lop ::= TLOGOP', 'scond ::= SINGLECOND', 'array ::= OPENB arrayelements CLOSEB',
+ 'arrayelements ::= arrayelement',
+ 'arrayelements ::= arrayelements COMMA arrayelement', 'arrayelements ::=',
+ 'arrayelement ::= value APTR expr', 'arrayelement ::= ID APTR expr',
+ 'arrayelement ::= expr', 'doublequoted_with_quotes ::= QUOTE QUOTE',
+ 'doublequoted_with_quotes ::= QUOTE doublequoted QUOTE',
+ 'doublequoted ::= doublequoted doublequotedcontent',
+ 'doublequoted ::= doublequotedcontent',
+ 'doublequotedcontent ::= BACKTICK variable BACKTICK',
+ 'doublequotedcontent ::= BACKTICK expr BACKTICK',
+ 'doublequotedcontent ::= DOLLARID', 'doublequotedcontent ::= LDEL variable RDEL',
+ 'doublequotedcontent ::= LDEL expr RDEL', 'doublequotedcontent ::= smartytag',
+ 'doublequotedcontent ::= TEXT',);
public function tokenName($tokenType)
{
@@ -2635,14 +1050,12 @@ class Smarty_Internal_Templateparser#line 80 "smarty_internal_templateparser.php
public function yy_pop_parser_stack()
{
- if (!count($this->yystack)) {
+ if (empty($this->yystack)) {
return;
}
$yytos = array_pop($this->yystack);
if ($this->yyTraceFILE && $this->yyidx >= 0) {
- fwrite($this->yyTraceFILE,
- $this->yyTracePrompt . 'Popping ' . $this->yyTokenName[$yytos->major] .
- "\n");
+ fwrite($this->yyTraceFILE, $this->yyTracePrompt . 'Popping ' . $this->yyTokenName[$yytos->major] . "\n");
}
$yymajor = $yytos->major;
self::yy_destructor($yymajor, $yytos->minor);
@@ -2663,10 +1076,18 @@ class Smarty_Internal_Templateparser#line 80 "smarty_internal_templateparser.php
public function yy_get_expected_tokens($token)
{
+ static $res3 = array();
+ static $res4 = array();
$state = $this->yystack[$this->yyidx]->stateno;
$expected = self::$yyExpectedTokens[$state];
- if (in_array($token, self::$yyExpectedTokens[$state], true)) {
- return $expected;
+ if (isset($res3[$state][$token])) {
+ if ($res3[$state][$token]) {
+ return $expected;
+ }
+ } else {
+ if ($res3[$state][$token] = in_array($token, self::$yyExpectedTokens[$state], true)) {
+ return $expected;
+ }
}
$stack = $this->yystack;
$yyidx = $this->yyidx;
@@ -2684,18 +1105,25 @@ class Smarty_Internal_Templateparser#line 80 "smarty_internal_templateparser.php
return array_unique($expected);
}
$yyruleno = $yyact - self::YYNSTATE;
- $this->yyidx -= self::$yyRuleInfo[$yyruleno]['rhs'];
- $nextstate = $this->yy_find_reduce_action(
- $this->yystack[$this->yyidx]->stateno,
- self::$yyRuleInfo[$yyruleno]['lhs']);
+ $this->yyidx -= self::$yyRuleInfo[$yyruleno][1];
+ $nextstate = $this->yy_find_reduce_action($this->yystack[$this->yyidx]->stateno,
+ self::$yyRuleInfo[$yyruleno][0]);
if (isset(self::$yyExpectedTokens[$nextstate])) {
$expected = array_merge($expected, self::$yyExpectedTokens[$nextstate]);
- if (in_array($token,
- self::$yyExpectedTokens[$nextstate], true)) {
- $this->yyidx = $yyidx;
- $this->yystack = $stack;
-
- return array_unique($expected);
+ if (isset($res4[$nextstate][$token])) {
+ if ($res4[$nextstate][$token]) {
+ $this->yyidx = $yyidx;
+ $this->yystack = $stack;
+ return array_unique($expected);
+ }
+ } else {
+ if ($res4[$nextstate][$token] =
+ in_array($token, self::$yyExpectedTokens[$nextstate], true)
+ ) {
+ $this->yyidx = $yyidx;
+ $this->yystack = $stack;
+ return array_unique($expected);
+ }
}
}
if ($nextstate < self::YYNSTATE) {
@@ -2703,7 +1131,7 @@ class Smarty_Internal_Templateparser#line 80 "smarty_internal_templateparser.php
$this->yyidx ++;
$x = new TP_yyStackEntry;
$x->stateno = $nextstate;
- $x->major = self::$yyRuleInfo[$yyruleno]['lhs'];
+ $x->major = self::$yyRuleInfo[$yyruleno][0];
$this->yystack[$this->yyidx] = $x;
continue 2;
} elseif ($nextstate == self::YYNSTATE + self::YYNRULE + 1) {
@@ -2733,12 +1161,20 @@ class Smarty_Internal_Templateparser#line 80 "smarty_internal_templateparser.php
public function yy_is_expected_token($token)
{
+ static $res = array();
+ static $res2 = array();
if ($token === 0) {
return true; // 0 is not part of this
}
$state = $this->yystack[$this->yyidx]->stateno;
- if (in_array($token, self::$yyExpectedTokens[$state], true)) {
- return true;
+ if (isset($res[$state][$token])) {
+ if ($res[$state][$token]) {
+ return true;
+ }
+ } else {
+ if ($res[$state][$token] = in_array($token, self::$yyExpectedTokens[$state], true)) {
+ return true;
+ }
}
$stack = $this->yystack;
$yyidx = $this->yyidx;
@@ -2756,24 +1192,30 @@ class Smarty_Internal_Templateparser#line 80 "smarty_internal_templateparser.php
return true;
}
$yyruleno = $yyact - self::YYNSTATE;
- $this->yyidx -= self::$yyRuleInfo[$yyruleno]['rhs'];
- $nextstate = $this->yy_find_reduce_action(
- $this->yystack[$this->yyidx]->stateno,
- self::$yyRuleInfo[$yyruleno]['lhs']);
- if (isset(self::$yyExpectedTokens[$nextstate]) &&
- in_array($token, self::$yyExpectedTokens[$nextstate], true)
- ) {
- $this->yyidx = $yyidx;
- $this->yystack = $stack;
-
- return true;
+ $this->yyidx -= self::$yyRuleInfo[$yyruleno][1];
+ $nextstate = $this->yy_find_reduce_action($this->yystack[$this->yyidx]->stateno,
+ self::$yyRuleInfo[$yyruleno][0]);
+ if (isset($res2[$nextstate][$token])) {
+ if ($res2[$nextstate][$token]) {
+ $this->yyidx = $yyidx;
+ $this->yystack = $stack;
+ return true;
+ }
+ } else {
+ if ($res2[$nextstate][$token] = (isset(self::$yyExpectedTokens[$nextstate]) &&
+ in_array($token, self::$yyExpectedTokens[$nextstate], true))
+ ) {
+ $this->yyidx = $yyidx;
+ $this->yystack = $stack;
+ return true;
+ }
}
if ($nextstate < self::YYNSTATE) {
// we need to shift a non-terminal
$this->yyidx ++;
$x = new TP_yyStackEntry;
$x->stateno = $nextstate;
- $x->major = self::$yyRuleInfo[$yyruleno]['lhs'];
+ $x->major = self::$yyRuleInfo[$yyruleno][0];
$this->yystack[$this->yyidx] = $x;
continue 2;
} elseif ($nextstate == self::YYNSTATE + self::YYNRULE + 1) {
@@ -2822,16 +1264,14 @@ class Smarty_Internal_Templateparser#line 80 "smarty_internal_templateparser.php
return self::YY_NO_ACTION;
}
$i += $iLookAhead;
- if ($i < 0 || $i >= self::YY_SZ_ACTTAB ||
- self::$yy_lookahead[$i] != $iLookAhead
- ) {
- if (count(self::$yyFallback) && $iLookAhead < count(self::$yyFallback)
- && ($iFallback = self::$yyFallback[$iLookAhead]) != 0
+ if ($i < 0 || $i >= self::YY_SZ_ACTTAB || self::$yy_lookahead[$i] != $iLookAhead) {
+ if (count(self::$yyFallback) && $iLookAhead < count(self::$yyFallback) &&
+ ($iFallback = self::$yyFallback[$iLookAhead]) != 0
) {
if ($this->yyTraceFILE) {
- fwrite($this->yyTraceFILE, $this->yyTracePrompt . "FALLBACK " .
- $this->yyTokenName[$iLookAhead] . " => " .
- $this->yyTokenName[$iFallback] . "\n");
+ fwrite($this->yyTraceFILE,
+ $this->yyTracePrompt . "FALLBACK " . $this->yyTokenName[$iLookAhead] . " => " .
+ $this->yyTokenName[$iFallback] . "\n");
}
return $this->yy_find_shift_action($iFallback);
@@ -2858,9 +1298,7 @@ class Smarty_Internal_Templateparser#line 80 "smarty_internal_templateparser.php
return self::YY_NO_ACTION;
}
$i += $iLookAhead;
- if ($i < 0 || $i >= self::YY_SZ_ACTTAB ||
- self::$yy_lookahead[$i] != $iLookAhead
- ) {
+ if ($i < 0 || $i >= self::YY_SZ_ACTTAB || self::$yy_lookahead[$i] != $iLookAhead) {
return self::$yy_default[$stateno];
} else {
return self::$yy_action[$i];
@@ -2878,11 +1316,10 @@ class Smarty_Internal_Templateparser#line 80 "smarty_internal_templateparser.php
while ($this->yyidx >= 0) {
$this->yy_pop_parser_stack();
}
- #line 82 "smarty_internal_templateparser.y"
+ #line 214 "../smarty/lexer/smarty_internal_templateparser.y"
$this->internalError = true;
$this->compiler->trigger_template_error("Stack overflow in template parser");
- #line 1721 "smarty_internal_templateparser.php"
return;
}
@@ -2890,805 +1327,538 @@ class Smarty_Internal_Templateparser#line 80 "smarty_internal_templateparser.php
$yytos->stateno = $yyNewState;
$yytos->major = $yyMajor;
$yytos->minor = $yypMinor;
- array_push($this->yystack, $yytos);
+ $this->yystack[] = $yytos;
if ($this->yyTraceFILE && $this->yyidx > 0) {
- fprintf($this->yyTraceFILE, "%sShift %d\n", $this->yyTracePrompt,
- $yyNewState);
+ fprintf($this->yyTraceFILE, "%sShift %d\n", $this->yyTracePrompt, $yyNewState);
fprintf($this->yyTraceFILE, "%sStack:", $this->yyTracePrompt);
for ($i = 1; $i <= $this->yyidx; $i ++) {
- fprintf($this->yyTraceFILE, " %s",
- $this->yyTokenName[$this->yystack[$i]->major]);
+ fprintf($this->yyTraceFILE, " %s", $this->yyTokenName[$this->yystack[$i]->major]);
}
fwrite($this->yyTraceFILE, "\n");
}
}
- public static $yyRuleInfo = array(
- array('lhs' => 83, 'rhs' => 1),
- array('lhs' => 84, 'rhs' => 1),
- array('lhs' => 84, 'rhs' => 2),
- array('lhs' => 84, 'rhs' => 0),
- array('lhs' => 85, 'rhs' => 2),
- array('lhs' => 85, 'rhs' => 1),
- array('lhs' => 85, 'rhs' => 1),
- array('lhs' => 85, 'rhs' => 1),
- array('lhs' => 85, 'rhs' => 1),
- array('lhs' => 85, 'rhs' => 1),
- array('lhs' => 85, 'rhs' => 1),
- array('lhs' => 85, 'rhs' => 1),
- array('lhs' => 85, 'rhs' => 1),
- array('lhs' => 85, 'rhs' => 1),
- array('lhs' => 85, 'rhs' => 1),
- array('lhs' => 85, 'rhs' => 1),
- array('lhs' => 85, 'rhs' => 1),
- array('lhs' => 87, 'rhs' => 2),
- array('lhs' => 87, 'rhs' => 3),
- array('lhs' => 88, 'rhs' => 2),
- array('lhs' => 88, 'rhs' => 0),
- array('lhs' => 89, 'rhs' => 1),
- array('lhs' => 89, 'rhs' => 1),
- array('lhs' => 86, 'rhs' => 2),
- array('lhs' => 86, 'rhs' => 4),
- array('lhs' => 86, 'rhs' => 3),
- array('lhs' => 86, 'rhs' => 4),
- array('lhs' => 86, 'rhs' => 3),
- array('lhs' => 86, 'rhs' => 5),
- array('lhs' => 86, 'rhs' => 5),
- array('lhs' => 86, 'rhs' => 6),
- array('lhs' => 86, 'rhs' => 5),
- array('lhs' => 86, 'rhs' => 3),
- array('lhs' => 86, 'rhs' => 2),
- array('lhs' => 86, 'rhs' => 5),
- array('lhs' => 86, 'rhs' => 4),
- array('lhs' => 86, 'rhs' => 6),
- array('lhs' => 86, 'rhs' => 2),
- array('lhs' => 86, 'rhs' => 3),
- array('lhs' => 86, 'rhs' => 2),
- array('lhs' => 86, 'rhs' => 3),
- array('lhs' => 86, 'rhs' => 11),
- array('lhs' => 99, 'rhs' => 2),
- array('lhs' => 99, 'rhs' => 1),
- array('lhs' => 86, 'rhs' => 5),
- array('lhs' => 86, 'rhs' => 7),
- array('lhs' => 86, 'rhs' => 2),
- array('lhs' => 86, 'rhs' => 7),
- array('lhs' => 86, 'rhs' => 10),
- array('lhs' => 86, 'rhs' => 7),
- array('lhs' => 86, 'rhs' => 10),
- array('lhs' => 86, 'rhs' => 3),
- array('lhs' => 86, 'rhs' => 4),
- array('lhs' => 86, 'rhs' => 2),
- array('lhs' => 86, 'rhs' => 2),
- array('lhs' => 86, 'rhs' => 3),
- array('lhs' => 86, 'rhs' => 4),
- array('lhs' => 86, 'rhs' => 5),
- array('lhs' => 92, 'rhs' => 2),
- array('lhs' => 92, 'rhs' => 1),
- array('lhs' => 92, 'rhs' => 0),
- array('lhs' => 101, 'rhs' => 4),
- array('lhs' => 101, 'rhs' => 2),
- array('lhs' => 101, 'rhs' => 2),
- array('lhs' => 101, 'rhs' => 2),
- array('lhs' => 101, 'rhs' => 2),
- array('lhs' => 101, 'rhs' => 2),
- array('lhs' => 101, 'rhs' => 4),
- array('lhs' => 96, 'rhs' => 1),
- array('lhs' => 96, 'rhs' => 3),
- array('lhs' => 95, 'rhs' => 4),
- array('lhs' => 95, 'rhs' => 3),
- array('lhs' => 95, 'rhs' => 3),
- array('lhs' => 93, 'rhs' => 1),
- array('lhs' => 93, 'rhs' => 1),
- array('lhs' => 93, 'rhs' => 4),
- array('lhs' => 93, 'rhs' => 3),
- array('lhs' => 93, 'rhs' => 3),
- array('lhs' => 93, 'rhs' => 3),
- array('lhs' => 93, 'rhs' => 1),
- array('lhs' => 93, 'rhs' => 2),
- array('lhs' => 93, 'rhs' => 3),
- array('lhs' => 93, 'rhs' => 3),
- array('lhs' => 93, 'rhs' => 3),
- array('lhs' => 93, 'rhs' => 3),
- array('lhs' => 93, 'rhs' => 3),
- array('lhs' => 93, 'rhs' => 3),
- array('lhs' => 93, 'rhs' => 2),
- array('lhs' => 93, 'rhs' => 2),
- array('lhs' => 93, 'rhs' => 3),
- array('lhs' => 93, 'rhs' => 3),
- array('lhs' => 93, 'rhs' => 2),
- array('lhs' => 93, 'rhs' => 2),
- array('lhs' => 93, 'rhs' => 3),
- array('lhs' => 93, 'rhs' => 3),
- array('lhs' => 93, 'rhs' => 3),
- array('lhs' => 93, 'rhs' => 3),
- array('lhs' => 102, 'rhs' => 8),
- array('lhs' => 102, 'rhs' => 7),
- array('lhs' => 90, 'rhs' => 1),
- array('lhs' => 90, 'rhs' => 2),
- array('lhs' => 90, 'rhs' => 2),
- array('lhs' => 90, 'rhs' => 2),
- array('lhs' => 90, 'rhs' => 2),
- array('lhs' => 90, 'rhs' => 1),
- array('lhs' => 90, 'rhs' => 1),
- array('lhs' => 90, 'rhs' => 3),
- array('lhs' => 90, 'rhs' => 2),
- array('lhs' => 90, 'rhs' => 2),
- array('lhs' => 90, 'rhs' => 1),
- array('lhs' => 90, 'rhs' => 1),
- array('lhs' => 90, 'rhs' => 3),
- array('lhs' => 90, 'rhs' => 1),
- array('lhs' => 90, 'rhs' => 1),
- array('lhs' => 90, 'rhs' => 3),
- array('lhs' => 90, 'rhs' => 3),
- array('lhs' => 90, 'rhs' => 2),
- array('lhs' => 90, 'rhs' => 2),
- array('lhs' => 106, 'rhs' => 1),
- array('lhs' => 106, 'rhs' => 4),
- array('lhs' => 106, 'rhs' => 1),
- array('lhs' => 106, 'rhs' => 3),
- array('lhs' => 106, 'rhs' => 4),
- array('lhs' => 106, 'rhs' => 3),
- array('lhs' => 106, 'rhs' => 4),
- array('lhs' => 94, 'rhs' => 3),
- array('lhs' => 111, 'rhs' => 2),
- array('lhs' => 111, 'rhs' => 0),
- array('lhs' => 112, 'rhs' => 3),
- array('lhs' => 112, 'rhs' => 5),
- array('lhs' => 112, 'rhs' => 2),
- array('lhs' => 112, 'rhs' => 2),
- array('lhs' => 112, 'rhs' => 4),
- array('lhs' => 112, 'rhs' => 3),
- array('lhs' => 112, 'rhs' => 5),
- array('lhs' => 112, 'rhs' => 3),
- array('lhs' => 112, 'rhs' => 2),
- array('lhs' => 98, 'rhs' => 1),
- array('lhs' => 98, 'rhs' => 2),
- array('lhs' => 113, 'rhs' => 1),
- array('lhs' => 113, 'rhs' => 3),
- array('lhs' => 110, 'rhs' => 2),
- array('lhs' => 114, 'rhs' => 1),
- array('lhs' => 114, 'rhs' => 2),
- array('lhs' => 115, 'rhs' => 3),
- array('lhs' => 115, 'rhs' => 4),
- array('lhs' => 115, 'rhs' => 5),
- array('lhs' => 115, 'rhs' => 6),
- array('lhs' => 115, 'rhs' => 2),
- array('lhs' => 107, 'rhs' => 4),
- array('lhs' => 116, 'rhs' => 4),
- array('lhs' => 116, 'rhs' => 5),
- array('lhs' => 117, 'rhs' => 3),
- array('lhs' => 117, 'rhs' => 1),
- array('lhs' => 117, 'rhs' => 0),
- array('lhs' => 91, 'rhs' => 3),
- array('lhs' => 91, 'rhs' => 2),
- array('lhs' => 118, 'rhs' => 3),
- array('lhs' => 118, 'rhs' => 2),
- array('lhs' => 100, 'rhs' => 2),
- array('lhs' => 100, 'rhs' => 0),
- array('lhs' => 119, 'rhs' => 2),
- array('lhs' => 119, 'rhs' => 2),
- array('lhs' => 109, 'rhs' => 1),
- array('lhs' => 109, 'rhs' => 2),
- array('lhs' => 109, 'rhs' => 1),
- array('lhs' => 109, 'rhs' => 3),
- array('lhs' => 109, 'rhs' => 4),
- array('lhs' => 104, 'rhs' => 1),
- array('lhs' => 104, 'rhs' => 1),
- array('lhs' => 104, 'rhs' => 1),
- array('lhs' => 104, 'rhs' => 1),
- array('lhs' => 104, 'rhs' => 1),
- array('lhs' => 104, 'rhs' => 1),
- array('lhs' => 104, 'rhs' => 1),
- array('lhs' => 104, 'rhs' => 1),
- array('lhs' => 104, 'rhs' => 1),
- array('lhs' => 105, 'rhs' => 1),
- array('lhs' => 105, 'rhs' => 1),
- array('lhs' => 105, 'rhs' => 1),
- array('lhs' => 103, 'rhs' => 3),
- array('lhs' => 120, 'rhs' => 1),
- array('lhs' => 120, 'rhs' => 3),
- array('lhs' => 120, 'rhs' => 0),
- array('lhs' => 121, 'rhs' => 3),
- array('lhs' => 121, 'rhs' => 3),
- array('lhs' => 121, 'rhs' => 1),
- array('lhs' => 108, 'rhs' => 2),
- array('lhs' => 108, 'rhs' => 3),
- array('lhs' => 122, 'rhs' => 2),
- array('lhs' => 122, 'rhs' => 1),
- array('lhs' => 123, 'rhs' => 3),
- array('lhs' => 123, 'rhs' => 3),
- array('lhs' => 123, 'rhs' => 1),
- array('lhs' => 123, 'rhs' => 3),
- array('lhs' => 123, 'rhs' => 3),
- array('lhs' => 123, 'rhs' => 2),
- array('lhs' => 123, 'rhs' => 1),
- array('lhs' => 97, 'rhs' => 1),
- array('lhs' => 97, 'rhs' => 0),
- );
-
- public static $yyReduceMap = array(
- 0 => 0,
- 1 => 1,
- 2 => 2,
- 4 => 4,
- 5 => 5,
- 6 => 6,
- 7 => 7,
- 8 => 8,
- 9 => 9,
- 10 => 10,
- 11 => 11,
- 12 => 12,
- 13 => 13,
- 14 => 14,
- 15 => 15,
- 16 => 16,
- 17 => 17,
- 20 => 17,
- 199 => 17,
- 18 => 18,
- 72 => 18,
- 19 => 19,
- 100 => 19,
- 102 => 19,
- 103 => 19,
- 126 => 19,
- 164 => 19,
- 21 => 21,
- 22 => 21,
- 43 => 21,
- 65 => 21,
- 66 => 21,
- 73 => 21,
- 74 => 21,
- 79 => 21,
- 99 => 21,
- 104 => 21,
- 105 => 21,
- 110 => 21,
- 112 => 21,
- 113 => 21,
- 120 => 21,
- 137 => 21,
- 163 => 21,
- 165 => 21,
- 181 => 21,
- 186 => 21,
- 198 => 21,
- 23 => 23,
- 24 => 24,
- 25 => 25,
- 27 => 25,
- 26 => 26,
- 28 => 28,
- 29 => 28,
- 30 => 30,
- 31 => 31,
- 32 => 32,
- 33 => 33,
- 34 => 34,
- 35 => 35,
- 36 => 36,
- 37 => 37,
- 38 => 38,
- 40 => 38,
- 39 => 39,
- 41 => 41,
- 42 => 42,
- 44 => 44,
- 45 => 45,
- 46 => 46,
- 47 => 47,
- 49 => 47,
- 48 => 48,
- 50 => 48,
- 51 => 51,
- 52 => 52,
- 53 => 53,
- 54 => 54,
- 55 => 55,
- 56 => 56,
- 57 => 57,
- 58 => 58,
- 59 => 59,
- 68 => 59,
- 153 => 59,
- 157 => 59,
- 161 => 59,
- 162 => 59,
- 60 => 60,
- 154 => 60,
- 160 => 60,
- 61 => 61,
- 62 => 62,
- 63 => 62,
- 64 => 64,
- 67 => 67,
- 69 => 69,
- 70 => 70,
- 71 => 70,
- 75 => 75,
- 76 => 76,
- 77 => 76,
- 78 => 76,
- 80 => 80,
- 117 => 80,
- 81 => 81,
- 84 => 81,
- 95 => 81,
- 82 => 82,
- 83 => 83,
- 85 => 85,
- 86 => 86,
- 87 => 87,
- 92 => 87,
- 88 => 88,
- 91 => 88,
- 89 => 89,
- 94 => 89,
- 90 => 90,
- 93 => 90,
- 96 => 96,
- 97 => 97,
- 98 => 98,
- 101 => 101,
- 106 => 106,
- 107 => 107,
- 108 => 108,
- 109 => 109,
- 111 => 111,
- 114 => 114,
- 115 => 115,
- 116 => 116,
- 118 => 118,
- 119 => 119,
- 121 => 121,
- 122 => 122,
- 123 => 123,
- 124 => 124,
- 125 => 125,
- 127 => 127,
- 183 => 127,
- 128 => 128,
- 129 => 129,
- 130 => 130,
- 131 => 131,
- 132 => 132,
- 135 => 132,
- 133 => 133,
- 134 => 134,
- 136 => 136,
- 138 => 138,
- 139 => 139,
- 140 => 140,
- 141 => 141,
- 142 => 142,
- 143 => 143,
- 144 => 144,
- 145 => 145,
- 146 => 146,
- 147 => 147,
- 148 => 148,
- 149 => 149,
- 150 => 150,
- 151 => 151,
- 152 => 152,
- 155 => 155,
- 156 => 156,
- 158 => 158,
- 159 => 159,
- 166 => 166,
- 167 => 167,
- 168 => 168,
- 169 => 169,
- 170 => 170,
- 171 => 171,
- 172 => 172,
- 173 => 173,
- 174 => 174,
- 175 => 175,
- 176 => 176,
- 177 => 177,
- 178 => 178,
- 179 => 179,
- 180 => 180,
- 182 => 182,
- 184 => 184,
- 185 => 185,
- 187 => 187,
- 188 => 188,
- 189 => 189,
- 190 => 190,
- 191 => 191,
- 192 => 191,
- 194 => 191,
- 193 => 193,
- 195 => 195,
- 196 => 196,
- 197 => 197,
- );
-
- #line 93 "smarty_internal_templateparser.y"
+ public static $yyRuleInfo = array(array(0 => 61, 1 => 1), array(0 => 62, 1 => 1), array(0 => 62, 1 => 2),
+ array(0 => 62, 1 => 0), array(0 => 63, 1 => 1), array(0 => 63, 1 => 1),
+ array(0 => 63, 1 => 1), array(0 => 63, 1 => 1), array(0 => 63, 1 => 1),
+ array(0 => 66, 1 => 1), array(0 => 66, 1 => 2), array(0 => 63, 1 => 1),
+ array(0 => 63, 1 => 1), array(0 => 65, 1 => 2), array(0 => 65, 1 => 3),
+ array(0 => 67, 1 => 2), array(0 => 67, 1 => 0), array(0 => 68, 1 => 1),
+ array(0 => 68, 1 => 1), array(0 => 64, 1 => 2), array(0 => 64, 1 => 1),
+ array(0 => 69, 1 => 2), array(0 => 69, 1 => 4), array(0 => 69, 1 => 3),
+ array(0 => 69, 1 => 2), array(0 => 69, 1 => 4), array(0 => 69, 1 => 3),
+ array(0 => 69, 1 => 4), array(0 => 69, 1 => 3), array(0 => 69, 1 => 4),
+ array(0 => 69, 1 => 4), array(0 => 69, 1 => 5), array(0 => 69, 1 => 5),
+ array(0 => 64, 1 => 1), array(0 => 69, 1 => 3), array(0 => 69, 1 => 2),
+ array(0 => 69, 1 => 4), array(0 => 69, 1 => 5), array(0 => 69, 1 => 6),
+ array(0 => 69, 1 => 2), array(0 => 69, 1 => 3), array(0 => 69, 1 => 2),
+ array(0 => 69, 1 => 3), array(0 => 69, 1 => 8), array(0 => 78, 1 => 2),
+ array(0 => 78, 1 => 1), array(0 => 69, 1 => 5), array(0 => 69, 1 => 7),
+ array(0 => 69, 1 => 2), array(0 => 69, 1 => 6), array(0 => 69, 1 => 8),
+ array(0 => 69, 1 => 6), array(0 => 69, 1 => 8), array(0 => 69, 1 => 3),
+ array(0 => 69, 1 => 4), array(0 => 69, 1 => 2), array(0 => 64, 1 => 1),
+ array(0 => 69, 1 => 2), array(0 => 69, 1 => 3), array(0 => 69, 1 => 4),
+ array(0 => 69, 1 => 5), array(0 => 72, 1 => 2), array(0 => 72, 1 => 1),
+ array(0 => 72, 1 => 0), array(0 => 81, 1 => 4), array(0 => 81, 1 => 2),
+ array(0 => 81, 1 => 2), array(0 => 81, 1 => 2), array(0 => 81, 1 => 2),
+ array(0 => 81, 1 => 2), array(0 => 81, 1 => 4), array(0 => 77, 1 => 1),
+ array(0 => 77, 1 => 3), array(0 => 76, 1 => 3), array(0 => 76, 1 => 3),
+ array(0 => 76, 1 => 3), array(0 => 76, 1 => 3), array(0 => 74, 1 => 1),
+ array(0 => 74, 1 => 1), array(0 => 74, 1 => 3), array(0 => 74, 1 => 3),
+ array(0 => 74, 1 => 3), array(0 => 74, 1 => 1), array(0 => 74, 1 => 2),
+ array(0 => 74, 1 => 3), array(0 => 74, 1 => 2), array(0 => 74, 1 => 3),
+ array(0 => 74, 1 => 3), array(0 => 74, 1 => 3), array(0 => 74, 1 => 3),
+ array(0 => 82, 1 => 7), array(0 => 82, 1 => 7), array(0 => 73, 1 => 1),
+ array(0 => 73, 1 => 2), array(0 => 73, 1 => 2), array(0 => 73, 1 => 2),
+ array(0 => 73, 1 => 2), array(0 => 73, 1 => 1), array(0 => 73, 1 => 1),
+ array(0 => 73, 1 => 3), array(0 => 73, 1 => 2), array(0 => 73, 1 => 2),
+ array(0 => 73, 1 => 1), array(0 => 73, 1 => 1), array(0 => 73, 1 => 3),
+ array(0 => 73, 1 => 1), array(0 => 73, 1 => 1), array(0 => 73, 1 => 3),
+ array(0 => 73, 1 => 1), array(0 => 73, 1 => 2), array(0 => 73, 1 => 1),
+ array(0 => 73, 1 => 3), array(0 => 86, 1 => 1), array(0 => 86, 1 => 1),
+ array(0 => 70, 1 => 1), array(0 => 70, 1 => 1), array(0 => 70, 1 => 3),
+ array(0 => 70, 1 => 1), array(0 => 70, 1 => 3), array(0 => 70, 1 => 4),
+ array(0 => 70, 1 => 3), array(0 => 70, 1 => 4), array(0 => 75, 1 => 2),
+ array(0 => 75, 1 => 2), array(0 => 91, 1 => 2), array(0 => 91, 1 => 0),
+ array(0 => 92, 1 => 2), array(0 => 92, 1 => 2), array(0 => 92, 1 => 4),
+ array(0 => 92, 1 => 2), array(0 => 92, 1 => 2), array(0 => 92, 1 => 4),
+ array(0 => 92, 1 => 3), array(0 => 92, 1 => 5), array(0 => 92, 1 => 3),
+ array(0 => 92, 1 => 3), array(0 => 92, 1 => 3), array(0 => 92, 1 => 3),
+ array(0 => 92, 1 => 3), array(0 => 92, 1 => 3), array(0 => 92, 1 => 2),
+ array(0 => 79, 1 => 1), array(0 => 79, 1 => 1), array(0 => 79, 1 => 2),
+ array(0 => 93, 1 => 1), array(0 => 93, 1 => 1), array(0 => 93, 1 => 3),
+ array(0 => 90, 1 => 2), array(0 => 94, 1 => 1), array(0 => 94, 1 => 2),
+ array(0 => 95, 1 => 3), array(0 => 95, 1 => 3), array(0 => 95, 1 => 5),
+ array(0 => 95, 1 => 6), array(0 => 95, 1 => 2), array(0 => 87, 1 => 4),
+ array(0 => 96, 1 => 4), array(0 => 96, 1 => 4), array(0 => 97, 1 => 3),
+ array(0 => 97, 1 => 1), array(0 => 97, 1 => 0), array(0 => 71, 1 => 3),
+ array(0 => 71, 1 => 2), array(0 => 98, 1 => 3), array(0 => 98, 1 => 2),
+ array(0 => 80, 1 => 2), array(0 => 80, 1 => 0), array(0 => 99, 1 => 2),
+ array(0 => 99, 1 => 2), array(0 => 89, 1 => 1), array(0 => 89, 1 => 2),
+ array(0 => 89, 1 => 1), array(0 => 89, 1 => 2), array(0 => 89, 1 => 3),
+ array(0 => 84, 1 => 1), array(0 => 84, 1 => 1), array(0 => 85, 1 => 1),
+ array(0 => 83, 1 => 3), array(0 => 100, 1 => 1), array(0 => 100, 1 => 3),
+ array(0 => 100, 1 => 0), array(0 => 101, 1 => 3), array(0 => 101, 1 => 3),
+ array(0 => 101, 1 => 1), array(0 => 88, 1 => 2), array(0 => 88, 1 => 3),
+ array(0 => 102, 1 => 2), array(0 => 102, 1 => 1), array(0 => 103, 1 => 3),
+ array(0 => 103, 1 => 3), array(0 => 103, 1 => 1), array(0 => 103, 1 => 3),
+ array(0 => 103, 1 => 3), array(0 => 103, 1 => 1), array(0 => 103, 1 => 1),);
+
+ public static $yyReduceMap = array(0 => 0, 1 => 1, 2 => 2, 4 => 4, 5 => 5, 6 => 6, 7 => 7, 8 => 8, 9 => 9,
+ 17 => 9, 18 => 9, 45 => 9, 68 => 9, 69 => 9, 77 => 9, 78 => 9, 82 => 9, 92 => 9,
+ 97 => 9, 98 => 9, 103 => 9, 105 => 9, 106 => 9, 110 => 9, 112 => 9, 117 => 9,
+ 178 => 9, 183 => 9, 10 => 10, 11 => 11, 12 => 12, 13 => 13, 16 => 13, 14 => 14,
+ 76 => 14, 15 => 15, 93 => 15, 95 => 15, 96 => 15, 124 => 15, 19 => 19, 20 => 20,
+ 21 => 21, 24 => 21, 22 => 22, 25 => 22, 23 => 23, 26 => 23, 28 => 23, 27 => 27,
+ 29 => 29, 30 => 29, 31 => 31, 32 => 32, 33 => 33, 34 => 34, 35 => 35, 36 => 36,
+ 37 => 37, 38 => 38, 39 => 39, 40 => 40, 42 => 40, 41 => 41, 43 => 43, 44 => 44,
+ 46 => 46, 47 => 47, 48 => 48, 49 => 49, 51 => 49, 50 => 50, 52 => 50, 53 => 53,
+ 54 => 54, 55 => 55, 56 => 56, 57 => 57, 58 => 58, 59 => 59, 60 => 60, 61 => 61,
+ 62 => 62, 71 => 62, 159 => 62, 163 => 62, 167 => 62, 168 => 62, 63 => 63,
+ 160 => 63, 166 => 63, 64 => 64, 65 => 65, 66 => 65, 67 => 67, 144 => 67,
+ 70 => 70, 72 => 72, 73 => 73, 74 => 73, 75 => 75, 79 => 79, 80 => 80, 81 => 80,
+ 83 => 83, 109 => 83, 84 => 84, 85 => 85, 86 => 86, 87 => 87, 88 => 88, 89 => 88,
+ 90 => 90, 91 => 91, 94 => 94, 99 => 99, 100 => 100, 101 => 101, 102 => 102,
+ 104 => 104, 107 => 107, 108 => 108, 111 => 111, 113 => 113, 114 => 114,
+ 115 => 115, 116 => 116, 118 => 118, 119 => 119, 120 => 120, 121 => 121,
+ 122 => 122, 123 => 123, 125 => 125, 180 => 125, 126 => 126, 127 => 127,
+ 128 => 128, 129 => 129, 130 => 130, 131 => 131, 139 => 131, 132 => 132,
+ 133 => 133, 134 => 134, 135 => 134, 137 => 134, 138 => 134, 136 => 136,
+ 140 => 140, 141 => 141, 142 => 142, 184 => 142, 143 => 143, 145 => 145,
+ 146 => 146, 147 => 147, 148 => 148, 149 => 149, 150 => 150, 151 => 151,
+ 152 => 152, 153 => 153, 154 => 154, 155 => 155, 156 => 156, 157 => 157,
+ 158 => 158, 161 => 161, 162 => 162, 164 => 164, 165 => 165, 169 => 169,
+ 170 => 170, 171 => 171, 172 => 172, 173 => 173, 174 => 174, 175 => 175,
+ 176 => 176, 177 => 177, 179 => 179, 181 => 181, 182 => 182, 185 => 185,
+ 186 => 186, 187 => 187, 188 => 188, 189 => 188, 191 => 188, 190 => 190,
+ 192 => 192, 193 => 193, 194 => 194,);
+
+ #line 225 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r0()
{
- $this->_retvalue = $this->root_buffer->to_smarty_php();
+ $this->root_buffer->prepend_array($this, $this->template_prefix);
+ $this->root_buffer->append_array($this, $this->template_postfix);
+ $this->_retvalue = $this->root_buffer->to_smarty_php($this);
}
- #line 2150 "smarty_internal_templateparser.php"
- #line 101 "smarty_internal_templateparser.y"
+
+ #line 235 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r1()
{
if ($this->yystack[$this->yyidx + 0]->minor != null) {
- $this->current_buffer->append_subtree($this->yystack[$this->yyidx + 0]->minor);
+ $this->current_buffer->append_subtree($this, $this->yystack[$this->yyidx + 0]->minor);
}
}
- #line 2157 "smarty_internal_templateparser.php"
- #line 108 "smarty_internal_templateparser.y"
+
+ #line 242 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r2()
{
if ($this->yystack[$this->yyidx + 0]->minor != null) {
// because of possible code injection
- $this->current_buffer->append_subtree($this->yystack[$this->yyidx + 0]->minor);
+ $this->current_buffer->append_subtree($this, $this->yystack[$this->yyidx + 0]->minor);
}
}
- #line 2165 "smarty_internal_templateparser.php"
- #line 122 "smarty_internal_templateparser.y"
+
+ #line 256 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r4()
{
if ($this->compiler->has_code) {
- $tmp = '';
- foreach ($this->compiler->prefix_code as $code) {
- $tmp .= $code;
- }
- $this->compiler->prefix_code = array();
- $this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode($tmp . $this->yystack[$this->yyidx + - 1]->minor, true));
+ $this->_retvalue = $this->mergePrefixCode($this->yystack[$this->yyidx + 0]->minor);
} else {
$this->_retvalue = null;
}
$this->compiler->has_variable_string = false;
$this->block_nesting_level = count($this->compiler->_tag_stack);
}
- #line 2177 "smarty_internal_templateparser.php"
- #line 134 "smarty_internal_templateparser.y"
+
+ #line 267 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r5()
{
- $this->_retvalue = null;
+ $this->_retvalue = new Smarty_Internal_ParseTree_Text($this->yystack[$this->yyidx + 0]->minor);
}
- #line 2182 "smarty_internal_templateparser.php"
- #line 139 "smarty_internal_templateparser.y"
+
+ #line 271 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r6()
{
- $this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
- }
- #line 2187 "smarty_internal_templateparser.php"
- #line 144 "smarty_internal_templateparser.y"
- function yy_r7()
- {
- if (strpos($this->yystack[$this->yyidx + 0]->minor, '<s') === 0) {
- $this->lex->is_phpScript = true;
- }
- if ($this->php_handling == Smarty::PHP_PASSTHRU) {
- if ($this->lex->is_phpScript) {
- $s = addcslashes($this->yystack[$this->yyidx + 0]->minor, "'");
- $this->_retvalue = new _smarty_text($this, $s);
- } else {
- $this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
- }
- } elseif ($this->php_handling == Smarty::PHP_QUOTE) {
- $this->_retvalue = new _smarty_text($this, htmlspecialchars($this->yystack[$this->yyidx + 0]->minor, ENT_QUOTES));
- } elseif ($this->php_handling == Smarty::PHP_ALLOW) {
- if (!($this->smarty instanceof SmartyBC)) {
- $this->compiler->trigger_template_error(self::Err3);
+ $code = $this->compiler->compileTag('private_php',
+ array(array('code' => $this->yystack[$this->yyidx + 0]->minor),
+ array('type' => $this->lex->phpType)), array());
+ if ($this->compiler->has_code && !empty($code)) {
+ $tmp = '';
+ foreach ($this->compiler->prefix_code as $code) {
+ $tmp .= $code;
}
- $this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode('<?php ', true));
- } elseif ($this->php_handling == Smarty::PHP_REMOVE) {
+ $this->compiler->prefix_code = array();
+ $this->_retvalue =
+ new Smarty_Internal_ParseTree_Tag($this, $this->compiler->processNocacheCode($tmp . $code, true));
+ } else {
$this->_retvalue = null;
}
}
- #line 2211 "smarty_internal_templateparser.php"
- #line 168 "smarty_internal_templateparser.y"
+
+ #line 282 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r7()
+ {
+ $this->compiler->tag_nocache = true;
+ $save = $this->template->compiled->has_nocache_code;
+ $this->_retvalue = new Smarty_Internal_ParseTree_Tag($this,
+ $this->compiler->processNocacheCode("<?php echo '{$this->yystack[$this->yyidx + 0]->minor}';?>\n",
+ $this->compiler,
+ true));
+ $this->template->compiled->has_nocache_code = $save;
+ }
+
+ #line 289 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r8()
{
- if ($this->is_xml) {
- $this->compiler->tag_nocache = true;
- $this->is_xml = false;
- $save = $this->template->has_nocache_code;
- $this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode("<?php echo '?>';?>\n", $this->compiler, true));
- $this->template->has_nocache_code = $save;
- } elseif ($this->php_handling == Smarty::PHP_PASSTHRU) {
- $this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
- } elseif ($this->php_handling == Smarty::PHP_QUOTE) {
- $this->_retvalue = new _smarty_text($this, htmlspecialchars('?>', ENT_QUOTES));
- } elseif ($this->php_handling == Smarty::PHP_ALLOW) {
- $this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode('?>', true));
- } elseif ($this->php_handling == Smarty::PHP_REMOVE) {
- $this->_retvalue = null;
- }
+ $this->_retvalue = $this->compiler->processText($this->yystack[$this->yyidx + 0]->minor);
}
- #line 2230 "smarty_internal_templateparser.php"
- #line 186 "smarty_internal_templateparser.y"
+
+ #line 293 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r9()
{
- if (!$this->lex->is_phpScript) {
- $this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
- } else {
- $this->lex->is_phpScript = false;
- if ($this->php_handling == Smarty::PHP_PASSTHRU) {
- $this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
- } elseif ($this->php_handling == Smarty::PHP_QUOTE) {
- $this->_retvalue = new _smarty_text($this, htmlspecialchars($this->yystack[$this->yyidx + 0]->minor, ENT_QUOTES));
- } elseif ($this->php_handling == Smarty::PHP_ALLOW) {
- $this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode('?>', true));
- } elseif ($this->php_handling == Smarty::PHP_REMOVE) {
- $this->_retvalue = null;
- }
- }
+ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;
}
- #line 2248 "smarty_internal_templateparser.php"
- #line 204 "smarty_internal_templateparser.y"
+
+ #line 297 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r10()
{
- if ($this->php_handling == Smarty::PHP_PASSTHRU) {
- $this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
- } elseif ($this->php_handling == Smarty::PHP_QUOTE) {
- $this->_retvalue = new _smarty_text($this, htmlspecialchars($this->yystack[$this->yyidx + 0]->minor, ENT_QUOTES));
- } elseif ($this->php_handling == Smarty::PHP_ALLOW) {
- if ($this->asp_tags) {
- if (!($this->smarty instanceof SmartyBC)) {
- $this->compiler->trigger_template_error(self::Err3);
- }
- $this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode('<%', true));
- } else {
- $this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
- }
- } elseif ($this->php_handling == Smarty::PHP_REMOVE) {
- if ($this->asp_tags) {
- $this->_retvalue = null;
- } else {
- $this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
- }
- }
+ $this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor . $this->yystack[$this->yyidx + 0]->minor;
}
- #line 2272 "smarty_internal_templateparser.php"
- #line 228 "smarty_internal_templateparser.y"
+
+ #line 302 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r11()
{
- if ($this->php_handling == Smarty::PHP_PASSTHRU) {
- $this->_retvalue = new _smarty_text($this, st);
- } elseif ($this->php_handling == Smarty::PHP_QUOTE) {
- $this->_retvalue = new _smarty_text($this, htmlspecialchars('%>', ENT_QUOTES));
- } elseif ($this->php_handling == Smarty::PHP_ALLOW) {
- if ($this->asp_tags) {
- $this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode('%>', true));
- } else {
- $this->_retvalue = new _smarty_text($this, st);
- }
- } elseif ($this->php_handling == Smarty::PHP_REMOVE) {
- if ($this->asp_tags) {
- $this->_retvalue = null;
- } else {
- $this->_retvalue = new _smarty_text($this, st);
- }
- }
+ $this->strip = true;
}
- #line 2293 "smarty_internal_templateparser.php"
- #line 250 "smarty_internal_templateparser.y"
+
+ #line 306 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r12()
{
- $this->compiler->tag_nocache = true;
- $this->is_xml = true;
- $save = $this->template->has_nocache_code;
- $this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode("<?php echo '<?xml';?>", $this->compiler, true));
- $this->template->has_nocache_code = $save;
+ $this->strip = false;
}
- #line 2302 "smarty_internal_templateparser.php"
- #line 259 "smarty_internal_templateparser.y"
+
+ #line 311 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r13()
{
- if ($this->strip) {
- $this->_retvalue = new _smarty_text($this, preg_replace('![\t ]*[\r\n]+[\t ]*!', '', $this->yystack[$this->yyidx + 0]->minor));
- } else {
- $this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
- }
+ $this->_retvalue = '';
}
- #line 2311 "smarty_internal_templateparser.php"
- #line 268 "smarty_internal_templateparser.y"
+
+ #line 315 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r14()
{
- $this->strip = true;
+ $this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor;
}
- #line 2316 "smarty_internal_templateparser.php"
- #line 272 "smarty_internal_templateparser.y"
+
+ #line 319 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r15()
{
- $this->strip = false;
- }
- #line 2321 "smarty_internal_templateparser.php"
- #line 276 "smarty_internal_templateparser.y"
- function yy_r16()
- {
- if ($this->strip) {
- SMARTY_INTERNAL_COMPILE_BLOCK::blockSource($this->compiler, preg_replace('![\t ]*[\r\n]+[\t ]*!', '', $this->yystack[$this->yyidx + 0]->minor));
- } else {
- SMARTY_INTERNAL_COMPILE_BLOCK::blockSource($this->compiler, $this->yystack[$this->yyidx + 0]->minor);
- }
- }
- #line 2330 "smarty_internal_templateparser.php"
- #line 285 "smarty_internal_templateparser.y"
- function yy_r17()
- {
- $this->_retvalue = '';
+ $this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor . $this->yystack[$this->yyidx + 0]->minor;
}
- #line 2335 "smarty_internal_templateparser.php"
- #line 289 "smarty_internal_templateparser.y"
- function yy_r18()
+
+ #line 335 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r19()
{
$this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor;
}
- #line 2340 "smarty_internal_templateparser.php"
- #line 293 "smarty_internal_templateparser.y"
- function yy_r19()
- {
- $this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor . $this->yystack[$this->yyidx + 0]->minor;
+
+ #line 341 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r20()
+ {
+ $var = trim(substr($this->yystack[$this->yyidx + 0]->minor, $this->lex->ldel_length, - $this->lex->rdel_length),
+ ' $');
+ if (preg_match('/^(.*)(\s+nocache)$/', $var, $match)) {
+ $this->_retvalue = $this->compiler->compileTag('private_print_expression', array('nocache'),
+ array('value' => $this->compiler->compileVariable('\'' .
+ $match[1] .
+ '\'')));
+ } else {
+ $this->_retvalue = $this->compiler->compileTag('private_print_expression', array(),
+ array('value' => $this->compiler->compileVariable('\'' .
+ $var .
+ '\'')));
+ }
}
- #line 2345 "smarty_internal_templateparser.php"
- #line 301 "smarty_internal_templateparser.y"
+
+ #line 351 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r21()
{
- $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;
- }
- #line 2350 "smarty_internal_templateparser.php"
- #line 314 "smarty_internal_templateparser.y"
- function yy_r23()
- {
- $this->_retvalue = $this->compiler->compileTag('private_print_expression', array(), array('value' => $this->yystack[$this->yyidx + 0]->minor));
- }
- #line 2355 "smarty_internal_templateparser.php"
- #line 318 "smarty_internal_templateparser.y"
- function yy_r24()
- {
- $this->_retvalue = $this->compiler->compileTag('private_print_expression', $this->yystack[$this->yyidx + 0]->minor, array('value' => $this->yystack[$this->yyidx + - 2]->minor, 'modifierlist' => $this->yystack[$this->yyidx + - 1]->minor));
+ $this->_retvalue = $this->compiler->compileTag('private_print_expression', array(),
+ array('value' => $this->yystack[$this->yyidx + 0]->minor));
}
- #line 2360 "smarty_internal_templateparser.php"
- #line 322 "smarty_internal_templateparser.y"
- function yy_r25()
+
+ #line 355 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r22()
{
- $this->_retvalue = $this->compiler->compileTag('private_print_expression', $this->yystack[$this->yyidx + 0]->minor, array('value' => $this->yystack[$this->yyidx + - 1]->minor));
+ $this->_retvalue =
+ $this->compiler->compileTag('private_print_expression', $this->yystack[$this->yyidx + 0]->minor,
+ array('value' => $this->yystack[$this->yyidx + - 2]->minor,
+ 'modifierlist' => $this->yystack[$this->yyidx + - 1]->minor));
}
- #line 2365 "smarty_internal_templateparser.php"
- #line 326 "smarty_internal_templateparser.y"
- function yy_r26()
+
+ #line 359 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r23()
{
- $this->_retvalue = $this->compiler->compileTag('private_print_expression', $this->yystack[$this->yyidx + 0]->minor, array('value' => $this->yystack[$this->yyidx + - 2]->minor, 'modifierlist' => $this->yystack[$this->yyidx + - 1]->minor));
+ $this->_retvalue =
+ $this->compiler->compileTag('private_print_expression', $this->yystack[$this->yyidx + 0]->minor,
+ array('value' => $this->yystack[$this->yyidx + - 1]->minor));
}
- #line 2370 "smarty_internal_templateparser.php"
- #line 339 "smarty_internal_templateparser.y"
- function yy_r28()
+
+ #line 373 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r27()
{
- $this->_retvalue = $this->compiler->compileTag('assign', array(array('value' => $this->yystack[$this->yyidx + 0]->minor), array('var' => "'" . $this->yystack[$this->yyidx + - 2]->minor . "'")));
+ $this->_retvalue =
+ $this->compiler->compileTag('private_print_expression', $this->yystack[$this->yyidx + 0]->minor,
+ array('value' => $this->yystack[$this->yyidx + - 2]->minor,
+ 'modifierlist' => $this->yystack[$this->yyidx + - 1]->minor));
}
- #line 2375 "smarty_internal_templateparser.php"
- #line 347 "smarty_internal_templateparser.y"
- function yy_r30()
+
+ #line 386 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r29()
{
- $this->_retvalue = $this->compiler->compileTag('assign', array_merge(array(array('value' => $this->yystack[$this->yyidx + - 1]->minor), array('var' => "'" . $this->yystack[$this->yyidx + - 3]->minor . "'")), $this->yystack[$this->yyidx + 0]->minor));
+ $this->_retvalue = $this->compiler->compileTag('assign',
+ array(array('value' => $this->yystack[$this->yyidx + 0]->minor),
+ array('var' => '\'' .
+ substr($this->yystack[$this->yyidx + - 2]->minor, 1) .
+ '\'')));
}
- #line 2380 "smarty_internal_templateparser.php"
- #line 351 "smarty_internal_templateparser.y"
+
+ #line 394 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r31()
{
- $this->_retvalue = $this->compiler->compileTag('assign', array_merge(array(array('value' => $this->yystack[$this->yyidx + - 1]->minor), array('var' => $this->yystack[$this->yyidx + - 3]->minor['var'])), $this->yystack[$this->yyidx + 0]->minor), array('smarty_internal_index' => $this->yystack[$this->yyidx + - 3]->minor['smarty_internal_index']));
+ $this->_retvalue = $this->compiler->compileTag('assign',
+ array_merge(array(array('value' => $this->yystack[$this->yyidx +
+ - 1]->minor), array('var' => '\'' .
+ substr($this->yystack[$this->yyidx + - 3]->minor, 1) .
+ '\'')), $this->yystack[$this->yyidx + 0]->minor));
}
- #line 2385 "smarty_internal_templateparser.php"
- #line 356 "smarty_internal_templateparser.y"
+
+ #line 398 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r32()
{
- $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + - 1]->minor, $this->yystack[$this->yyidx + 0]->minor);
+ $this->_retvalue = $this->compiler->compileTag('assign',
+ array_merge(array(array('value' => $this->yystack[$this->yyidx +
+ - 1]->minor), array('var' => $this->yystack[$this->yyidx +
+ - 3]->minor['var'])), $this->yystack[$this->yyidx + 0]->minor),
+ array('smarty_internal_index' => $this->yystack[$this->yyidx +
+ - 3]->minor['smarty_internal_index']));
}
- #line 2390 "smarty_internal_templateparser.php"
- #line 360 "smarty_internal_templateparser.y"
+
+ #line 403 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r33()
{
- $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + 0]->minor, array());
+ $tag =
+ trim(substr($this->yystack[$this->yyidx + 0]->minor, $this->lex->ldel_length, - $this->lex->rdel_length));
+ if ($tag == 'strip') {
+ $this->strip = true;
+ $this->_retvalue = null;;
+ } else {
+ if (defined($tag)) {
+ if ($this->security) {
+ $this->security->isTrustedConstant($tag, $this->compiler);
+ }
+ $this->_retvalue =
+ $this->compiler->compileTag('private_print_expression', array(), array('value' => $tag));
+ } else {
+ if (preg_match('/^(.*)(\s+nocache)$/', $tag, $match)) {
+ $this->_retvalue = $this->compiler->compileTag($match[1], array("'nocache'"));
+ } else {
+ $this->_retvalue = $this->compiler->compileTag($tag, array());
+ }
+ }
+ }
}
- #line 2395 "smarty_internal_templateparser.php"
- #line 365 "smarty_internal_templateparser.y"
+
+ #line 425 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r34()
{
- $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + - 3]->minor, $this->yystack[$this->yyidx + 0]->minor, array('object_method' => $this->yystack[$this->yyidx + - 1]->minor));
+ if (defined($this->yystack[$this->yyidx + - 1]->minor)) {
+ if ($this->security) {
+ $this->security->isTrustedConstant($this->yystack[$this->yyidx + - 1]->minor, $this->compiler);
+ }
+ $this->_retvalue =
+ $this->compiler->compileTag('private_print_expression', $this->yystack[$this->yyidx + 0]->minor,
+ array('value' => $this->yystack[$this->yyidx + - 1]->minor));
+ } else {
+ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + - 1]->minor,
+ $this->yystack[$this->yyidx + 0]->minor);
+ }
}
- #line 2400 "smarty_internal_templateparser.php"
- #line 370 "smarty_internal_templateparser.y"
+
+ #line 435 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r35()
{
- $this->_retvalue = '<?php ob_start();?>' . $this->compiler->compileTag($this->yystack[$this->yyidx + - 2]->minor, $this->yystack[$this->yyidx + 0]->minor) . '<?php echo ';
- $this->_retvalue .= $this->compiler->compileTag('private_modifier', array(), array('modifierlist' => $this->yystack[$this->yyidx + - 1]->minor, 'value' => 'ob_get_clean()')) . '?>';
+ if (defined($this->yystack[$this->yyidx + 0]->minor)) {
+ if ($this->security) {
+ $this->security->isTrustedConstant($this->yystack[$this->yyidx + 0]->minor, $this->compiler);
+ }
+ $this->_retvalue = $this->compiler->compileTag('private_print_expression', array(),
+ array('value' => $this->yystack[$this->yyidx + 0]->minor));
+ } else {
+ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + 0]->minor, array());
+ }
}
- #line 2406 "smarty_internal_templateparser.php"
- #line 376 "smarty_internal_templateparser.y"
+
+ #line 448 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r36()
{
- $this->_retvalue = '<?php ob_start();?>' . $this->compiler->compileTag($this->yystack[$this->yyidx + - 4]->minor, $this->yystack[$this->yyidx + 0]->minor, array('object_method' => $this->yystack[$this->yyidx + - 2]->minor)) . '<?php echo ';
- $this->_retvalue .= $this->compiler->compileTag('private_modifier', array(), array('modifierlist' => $this->yystack[$this->yyidx + - 1]->minor, 'value' => 'ob_get_clean()')) . '?>';
+ if (defined($this->yystack[$this->yyidx + - 2]->minor)) {
+ if ($this->security) {
+ $this->security->isTrustedConstant($this->yystack[$this->yyidx + - 2]->minor, $this->compiler);
+ }
+ $this->_retvalue =
+ $this->compiler->compileTag('private_print_expression', $this->yystack[$this->yyidx + 0]->minor,
+ array('value' => $this->yystack[$this->yyidx + - 2]->minor,
+ 'modifierlist' => $this->yystack[$this->yyidx + - 1]->minor));
+ } else {
+ $this->_retvalue = '<?php ob_start();?>' .
+ $this->compiler->compileTag($this->yystack[$this->yyidx + - 2]->minor,
+ $this->yystack[$this->yyidx + 0]->minor) . '<?php echo ';
+ $this->_retvalue .= $this->compiler->compileTag('private_modifier', array(),
+ array('modifierlist' => $this->yystack[$this->yyidx +
+ - 1]->minor, 'value' => 'ob_get_clean()')) . ';?>';
+ }
}
- #line 2412 "smarty_internal_templateparser.php"
- #line 382 "smarty_internal_templateparser.y"
+
+ #line 461 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r37()
{
- $tag = trim(substr($this->yystack[$this->yyidx + - 1]->minor, $this->lex->ldel_length));
- $this->_retvalue = $this->compiler->compileTag(($tag == 'else if') ? 'elseif' : $tag, array(), array('if condition' => $this->yystack[$this->yyidx + 0]->minor));
+ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + - 3]->minor,
+ $this->yystack[$this->yyidx + 0]->minor,
+ array('object_method' => $this->yystack[$this->yyidx +
+ - 1]->minor));
}
- #line 2418 "smarty_internal_templateparser.php"
- #line 387 "smarty_internal_templateparser.y"
+
+ #line 466 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r38()
{
- $tag = trim(substr($this->yystack[$this->yyidx + - 2]->minor, $this->lex->ldel_length));
- $this->_retvalue = $this->compiler->compileTag(($tag == 'else if') ? 'elseif' : $tag, $this->yystack[$this->yyidx + 0]->minor, array('if condition' => $this->yystack[$this->yyidx + - 1]->minor));
+ $this->_retvalue = '<?php ob_start();?>' .
+ $this->compiler->compileTag($this->yystack[$this->yyidx + - 4]->minor,
+ $this->yystack[$this->yyidx + 0]->minor,
+ array('object_method' => $this->yystack[$this->yyidx + - 2]->minor)) .
+ '<?php echo ';
+ $this->_retvalue .= $this->compiler->compileTag('private_modifier', array(),
+ array('modifierlist' => $this->yystack[$this->yyidx +
+ - 1]->minor, 'value' => 'ob_get_clean()')) . ';?>';
}
- #line 2424 "smarty_internal_templateparser.php"
- #line 392 "smarty_internal_templateparser.y"
+
+ #line 472 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r39()
{
$tag = trim(substr($this->yystack[$this->yyidx + - 1]->minor, $this->lex->ldel_length));
- $this->_retvalue = $this->compiler->compileTag(($tag == 'else if') ? 'elseif' : $tag, array(), array('if condition' => $this->yystack[$this->yyidx + 0]->minor));
+ $this->_retvalue = $this->compiler->compileTag(($tag == 'else if') ? 'elseif' : $tag, array(),
+ array('if condition' => $this->yystack[$this->yyidx +
+ 0]->minor));
}
- #line 2430 "smarty_internal_templateparser.php"
- #line 403 "smarty_internal_templateparser.y"
- function yy_r41()
+
+ #line 477 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r40()
{
- $this->_retvalue = $this->compiler->compileTag('for', array_merge($this->yystack[$this->yyidx + 0]->minor, array(array('start' => $this->yystack[$this->yyidx + - 9]->minor), array('ifexp' => $this->yystack[$this->yyidx + - 6]->minor), array('var' => $this->yystack[$this->yyidx + - 2]->minor), array('step' => $this->yystack[$this->yyidx + - 1]->minor))), 1);
+ $tag = trim(substr($this->yystack[$this->yyidx + - 2]->minor, $this->lex->ldel_length));
+ $this->_retvalue =
+ $this->compiler->compileTag(($tag == 'else if') ? 'elseif' : $tag, $this->yystack[$this->yyidx + 0]->minor,
+ array('if condition' => $this->yystack[$this->yyidx + - 1]->minor));
}
- #line 2435 "smarty_internal_templateparser.php"
- #line 407 "smarty_internal_templateparser.y"
- function yy_r42()
+
+ #line 482 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r41()
{
- $this->_retvalue = '=' . $this->yystack[$this->yyidx + 0]->minor;
+ $tag = trim(substr($this->yystack[$this->yyidx + - 1]->minor, $this->lex->ldel_length));
+ $this->_retvalue = $this->compiler->compileTag(($tag == 'else if') ? 'elseif' : $tag, array(),
+ array('if condition' => $this->yystack[$this->yyidx +
+ 0]->minor));
}
- #line 2440 "smarty_internal_templateparser.php"
- #line 415 "smarty_internal_templateparser.y"
- function yy_r44()
- {
- $this->_retvalue = $this->compiler->compileTag('for', array_merge($this->yystack[$this->yyidx + 0]->minor, array(array('start' => $this->yystack[$this->yyidx + - 3]->minor), array('to' => $this->yystack[$this->yyidx + - 1]->minor))), 0);
+
+ #line 493 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r43()
+ {
+ $this->_retvalue = $this->compiler->compileTag('for', array_merge($this->yystack[$this->yyidx + 0]->minor,
+ array(array('start' => $this->yystack[$this->yyidx +
+ - 6]->minor),
+ array('ifexp' => $this->yystack[$this->yyidx +
+ - 4]->minor),
+ array('var' => $this->yystack[$this->yyidx +
+ - 2]->minor),
+ array('step' => $this->yystack[$this->yyidx +
+ - 1]->minor))), 1);
}
- #line 2445 "smarty_internal_templateparser.php"
- #line 419 "smarty_internal_templateparser.y"
- function yy_r45()
+
+ #line 497 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r44()
{
- $this->_retvalue = $this->compiler->compileTag('for', array_merge($this->yystack[$this->yyidx + 0]->minor, array(array('start' => $this->yystack[$this->yyidx + - 5]->minor), array('to' => $this->yystack[$this->yyidx + - 3]->minor), array('step' => $this->yystack[$this->yyidx + - 1]->minor))), 0);
+ $this->_retvalue = '=' . $this->yystack[$this->yyidx + 0]->minor;
}
- #line 2450 "smarty_internal_templateparser.php"
- #line 424 "smarty_internal_templateparser.y"
+
+ #line 505 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r46()
{
- $this->_retvalue = $this->compiler->compileTag('foreach', $this->yystack[$this->yyidx + 0]->minor);
+ $this->_retvalue = $this->compiler->compileTag('for', array_merge($this->yystack[$this->yyidx + 0]->minor,
+ array(array('start' => $this->yystack[$this->yyidx +
+ - 3]->minor),
+ array('to' => $this->yystack[$this->yyidx +
+ - 1]->minor))), 0);
}
- #line 2455 "smarty_internal_templateparser.php"
- #line 429 "smarty_internal_templateparser.y"
+
+ #line 509 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r47()
{
- $this->_retvalue = $this->compiler->compileTag('foreach', array_merge($this->yystack[$this->yyidx + 0]->minor, array(array('from' => $this->yystack[$this->yyidx + - 4]->minor), array('item' => $this->yystack[$this->yyidx + - 1]->minor))));
+ $this->_retvalue = $this->compiler->compileTag('for', array_merge($this->yystack[$this->yyidx + 0]->minor,
+ array(array('start' => $this->yystack[$this->yyidx +
+ - 5]->minor),
+ array('to' => $this->yystack[$this->yyidx +
+ - 3]->minor),
+ array('step' => $this->yystack[$this->yyidx +
+ - 1]->minor))), 0);
}
- #line 2460 "smarty_internal_templateparser.php"
- #line 433 "smarty_internal_templateparser.y"
+
+ #line 514 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r48()
{
- $this->_retvalue = $this->compiler->compileTag('foreach', array_merge($this->yystack[$this->yyidx + 0]->minor, array(array('from' => $this->yystack[$this->yyidx + - 7]->minor), array('item' => $this->yystack[$this->yyidx + - 1]->minor), array('key' => $this->yystack[$this->yyidx + - 4]->minor))));
+ $this->_retvalue = $this->compiler->compileTag('foreach', $this->yystack[$this->yyidx + 0]->minor);
}
- #line 2465 "smarty_internal_templateparser.php"
- #line 446 "smarty_internal_templateparser.y"
- function yy_r51()
+
+ #line 519 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r49()
{
- $this->_retvalue = $this->compiler->compileTag('setfilter', array(), array('modifier_list' => array(array_merge(array($this->yystack[$this->yyidx + - 1]->minor), $this->yystack[$this->yyidx + 0]->minor))));
+ $this->_retvalue = $this->compiler->compileTag('foreach', array_merge($this->yystack[$this->yyidx + 0]->minor,
+ array(array('from' => $this->yystack[$this->yyidx +
+ - 3]->minor),
+ array('item' => $this->yystack[$this->yyidx +
+ - 1]->minor))));
}
- #line 2470 "smarty_internal_templateparser.php"
- #line 450 "smarty_internal_templateparser.y"
- function yy_r52()
+
+ #line 523 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r50()
{
- $this->_retvalue = $this->compiler->compileTag('setfilter', array(), array('modifier_list' => array_merge(array(array_merge(array($this->yystack[$this->yyidx + - 2]->minor), $this->yystack[$this->yyidx + - 1]->minor)), $this->yystack[$this->yyidx + 0]->minor)));
+ $this->_retvalue = $this->compiler->compileTag('foreach', array_merge($this->yystack[$this->yyidx + 0]->minor,
+ array(array('from' => $this->yystack[$this->yyidx +
+ - 5]->minor),
+ array('item' => $this->yystack[$this->yyidx +
+ - 1]->minor),
+ array('key' => $this->yystack[$this->yyidx +
+ - 3]->minor))));
}
- #line 2475 "smarty_internal_templateparser.php"
- #line 455 "smarty_internal_templateparser.y"
+
+ #line 536 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r53()
{
+ $this->_retvalue = $this->compiler->compileTag('setfilter', array(),
+ array('modifier_list' => array(array_merge(array($this->yystack[$this->yyidx +
+ - 1]->minor), $this->yystack[$this->yyidx + 0]->minor))));
+ }
+
+ #line 540 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r54()
+ {
+ $this->_retvalue = $this->compiler->compileTag('setfilter', array(),
+ array('modifier_list' => array_merge(array(array_merge(array($this->yystack[$this->yyidx +
+ - 2]->minor), $this->yystack[$this->yyidx + - 1]->minor)),
+ $this->yystack[$this->yyidx +
+ 0]->minor)));
+ }
+
+ #line 545 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r55()
+ {
$j = strrpos($this->yystack[$this->yyidx + 0]->minor, '.');
if ($this->yystack[$this->yyidx + 0]->minor[$j + 1] == 'c') {
// {$smarty.block.child}
@@ -3698,463 +1868,594 @@ class Smarty_Internal_Templateparser#line 80 "smarty_internal_templateparser.php
$this->_retvalue = SMARTY_INTERNAL_COMPILE_BLOCK::compileParentBlock($this->compiler);
}
}
- #line 2487 "smarty_internal_templateparser.php"
- #line 468 "smarty_internal_templateparser.y"
- function yy_r54()
+
+ #line 558 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r56()
+ {
+ $tag = trim(substr($this->yystack[$this->yyidx + 0]->minor, $this->lex->ldel_length, - $this->lex->rdel_length),
+ ' /');
+ if ($tag == 'strip') {
+ $this->strip = false;
+ $this->_retvalue = null;
+ } else {
+ $this->_retvalue = $this->compiler->compileTag($tag . 'close', array());
+ }
+ }
+
+ #line 567 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r57()
{
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + 0]->minor . 'close', array());
}
- #line 2492 "smarty_internal_templateparser.php"
- #line 472 "smarty_internal_templateparser.y"
- function yy_r55()
+
+ #line 571 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r58()
{
- $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + - 1]->minor . 'close', array(), array('modifier_list' => $this->yystack[$this->yyidx + 0]->minor));
+ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + - 1]->minor . 'close', array(),
+ array('modifier_list' => $this->yystack[$this->yyidx +
+ 0]->minor));
}
- #line 2497 "smarty_internal_templateparser.php"
- #line 477 "smarty_internal_templateparser.y"
- function yy_r56()
+
+ #line 576 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r59()
{
- $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + - 2]->minor . 'close', array(), array('object_method' => $this->yystack[$this->yyidx + 0]->minor));
+ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + - 2]->minor . 'close', array(),
+ array('object_method' => $this->yystack[$this->yyidx +
+ 0]->minor));
}
- #line 2502 "smarty_internal_templateparser.php"
- #line 481 "smarty_internal_templateparser.y"
- function yy_r57()
+
+ #line 580 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r60()
{
- $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + - 3]->minor . 'close', array(), array('object_method' => $this->yystack[$this->yyidx + - 1]->minor, 'modifier_list' => $this->yystack[$this->yyidx + 0]->minor));
+ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + - 3]->minor . 'close', array(),
+ array('object_method' => $this->yystack[$this->yyidx +
+ - 1]->minor, 'modifier_list' => $this->yystack[$this->yyidx +
+ 0]->minor));
}
- #line 2507 "smarty_internal_templateparser.php"
- #line 489 "smarty_internal_templateparser.y"
- function yy_r58()
+
+ #line 588 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r61()
{
$this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor;
$this->_retvalue[] = $this->yystack[$this->yyidx + 0]->minor;
}
- #line 2513 "smarty_internal_templateparser.php"
- #line 495 "smarty_internal_templateparser.y"
- function yy_r59()
+
+ #line 594 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r62()
{
$this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor);
}
- #line 2518 "smarty_internal_templateparser.php"
- #line 500 "smarty_internal_templateparser.y"
- function yy_r60()
+
+ #line 599 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r63()
{
$this->_retvalue = array();
}
- #line 2523 "smarty_internal_templateparser.php"
- #line 505 "smarty_internal_templateparser.y"
- function yy_r61()
+
+ #line 604 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r64()
{
- if (preg_match('~^true$~i', $this->yystack[$this->yyidx + 0]->minor)) {
- $this->_retvalue = array($this->yystack[$this->yyidx + - 2]->minor => 'true');
- } elseif (preg_match('~^false$~i', $this->yystack[$this->yyidx + 0]->minor)) {
- $this->_retvalue = array($this->yystack[$this->yyidx + - 2]->minor => 'false');
- } elseif (preg_match('~^null$~i', $this->yystack[$this->yyidx + 0]->minor)) {
- $this->_retvalue = array($this->yystack[$this->yyidx + - 2]->minor => 'null');
+ if (defined($this->yystack[$this->yyidx + 0]->minor)) {
+ if ($this->security) {
+ $this->security->isTrustedConstant($this->yystack[$this->yyidx + 0]->minor, $this->compiler);
+ }
+ $this->_retvalue =
+ array($this->yystack[$this->yyidx + - 2]->minor => $this->yystack[$this->yyidx + 0]->minor);
} else {
- $this->_retvalue = array($this->yystack[$this->yyidx + - 2]->minor => "'" . $this->yystack[$this->yyidx + 0]->minor . "'");
+ $this->_retvalue =
+ array($this->yystack[$this->yyidx + - 2]->minor => '\'' . $this->yystack[$this->yyidx + 0]->minor .
+ '\'');
}
}
- #line 2536 "smarty_internal_templateparser.php"
- #line 517 "smarty_internal_templateparser.y"
- function yy_r62()
+
+ #line 615 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r65()
{
- $this->_retvalue = array(trim($this->yystack[$this->yyidx + - 1]->minor, " =\n\r\t") => $this->yystack[$this->yyidx + 0]->minor);
+ $this->_retvalue =
+ array(trim($this->yystack[$this->yyidx + - 1]->minor, " =\n\r\t") => $this->yystack[$this->yyidx +
+ 0]->minor);
}
- #line 2541 "smarty_internal_templateparser.php"
- #line 525 "smarty_internal_templateparser.y"
- function yy_r64()
+
+ #line 623 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r67()
{
- $this->_retvalue = "'" . $this->yystack[$this->yyidx + 0]->minor . "'";
+ $this->_retvalue = '\'' . $this->yystack[$this->yyidx + 0]->minor . '\'';
}
- #line 2546 "smarty_internal_templateparser.php"
- #line 537 "smarty_internal_templateparser.y"
- function yy_r67()
+
+ #line 635 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r70()
{
$this->_retvalue = array($this->yystack[$this->yyidx + - 2]->minor => $this->yystack[$this->yyidx + 0]->minor);
}
- #line 2551 "smarty_internal_templateparser.php"
- #line 550 "smarty_internal_templateparser.y"
- function yy_r69()
+
+ #line 648 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r72()
{
$this->yystack[$this->yyidx + - 2]->minor[] = $this->yystack[$this->yyidx + 0]->minor;
$this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor;
}
- #line 2557 "smarty_internal_templateparser.php"
- #line 555 "smarty_internal_templateparser.y"
- function yy_r70()
+
+ #line 653 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r73()
{
- $this->_retvalue = array('var' => $this->yystack[$this->yyidx + - 2]->minor, 'value' => $this->yystack[$this->yyidx + 0]->minor);
+ $this->_retvalue = array('var' => '\'' . substr($this->yystack[$this->yyidx + - 2]->minor, 1) . '\'',
+ 'value' => $this->yystack[$this->yyidx + 0]->minor);
}
- #line 2562 "smarty_internal_templateparser.php"
- #line 583 "smarty_internal_templateparser.y"
+
+ #line 660 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r75()
{
- $this->_retvalue = '$_smarty_tpl->getStreamVariable(\'' . $this->yystack[$this->yyidx + - 2]->minor . '://' . $this->yystack[$this->yyidx + 0]->minor . '\')';
+ $this->_retvalue = array('var' => $this->yystack[$this->yyidx + - 2]->minor,
+ 'value' => $this->yystack[$this->yyidx + 0]->minor);
}
- #line 2567 "smarty_internal_templateparser.php"
- #line 588 "smarty_internal_templateparser.y"
- function yy_r76()
+
+ #line 684 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r79()
{
- $this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor . trim($this->yystack[$this->yyidx + - 1]->minor) . $this->yystack[$this->yyidx + 0]->minor;
+ $this->_retvalue =
+ '$_smarty_tpl->getStreamVariable(\'' . substr($this->yystack[$this->yyidx + - 2]->minor, 1) . '://' .
+ $this->yystack[$this->yyidx + 0]->minor . '\')';
}
- #line 2572 "smarty_internal_templateparser.php"
- #line 607 "smarty_internal_templateparser.y"
+
+ #line 689 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r80()
{
- $this->_retvalue = $this->compiler->compileTag('private_modifier', array(), array('value' => $this->yystack[$this->yyidx + - 1]->minor, 'modifierlist' => $this->yystack[$this->yyidx + 0]->minor));
+ $this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor . trim($this->yystack[$this->yyidx + - 1]->minor) .
+ $this->yystack[$this->yyidx + 0]->minor;
}
- #line 2577 "smarty_internal_templateparser.php"
- #line 613 "smarty_internal_templateparser.y"
- function yy_r81()
- {
- $this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor . $this->yystack[$this->yyidx + - 1]->minor . $this->yystack[$this->yyidx + 0]->minor;
- }
- #line 2582 "smarty_internal_templateparser.php"
- #line 617 "smarty_internal_templateparser.y"
- function yy_r82()
+
+ #line 703 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r83()
{
- $this->_retvalue = 'in_array(' . $this->yystack[$this->yyidx + - 2]->minor . ',' . $this->yystack[$this->yyidx + 0]->minor . ')';
+ $this->_retvalue = $this->compiler->compileTag('private_modifier', array(),
+ array('value' => $this->yystack[$this->yyidx + - 1]->minor,
+ 'modifierlist' => $this->yystack[$this->yyidx +
+ 0]->minor));
}
- #line 2587 "smarty_internal_templateparser.php"
- #line 621 "smarty_internal_templateparser.y"
- function yy_r83()
+
+ #line 709 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r84()
{
- $this->_retvalue = 'in_array(' . $this->yystack[$this->yyidx + - 2]->minor . ',(array)' . $this->yystack[$this->yyidx + 0]->minor . ')';
+ $this->_retvalue = (isset($this->yystack[$this->yyidx + - 1]->minor['pre']) ?
+ $this->yystack[$this->yyidx + - 1]->minor['pre'] : '') . $this->yystack[$this->yyidx + - 2]->minor .
+ $this->yystack[$this->yyidx + - 1]->minor['op'] . $this->yystack[$this->yyidx + 0]->minor .
+ (isset($this->yystack[$this->yyidx + - 1]->minor['pre']) ? ')' : '');
}
- #line 2592 "smarty_internal_templateparser.php"
- #line 629 "smarty_internal_templateparser.y"
+
+ #line 712 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r85()
{
- $this->_retvalue = '!(' . $this->yystack[$this->yyidx + - 2]->minor . ' % ' . $this->yystack[$this->yyidx + 0]->minor . ')';
+ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor . $this->yystack[$this->yyidx + - 1]->minor . ')';
}
- #line 2597 "smarty_internal_templateparser.php"
- #line 633 "smarty_internal_templateparser.y"
+
+ #line 716 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r86()
{
- $this->_retvalue = '(' . $this->yystack[$this->yyidx + - 2]->minor . ' % ' . $this->yystack[$this->yyidx + 0]->minor . ')';
+ $this->_retvalue =
+ 'in_array(' . $this->yystack[$this->yyidx + - 2]->minor . ',' . $this->yystack[$this->yyidx + 0]->minor .
+ ')';
}
- #line 2602 "smarty_internal_templateparser.php"
- #line 637 "smarty_internal_templateparser.y"
+
+ #line 720 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r87()
{
- $this->_retvalue = '!(1 & ' . $this->yystack[$this->yyidx + - 1]->minor . ')';
+ $this->_retvalue = 'in_array(' . $this->yystack[$this->yyidx + - 2]->minor . ',(array)' .
+ $this->yystack[$this->yyidx + 0]->minor . ')';
}
- #line 2607 "smarty_internal_templateparser.php"
- #line 641 "smarty_internal_templateparser.y"
+
+ #line 724 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r88()
{
- $this->_retvalue = '(1 & ' . $this->yystack[$this->yyidx + - 1]->minor . ')';
- }
- #line 2612 "smarty_internal_templateparser.php"
- #line 645 "smarty_internal_templateparser.y"
- function yy_r89()
- {
- $this->_retvalue = '!(1 & ' . $this->yystack[$this->yyidx + - 2]->minor . ' / ' . $this->yystack[$this->yyidx + 0]->minor . ')';
+ $this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor . $this->yystack[$this->yyidx + - 1]->minor .
+ $this->yystack[$this->yyidx + 0]->minor;
}
- #line 2617 "smarty_internal_templateparser.php"
- #line 649 "smarty_internal_templateparser.y"
+
+ #line 736 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r90()
{
- $this->_retvalue = '(1 & ' . $this->yystack[$this->yyidx + - 2]->minor . ' / ' . $this->yystack[$this->yyidx + 0]->minor . ')';
+ $this->_retvalue = $this->yystack[$this->yyidx + - 5]->minor . ' ? ' .
+ $this->compiler->compileVariable('\'' . substr($this->yystack[$this->yyidx + - 2]->minor, 1) . '\'') .
+ ' : ' . $this->yystack[$this->yyidx + 0]->minor;
}
- #line 2622 "smarty_internal_templateparser.php"
- #line 673 "smarty_internal_templateparser.y"
- function yy_r96()
- {
- self::$prefix_number ++;
- $this->compiler->prefix_code[] = '<?php $_tmp' . self::$prefix_number . '=' . $this->yystack[$this->yyidx + 0]->minor . ';?>';
- $this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor . $this->yystack[$this->yyidx + - 1]->minor . '$_tmp' . self::$prefix_number;
- }
- #line 2629 "smarty_internal_templateparser.php"
- #line 682 "smarty_internal_templateparser.y"
- function yy_r97()
- {
- $this->_retvalue = $this->yystack[$this->yyidx + - 6]->minor . ' ? ' . $this->compileVariable("'" . $this->yystack[$this->yyidx + - 2]->minor . "'") . ' : ' . $this->yystack[$this->yyidx + 0]->minor;
- }
- #line 2634 "smarty_internal_templateparser.php"
- #line 686 "smarty_internal_templateparser.y"
- function yy_r98()
+
+ #line 740 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r91()
{
- $this->_retvalue = $this->yystack[$this->yyidx + - 5]->minor . ' ? ' . $this->yystack[$this->yyidx + - 2]->minor . ' : ' . $this->yystack[$this->yyidx + 0]->minor;
+ $this->_retvalue =
+ $this->yystack[$this->yyidx + - 5]->minor . ' ? ' . $this->yystack[$this->yyidx + - 2]->minor . ' : ' .
+ $this->yystack[$this->yyidx + 0]->minor;
}
- #line 2639 "smarty_internal_templateparser.php"
- #line 701 "smarty_internal_templateparser.y"
- function yy_r101()
+
+ #line 755 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r94()
{
$this->_retvalue = '!' . $this->yystack[$this->yyidx + 0]->minor;
}
- #line 2644 "smarty_internal_templateparser.php"
- #line 722 "smarty_internal_templateparser.y"
- function yy_r106()
+
+ #line 776 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r99()
{
$this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor . '.' . $this->yystack[$this->yyidx + 0]->minor;
}
- #line 2649 "smarty_internal_templateparser.php"
- #line 726 "smarty_internal_templateparser.y"
- function yy_r107()
+
+ #line 780 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r100()
{
$this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor . '.';
}
- #line 2654 "smarty_internal_templateparser.php"
- #line 730 "smarty_internal_templateparser.y"
- function yy_r108()
+
+ #line 784 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r101()
{
$this->_retvalue = '.' . $this->yystack[$this->yyidx + 0]->minor;
}
- #line 2659 "smarty_internal_templateparser.php"
- #line 735 "smarty_internal_templateparser.y"
- function yy_r109()
+
+ #line 789 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r102()
{
- if (preg_match('~^true$~i', $this->yystack[$this->yyidx + 0]->minor)) {
- $this->_retvalue = 'true';
- } elseif (preg_match('~^false$~i', $this->yystack[$this->yyidx + 0]->minor)) {
- $this->_retvalue = 'false';
- } elseif (preg_match('~^null$~i', $this->yystack[$this->yyidx + 0]->minor)) {
- $this->_retvalue = 'null';
+ if (defined($this->yystack[$this->yyidx + 0]->minor)) {
+ if ($this->security) {
+ $this->security->isTrustedConstant($this->yystack[$this->yyidx + 0]->minor, $this->compiler);
+ }
+ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;
} else {
- $this->_retvalue = "'" . $this->yystack[$this->yyidx + 0]->minor . "'";
+ $this->_retvalue = '\'' . $this->yystack[$this->yyidx + 0]->minor . '\'';
}
}
- #line 2672 "smarty_internal_templateparser.php"
- #line 753 "smarty_internal_templateparser.y"
- function yy_r111()
+
+ #line 806 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r104()
{
$this->_retvalue = "(" . $this->yystack[$this->yyidx + - 1]->minor . ")";
}
- #line 2677 "smarty_internal_templateparser.php"
- #line 768 "smarty_internal_templateparser.y"
- function yy_r114()
+
+ #line 821 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r107()
{
- if (!$this->security || isset($this->smarty->registered_classes[$this->yystack[$this->yyidx + - 2]->minor]) || $this->smarty->security_policy->isTrustedStaticClass($this->yystack[$this->yyidx + - 2]->minor, $this->compiler)) {
+ self::$prefix_number ++;
+ if ($this->yystack[$this->yyidx + - 2]->minor['var'] == '\'smarty\'') {
+ $this->compiler->prefix_code[] = '<?php $_tmp' . self::$prefix_number . ' = ' .
+ $this->compiler->compileTag('private_special_variable', array(),
+ $this->yystack[$this->yyidx + - 2]->minor['smarty_internal_index']) . ';?>';
+ } else {
+ $this->compiler->prefix_code[] = '<?php $_tmp' . self::$prefix_number . ' = ' .
+ $this->compiler->compileVariable($this->yystack[$this->yyidx + - 2]->minor['var']) .
+ $this->yystack[$this->yyidx + - 2]->minor['smarty_internal_index'] . ';?>';
+ }
+ $this->_retvalue = '$_tmp' . self::$prefix_number . '::' . $this->yystack[$this->yyidx + 0]->minor[0] .
+ $this->yystack[$this->yyidx + 0]->minor[1];
+ }
+
+ #line 832 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r108()
+ {
+ self::$prefix_number ++;
+ $tmp = $this->compiler->appendCode('<?php ob_start();?>', $this->yystack[$this->yyidx + 0]->minor);
+ $this->compiler->prefix_code[] =
+ $this->compiler->appendCode($tmp, '<?php $_tmp' . self::$prefix_number . '=ob_get_clean();?>');
+ $this->_retvalue = '$_tmp' . self::$prefix_number;
+ }
+
+ #line 849 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r111()
+ {
+ if (!in_array(strtolower($this->yystack[$this->yyidx + - 2]->minor), array('self', 'parent')) &&
+ (!$this->security || $this->security->isTrustedStaticClassAccess($this->yystack[$this->yyidx + - 2]->minor,
+ $this->yystack[$this->yyidx + 0]->minor,
+ $this->compiler))
+ ) {
if (isset($this->smarty->registered_classes[$this->yystack[$this->yyidx + - 2]->minor])) {
- $this->_retvalue = $this->smarty->registered_classes[$this->yystack[$this->yyidx + - 2]->minor] . '::' . $this->yystack[$this->yyidx + 0]->minor;
+ $this->_retvalue = $this->smarty->registered_classes[$this->yystack[$this->yyidx + - 2]->minor] . '::' .
+ $this->yystack[$this->yyidx + 0]->minor[0] . $this->yystack[$this->yyidx + 0]->minor[1];
} else {
- $this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor . '::' . $this->yystack[$this->yyidx + 0]->minor;
+ $this->_retvalue =
+ $this->yystack[$this->yyidx + - 2]->minor . '::' . $this->yystack[$this->yyidx + 0]->minor[0] .
+ $this->yystack[$this->yyidx + 0]->minor[1];
}
} else {
- $this->compiler->trigger_template_error("static class '" . $this->yystack[$this->yyidx + - 2]->minor . "' is undefined or not allowed by security setting");
+ $this->compiler->trigger_template_error("static class '" . $this->yystack[$this->yyidx + - 2]->minor .
+ "' is undefined or not allowed by security setting");
}
}
- #line 2690 "smarty_internal_templateparser.php"
- #line 780 "smarty_internal_templateparser.y"
- function yy_r115()
+
+ #line 868 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r113()
{
- if ($this->yystack[$this->yyidx + - 2]->minor['var'] == '\'smarty\'') {
- $this->_retvalue = $this->compiler->compileTag('private_special_variable', array(), $this->yystack[$this->yyidx + - 2]->minor['smarty_internal_index']) . '::' . $this->yystack[$this->yyidx + 0]->minor;
- } else {
- $this->_retvalue = $this->compileVariable($this->yystack[$this->yyidx + - 2]->minor['var']) . $this->yystack[$this->yyidx + - 2]->minor['smarty_internal_index'] . '::' . $this->yystack[$this->yyidx + 0]->minor;
- }
+ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;
}
- #line 2699 "smarty_internal_templateparser.php"
- #line 789 "smarty_internal_templateparser.y"
- function yy_r116()
+
+ #line 879 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r114()
{
- self::$prefix_number ++;
- $this->compiler->prefix_code[] = '<?php ob_start();?>' . $this->yystack[$this->yyidx + - 1]->minor . '<?php $_tmp' . self::$prefix_number . '=ob_get_clean();?>';
- $this->_retvalue = '$_tmp' . self::$prefix_number;
+ $this->_retvalue =
+ $this->compiler->compileVariable('\'' . substr($this->yystack[$this->yyidx + 0]->minor, 1) . '\'');
}
- #line 2706 "smarty_internal_templateparser.php"
- #line 804 "smarty_internal_templateparser.y"
- function yy_r118()
+
+ #line 882 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r115()
{
if ($this->yystack[$this->yyidx + 0]->minor['var'] == '\'smarty\'') {
- $smarty_var = $this->compiler->compileTag('private_special_variable', array(), $this->yystack[$this->yyidx + 0]->minor['smarty_internal_index']);
+ $smarty_var = $this->compiler->compileTag('private_special_variable', array(),
+ $this->yystack[$this->yyidx + 0]->minor['smarty_internal_index']);
$this->_retvalue = $smarty_var;
} else {
- // used for array reset,next,prev,end,current
+ // used for array reset,next,prev,end,current
$this->last_variable = $this->yystack[$this->yyidx + 0]->minor['var'];
$this->last_index = $this->yystack[$this->yyidx + 0]->minor['smarty_internal_index'];
- $this->_retvalue = $this->compileVariable($this->yystack[$this->yyidx + 0]->minor['var']) . $this->yystack[$this->yyidx + 0]->minor['smarty_internal_index'];
+ $this->_retvalue = $this->compiler->compileVariable($this->yystack[$this->yyidx + 0]->minor['var']) .
+ $this->yystack[$this->yyidx + 0]->minor['smarty_internal_index'];
}
}
- #line 2719 "smarty_internal_templateparser.php"
- #line 817 "smarty_internal_templateparser.y"
+
+ #line 895 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r116()
+ {
+ $this->_retvalue = '$_smarty_tpl->tpl_vars[' . $this->yystack[$this->yyidx + - 2]->minor . ']->' .
+ $this->yystack[$this->yyidx + 0]->minor;
+ }
+
+ #line 905 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r118()
+ {
+ $this->_retvalue =
+ $this->compiler->compileConfigVariable("'" . $this->yystack[$this->yyidx + - 1]->minor . "'");
+ }
+
+ #line 909 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r119()
{
- $this->_retvalue = '$_smarty_tpl->tpl_vars[' . $this->yystack[$this->yyidx + - 2]->minor . ']->' . $this->yystack[$this->yyidx + 0]->minor;
+ $this->_retvalue = '(is_array($tmp = ' .
+ $this->compiler->compileConfigVariable("'" . $this->yystack[$this->yyidx + - 2]->minor . "'") . ') ? $tmp' .
+ $this->yystack[$this->yyidx + 0]->minor . ' :null)';
+ }
+
+ #line 913 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r120()
+ {
+ $this->_retvalue = $this->compiler->compileConfigVariable($this->yystack[$this->yyidx + - 1]->minor);
}
- #line 2724 "smarty_internal_templateparser.php"
- #line 827 "smarty_internal_templateparser.y"
+
+ #line 917 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r121()
{
- $this->_retvalue = '$_smarty_tpl->getConfigVariable(\'' . $this->yystack[$this->yyidx + - 1]->minor . '\')';
+ $this->_retvalue =
+ '(is_array($tmp = ' . $this->compiler->compileConfigVariable($this->yystack[$this->yyidx + - 2]->minor) .
+ ') ? $tmp' . $this->yystack[$this->yyidx + 0]->minor . ' : null)';
}
- #line 2729 "smarty_internal_templateparser.php"
- #line 831 "smarty_internal_templateparser.y"
+
+ #line 921 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r122()
{
- $this->_retvalue = '(is_array($tmp = $_smarty_tpl->getConfigVariable(\'' . $this->yystack[$this->yyidx + - 2]->minor . '\')) ? $tmp' . $this->yystack[$this->yyidx + 0]->minor . ' :null)';
+ $this->_retvalue = array('var' => '\'' . substr($this->yystack[$this->yyidx + - 1]->minor, 1) . '\'',
+ 'smarty_internal_index' => $this->yystack[$this->yyidx + 0]->minor);
}
- #line 2734 "smarty_internal_templateparser.php"
- #line 835 "smarty_internal_templateparser.y"
+
+ #line 924 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r123()
{
- $this->_retvalue = '$_smarty_tpl->getConfigVariable(' . $this->yystack[$this->yyidx + - 1]->minor . ')';
+ $this->_retvalue = array('var' => $this->yystack[$this->yyidx + - 1]->minor,
+ 'smarty_internal_index' => $this->yystack[$this->yyidx + 0]->minor);
}
- #line 2739 "smarty_internal_templateparser.php"
- #line 839 "smarty_internal_templateparser.y"
- function yy_r124()
+
+ #line 937 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r125()
{
- $this->_retvalue = '(is_array($tmp = $_smarty_tpl->getConfigVariable(' . $this->yystack[$this->yyidx + - 2]->minor . ')) ? $tmp' . $this->yystack[$this->yyidx + 0]->minor . ' : null)';
+ return;
}
- #line 2744 "smarty_internal_templateparser.php"
- #line 843 "smarty_internal_templateparser.y"
- function yy_r125()
+
+ #line 943 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r126()
{
- $this->_retvalue = array('var' => $this->yystack[$this->yyidx + - 1]->minor, 'smarty_internal_index' => $this->yystack[$this->yyidx + 0]->minor);
+ $this->_retvalue =
+ '[' . $this->compiler->compileVariable('\'' . substr($this->yystack[$this->yyidx + 0]->minor, 1) . '\'') .
+ ']';
}
- #line 2749 "smarty_internal_templateparser.php"
- #line 856 "smarty_internal_templateparser.y"
+
+ #line 946 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r127()
{
- return;
+ $this->_retvalue = '[' . $this->compiler->compileVariable($this->yystack[$this->yyidx + 0]->minor) . ']';
}
- #line 2754 "smarty_internal_templateparser.php"
- #line 862 "smarty_internal_templateparser.y"
+
+ #line 950 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r128()
{
- $this->_retvalue = '[' . $this->compileVariable($this->yystack[$this->yyidx + 0]->minor) . ']';
+ $this->_retvalue = '[' . $this->compiler->compileVariable($this->yystack[$this->yyidx + - 2]->minor) . '->' .
+ $this->yystack[$this->yyidx + 0]->minor . ']';
}
- #line 2759 "smarty_internal_templateparser.php"
- #line 866 "smarty_internal_templateparser.y"
+
+ #line 954 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r129()
{
- $this->_retvalue = '[' . $this->compileVariable($this->yystack[$this->yyidx + - 2]->minor) . '->' . $this->yystack[$this->yyidx + 0]->minor . ']';
+ if (defined($this->yystack[$this->yyidx + 0]->minor)) {
+ if ($this->security) {
+ $this->security->isTrustedConstant($this->yystack[$this->yyidx + 0]->minor, $this->compiler);
+ }
+ $this->_retvalue = '[' . $this->yystack[$this->yyidx + 0]->minor . ']';
+ } else {
+ $this->_retvalue = "['" . $this->yystack[$this->yyidx + 0]->minor . "']";
+ }
}
- #line 2764 "smarty_internal_templateparser.php"
- #line 870 "smarty_internal_templateparser.y"
+
+ #line 965 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r130()
{
- $this->_retvalue = "['" . $this->yystack[$this->yyidx + 0]->minor . "']";
+ $this->_retvalue = '[' . $this->yystack[$this->yyidx + 0]->minor . ']';
}
- #line 2769 "smarty_internal_templateparser.php"
- #line 874 "smarty_internal_templateparser.y"
+
+ #line 970 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r131()
{
- $this->_retvalue = "[" . $this->yystack[$this->yyidx + 0]->minor . "]";
+ $this->_retvalue = '[' . $this->yystack[$this->yyidx + - 1]->minor . ']';
}
- #line 2774 "smarty_internal_templateparser.php"
- #line 878 "smarty_internal_templateparser.y"
+
+ #line 975 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r132()
{
- $this->_retvalue = "[" . $this->yystack[$this->yyidx + - 1]->minor . "]";
+ $this->_retvalue = '[' . $this->compiler->compileTag('private_special_variable', array(), '[\'section\'][\'' .
+ $this->yystack[$this->yyidx +
+ - 1]->minor . '\'][\'index\']') .
+ ']';
}
- #line 2779 "smarty_internal_templateparser.php"
- #line 883 "smarty_internal_templateparser.y"
+
+ #line 979 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r133()
{
- $this->_retvalue = '[' . $this->compiler->compileTag('private_special_variable', array(), '[\'section\'][\'' . $this->yystack[$this->yyidx + - 1]->minor . '\'][\'index\']') . ']';
+ $this->_retvalue = '[' . $this->compiler->compileTag('private_special_variable', array(), '[\'section\'][\'' .
+ $this->yystack[$this->yyidx +
+ - 3]->minor . '\'][\'' .
+ $this->yystack[$this->yyidx +
+ - 1]->minor . '\']') . ']';
}
- #line 2784 "smarty_internal_templateparser.php"
- #line 887 "smarty_internal_templateparser.y"
+
+ #line 982 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r134()
{
- $this->_retvalue = '[' . $this->compiler->compileTag('private_special_variable', array(), '[\'section\'][\'' . $this->yystack[$this->yyidx + - 3]->minor . '\'][\'' . $this->yystack[$this->yyidx + - 1]->minor . '\']') . ']';
+ $this->_retvalue = '[' . $this->yystack[$this->yyidx + - 1]->minor . ']';
}
- #line 2789 "smarty_internal_templateparser.php"
- #line 897 "smarty_internal_templateparser.y"
+
+ #line 988 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r136()
{
+ $this->_retvalue =
+ '[' . $this->compiler->compileVariable('\'' . substr($this->yystack[$this->yyidx + - 1]->minor, 1) . '\'') .
+ ']';;
+ }
+
+ #line 1004 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r140()
+ {
$this->_retvalue = '[]';
}
- #line 2794 "smarty_internal_templateparser.php"
- #line 910 "smarty_internal_templateparser.y"
- function yy_r138()
+
+ #line 1014 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r141()
+ {
+ $this->_retvalue = '\'' . substr($this->yystack[$this->yyidx + 0]->minor, 1) . '\'';
+ }
+
+ #line 1018 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r142()
+ {
+ $this->_retvalue = "''";
+ }
+
+ #line 1023 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r143()
{
$this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor . '.' . $this->yystack[$this->yyidx + 0]->minor;
}
- #line 2799 "smarty_internal_templateparser.php"
- #line 915 "smarty_internal_templateparser.y"
- function yy_r139()
+
+ #line 1031 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r145()
{
- $this->_retvalue = '\'' . $this->yystack[$this->yyidx + 0]->minor . '\'';
+ $var = trim(substr($this->yystack[$this->yyidx + 0]->minor, $this->lex->ldel_length, - $this->lex->rdel_length),
+ ' $');
+ $this->_retvalue = $this->compiler->compileVariable('\'' . $var . '\'');
}
- #line 2804 "smarty_internal_templateparser.php"
- #line 920 "smarty_internal_templateparser.y"
- function yy_r140()
+
+ #line 1037 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r146()
{
$this->_retvalue = '(' . $this->yystack[$this->yyidx + - 1]->minor . ')';
}
- #line 2809 "smarty_internal_templateparser.php"
- #line 927 "smarty_internal_templateparser.y"
- function yy_r141()
+
+ #line 1044 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r147()
{
if ($this->yystack[$this->yyidx + - 1]->minor['var'] == '\'smarty\'') {
- $this->_retvalue = $this->compiler->compileTag('private_special_variable', array(), $this->yystack[$this->yyidx + - 1]->minor['smarty_internal_index']) . $this->yystack[$this->yyidx + 0]->minor;
+ $this->_retvalue = $this->compiler->compileTag('private_special_variable', array(),
+ $this->yystack[$this->yyidx +
+ - 1]->minor['smarty_internal_index']) .
+ $this->yystack[$this->yyidx + 0]->minor;
} else {
- $this->_retvalue = $this->compileVariable($this->yystack[$this->yyidx + - 1]->minor['var']) . $this->yystack[$this->yyidx + - 1]->minor['smarty_internal_index'] . $this->yystack[$this->yyidx + 0]->minor;
+ $this->_retvalue = $this->compiler->compileVariable($this->yystack[$this->yyidx + - 1]->minor['var']) .
+ $this->yystack[$this->yyidx + - 1]->minor['smarty_internal_index'] .
+ $this->yystack[$this->yyidx + 0]->minor;
}
}
- #line 2818 "smarty_internal_templateparser.php"
- #line 936 "smarty_internal_templateparser.y"
- function yy_r142()
+
+ #line 1053 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r148()
{
$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;
}
- #line 2823 "smarty_internal_templateparser.php"
- #line 941 "smarty_internal_templateparser.y"
- function yy_r143()
+
+ #line 1058 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r149()
{
$this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor . $this->yystack[$this->yyidx + 0]->minor;
}
- #line 2828 "smarty_internal_templateparser.php"
- #line 946 "smarty_internal_templateparser.y"
- function yy_r144()
+
+ #line 1063 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r150()
{
if ($this->security && substr($this->yystack[$this->yyidx + - 1]->minor, 0, 1) == '_') {
$this->compiler->trigger_template_error(self::Err1);
}
$this->_retvalue = '->' . $this->yystack[$this->yyidx + - 1]->minor . $this->yystack[$this->yyidx + 0]->minor;
}
- #line 2836 "smarty_internal_templateparser.php"
- #line 953 "smarty_internal_templateparser.y"
- function yy_r145()
+
+ #line 1070 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r151()
{
if ($this->security) {
$this->compiler->trigger_template_error(self::Err2);
}
- $this->_retvalue = '->{' . $this->compileVariable($this->yystack[$this->yyidx + - 1]->minor) . $this->yystack[$this->yyidx + 0]->minor . '}';
+ $this->_retvalue = '->{' . $this->compiler->compileVariable($this->yystack[$this->yyidx + - 1]->minor) .
+ $this->yystack[$this->yyidx + 0]->minor . '}';
}
- #line 2844 "smarty_internal_templateparser.php"
- #line 960 "smarty_internal_templateparser.y"
- function yy_r146()
+
+ #line 1077 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r152()
{
if ($this->security) {
$this->compiler->trigger_template_error(self::Err2);
}
- $this->_retvalue = '->{' . $this->yystack[$this->yyidx + - 2]->minor . $this->yystack[$this->yyidx + 0]->minor . '}';
+ $this->_retvalue =
+ '->{' . $this->yystack[$this->yyidx + - 2]->minor . $this->yystack[$this->yyidx + 0]->minor . '}';
}
- #line 2852 "smarty_internal_templateparser.php"
- #line 967 "smarty_internal_templateparser.y"
- function yy_r147()
+
+ #line 1084 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r153()
{
if ($this->security) {
$this->compiler->trigger_template_error(self::Err2);
}
- $this->_retvalue = '->{\'' . $this->yystack[$this->yyidx + - 4]->minor . '\'.' . $this->yystack[$this->yyidx + - 2]->minor . $this->yystack[$this->yyidx + 0]->minor . '}';
+ $this->_retvalue =
+ '->{\'' . $this->yystack[$this->yyidx + - 4]->minor . '\'.' . $this->yystack[$this->yyidx + - 2]->minor .
+ $this->yystack[$this->yyidx + 0]->minor . '}';
}
- #line 2860 "smarty_internal_templateparser.php"
- #line 975 "smarty_internal_templateparser.y"
- function yy_r148()
+
+ #line 1092 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r154()
{
$this->_retvalue = '->' . $this->yystack[$this->yyidx + 0]->minor;
}
- #line 2865 "smarty_internal_templateparser.php"
- #line 983 "smarty_internal_templateparser.y"
- function yy_r149()
+
+ #line 1100 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r155()
{
- if (!$this->security || $this->smarty->security_policy->isTrustedPhpFunction($this->yystack[$this->yyidx + - 3]->minor, $this->compiler)) {
- if (strcasecmp($this->yystack[$this->yyidx + - 3]->minor, 'isset') === 0 || strcasecmp($this->yystack[$this->yyidx + - 3]->minor, 'empty') === 0 || strcasecmp($this->yystack[$this->yyidx + - 3]->minor, 'array') === 0 || is_callable($this->yystack[$this->yyidx + - 3]->minor)) {
+ if (!$this->security ||
+ $this->security->isTrustedPhpFunction($this->yystack[$this->yyidx + - 3]->minor, $this->compiler)
+ ) {
+ if (strcasecmp($this->yystack[$this->yyidx + - 3]->minor, 'isset') === 0 ||
+ strcasecmp($this->yystack[$this->yyidx + - 3]->minor, 'empty') === 0 ||
+ strcasecmp($this->yystack[$this->yyidx + - 3]->minor, 'array') === 0 ||
+ is_callable($this->yystack[$this->yyidx + - 3]->minor)
+ ) {
$func_name = strtolower($this->yystack[$this->yyidx + - 3]->minor);
if ($func_name == 'isset') {
if (count($this->yystack[$this->yyidx + - 1]->minor) == 0) {
$this->compiler->trigger_template_error('Illegal number of paramer in "isset()"');
}
$par = implode(',', $this->yystack[$this->yyidx + - 1]->minor);
- if (strncasecmp($par, '$_smarty_tpl->getConfigVariable', strlen('$_smarty_tpl->getConfigVariable')) === 0) {
+ if (strncasecmp($par, '$_smarty_tpl->smarty->ext->_config->_getConfigVariable',
+ strlen('$_smarty_tpl->smarty->ext->_config->_getConfigVariable')) === 0
+ ) {
self::$prefix_number ++;
- $this->compiler->prefix_code[] = '<?php $_tmp' . self::$prefix_number . '=' . str_replace(')', ', false)', $par) . ';?>';
+ $this->compiler->prefix_code[] =
+ '<?php $_tmp' . self::$prefix_number . '=' . str_replace(')', ', false)', $par) . ';?>';
$isset_par = '$_tmp' . self::$prefix_number;
} else {
$isset_par = str_replace("')->value", "',null,true,false)->value", $par);
@@ -4165,256 +2466,253 @@ class Smarty_Internal_Templateparser#line 80 "smarty_internal_templateparser.php
$this->compiler->trigger_template_error('Illegal number of paramer in "empty()"');
}
if ($func_name == 'empty') {
- $this->_retvalue = $func_name . '(' . str_replace("')->value", "',null,true,false)->value", $this->yystack[$this->yyidx + - 1]->minor[0]) . ')';
+ $this->_retvalue = $func_name . '(' . str_replace("')->value", "',null,true,false)->value",
+ $this->yystack[$this->yyidx +
+ - 1]->minor[0]) . ')';
} else {
$this->_retvalue = $func_name . '(' . $this->yystack[$this->yyidx + - 1]->minor[0] . ')';
}
} else {
- $this->_retvalue = $this->yystack[$this->yyidx + - 3]->minor . "(" . implode(',', $this->yystack[$this->yyidx + - 1]->minor) . ")";
+ $this->_retvalue = $this->yystack[$this->yyidx + - 3]->minor . "(" .
+ implode(',', $this->yystack[$this->yyidx + - 1]->minor) . ")";
}
} else {
- $this->compiler->trigger_template_error("unknown function \"" . $this->yystack[$this->yyidx + - 3]->minor . "\"");
+ $this->compiler->trigger_template_error("unknown function \"" .
+ $this->yystack[$this->yyidx + - 3]->minor . "\"");
}
}
}
- #line 2901 "smarty_internal_templateparser.php"
- #line 1021 "smarty_internal_templateparser.y"
- function yy_r150()
+
+ #line 1139 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r156()
{
if ($this->security && substr($this->yystack[$this->yyidx + - 3]->minor, 0, 1) == '_') {
$this->compiler->trigger_template_error(self::Err1);
}
- $this->_retvalue = $this->yystack[$this->yyidx + - 3]->minor . "(" . implode(',', $this->yystack[$this->yyidx + - 1]->minor) . ")";
+ $this->_retvalue =
+ $this->yystack[$this->yyidx + - 3]->minor . "(" . implode(',', $this->yystack[$this->yyidx + - 1]->minor) .
+ ")";
}
- #line 2909 "smarty_internal_templateparser.php"
- #line 1028 "smarty_internal_templateparser.y"
- function yy_r151()
+
+ #line 1146 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r157()
{
if ($this->security) {
$this->compiler->trigger_template_error(self::Err2);
}
self::$prefix_number ++;
- $this->compiler->prefix_code[] = '<?php $_tmp' . self::$prefix_number . '=' . $this->compileVariable("'" . $this->yystack[$this->yyidx + - 3]->minor . "'") . ';?>';
- $this->_retvalue = '$_tmp' . self::$prefix_number . '(' . implode(',', $this->yystack[$this->yyidx + - 1]->minor) . ')';
- }
- #line 2919 "smarty_internal_templateparser.php"
- #line 1039 "smarty_internal_templateparser.y"
- function yy_r152()
- {
- $this->_retvalue = array_merge($this->yystack[$this->yyidx + - 2]->minor, array($this->yystack[$this->yyidx + 0]->minor));
+ $this->compiler->prefix_code[] = '<?php $_tmp' . self::$prefix_number . '=' .
+ $this->compiler->compileVariable('\'' . substr($this->yystack[$this->yyidx + - 3]->minor, 1) . '\'') .
+ ';?>';
+ $this->_retvalue =
+ '$_tmp' . self::$prefix_number . '(' . implode(',', $this->yystack[$this->yyidx + - 1]->minor) . ')';
}
- #line 2924 "smarty_internal_templateparser.php"
- #line 1056 "smarty_internal_templateparser.y"
- function yy_r155()
- {
- $this->_retvalue = array_merge($this->yystack[$this->yyidx + - 2]->minor, array(array_merge($this->yystack[$this->yyidx + - 1]->minor, $this->yystack[$this->yyidx + 0]->minor)));
- }
- #line 2929 "smarty_internal_templateparser.php"
- #line 1060 "smarty_internal_templateparser.y"
- function yy_r156()
- {
- $this->_retvalue = array(array_merge($this->yystack[$this->yyidx + - 1]->minor, $this->yystack[$this->yyidx + 0]->minor));
- }
- #line 2934 "smarty_internal_templateparser.php"
- #line 1068 "smarty_internal_templateparser.y"
+
+ #line 1157 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r158()
{
- $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor);
+ $this->_retvalue =
+ array_merge($this->yystack[$this->yyidx + - 2]->minor, array($this->yystack[$this->yyidx + 0]->minor));
}
- #line 2939 "smarty_internal_templateparser.php"
- #line 1076 "smarty_internal_templateparser.y"
- function yy_r159()
+
+ #line 1174 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r161()
{
- $this->_retvalue = array_merge($this->yystack[$this->yyidx + - 1]->minor, $this->yystack[$this->yyidx + 0]->minor);
+ $this->_retvalue = array_merge($this->yystack[$this->yyidx + - 2]->minor,
+ array(array_merge($this->yystack[$this->yyidx + - 1]->minor,
+ $this->yystack[$this->yyidx + 0]->minor)));
}
- #line 2944 "smarty_internal_templateparser.php"
- #line 1110 "smarty_internal_templateparser.y"
- function yy_r166()
+
+ #line 1178 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r162()
{
- $this->_retvalue = '$' . $this->yystack[$this->yyidx + - 1]->minor . $this->yystack[$this->yyidx + 0]->minor;
+ $this->_retvalue =
+ array(array_merge($this->yystack[$this->yyidx + - 1]->minor, $this->yystack[$this->yyidx + 0]->minor));
}
- #line 2949 "smarty_internal_templateparser.php"
- #line 1115 "smarty_internal_templateparser.y"
- function yy_r167()
+
+ #line 1186 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r164()
{
- $this->_retvalue = '$' . $this->yystack[$this->yyidx + - 2]->minor . $this->yystack[$this->yyidx + - 1]->minor . $this->yystack[$this->yyidx + 0]->minor;
+ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor);
}
- #line 2954 "smarty_internal_templateparser.php"
- #line 1121 "smarty_internal_templateparser.y"
- function yy_r168()
+
+ #line 1194 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r165()
{
- $this->_retvalue = '==';
+ $this->_retvalue =
+ array_merge($this->yystack[$this->yyidx + - 1]->minor, $this->yystack[$this->yyidx + 0]->minor);
}
- #line 2959 "smarty_internal_templateparser.php"
- #line 1125 "smarty_internal_templateparser.y"
+
+ #line 1213 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r169()
{
- $this->_retvalue = '!=';
+ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor, '', 'method');
}
- #line 2964 "smarty_internal_templateparser.php"
- #line 1129 "smarty_internal_templateparser.y"
+
+ #line 1218 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r170()
{
- $this->_retvalue = '>';
+ $this->_retvalue =
+ array($this->yystack[$this->yyidx + - 1]->minor, $this->yystack[$this->yyidx + 0]->minor, 'method');
}
- #line 2969 "smarty_internal_templateparser.php"
- #line 1133 "smarty_internal_templateparser.y"
+
+ #line 1223 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r171()
{
- $this->_retvalue = '<';
+ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor, '');
}
- #line 2974 "smarty_internal_templateparser.php"
- #line 1137 "smarty_internal_templateparser.y"
+
+ #line 1228 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r172()
{
- $this->_retvalue = '>=';
+ $this->_retvalue =
+ array($this->yystack[$this->yyidx + - 1]->minor, $this->yystack[$this->yyidx + 0]->minor, 'property');
}
- #line 2979 "smarty_internal_templateparser.php"
- #line 1141 "smarty_internal_templateparser.y"
+
+ #line 1233 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r173()
{
- $this->_retvalue = '<=';
+ $this->_retvalue = array($this->yystack[$this->yyidx + - 2]->minor,
+ $this->yystack[$this->yyidx + - 1]->minor . $this->yystack[$this->yyidx + 0]->minor,
+ 'property');
}
- #line 2984 "smarty_internal_templateparser.php"
- #line 1145 "smarty_internal_templateparser.y"
+
+ #line 1239 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r174()
{
- $this->_retvalue = '===';
+ $this->_retvalue['op'] = ' ' . trim($this->yystack[$this->yyidx + 0]->minor) . ' ';
}
- #line 2989 "smarty_internal_templateparser.php"
- #line 1149 "smarty_internal_templateparser.y"
+
+ #line 1243 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r175()
{
- $this->_retvalue = '!==';
+ static $lops = array('eq' => array('op' => ' == ', 'pre' => null),
+ 'ne' => array('op' => ' != ', 'pre' => null),
+ 'neq' => array('op' => ' != ', 'pre' => null),
+ 'gt' => array('op' => ' > ', 'pre' => null),
+ 'ge' => array('op' => ' >= ', 'pre' => null),
+ 'gte' => array('op' => ' >= ', 'pre' => null),
+ 'lt' => array('op' => ' < ', 'pre' => null),
+ 'le' => array('op' => ' <= ', 'pre' => null),
+ 'lte' => array('op' => ' <= ', 'pre' => null),
+ 'mod' => array('op' => ' % ', 'pre' => null),
+ 'and' => array('op' => ' && ', 'pre' => null),
+ 'or' => array('op' => ' || ', 'pre' => null),
+ 'xor' => array('op' => ' xor ', 'pre' => null),
+ 'isdivby' => array('op' => ' % ', 'pre' => '!('),
+ 'isnotdivby' => array('op' => ' % ', 'pre' => '('),
+ 'isevenby' => array('op' => ' / ', 'pre' => '!(1 & '),
+ 'isnotevenby' => array('op' => ' / ', 'pre' => '(1 & '),
+ 'isoddby' => array('op' => ' / ', 'pre' => '(1 & '),
+ 'isnotoddby' => array('op' => ' / ', 'pre' => '!(1 & '),);
+ $op = strtolower(preg_replace('/\s*/', '', $this->yystack[$this->yyidx + 0]->minor));
+ $this->_retvalue = $lops[$op];
}
- #line 2994 "smarty_internal_templateparser.php"
- #line 1153 "smarty_internal_templateparser.y"
+
+ #line 1269 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r176()
{
- $this->_retvalue = '%';
+ static $scond = array('iseven' => '!(1 & ', 'isnoteven' => '(1 & ', 'isodd' => '(1 & ',
+ 'isnotodd' => '!(1 & ',);
+ $op = strtolower(str_replace(' ', '', $this->yystack[$this->yyidx + 0]->minor));
+ $this->_retvalue = $scond[$op];
}
- #line 2999 "smarty_internal_templateparser.php"
- #line 1157 "smarty_internal_templateparser.y"
+
+ #line 1283 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r177()
{
- $this->_retvalue = '&&';
- }
- #line 3004 "smarty_internal_templateparser.php"
- #line 1161 "smarty_internal_templateparser.y"
- function yy_r178()
- {
- $this->_retvalue = '||';
+ $this->_retvalue = 'array(' . $this->yystack[$this->yyidx + - 1]->minor . ')';
}
- #line 3009 "smarty_internal_templateparser.php"
- #line 1165 "smarty_internal_templateparser.y"
+
+ #line 1291 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r179()
{
- $this->_retvalue = ' XOR ';
+ $this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor . ',' . $this->yystack[$this->yyidx + 0]->minor;
}
- #line 3014 "smarty_internal_templateparser.php"
- #line 1172 "smarty_internal_templateparser.y"
- function yy_r180()
+
+ #line 1299 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r181()
{
- $this->_retvalue = 'array(' . $this->yystack[$this->yyidx + - 1]->minor . ')';
+ $this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor . '=>' . $this->yystack[$this->yyidx + 0]->minor;
}
- #line 3019 "smarty_internal_templateparser.php"
- #line 1180 "smarty_internal_templateparser.y"
+
+ #line 1303 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r182()
{
- $this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor . ',' . $this->yystack[$this->yyidx + 0]->minor;
+ $this->_retvalue =
+ '\'' . $this->yystack[$this->yyidx + - 2]->minor . '\'=>' . $this->yystack[$this->yyidx + 0]->minor;
}
- #line 3024 "smarty_internal_templateparser.php"
- #line 1188 "smarty_internal_templateparser.y"
- function yy_r184()
+
+ #line 1319 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r185()
{
- $this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor . '=>' . $this->yystack[$this->yyidx + 0]->minor;
+ $this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor->to_smarty_php($this);
}
- #line 3029 "smarty_internal_templateparser.php"
- #line 1192 "smarty_internal_templateparser.y"
- function yy_r185()
+
+ #line 1324 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r186()
{
- $this->_retvalue = '\'' . $this->yystack[$this->yyidx + - 2]->minor . '\'=>' . $this->yystack[$this->yyidx + 0]->minor;
+ $this->yystack[$this->yyidx + - 1]->minor->append_subtree($this, $this->yystack[$this->yyidx + 0]->minor);
+ $this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor;
}
- #line 3034 "smarty_internal_templateparser.php"
- #line 1204 "smarty_internal_templateparser.y"
+
+ #line 1329 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r187()
{
- $this->_retvalue = "''";
+ $this->_retvalue = new Smarty_Internal_ParseTree_Dq($this, $this->yystack[$this->yyidx + 0]->minor);
}
- #line 3039 "smarty_internal_templateparser.php"
- #line 1208 "smarty_internal_templateparser.y"
+
+ #line 1333 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r188()
{
- $this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor->to_smarty_php();
- }
- #line 3044 "smarty_internal_templateparser.php"
- #line 1213 "smarty_internal_templateparser.y"
- function yy_r189()
- {
- $this->yystack[$this->yyidx + - 1]->minor->append_subtree($this->yystack[$this->yyidx + 0]->minor);
- $this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor;
+ $this->_retvalue = new Smarty_Internal_ParseTree_Code('(string)' . $this->yystack[$this->yyidx + - 1]->minor);
}
- #line 3050 "smarty_internal_templateparser.php"
- #line 1218 "smarty_internal_templateparser.y"
+
+ #line 1341 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r190()
{
- $this->_retvalue = new _smarty_doublequoted($this, $this->yystack[$this->yyidx + 0]->minor);
+ $this->_retvalue = new Smarty_Internal_ParseTree_Code('(string)$_smarty_tpl->tpl_vars[\'' .
+ substr($this->yystack[$this->yyidx + 0]->minor, 1) .
+ '\']->value');
}
- #line 3055 "smarty_internal_templateparser.php"
- #line 1222 "smarty_internal_templateparser.y"
- function yy_r191()
+
+ #line 1349 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r192()
{
- $this->_retvalue = new _smarty_code($this, '(string)' . $this->yystack[$this->yyidx + - 1]->minor);
+ $this->_retvalue =
+ new Smarty_Internal_ParseTree_Code('(string)(' . $this->yystack[$this->yyidx + - 1]->minor . ')');
}
- #line 3060 "smarty_internal_templateparser.php"
- #line 1230 "smarty_internal_templateparser.y"
+
+ #line 1353 "../smarty/lexer/smarty_internal_templateparser.y"
function yy_r193()
{
- $this->_retvalue = new _smarty_code($this, '(string)$_smarty_tpl->tpl_vars[\'' . substr($this->yystack[$this->yyidx + 0]->minor, 1) . '\']->value');
- }
- #line 3065 "smarty_internal_templateparser.php"
- #line 1238 "smarty_internal_templateparser.y"
- function yy_r195()
- {
- $this->_retvalue = new _smarty_code($this, '(string)(' . $this->yystack[$this->yyidx + - 1]->minor . ')');
- }
- #line 3070 "smarty_internal_templateparser.php"
- #line 1242 "smarty_internal_templateparser.y"
- function yy_r196()
- {
- $this->_retvalue = new _smarty_tag($this, $this->yystack[$this->yyidx + - 1]->minor);
+ $this->_retvalue = new Smarty_Internal_ParseTree_Tag($this, $this->yystack[$this->yyidx + 0]->minor);
}
- #line 3075 "smarty_internal_templateparser.php"
- #line 1246 "smarty_internal_templateparser.y"
- function yy_r197()
+
+ #line 1357 "../smarty/lexer/smarty_internal_templateparser.y"
+ function yy_r194()
{
- $this->_retvalue = new _smarty_dq_content($this, $this->yystack[$this->yyidx + 0]->minor);
+ $this->_retvalue = new Smarty_Internal_ParseTree_DqContent($this->yystack[$this->yyidx + 0]->minor);
}
- #line 3080 "smarty_internal_templateparser.php"
-
private $_retvalue;
public function yy_reduce($yyruleno)
{
- $yymsp = $this->yystack[$this->yyidx];
- if ($this->yyTraceFILE && $yyruleno >= 0
- && $yyruleno < count(self::$yyRuleName)
- ) {
- fprintf($this->yyTraceFILE, "%sReduce (%d) [%s].\n",
- $this->yyTracePrompt, $yyruleno,
+ if ($this->yyTraceFILE && $yyruleno >= 0 && $yyruleno < count(self::$yyRuleName)) {
+ fprintf($this->yyTraceFILE, "%sReduce (%d) [%s].\n", $this->yyTracePrompt, $yyruleno,
self::$yyRuleName[$yyruleno]);
}
$this->_retvalue = $yy_lefthand_side = null;
- if (array_key_exists($yyruleno, self::$yyReduceMap)) {
+ if (isset(self::$yyReduceMap[$yyruleno])) {
// call the action
$this->_retvalue = null;
$this->{'yy_r' . self::$yyReduceMap[$yyruleno]}();
$yy_lefthand_side = $this->_retvalue;
}
- $yygoto = self::$yyRuleInfo[$yyruleno]['lhs'];
- $yysize = self::$yyRuleInfo[$yyruleno]['rhs'];
+ $yygoto = self::$yyRuleInfo[$yyruleno][0];
+ $yysize = self::$yyRuleInfo[$yyruleno][1];
$this->yyidx -= $yysize;
for ($i = $yysize; $i; $i --) {
// pop all of the right-hand side parameters
@@ -4449,12 +2747,11 @@ class Smarty_Internal_Templateparser#line 80 "smarty_internal_templateparser.php
public function yy_syntax_error($yymajor, $TOKEN)
{
- #line 75 "smarty_internal_templateparser.y"
+ #line 207 "../smarty/lexer/smarty_internal_templateparser.y"
$this->internalError = true;
$this->yymajor = $yymajor;
$this->compiler->trigger_template_error();
- #line 3142 "smarty_internal_templateparser.php"
}
public function yy_accept()
@@ -4463,16 +2760,13 @@ class Smarty_Internal_Templateparser#line 80 "smarty_internal_templateparser.php
fprintf($this->yyTraceFILE, "%sAccept!\n", $this->yyTracePrompt);
}
while ($this->yyidx >= 0) {
- $stack = $this->yy_pop_parser_stack();
+ $this->yy_pop_parser_stack();
}
- #line 66 "smarty_internal_templateparser.y"
+ #line 200 "../smarty/lexer/smarty_internal_templateparser.y"
$this->successful = !$this->internalError;
$this->internalError = false;
$this->retvalue = $this->_retvalue;
- //echo $this->retvalue."\n\n";
-
- #line 3160 "smarty_internal_templateparser.php"
}
public function doParse($yymajor, $yytokenvalue)
@@ -4486,20 +2780,17 @@ class Smarty_Internal_Templateparser#line 80 "smarty_internal_templateparser.php
$x->stateno = 0;
$x->major = 0;
$this->yystack = array();
- array_push($this->yystack, $x);
+ $this->yystack[] = $x;
}
$yyendofinput = ($yymajor == 0);
if ($this->yyTraceFILE) {
- fprintf($this->yyTraceFILE, "%sInput %s\n",
- $this->yyTracePrompt, $this->yyTokenName[$yymajor]);
+ fprintf($this->yyTraceFILE, "%sInput %s\n", $this->yyTracePrompt, $this->yyTokenName[$yymajor]);
}
do {
$yyact = $this->yy_find_shift_action($yymajor);
- if ($yymajor < self::YYERRORSYMBOL &&
- !$this->yy_is_expected_token($yymajor)
- ) {
+ if ($yymajor < self::YYERRORSYMBOL && !$this->yy_is_expected_token($yymajor)) {
// force a syntax error
$yyact = self::YY_ERROR_ACTION;
}
@@ -4515,8 +2806,7 @@ class Smarty_Internal_Templateparser#line 80 "smarty_internal_templateparser.php
$this->yy_reduce($yyact - self::YYNSTATE);
} elseif ($yyact == self::YY_ERROR_ACTION) {
if ($this->yyTraceFILE) {
- fprintf($this->yyTraceFILE, "%sSyntax Error!\n",
- $this->yyTracePrompt);
+ fprintf($this->yyTraceFILE, "%sSyntax Error!\n", $this->yyTracePrompt);
}
if (self::YYERRORSYMBOL) {
if ($this->yyerrcnt < 0) {
@@ -4525,16 +2815,14 @@ class Smarty_Internal_Templateparser#line 80 "smarty_internal_templateparser.php
$yymx = $this->yystack[$this->yyidx]->major;
if ($yymx == self::YYERRORSYMBOL || $yyerrorhit) {
if ($this->yyTraceFILE) {
- fprintf($this->yyTraceFILE, "%sDiscard input token %s\n",
- $this->yyTracePrompt, $this->yyTokenName[$yymajor]);
+ fprintf($this->yyTraceFILE, "%sDiscard input token %s\n", $this->yyTracePrompt,
+ $this->yyTokenName[$yymajor]);
}
$this->yy_destructor($yymajor, $yytokenvalue);
$yymajor = self::YYNOCODE;
} else {
- while ($this->yyidx >= 0 &&
- $yymx != self::YYERRORSYMBOL &&
- ($yyact = $this->yy_find_shift_action(self::YYERRORSYMBOL)) >= self::YYNSTATE
- ) {
+ while ($this->yyidx >= 0 && $yymx != self::YYERRORSYMBOL &&
+ ($yyact = $this->yy_find_shift_action(self::YYERRORSYMBOL)) >= self::YYNSTATE) {
$this->yy_pop_parser_stack();
}
if ($this->yyidx < 0 || $yymajor == 0) {
@@ -4566,3 +2854,4 @@ class Smarty_Internal_Templateparser#line 80 "smarty_internal_templateparser.php
} while ($yymajor != self::YYNOCODE && $this->yyidx >= 0);
}
}
+