2010-12-05 22:15:23 +00:00
|
|
|
<?php
|
2014-06-08 16:00:56 +00:00
|
|
|
|
2010-12-05 22:15:23 +00:00
|
|
|
class TP_yyToken implements ArrayAccess
|
|
|
|
{
|
|
|
|
public $string = '';
|
|
|
|
public $metadata = array();
|
|
|
|
|
2013-07-14 21:12:08 +00:00
|
|
|
public function __construct($s, $m = array())
|
2010-12-05 22:15:23 +00:00
|
|
|
{
|
|
|
|
if ($s instanceof TP_yyToken) {
|
|
|
|
$this->string = $s->string;
|
|
|
|
$this->metadata = $s->metadata;
|
|
|
|
} else {
|
|
|
|
$this->string = (string) $s;
|
|
|
|
if ($m instanceof TP_yyToken) {
|
|
|
|
$this->metadata = $m->metadata;
|
|
|
|
} elseif (is_array($m)) {
|
|
|
|
$this->metadata = $m;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-07-14 21:12:08 +00:00
|
|
|
public function __toString()
|
2010-12-05 22:15:23 +00:00
|
|
|
{
|
2014-12-13 23:02:29 +01:00
|
|
|
return $this->string;
|
2010-12-05 22:15:23 +00:00
|
|
|
}
|
|
|
|
|
2013-07-14 21:12:08 +00:00
|
|
|
public function offsetExists($offset)
|
2010-12-05 22:15:23 +00:00
|
|
|
{
|
|
|
|
return isset($this->metadata[$offset]);
|
|
|
|
}
|
|
|
|
|
2013-07-14 21:12:08 +00:00
|
|
|
public function offsetGet($offset)
|
2010-12-05 22:15:23 +00:00
|
|
|
{
|
|
|
|
return $this->metadata[$offset];
|
|
|
|
}
|
|
|
|
|
2013-07-14 21:12:08 +00:00
|
|
|
public function offsetSet($offset, $value)
|
2010-12-05 22:15:23 +00:00
|
|
|
{
|
|
|
|
if ($offset === null) {
|
|
|
|
if (isset($value[0])) {
|
|
|
|
$x = ($value instanceof TP_yyToken) ?
|
|
|
|
$value->metadata : $value;
|
|
|
|
$this->metadata = array_merge($this->metadata, $x);
|
2013-07-14 21:12:08 +00:00
|
|
|
|
2010-12-05 22:15:23 +00:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
$offset = count($this->metadata);
|
|
|
|
}
|
|
|
|
if ($value === null) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
if ($value instanceof TP_yyToken) {
|
|
|
|
if ($value->metadata) {
|
|
|
|
$this->metadata[$offset] = $value->metadata;
|
|
|
|
}
|
|
|
|
} elseif ($value) {
|
|
|
|
$this->metadata[$offset] = $value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-07-14 21:12:08 +00:00
|
|
|
public function offsetUnset($offset)
|
2010-12-05 22:15:23 +00:00
|
|
|
{
|
|
|
|
unset($this->metadata[$offset]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class TP_yyStackEntry
|
|
|
|
{
|
2014-10-07 22:07:15 +00:00
|
|
|
public $stateno; /* The state-number */
|
|
|
|
public $major; /* The major token value. This is the code
|
2010-12-05 22:15:23 +00:00
|
|
|
** number for the token at this stack level */
|
|
|
|
public $minor; /* The user-supplied minor token value. This
|
|
|
|
** is the value of the token */
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
2010-12-05 22:15:23 +00:00
|
|
|
|
2014-06-08 16:00:56 +00:00
|
|
|
;
|
2013-08-12 21:09:29 +00:00
|
|
|
|
2014-12-11 05:21:21 +01:00
|
|
|
#line 13 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Smarty Internal Plugin Templateparser
|
|
|
|
* This is the template parser.
|
|
|
|
* It is generated from the smarty_internal_templateparser.y file
|
|
|
|
*
|
|
|
|
* @package Smarty
|
|
|
|
* @subpackage Compiler
|
|
|
|
* @author Uwe Tews
|
|
|
|
*/
|
|
|
|
class Smarty_Internal_Templateparser
|
2010-12-05 22:15:23 +00:00
|
|
|
{
|
2014-12-13 23:02:29 +01:00
|
|
|
#line 26 "../smarty/lexer/smarty_internal_templateparser.y"
|
2010-12-05 22:15:23 +00:00
|
|
|
|
2011-09-16 14:19:56 +00:00
|
|
|
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";
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* result status
|
|
|
|
*
|
|
|
|
* @var bool
|
|
|
|
*/
|
2010-12-05 22:15:23 +00:00
|
|
|
public $successful = true;
|
2014-12-13 23:02:29 +01:00
|
|
|
/**
|
|
|
|
* return value
|
|
|
|
*
|
|
|
|
* @var mixed
|
|
|
|
*/
|
2010-12-05 22:15:23 +00:00
|
|
|
public $retvalue = 0;
|
2014-12-13 23:02:29 +01:00
|
|
|
/**
|
|
|
|
* counter for prefix code
|
|
|
|
*
|
|
|
|
* @var int
|
|
|
|
*/
|
2013-08-12 21:09:29 +00:00
|
|
|
public static $prefix_number = 0;
|
2014-12-13 23:02:29 +01:00
|
|
|
/**
|
|
|
|
* @var
|
|
|
|
*/
|
2014-10-07 22:20:21 +00:00
|
|
|
public $yymajor;
|
2014-12-13 23:02:29 +01:00
|
|
|
/**
|
|
|
|
* last index of array variable
|
|
|
|
*
|
|
|
|
* @var mixed
|
|
|
|
*/
|
2014-10-07 22:07:15 +00:00
|
|
|
public $last_index;
|
2014-12-13 23:02:29 +01:00
|
|
|
/**
|
|
|
|
* last variable name
|
|
|
|
*
|
|
|
|
* @var string
|
|
|
|
*/
|
2014-10-07 22:07:15 +00:00
|
|
|
public $last_variable;
|
2014-12-13 23:02:29 +01:00
|
|
|
/**
|
|
|
|
* root parse tree buffer
|
|
|
|
*
|
|
|
|
* @var _smarty_template_buffer
|
|
|
|
*/
|
2014-10-07 22:07:15 +00:00
|
|
|
public $root_buffer;
|
2014-12-13 23:02:29 +01:00
|
|
|
/**
|
|
|
|
* current parse tree object
|
|
|
|
*
|
|
|
|
* @var _smarty_template_buffer
|
|
|
|
*/
|
2014-10-07 22:07:15 +00:00
|
|
|
public $current_buffer;
|
2014-12-13 23:02:29 +01:00
|
|
|
/**
|
|
|
|
* lexer object
|
|
|
|
*
|
|
|
|
* @var Smarty_Internal_Templatelexer
|
|
|
|
*/
|
2010-12-05 22:15:23 +00:00
|
|
|
private $lex;
|
2014-12-13 23:02:29 +01:00
|
|
|
/**
|
|
|
|
* internal error flag
|
|
|
|
*
|
|
|
|
* @var bool
|
|
|
|
*/
|
2010-12-05 22:15:23 +00:00
|
|
|
private $internalError = false;
|
2014-12-13 23:02:29 +01:00
|
|
|
/**
|
|
|
|
* {strip} status
|
|
|
|
*
|
|
|
|
* @var bool
|
|
|
|
*/
|
2011-12-17 14:23:31 +00:00
|
|
|
private $strip = false;
|
2014-12-13 23:02:29 +01:00
|
|
|
/**
|
|
|
|
* 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;
|
|
|
|
/**
|
|
|
|
* xml tag flag
|
|
|
|
*
|
|
|
|
* @var bool
|
|
|
|
*/
|
|
|
|
private $is_xml = false;
|
|
|
|
/**
|
|
|
|
* security object
|
|
|
|
*
|
|
|
|
* @var Smarty_Security
|
|
|
|
*/
|
|
|
|
private $security = null;
|
|
|
|
/**
|
|
|
|
* asp enabled
|
|
|
|
*
|
|
|
|
* @var bool
|
|
|
|
*/
|
|
|
|
private $asp_tags = false;
|
|
|
|
/**
|
|
|
|
* PHP tag handling mode
|
|
|
|
*
|
|
|
|
* @var int
|
|
|
|
*/
|
|
|
|
private $php_handling = 0;
|
2010-12-05 22:15:23 +00:00
|
|
|
|
2014-12-13 23:02:29 +01:00
|
|
|
/**
|
|
|
|
* constructor
|
|
|
|
*
|
|
|
|
* @param Smarty_Internal_Templatelexer $lex
|
|
|
|
* @param Smarty_Internal_TemplateCompilerBase $compiler
|
|
|
|
*/
|
|
|
|
function __construct(Smarty_Internal_Templatelexer $lex, Smarty_Internal_TemplateCompilerBase $compiler)
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
2010-12-05 22:15:23 +00:00
|
|
|
$this->lex = $lex;
|
|
|
|
$this->compiler = $compiler;
|
|
|
|
$this->template = $this->compiler->template;
|
2014-12-13 23:02:29 +01:00
|
|
|
$this->smarty = $this->template->smarty;
|
2010-12-05 22:15:23 +00:00
|
|
|
$this->compiler->has_variable_string = false;
|
2011-09-16 14:19:56 +00:00
|
|
|
$this->compiler->prefix_code = array();
|
|
|
|
if ($this->security = isset($this->smarty->security_policy)) {
|
|
|
|
$this->php_handling = $this->smarty->security_policy->php_handling;
|
2010-12-05 22:15:23 +00:00
|
|
|
} else {
|
2011-09-16 14:19:56 +00:00
|
|
|
$this->php_handling = $this->smarty->php_handling;
|
2010-12-05 22:15:23 +00:00
|
|
|
}
|
2011-09-16 14:19:56 +00:00
|
|
|
$this->asp_tags = (ini_get('asp_tags') != '0');
|
|
|
|
$this->current_buffer = $this->root_buffer = new _smarty_template_buffer($this);
|
2010-12-05 22:15:23 +00:00
|
|
|
}
|
|
|
|
|
2014-12-13 23:02:29 +01:00
|
|
|
/**
|
|
|
|
* insert PHP code in current buffer
|
|
|
|
*
|
|
|
|
* @param string $code
|
|
|
|
*/
|
2014-10-30 00:55:01 +01:00
|
|
|
public function insertPhpCode($code)
|
|
|
|
{
|
|
|
|
$this->current_buffer->append_subtree(new _smarty_tag($this, $code));
|
|
|
|
}
|
|
|
|
|
2014-12-13 23:02:29 +01:00
|
|
|
/**
|
|
|
|
* compile variable
|
|
|
|
*
|
|
|
|
* @param string $variable
|
|
|
|
*
|
|
|
|
* @return string
|
|
|
|
*/
|
2014-06-08 16:00:56 +00:00
|
|
|
public function compileVariable($variable)
|
|
|
|
{
|
|
|
|
if (strpos($variable, '(') == 0) {
|
2011-09-16 14:19:56 +00:00
|
|
|
// not a variable variable
|
2014-06-08 16:00:56 +00:00
|
|
|
$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;
|
2011-09-16 14:19:56 +00:00
|
|
|
}
|
2014-06-08 16:00:56 +00:00
|
|
|
return '$_smarty_tpl->tpl_vars[' . $variable . ']->value';
|
2011-09-16 14:19:56 +00:00
|
|
|
}
|
2010-12-05 22:15:23 +00:00
|
|
|
|
2014-06-08 16:00:56 +00:00
|
|
|
const TP_VERT = 1;
|
|
|
|
const TP_COLON = 2;
|
|
|
|
const TP_RDEL = 3;
|
|
|
|
const TP_COMMENT = 4;
|
|
|
|
const TP_PHPSTARTTAG = 5;
|
|
|
|
const TP_PHPENDTAG = 6;
|
2014-10-07 22:07:15 +00:00
|
|
|
const TP_PHPENDSCRIPT = 7;
|
|
|
|
const TP_ASPSTARTTAG = 8;
|
|
|
|
const TP_ASPENDTAG = 9;
|
2014-10-16 22:53:22 +00:00
|
|
|
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;
|
2014-12-09 23:33:11 +01:00
|
|
|
const TP_DOUBLECOLON = 62;
|
|
|
|
const TP_NAMESPACE = 63;
|
|
|
|
const TP_AT = 64;
|
|
|
|
const TP_HATCH = 65;
|
|
|
|
const TP_OPENB = 66;
|
|
|
|
const TP_CLOSEB = 67;
|
|
|
|
const TP_EQUALS = 68;
|
|
|
|
const TP_NOTEQUALS = 69;
|
|
|
|
const TP_GREATERTHAN = 70;
|
|
|
|
const TP_LESSTHAN = 71;
|
|
|
|
const TP_GREATEREQUAL = 72;
|
|
|
|
const TP_LESSEQUAL = 73;
|
|
|
|
const TP_IDENTITY = 74;
|
|
|
|
const TP_NONEIDENTITY = 75;
|
|
|
|
const TP_MOD = 76;
|
|
|
|
const TP_LAND = 77;
|
|
|
|
const TP_LOR = 78;
|
|
|
|
const TP_LXOR = 79;
|
|
|
|
const TP_QUOTE = 80;
|
|
|
|
const TP_BACKTICK = 81;
|
|
|
|
const TP_DOLLARID = 82;
|
|
|
|
const YY_NO_ACTION = 568;
|
|
|
|
const YY_ACCEPT_ACTION = 567;
|
|
|
|
const YY_ERROR_ACTION = 566;
|
2010-12-05 22:15:23 +00:00
|
|
|
|
2014-12-09 23:33:11 +01:00
|
|
|
const YY_SZ_ACTTAB = 2456;
|
2014-06-08 16:00:56 +00:00
|
|
|
static public $yy_action = array(
|
2014-12-09 23:33:11 +01:00
|
|
|
221, 31, 327, 263, 196, 309, 305, 301, 302, 303,
|
|
|
|
304, 310, 311, 317, 318, 319, 202, 25, 23, 10,
|
|
|
|
321, 32, 158, 131, 5, 107, 202, 315, 314, 28,
|
|
|
|
143, 221, 206, 429, 255, 17, 252, 195, 122, 328,
|
2014-12-11 05:21:21 +01:00
|
|
|
49, 51, 50, 45, 26, 19, 347, 343, 38, 13,
|
2014-12-09 23:33:11 +01:00
|
|
|
344, 345, 39, 34, 221, 567, 95, 265, 238, 306,
|
|
|
|
429, 256, 139, 119, 481, 206, 429, 278, 346, 352,
|
|
|
|
353, 359, 360, 361, 358, 357, 354, 355, 356, 294,
|
2014-12-11 05:21:21 +01:00
|
|
|
279, 37, 329, 28, 105, 248, 32, 481, 11, 17,
|
|
|
|
286, 14, 276, 483, 49, 51, 50, 45, 26, 19,
|
2014-12-09 23:33:11 +01:00
|
|
|
347, 343, 38, 13, 344, 345, 39, 34, 221, 93,
|
|
|
|
221, 323, 386, 29, 128, 178, 483, 298, 481, 192,
|
|
|
|
326, 278, 346, 352, 353, 359, 360, 361, 358, 357,
|
|
|
|
354, 355, 356, 349, 279, 338, 221, 28, 423, 28,
|
2014-12-11 05:21:21 +01:00
|
|
|
147, 481, 11, 17, 286, 17, 308, 483, 49, 51,
|
|
|
|
50, 45, 26, 19, 347, 343, 38, 13, 344, 345,
|
2014-12-09 23:33:11 +01:00
|
|
|
39, 34, 221, 93, 207, 28, 221, 31, 426, 261,
|
|
|
|
483, 17, 36, 133, 290, 278, 346, 352, 353, 359,
|
2014-12-11 05:21:21 +01:00
|
|
|
360, 361, 358, 357, 354, 355, 356, 231, 241, 104,
|
2014-12-09 23:33:11 +01:00
|
|
|
160, 291, 221, 320, 429, 426, 307, 238, 306, 299,
|
2014-12-11 05:21:21 +01:00
|
|
|
147, 426, 49, 51, 50, 45, 26, 19, 347, 343,
|
2014-12-09 23:33:11 +01:00
|
|
|
38, 13, 344, 345, 39, 34, 221, 206, 267, 190,
|
|
|
|
11, 429, 286, 20, 109, 336, 137, 429, 274, 278,
|
|
|
|
346, 352, 353, 359, 360, 361, 358, 357, 354, 355,
|
|
|
|
356, 285, 279, 16, 102, 165, 221, 206, 287, 11,
|
2014-12-11 05:21:21 +01:00
|
|
|
481, 286, 14, 21, 299, 483, 49, 51, 50, 45,
|
2014-12-09 23:33:11 +01:00
|
|
|
26, 19, 347, 343, 38, 13, 344, 345, 39, 34,
|
|
|
|
221, 93, 206, 481, 6, 28, 201, 326, 483, 193,
|
|
|
|
11, 17, 286, 278, 346, 352, 353, 359, 360, 361,
|
2014-12-11 05:21:21 +01:00
|
|
|
358, 357, 354, 355, 356, 235, 106, 166, 199, 326,
|
|
|
|
175, 258, 232, 218, 122, 233, 299, 206, 203, 299,
|
|
|
|
49, 51, 50, 45, 26, 19, 347, 343, 38, 13,
|
2014-12-09 23:33:11 +01:00
|
|
|
344, 345, 39, 34, 206, 221, 235, 205, 28, 31,
|
|
|
|
11, 362, 237, 221, 17, 391, 262, 278, 346, 352,
|
|
|
|
353, 359, 360, 361, 358, 357, 354, 355, 356, 197,
|
2014-12-11 05:21:21 +01:00
|
|
|
105, 279, 212, 172, 493, 2, 221, 44, 8, 94,
|
|
|
|
493, 283, 299, 184, 483, 49, 51, 50, 45, 26,
|
2014-12-09 23:33:11 +01:00
|
|
|
19, 347, 343, 38, 13, 344, 345, 39, 34, 221,
|
|
|
|
205, 264, 180, 482, 333, 4, 11, 483, 219, 141,
|
|
|
|
242, 299, 278, 346, 352, 353, 359, 360, 361, 358,
|
2014-12-11 05:21:21 +01:00
|
|
|
357, 354, 355, 356, 285, 250, 482, 183, 129, 24,
|
|
|
|
240, 247, 149, 258, 277, 295, 299, 40, 158, 49,
|
|
|
|
51, 50, 45, 26, 19, 347, 343, 38, 13, 344,
|
2014-12-09 23:33:11 +01:00
|
|
|
345, 39, 34, 221, 205, 204, 167, 11, 221, 286,
|
|
|
|
134, 11, 179, 245, 285, 299, 278, 346, 352, 353,
|
|
|
|
359, 360, 361, 358, 357, 354, 355, 356, 139, 198,
|
|
|
|
142, 191, 164, 205, 285, 313, 11, 312, 251, 27,
|
2014-12-11 05:21:21 +01:00
|
|
|
221, 348, 132, 49, 51, 50, 45, 26, 19, 347,
|
2014-12-09 23:33:11 +01:00
|
|
|
343, 38, 13, 344, 345, 39, 34, 221, 231, 206,
|
2014-12-11 05:21:21 +01:00
|
|
|
187, 260, 158, 103, 7, 258, 254, 121, 157, 299,
|
2014-12-09 23:33:11 +01:00
|
|
|
278, 346, 352, 353, 359, 360, 361, 358, 357, 354,
|
|
|
|
355, 356, 285, 294, 294, 163, 316, 228, 115, 22,
|
|
|
|
173, 194, 296, 169, 299, 17, 331, 49, 51, 50,
|
2014-12-11 05:21:21 +01:00
|
|
|
45, 26, 19, 347, 343, 38, 13, 344, 345, 39,
|
2014-12-09 23:33:11 +01:00
|
|
|
34, 221, 189, 108, 171, 182, 140, 6, 123, 340,
|
|
|
|
230, 101, 97, 299, 278, 346, 352, 353, 359, 360,
|
|
|
|
361, 358, 357, 354, 355, 356, 285, 294, 294, 159,
|
|
|
|
161, 41, 281, 242, 253, 282, 144, 268, 299, 299,
|
2014-12-11 05:21:21 +01:00
|
|
|
113, 49, 51, 50, 45, 26, 19, 347, 343, 38,
|
2014-12-09 23:33:11 +01:00
|
|
|
13, 344, 345, 39, 34, 221, 294, 272, 181, 120,
|
2014-12-11 05:21:21 +01:00
|
|
|
42, 297, 200, 30, 284, 221, 100, 299, 278, 346,
|
2014-12-09 23:33:11 +01:00
|
|
|
352, 353, 359, 360, 361, 358, 357, 354, 355, 356,
|
|
|
|
285, 332, 294, 275, 300, 298, 168, 170, 177, 12,
|
2014-12-11 05:21:21 +01:00
|
|
|
269, 285, 44, 273, 270, 49, 51, 50, 45, 26,
|
2014-12-09 23:33:11 +01:00
|
|
|
19, 347, 343, 38, 13, 344, 345, 39, 34, 221,
|
|
|
|
259, 331, 205, 331, 287, 331, 331, 331, 98, 112,
|
|
|
|
118, 331, 278, 346, 352, 353, 359, 360, 361, 358,
|
|
|
|
357, 354, 355, 356, 294, 294, 294, 331, 331, 331,
|
|
|
|
331, 331, 331, 331, 331, 331, 331, 331, 249, 49,
|
2014-12-11 05:21:21 +01:00
|
|
|
51, 50, 45, 26, 19, 347, 343, 38, 13, 344,
|
2014-12-09 23:33:11 +01:00
|
|
|
345, 39, 34, 221, 35, 331, 331, 331, 331, 331,
|
|
|
|
331, 331, 331, 331, 331, 331, 278, 346, 352, 353,
|
|
|
|
359, 360, 361, 358, 357, 354, 355, 356, 331, 331,
|
|
|
|
331, 331, 331, 331, 331, 331, 331, 331, 331, 331,
|
2014-12-11 05:21:21 +01:00
|
|
|
331, 331, 158, 49, 51, 50, 45, 26, 19, 347,
|
2014-12-09 23:33:11 +01:00
|
|
|
343, 38, 13, 344, 345, 39, 34, 221, 331, 331,
|
|
|
|
331, 331, 331, 331, 331, 331, 331, 331, 331, 331,
|
|
|
|
278, 346, 352, 353, 359, 360, 361, 358, 357, 354,
|
|
|
|
355, 356, 139, 331, 331, 331, 331, 331, 331, 331,
|
|
|
|
331, 331, 331, 331, 331, 331, 331, 49, 51, 50,
|
2014-12-11 05:21:21 +01:00
|
|
|
45, 26, 19, 347, 343, 38, 13, 344, 345, 39,
|
2014-12-09 23:33:11 +01:00
|
|
|
34, 331, 331, 331, 331, 331, 331, 331, 331, 331,
|
|
|
|
331, 158, 43, 331, 278, 346, 352, 353, 359, 360,
|
|
|
|
361, 358, 357, 354, 355, 356, 331, 331, 331, 49,
|
2014-12-11 05:21:21 +01:00
|
|
|
51, 50, 45, 26, 19, 347, 343, 38, 13, 344,
|
2014-12-09 23:33:11 +01:00
|
|
|
345, 39, 34, 331, 331, 331, 331, 331, 331, 212,
|
|
|
|
331, 230, 331, 331, 331, 8, 278, 346, 352, 353,
|
|
|
|
359, 360, 361, 358, 357, 354, 355, 356, 331, 331,
|
|
|
|
331, 337, 331, 331, 331, 10, 126, 91, 9, 331,
|
|
|
|
5, 107, 331, 5, 107, 11, 143, 286, 146, 143,
|
|
|
|
255, 322, 252, 255, 229, 252, 33, 28, 331, 48,
|
2014-12-11 05:21:21 +01:00
|
|
|
330, 341, 331, 17, 239, 351, 331, 331, 154, 331,
|
2014-12-09 23:33:11 +01:00
|
|
|
331, 331, 138, 331, 47, 46, 280, 234, 292, 146,
|
2014-12-11 05:21:21 +01:00
|
|
|
227, 350, 105, 1, 216, 225, 288, 293, 331, 351,
|
2014-12-09 23:33:11 +01:00
|
|
|
331, 246, 331, 10, 130, 213, 351, 96, 5, 107,
|
2014-12-11 05:21:21 +01:00
|
|
|
324, 18, 339, 331, 143, 239, 331, 331, 255, 156,
|
2014-12-09 23:33:11 +01:00
|
|
|
252, 331, 229, 138, 33, 331, 331, 48, 331, 331,
|
2014-12-11 05:21:21 +01:00
|
|
|
331, 331, 266, 331, 331, 216, 225, 288, 293, 331,
|
2014-12-09 23:33:11 +01:00
|
|
|
351, 331, 47, 46, 280, 234, 292, 331, 227, 331,
|
|
|
|
105, 1, 271, 331, 331, 331, 427, 337, 331, 331,
|
|
|
|
331, 10, 130, 224, 9, 96, 5, 107, 331, 5,
|
|
|
|
107, 331, 143, 331, 236, 143, 255, 331, 252, 255,
|
|
|
|
229, 252, 33, 427, 331, 48, 331, 331, 331, 427,
|
|
|
|
331, 239, 481, 331, 331, 151, 331, 331, 331, 138,
|
|
|
|
47, 46, 280, 234, 292, 331, 227, 331, 105, 1,
|
|
|
|
331, 216, 225, 288, 293, 481, 351, 331, 331, 10,
|
|
|
|
130, 215, 331, 96, 5, 107, 325, 18, 339, 331,
|
|
|
|
143, 239, 331, 331, 255, 152, 252, 331, 229, 138,
|
|
|
|
33, 331, 331, 48, 331, 331, 331, 331, 331, 331,
|
|
|
|
331, 216, 225, 288, 293, 331, 351, 331, 47, 46,
|
|
|
|
280, 234, 292, 331, 227, 331, 105, 1, 221, 331,
|
|
|
|
396, 331, 11, 331, 286, 331, 331, 10, 122, 224,
|
2014-12-11 05:21:21 +01:00
|
|
|
331, 96, 5, 107, 28, 331, 243, 239, 143, 257,
|
2014-12-09 23:33:11 +01:00
|
|
|
17, 150, 255, 331, 252, 138, 229, 28, 15, 331,
|
|
|
|
331, 48, 331, 17, 331, 331, 481, 216, 225, 288,
|
|
|
|
293, 331, 351, 331, 331, 331, 47, 46, 280, 234,
|
|
|
|
292, 331, 227, 331, 105, 1, 331, 331, 331, 481,
|
|
|
|
331, 11, 331, 286, 331, 10, 130, 208, 331, 96,
|
|
|
|
5, 107, 331, 28, 331, 244, 143, 239, 331, 17,
|
|
|
|
255, 148, 252, 331, 229, 138, 33, 331, 331, 48,
|
|
|
|
331, 331, 331, 331, 331, 331, 331, 216, 225, 288,
|
|
|
|
293, 331, 351, 331, 47, 46, 280, 234, 292, 331,
|
|
|
|
227, 331, 105, 1, 331, 331, 331, 331, 331, 331,
|
|
|
|
331, 331, 331, 10, 136, 224, 331, 96, 5, 107,
|
|
|
|
331, 331, 331, 331, 143, 239, 331, 331, 255, 155,
|
|
|
|
252, 331, 229, 138, 3, 331, 331, 48, 331, 331,
|
|
|
|
331, 331, 331, 331, 331, 216, 225, 288, 293, 331,
|
|
|
|
351, 331, 47, 46, 280, 234, 292, 331, 227, 331,
|
|
|
|
105, 1, 331, 331, 331, 331, 331, 331, 331, 331,
|
|
|
|
331, 10, 130, 209, 331, 96, 5, 107, 331, 331,
|
|
|
|
331, 331, 143, 239, 331, 331, 255, 153, 252, 331,
|
|
|
|
222, 138, 33, 331, 331, 48, 331, 331, 331, 331,
|
|
|
|
331, 331, 331, 216, 225, 288, 293, 331, 351, 331,
|
|
|
|
47, 46, 280, 234, 292, 331, 227, 331, 105, 1,
|
|
|
|
331, 331, 331, 331, 331, 331, 331, 331, 331, 10,
|
|
|
|
124, 224, 331, 96, 5, 107, 331, 331, 331, 331,
|
|
|
|
143, 331, 331, 331, 255, 331, 252, 331, 229, 331,
|
|
|
|
33, 196, 174, 48, 331, 331, 331, 331, 331, 331,
|
|
|
|
331, 299, 331, 331, 25, 23, 331, 331, 47, 46,
|
|
|
|
280, 234, 292, 331, 227, 331, 105, 1, 331, 206,
|
|
|
|
331, 331, 331, 331, 331, 331, 331, 10, 122, 224,
|
|
|
|
331, 96, 5, 107, 331, 331, 331, 331, 143, 331,
|
|
|
|
331, 331, 255, 331, 252, 331, 229, 331, 15, 331,
|
|
|
|
331, 48, 331, 331, 331, 471, 331, 331, 331, 331,
|
|
|
|
331, 331, 331, 331, 331, 331, 47, 46, 280, 234,
|
|
|
|
292, 331, 227, 331, 105, 331, 331, 471, 331, 471,
|
|
|
|
471, 331, 471, 471, 196, 186, 331, 331, 471, 96,
|
|
|
|
471, 481, 471, 331, 299, 331, 331, 25, 23, 331,
|
|
|
|
239, 331, 331, 331, 125, 331, 331, 87, 138, 331,
|
|
|
|
331, 331, 206, 331, 481, 331, 289, 342, 331, 471,
|
|
|
|
214, 225, 288, 293, 331, 351, 331, 331, 331, 331,
|
|
|
|
239, 196, 162, 471, 145, 220, 335, 54, 116, 135,
|
|
|
|
331, 299, 331, 331, 25, 23, 289, 342, 331, 331,
|
|
|
|
214, 225, 288, 293, 239, 351, 331, 331, 145, 206,
|
|
|
|
331, 72, 138, 331, 331, 331, 331, 331, 331, 331,
|
|
|
|
289, 342, 331, 331, 214, 225, 288, 293, 331, 351,
|
|
|
|
239, 99, 176, 331, 145, 331, 217, 72, 138, 331,
|
|
|
|
331, 299, 331, 331, 25, 23, 289, 342, 331, 331,
|
|
|
|
214, 225, 288, 293, 331, 351, 331, 239, 331, 206,
|
|
|
|
331, 145, 223, 331, 72, 138, 331, 331, 331, 331,
|
|
|
|
331, 331, 331, 289, 342, 331, 331, 214, 225, 288,
|
|
|
|
293, 331, 351, 331, 239, 331, 331, 331, 125, 226,
|
|
|
|
331, 87, 138, 331, 331, 331, 331, 331, 331, 331,
|
|
|
|
289, 342, 331, 331, 214, 225, 288, 293, 239, 351,
|
|
|
|
331, 331, 145, 331, 331, 62, 116, 254, 331, 331,
|
|
|
|
334, 331, 331, 331, 289, 342, 331, 331, 214, 225,
|
|
|
|
288, 293, 331, 351, 239, 331, 331, 331, 145, 331,
|
|
|
|
331, 69, 138, 331, 331, 239, 331, 331, 331, 145,
|
|
|
|
289, 342, 77, 138, 210, 225, 288, 293, 331, 351,
|
|
|
|
331, 289, 342, 331, 331, 214, 225, 288, 293, 331,
|
|
|
|
351, 331, 239, 196, 185, 331, 145, 331, 331, 75,
|
|
|
|
138, 331, 331, 299, 331, 331, 25, 23, 289, 342,
|
|
|
|
331, 331, 214, 225, 288, 293, 239, 351, 331, 331,
|
|
|
|
145, 206, 331, 64, 138, 331, 331, 331, 331, 331,
|
|
|
|
331, 331, 289, 342, 331, 331, 214, 225, 288, 293,
|
|
|
|
331, 351, 239, 331, 331, 331, 145, 331, 331, 67,
|
|
|
|
138, 331, 331, 239, 331, 331, 331, 145, 289, 342,
|
|
|
|
61, 138, 214, 225, 288, 293, 331, 351, 331, 289,
|
|
|
|
342, 331, 331, 214, 225, 288, 293, 331, 351, 331,
|
|
|
|
239, 196, 188, 331, 92, 331, 331, 56, 117, 331,
|
|
|
|
331, 299, 331, 331, 25, 23, 289, 342, 331, 331,
|
|
|
|
214, 225, 288, 293, 239, 351, 331, 331, 145, 206,
|
|
|
|
331, 71, 138, 331, 331, 331, 331, 331, 331, 331,
|
|
|
|
289, 342, 331, 331, 214, 225, 288, 293, 331, 351,
|
|
|
|
239, 331, 331, 331, 145, 331, 331, 85, 138, 331,
|
|
|
|
331, 239, 331, 331, 331, 145, 289, 342, 86, 138,
|
|
|
|
214, 225, 288, 293, 331, 351, 331, 289, 342, 331,
|
|
|
|
331, 214, 225, 288, 293, 331, 351, 331, 239, 331,
|
|
|
|
331, 331, 145, 331, 331, 82, 138, 331, 331, 331,
|
|
|
|
331, 331, 331, 331, 289, 342, 331, 331, 214, 225,
|
|
|
|
288, 293, 239, 351, 331, 331, 114, 331, 331, 84,
|
|
|
|
138, 331, 331, 331, 331, 331, 331, 331, 289, 342,
|
|
|
|
331, 331, 214, 225, 288, 293, 331, 351, 239, 331,
|
|
|
|
331, 331, 145, 331, 331, 60, 138, 331, 331, 239,
|
|
|
|
331, 331, 331, 145, 289, 342, 78, 138, 214, 225,
|
|
|
|
288, 293, 331, 351, 331, 289, 342, 331, 331, 214,
|
|
|
|
225, 288, 293, 331, 351, 331, 239, 331, 331, 331,
|
|
|
|
145, 331, 331, 63, 138, 331, 331, 331, 331, 331,
|
|
|
|
331, 331, 289, 342, 331, 331, 214, 225, 288, 293,
|
|
|
|
239, 351, 331, 331, 145, 331, 331, 81, 138, 331,
|
|
|
|
331, 331, 331, 331, 331, 331, 289, 342, 331, 331,
|
|
|
|
214, 225, 288, 293, 331, 351, 239, 331, 331, 331,
|
|
|
|
127, 331, 331, 57, 138, 331, 331, 239, 331, 331,
|
|
|
|
331, 145, 289, 342, 79, 138, 214, 225, 288, 293,
|
|
|
|
331, 351, 331, 289, 342, 331, 331, 214, 225, 288,
|
|
|
|
293, 331, 351, 331, 239, 331, 331, 331, 145, 331,
|
|
|
|
331, 83, 138, 331, 331, 331, 331, 331, 331, 331,
|
|
|
|
289, 342, 331, 331, 214, 225, 288, 293, 239, 351,
|
|
|
|
331, 331, 145, 331, 331, 65, 138, 331, 331, 331,
|
|
|
|
331, 331, 331, 331, 289, 342, 331, 331, 214, 225,
|
|
|
|
288, 293, 331, 351, 239, 331, 331, 331, 110, 331,
|
|
|
|
331, 59, 138, 331, 331, 239, 331, 331, 331, 145,
|
|
|
|
289, 342, 76, 138, 214, 225, 288, 293, 331, 351,
|
|
|
|
331, 289, 342, 331, 331, 214, 225, 288, 293, 331,
|
|
|
|
351, 331, 239, 331, 331, 331, 111, 331, 331, 74,
|
|
|
|
138, 331, 331, 331, 331, 331, 331, 331, 289, 342,
|
|
|
|
331, 331, 214, 225, 288, 293, 239, 351, 331, 331,
|
|
|
|
145, 331, 331, 88, 138, 331, 331, 331, 331, 331,
|
|
|
|
331, 331, 289, 342, 331, 331, 214, 225, 288, 293,
|
|
|
|
331, 351, 239, 331, 331, 331, 145, 331, 331, 53,
|
|
|
|
138, 331, 331, 239, 331, 331, 331, 145, 289, 342,
|
|
|
|
58, 138, 214, 225, 288, 293, 331, 351, 331, 289,
|
|
|
|
342, 331, 331, 214, 225, 288, 293, 331, 351, 331,
|
|
|
|
239, 331, 331, 331, 145, 331, 331, 89, 138, 331,
|
|
|
|
331, 331, 331, 331, 331, 331, 289, 342, 331, 331,
|
|
|
|
214, 225, 288, 293, 239, 351, 331, 331, 92, 331,
|
|
|
|
331, 52, 117, 331, 331, 331, 331, 331, 331, 331,
|
|
|
|
289, 342, 331, 331, 211, 225, 288, 293, 331, 351,
|
|
|
|
239, 331, 331, 331, 145, 331, 331, 68, 138, 331,
|
|
|
|
331, 239, 331, 331, 331, 145, 289, 342, 62, 138,
|
|
|
|
214, 225, 288, 293, 331, 351, 331, 289, 342, 331,
|
|
|
|
331, 214, 225, 288, 293, 331, 351, 331, 239, 331,
|
|
|
|
331, 331, 145, 331, 331, 70, 138, 331, 331, 331,
|
|
|
|
331, 331, 331, 331, 289, 342, 331, 331, 214, 225,
|
|
|
|
288, 293, 239, 351, 331, 331, 145, 331, 331, 73,
|
|
|
|
138, 331, 331, 331, 331, 331, 331, 331, 289, 342,
|
|
|
|
331, 331, 214, 225, 288, 293, 331, 351, 239, 331,
|
|
|
|
331, 331, 145, 331, 331, 80, 138, 331, 331, 239,
|
|
|
|
331, 331, 331, 145, 289, 342, 90, 138, 214, 225,
|
|
|
|
288, 293, 331, 351, 331, 289, 342, 331, 331, 214,
|
|
|
|
225, 288, 293, 331, 351, 331, 239, 331, 331, 331,
|
|
|
|
145, 331, 331, 55, 138, 331, 331, 331, 331, 331,
|
|
|
|
331, 331, 289, 342, 331, 331, 214, 225, 288, 293,
|
|
|
|
239, 351, 331, 331, 145, 331, 331, 66, 138, 331,
|
|
|
|
331, 331, 331, 331, 331, 331, 289, 342, 331, 331,
|
|
|
|
214, 225, 288, 293, 331, 351,
|
2010-09-15 15:17:28 +00:00
|
|
|
);
|
2013-08-12 21:09:29 +00:00
|
|
|
static public $yy_lookahead = array(
|
2014-12-09 23:33:11 +01:00
|
|
|
1, 38, 3, 40, 92, 4, 5, 6, 7, 8,
|
|
|
|
9, 10, 11, 12, 13, 14, 15, 105, 106, 18,
|
|
|
|
3, 21, 22, 19, 23, 24, 15, 16, 17, 30,
|
|
|
|
29, 1, 120, 3, 33, 36, 35, 92, 19, 20,
|
2014-10-16 22:53:22 +00:00
|
|
|
41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
|
2014-12-09 23:33:11 +01:00
|
|
|
51, 52, 53, 54, 1, 84, 85, 86, 87, 88,
|
|
|
|
30, 31, 62, 99, 39, 120, 36, 68, 69, 70,
|
|
|
|
71, 72, 73, 74, 75, 76, 77, 78, 79, 115,
|
2014-12-11 05:21:21 +01:00
|
|
|
26, 28, 63, 30, 65, 60, 21, 62, 18, 36,
|
2014-12-09 23:33:11 +01:00
|
|
|
20, 21, 67, 39, 41, 42, 43, 44, 45, 46,
|
|
|
|
47, 48, 49, 50, 51, 52, 53, 54, 1, 55,
|
|
|
|
1, 3, 3, 18, 19, 20, 62, 114, 39, 116,
|
|
|
|
117, 68, 69, 70, 71, 72, 73, 74, 75, 76,
|
|
|
|
77, 78, 79, 111, 26, 81, 1, 30, 3, 30,
|
2014-12-11 05:21:21 +01:00
|
|
|
118, 62, 18, 36, 20, 36, 3, 39, 41, 42,
|
2014-10-16 22:53:22 +00:00
|
|
|
43, 44, 45, 46, 47, 48, 49, 50, 51, 52,
|
2014-12-09 23:33:11 +01:00
|
|
|
53, 54, 1, 55, 3, 30, 1, 38, 3, 40,
|
|
|
|
62, 36, 18, 19, 20, 68, 69, 70, 71, 72,
|
|
|
|
73, 74, 75, 76, 77, 78, 79, 87, 64, 92,
|
|
|
|
93, 37, 1, 111, 3, 30, 86, 87, 88, 102,
|
|
|
|
118, 36, 41, 42, 43, 44, 45, 46, 47, 48,
|
|
|
|
49, 50, 51, 52, 53, 54, 1, 120, 3, 92,
|
|
|
|
18, 30, 20, 21, 124, 125, 100, 36, 26, 68,
|
2014-10-16 22:53:22 +00:00
|
|
|
69, 70, 71, 72, 73, 74, 75, 76, 77, 78,
|
2014-12-09 23:33:11 +01:00
|
|
|
79, 115, 26, 32, 92, 93, 1, 120, 121, 18,
|
|
|
|
39, 20, 21, 18, 102, 39, 41, 42, 43, 44,
|
2014-10-16 22:53:22 +00:00
|
|
|
45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
|
2014-12-09 23:33:11 +01:00
|
|
|
1, 55, 120, 62, 39, 30, 116, 117, 62, 92,
|
|
|
|
18, 36, 20, 68, 69, 70, 71, 72, 73, 74,
|
|
|
|
75, 76, 77, 78, 79, 64, 92, 93, 116, 117,
|
|
|
|
93, 95, 96, 97, 19, 20, 102, 120, 20, 102,
|
2014-10-16 22:53:22 +00:00
|
|
|
41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
|
2014-12-09 23:33:11 +01:00
|
|
|
51, 52, 53, 54, 120, 1, 64, 120, 30, 38,
|
|
|
|
18, 40, 20, 1, 36, 3, 67, 68, 69, 70,
|
|
|
|
71, 72, 73, 74, 75, 76, 77, 78, 79, 25,
|
2014-12-11 05:21:21 +01:00
|
|
|
65, 26, 60, 93, 60, 38, 1, 2, 66, 20,
|
2014-12-09 23:33:11 +01:00
|
|
|
66, 20, 102, 113, 39, 41, 42, 43, 44, 45,
|
|
|
|
46, 47, 48, 49, 50, 51, 52, 53, 54, 1,
|
|
|
|
120, 3, 93, 39, 67, 39, 18, 62, 20, 19,
|
|
|
|
2, 102, 68, 69, 70, 71, 72, 73, 74, 75,
|
|
|
|
76, 77, 78, 79, 115, 64, 62, 93, 62, 21,
|
|
|
|
19, 20, 20, 95, 96, 20, 102, 21, 22, 41,
|
|
|
|
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
|
|
|
|
52, 53, 54, 1, 120, 3, 93, 18, 1, 20,
|
|
|
|
19, 18, 113, 20, 115, 102, 68, 69, 70, 71,
|
|
|
|
72, 73, 74, 75, 76, 77, 78, 79, 62, 25,
|
|
|
|
39, 92, 113, 120, 115, 88, 18, 90, 20, 32,
|
|
|
|
1, 117, 38, 41, 42, 43, 44, 45, 46, 47,
|
|
|
|
48, 49, 50, 51, 52, 53, 54, 1, 87, 120,
|
|
|
|
93, 22, 22, 113, 39, 95, 96, 99, 99, 102,
|
|
|
|
68, 69, 70, 71, 72, 73, 74, 75, 76, 77,
|
|
|
|
78, 79, 115, 115, 115, 93, 16, 31, 89, 30,
|
|
|
|
113, 101, 20, 65, 102, 36, 125, 41, 42, 43,
|
|
|
|
44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
|
|
|
|
54, 1, 101, 101, 93, 65, 19, 39, 19, 3,
|
|
|
|
60, 99, 99, 102, 68, 69, 70, 71, 72, 73,
|
|
|
|
74, 75, 76, 77, 78, 79, 115, 115, 115, 93,
|
|
|
|
93, 27, 37, 2, 20, 37, 20, 20, 102, 102,
|
|
|
|
99, 41, 42, 43, 44, 45, 46, 47, 48, 49,
|
|
|
|
50, 51, 52, 53, 54, 1, 115, 67, 93, 19,
|
|
|
|
2, 20, 20, 56, 20, 1, 99, 102, 68, 69,
|
|
|
|
70, 71, 72, 73, 74, 75, 76, 77, 78, 79,
|
|
|
|
115, 81, 115, 40, 102, 114, 113, 113, 113, 98,
|
|
|
|
118, 115, 2, 30, 40, 41, 42, 43, 44, 45,
|
|
|
|
46, 47, 48, 49, 50, 51, 52, 53, 54, 1,
|
|
|
|
98, 126, 120, 126, 121, 126, 126, 126, 99, 99,
|
|
|
|
99, 126, 68, 69, 70, 71, 72, 73, 74, 75,
|
|
|
|
76, 77, 78, 79, 115, 115, 115, 126, 126, 126,
|
|
|
|
126, 126, 126, 126, 126, 126, 126, 126, 40, 41,
|
|
|
|
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
|
|
|
|
52, 53, 54, 1, 2, 126, 126, 126, 126, 126,
|
|
|
|
126, 126, 126, 126, 126, 126, 68, 69, 70, 71,
|
|
|
|
72, 73, 74, 75, 76, 77, 78, 79, 126, 126,
|
|
|
|
126, 126, 126, 126, 126, 126, 126, 126, 126, 126,
|
|
|
|
126, 126, 22, 41, 42, 43, 44, 45, 46, 47,
|
|
|
|
48, 49, 50, 51, 52, 53, 54, 1, 126, 126,
|
|
|
|
126, 126, 126, 126, 126, 126, 126, 126, 126, 126,
|
|
|
|
68, 69, 70, 71, 72, 73, 74, 75, 76, 77,
|
|
|
|
78, 79, 62, 126, 126, 126, 126, 126, 126, 126,
|
|
|
|
126, 126, 126, 126, 126, 126, 126, 41, 42, 43,
|
|
|
|
44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
|
|
|
|
54, 126, 126, 126, 126, 126, 126, 126, 126, 126,
|
|
|
|
126, 22, 21, 126, 68, 69, 70, 71, 72, 73,
|
|
|
|
74, 75, 76, 77, 78, 79, 126, 126, 126, 41,
|
|
|
|
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
|
|
|
|
52, 53, 54, 126, 126, 126, 126, 126, 126, 60,
|
|
|
|
126, 60, 126, 126, 126, 66, 68, 69, 70, 71,
|
|
|
|
72, 73, 74, 75, 76, 77, 78, 79, 126, 126,
|
|
|
|
126, 11, 126, 126, 126, 18, 19, 20, 18, 126,
|
|
|
|
23, 24, 126, 23, 24, 18, 29, 20, 95, 29,
|
|
|
|
33, 34, 35, 33, 37, 35, 39, 30, 126, 42,
|
|
|
|
107, 108, 126, 36, 87, 112, 126, 126, 91, 126,
|
|
|
|
126, 126, 95, 126, 57, 58, 59, 60, 61, 95,
|
|
|
|
63, 104, 65, 66, 107, 108, 109, 110, 126, 112,
|
|
|
|
126, 107, 126, 18, 19, 20, 112, 80, 23, 24,
|
|
|
|
80, 81, 82, 126, 29, 87, 126, 126, 33, 91,
|
|
|
|
35, 126, 37, 95, 39, 126, 126, 42, 126, 126,
|
|
|
|
126, 126, 104, 126, 126, 107, 108, 109, 110, 126,
|
|
|
|
112, 126, 57, 58, 59, 60, 61, 126, 63, 126,
|
|
|
|
65, 66, 67, 126, 126, 126, 3, 11, 126, 126,
|
|
|
|
126, 18, 19, 20, 18, 80, 23, 24, 126, 23,
|
|
|
|
24, 126, 29, 126, 21, 29, 33, 126, 35, 33,
|
|
|
|
37, 35, 39, 30, 126, 42, 126, 126, 126, 36,
|
|
|
|
126, 87, 39, 126, 126, 91, 126, 126, 126, 95,
|
|
|
|
57, 58, 59, 60, 61, 126, 63, 126, 65, 66,
|
|
|
|
126, 107, 108, 109, 110, 62, 112, 126, 126, 18,
|
|
|
|
19, 20, 126, 80, 23, 24, 80, 81, 82, 126,
|
|
|
|
29, 87, 126, 126, 33, 91, 35, 126, 37, 95,
|
|
|
|
39, 126, 126, 42, 126, 126, 126, 126, 126, 126,
|
|
|
|
126, 107, 108, 109, 110, 126, 112, 126, 57, 58,
|
|
|
|
59, 60, 61, 126, 63, 126, 65, 66, 1, 126,
|
|
|
|
3, 126, 18, 126, 20, 126, 126, 18, 19, 20,
|
|
|
|
126, 80, 23, 24, 30, 126, 32, 87, 29, 22,
|
|
|
|
36, 91, 33, 126, 35, 95, 37, 30, 39, 126,
|
|
|
|
126, 42, 126, 36, 126, 126, 39, 107, 108, 109,
|
|
|
|
110, 126, 112, 126, 126, 126, 57, 58, 59, 60,
|
|
|
|
61, 126, 63, 126, 65, 66, 126, 126, 126, 62,
|
|
|
|
126, 18, 126, 20, 126, 18, 19, 20, 126, 80,
|
|
|
|
23, 24, 126, 30, 126, 32, 29, 87, 126, 36,
|
|
|
|
33, 91, 35, 126, 37, 95, 39, 126, 126, 42,
|
|
|
|
126, 126, 126, 126, 126, 126, 126, 107, 108, 109,
|
|
|
|
110, 126, 112, 126, 57, 58, 59, 60, 61, 126,
|
|
|
|
63, 126, 65, 66, 126, 126, 126, 126, 126, 126,
|
|
|
|
126, 126, 126, 18, 19, 20, 126, 80, 23, 24,
|
|
|
|
126, 126, 126, 126, 29, 87, 126, 126, 33, 91,
|
|
|
|
35, 126, 37, 95, 39, 126, 126, 42, 126, 126,
|
|
|
|
126, 126, 126, 126, 126, 107, 108, 109, 110, 126,
|
|
|
|
112, 126, 57, 58, 59, 60, 61, 126, 63, 126,
|
|
|
|
65, 66, 126, 126, 126, 126, 126, 126, 126, 126,
|
|
|
|
126, 18, 19, 20, 126, 80, 23, 24, 126, 126,
|
|
|
|
126, 126, 29, 87, 126, 126, 33, 91, 35, 126,
|
|
|
|
37, 95, 39, 126, 126, 42, 126, 126, 126, 126,
|
|
|
|
126, 126, 126, 107, 108, 109, 110, 126, 112, 126,
|
|
|
|
57, 58, 59, 60, 61, 126, 63, 126, 65, 66,
|
|
|
|
126, 126, 126, 126, 126, 126, 126, 126, 126, 18,
|
|
|
|
19, 20, 126, 80, 23, 24, 126, 126, 126, 126,
|
|
|
|
29, 126, 126, 126, 33, 126, 35, 126, 37, 126,
|
|
|
|
39, 92, 93, 42, 126, 126, 126, 126, 126, 126,
|
|
|
|
126, 102, 126, 126, 105, 106, 126, 126, 57, 58,
|
|
|
|
59, 60, 61, 126, 63, 126, 65, 66, 126, 120,
|
|
|
|
126, 126, 126, 126, 126, 126, 126, 18, 19, 20,
|
|
|
|
126, 80, 23, 24, 126, 126, 126, 126, 29, 126,
|
|
|
|
126, 126, 33, 126, 35, 126, 37, 126, 39, 126,
|
|
|
|
126, 42, 126, 126, 126, 3, 126, 126, 126, 126,
|
|
|
|
126, 126, 126, 126, 126, 126, 57, 58, 59, 60,
|
|
|
|
61, 126, 63, 126, 65, 126, 126, 25, 126, 27,
|
|
|
|
28, 126, 30, 31, 92, 93, 126, 126, 36, 80,
|
|
|
|
38, 39, 40, 126, 102, 126, 126, 105, 106, 126,
|
|
|
|
87, 126, 126, 126, 91, 126, 126, 94, 95, 126,
|
|
|
|
126, 126, 120, 126, 62, 126, 103, 104, 126, 67,
|
|
|
|
107, 108, 109, 110, 126, 112, 126, 126, 126, 126,
|
|
|
|
87, 92, 93, 81, 91, 122, 123, 94, 95, 96,
|
|
|
|
126, 102, 126, 126, 105, 106, 103, 104, 126, 126,
|
|
|
|
107, 108, 109, 110, 87, 112, 126, 126, 91, 120,
|
|
|
|
126, 94, 95, 126, 126, 126, 126, 126, 126, 126,
|
|
|
|
103, 104, 126, 126, 107, 108, 109, 110, 126, 112,
|
|
|
|
87, 92, 93, 126, 91, 126, 119, 94, 95, 126,
|
|
|
|
126, 102, 126, 126, 105, 106, 103, 104, 126, 126,
|
|
|
|
107, 108, 109, 110, 126, 112, 126, 87, 126, 120,
|
|
|
|
126, 91, 119, 126, 94, 95, 126, 126, 126, 126,
|
|
|
|
126, 126, 126, 103, 104, 126, 126, 107, 108, 109,
|
|
|
|
110, 126, 112, 126, 87, 126, 126, 126, 91, 119,
|
|
|
|
126, 94, 95, 126, 126, 126, 126, 126, 126, 126,
|
|
|
|
103, 104, 126, 126, 107, 108, 109, 110, 87, 112,
|
|
|
|
126, 126, 91, 126, 126, 94, 95, 96, 126, 126,
|
|
|
|
123, 126, 126, 126, 103, 104, 126, 126, 107, 108,
|
|
|
|
109, 110, 126, 112, 87, 126, 126, 126, 91, 126,
|
|
|
|
126, 94, 95, 126, 126, 87, 126, 126, 126, 91,
|
|
|
|
103, 104, 94, 95, 107, 108, 109, 110, 126, 112,
|
|
|
|
126, 103, 104, 126, 126, 107, 108, 109, 110, 126,
|
|
|
|
112, 126, 87, 92, 93, 126, 91, 126, 126, 94,
|
|
|
|
95, 126, 126, 102, 126, 126, 105, 106, 103, 104,
|
|
|
|
126, 126, 107, 108, 109, 110, 87, 112, 126, 126,
|
|
|
|
91, 120, 126, 94, 95, 126, 126, 126, 126, 126,
|
|
|
|
126, 126, 103, 104, 126, 126, 107, 108, 109, 110,
|
|
|
|
126, 112, 87, 126, 126, 126, 91, 126, 126, 94,
|
|
|
|
95, 126, 126, 87, 126, 126, 126, 91, 103, 104,
|
|
|
|
94, 95, 107, 108, 109, 110, 126, 112, 126, 103,
|
|
|
|
104, 126, 126, 107, 108, 109, 110, 126, 112, 126,
|
|
|
|
87, 92, 93, 126, 91, 126, 126, 94, 95, 126,
|
|
|
|
126, 102, 126, 126, 105, 106, 103, 104, 126, 126,
|
|
|
|
107, 108, 109, 110, 87, 112, 126, 126, 91, 120,
|
|
|
|
126, 94, 95, 126, 126, 126, 126, 126, 126, 126,
|
|
|
|
103, 104, 126, 126, 107, 108, 109, 110, 126, 112,
|
|
|
|
87, 126, 126, 126, 91, 126, 126, 94, 95, 126,
|
|
|
|
126, 87, 126, 126, 126, 91, 103, 104, 94, 95,
|
|
|
|
107, 108, 109, 110, 126, 112, 126, 103, 104, 126,
|
|
|
|
126, 107, 108, 109, 110, 126, 112, 126, 87, 126,
|
|
|
|
126, 126, 91, 126, 126, 94, 95, 126, 126, 126,
|
|
|
|
126, 126, 126, 126, 103, 104, 126, 126, 107, 108,
|
|
|
|
109, 110, 87, 112, 126, 126, 91, 126, 126, 94,
|
|
|
|
95, 126, 126, 126, 126, 126, 126, 126, 103, 104,
|
|
|
|
126, 126, 107, 108, 109, 110, 126, 112, 87, 126,
|
|
|
|
126, 126, 91, 126, 126, 94, 95, 126, 126, 87,
|
|
|
|
126, 126, 126, 91, 103, 104, 94, 95, 107, 108,
|
|
|
|
109, 110, 126, 112, 126, 103, 104, 126, 126, 107,
|
|
|
|
108, 109, 110, 126, 112, 126, 87, 126, 126, 126,
|
|
|
|
91, 126, 126, 94, 95, 126, 126, 126, 126, 126,
|
|
|
|
126, 126, 103, 104, 126, 126, 107, 108, 109, 110,
|
|
|
|
87, 112, 126, 126, 91, 126, 126, 94, 95, 126,
|
|
|
|
126, 126, 126, 126, 126, 126, 103, 104, 126, 126,
|
|
|
|
107, 108, 109, 110, 126, 112, 87, 126, 126, 126,
|
|
|
|
91, 126, 126, 94, 95, 126, 126, 87, 126, 126,
|
|
|
|
126, 91, 103, 104, 94, 95, 107, 108, 109, 110,
|
|
|
|
126, 112, 126, 103, 104, 126, 126, 107, 108, 109,
|
|
|
|
110, 126, 112, 126, 87, 126, 126, 126, 91, 126,
|
|
|
|
126, 94, 95, 126, 126, 126, 126, 126, 126, 126,
|
|
|
|
103, 104, 126, 126, 107, 108, 109, 110, 87, 112,
|
|
|
|
126, 126, 91, 126, 126, 94, 95, 126, 126, 126,
|
|
|
|
126, 126, 126, 126, 103, 104, 126, 126, 107, 108,
|
|
|
|
109, 110, 126, 112, 87, 126, 126, 126, 91, 126,
|
|
|
|
126, 94, 95, 126, 126, 87, 126, 126, 126, 91,
|
|
|
|
103, 104, 94, 95, 107, 108, 109, 110, 126, 112,
|
|
|
|
126, 103, 104, 126, 126, 107, 108, 109, 110, 126,
|
|
|
|
112, 126, 87, 126, 126, 126, 91, 126, 126, 94,
|
|
|
|
95, 126, 126, 126, 126, 126, 126, 126, 103, 104,
|
|
|
|
126, 126, 107, 108, 109, 110, 87, 112, 126, 126,
|
|
|
|
91, 126, 126, 94, 95, 126, 126, 126, 126, 126,
|
|
|
|
126, 126, 103, 104, 126, 126, 107, 108, 109, 110,
|
|
|
|
126, 112, 87, 126, 126, 126, 91, 126, 126, 94,
|
|
|
|
95, 126, 126, 87, 126, 126, 126, 91, 103, 104,
|
|
|
|
94, 95, 107, 108, 109, 110, 126, 112, 126, 103,
|
|
|
|
104, 126, 126, 107, 108, 109, 110, 126, 112, 126,
|
|
|
|
87, 126, 126, 126, 91, 126, 126, 94, 95, 126,
|
|
|
|
126, 126, 126, 126, 126, 126, 103, 104, 126, 126,
|
|
|
|
107, 108, 109, 110, 87, 112, 126, 126, 91, 126,
|
|
|
|
126, 94, 95, 126, 126, 126, 126, 126, 126, 126,
|
|
|
|
103, 104, 126, 126, 107, 108, 109, 110, 126, 112,
|
|
|
|
87, 126, 126, 126, 91, 126, 126, 94, 95, 126,
|
|
|
|
126, 87, 126, 126, 126, 91, 103, 104, 94, 95,
|
|
|
|
107, 108, 109, 110, 126, 112, 126, 103, 104, 126,
|
|
|
|
126, 107, 108, 109, 110, 126, 112, 126, 87, 126,
|
|
|
|
126, 126, 91, 126, 126, 94, 95, 126, 126, 126,
|
|
|
|
126, 126, 126, 126, 103, 104, 126, 126, 107, 108,
|
|
|
|
109, 110, 87, 112, 126, 126, 91, 126, 126, 94,
|
|
|
|
95, 126, 126, 126, 126, 126, 126, 126, 103, 104,
|
|
|
|
126, 126, 107, 108, 109, 110, 126, 112, 87, 126,
|
|
|
|
126, 126, 91, 126, 126, 94, 95, 126, 126, 87,
|
|
|
|
126, 126, 126, 91, 103, 104, 94, 95, 107, 108,
|
|
|
|
109, 110, 126, 112, 126, 103, 104, 126, 126, 107,
|
|
|
|
108, 109, 110, 126, 112, 126, 87, 126, 126, 126,
|
|
|
|
91, 126, 126, 94, 95, 126, 126, 126, 126, 126,
|
|
|
|
126, 126, 103, 104, 126, 126, 107, 108, 109, 110,
|
|
|
|
87, 112, 126, 126, 91, 126, 126, 94, 95, 126,
|
|
|
|
126, 126, 126, 126, 126, 126, 103, 104, 126, 126,
|
|
|
|
107, 108, 109, 110, 126, 112,
|
2014-06-08 16:00:56 +00:00
|
|
|
);
|
2014-12-09 23:33:11 +01:00
|
|
|
const YY_SHIFT_USE_DFLT = - 38;
|
2014-11-12 19:07:00 +01:00
|
|
|
const YY_SHIFT_MAX = 260;
|
2013-08-12 21:09:29 +00:00
|
|
|
static public $yy_shift_ofst = array(
|
2014-12-09 23:33:11 +01:00
|
|
|
1, 1041, 1041, 1215, 983, 1215, 983, 983, 925, 867,
|
|
|
|
867, 983, 983, 983, 983, 983, 983, 983, 983, 983,
|
|
|
|
983, 983, 1273, 983, 983, 983, 983, 983, 1273, 983,
|
|
|
|
1331, 983, 983, 983, 983, 983, 983, 983, 983, 983,
|
|
|
|
983, 983, 1157, 983, 1099, 1099, 1389, 1389, 1389, 1389,
|
|
|
|
1389, 1389, - 1, 53, 107, 107, 107, 107, 107, 486,
|
|
|
|
432, 594, 648, 702, 324, 161, 215, 378, 269, 540,
|
|
|
|
756, 756, 756, 756, 756, 756, 756, 756, 756, 756,
|
|
|
|
756, 756, 756, 756, 756, 756, 756, 756, 756, 798,
|
|
|
|
798, 1107, 109, 19, 245, 1, 870, 1153, 1094, 135,
|
|
|
|
877, 877, 135, 799, 245, 285, 245, 421, 355, 986,
|
|
|
|
30, 165, 231, 202, 191, 11, 0, 396, 70, 262,
|
|
|
|
419, 419, 419, 419, 448, 437, 368, 332, 312, 391,
|
|
|
|
423, 419, 421, 419, 419, 298, 423, 298, 720, 391,
|
|
|
|
419, 419, 421, 489, 469, 604, 470, 470, 604, 604,
|
|
|
|
604, 604, 604, 604, 604, 604, - 38, 124, 95, 298,
|
|
|
|
298, 298, 298, 298, 292, 298, 298, 298, 292, 294,
|
|
|
|
292, 298, 298, 292, 298, 298, 298, 292, 235, 292,
|
|
|
|
298, 298, 294, 298, 292, 298, 298, 298, 298, 630,
|
|
|
|
604, 604, 470, 604, 630, 604, 604, 603, 603, 470,
|
|
|
|
455, 470, 500, - 38, - 38, - 38, - 38, - 38, 1432, 993,
|
|
|
|
54, 108, 154, 25, 216, 211, 325, 291, 434, 388,
|
|
|
|
317, 341, 801, - 37, 79, 346, 129, 344, 529, 490,
|
2014-12-11 05:21:21 +01:00
|
|
|
535, 546, 544, 480, 538, 581, 557, 455, 143, 17,
|
2014-12-09 23:33:11 +01:00
|
|
|
582, 395, 502, 527, 580, 571, 458, 508, 554, 547,
|
2014-12-11 05:21:21 +01:00
|
|
|
584, 598, 556, 530, 583, 288, 370, 339, 65, 4,
|
2014-12-09 23:33:11 +01:00
|
|
|
392,
|
2014-06-08 16:00:56 +00:00
|
|
|
);
|
2014-12-09 23:33:11 +01:00
|
|
|
const YY_REDUCE_USE_DFLT = - 89;
|
2014-11-12 19:07:00 +01:00
|
|
|
const YY_REDUCE_MAX = 207;
|
2013-08-12 21:09:29 +00:00
|
|
|
static public $yy_reduce_ofst = array(
|
2014-12-09 23:33:11 +01:00
|
|
|
- 29, 1393, 1527, 1551, 1473, 1423, 1500, 1447, 2193, 2167,
|
|
|
|
1703, 1665, 1639, 1588, 1727, 1676, 1615, 2055, 1577, 1967,
|
|
|
|
1940, 1991, 2017, 2028, 1929, 1903, 1791, 1764, 1815, 1841,
|
|
|
|
1879, 1852, 2079, 2204, 2255, 2292, 2343, 2319, 2281, 2231,
|
|
|
|
2116, 2105, 2143, 1753, 868, 827, 984, 944, 1040, 1100,
|
|
|
|
1216, 1158, 1469, 1279, 1699, 1611, 1469, 1372, 1419, - 88,
|
|
|
|
- 88, - 88, - 88, - 88, - 88, - 88, - 88, - 88, - 88, - 88,
|
|
|
|
- 88, - 88, - 88, - 88, - 88, - 88, - 88, - 88, - 88, - 88,
|
|
|
|
- 88, - 88, - 88, - 88, - 88, - 88, - 88, - 88, - 88, - 88,
|
|
|
|
- 88, 97, 152, 803, 204, 110, 100, 451, 505, 314,
|
|
|
|
397, 289, 207, 3, 260, 834, 343, 206, 127, 401,
|
|
|
|
- 55, - 55, 329, 126, - 55, 377, 182, 182, 329, 329,
|
|
|
|
452, 349, - 36, 453, - 36, - 55, - 36, - 55, 398, 22,
|
|
|
|
- 36, 481, 318, 399, 561, 477, 560, 422, 182, 82,
|
|
|
|
507, 559, 400, 476, 369, - 55, 182, 160, - 55, 187,
|
|
|
|
- 55, - 55, - 55, - 55, - 55, - 55, - 55, 516, 512, 522,
|
|
|
|
522, 522, 522, 522, 511, 522, 522, 522, 511, 513,
|
|
|
|
511, 522, 522, 511, 522, 522, 522, 511, 515, 511,
|
|
|
|
522, 522, 514, 522, 511, 522, 522, 522, 522, 533,
|
|
|
|
532, 532, 354, 532, 533, 532, 532, 552, 531, 354,
|
|
|
|
380, 354, 429, 442, 407, 441, 420, 250,
|
2014-06-08 16:00:56 +00:00
|
|
|
);
|
2013-08-12 21:09:29 +00:00
|
|
|
static public $yyExpectedTokens = array(
|
2014-10-16 22:53:22 +00:00
|
|
|
array(4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 23, 24, 29, 33, 35,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 67, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 34, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 34, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 80,),
|
|
|
|
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 80,),
|
|
|
|
array(1, 3, 30, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
|
|
|
|
array(1, 28, 30, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
|
|
|
|
array(1, 30, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
|
|
|
|
array(1, 30, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
|
|
|
|
array(1, 30, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
|
|
|
|
array(1, 30, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
|
|
|
|
array(1, 30, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
|
|
|
|
array(1, 31, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
|
|
|
|
array(1, 3, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
|
|
|
|
array(1, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
|
|
|
|
array(1, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
|
|
|
|
array(1, 2, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
|
|
|
|
array(1, 25, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
|
|
|
|
array(1, 3, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
|
|
|
|
array(1, 3, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
|
|
|
|
array(1, 3, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 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, 79,),
|
|
|
|
array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 81,),
|
|
|
|
array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
|
|
|
|
array(41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
|
|
|
|
array(41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
|
|
|
|
array(1, 3, 22, 30, 36, 39, 62,),
|
2014-11-12 19:07:00 +01:00
|
|
|
array(1, 3, 30, 36,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(19, 20, 63, 65,),
|
2014-10-16 22:53:22 +00:00
|
|
|
array(1, 30, 36,),
|
|
|
|
array(4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 23, 24, 29, 33, 35,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(11, 18, 23, 24, 29, 33, 35, 80, 81, 82,),
|
2014-10-16 22:53:22 +00:00
|
|
|
array(18, 20, 30, 32, 36,),
|
|
|
|
array(18, 20, 30, 32, 36,),
|
2014-11-12 19:07:00 +01:00
|
|
|
array(1, 3, 30, 36,),
|
2014-10-16 22:53:22 +00:00
|
|
|
array(18, 20, 30, 36,),
|
2014-11-12 19:07:00 +01:00
|
|
|
array(18, 20, 30, 36,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(1, 3, 30, 36,),
|
|
|
|
array(22, 60, 66,),
|
2014-10-16 22:53:22 +00:00
|
|
|
array(1, 30, 36,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(19, 20, 65,),
|
2014-11-12 19:07:00 +01:00
|
|
|
array(1, 30, 36,),
|
2014-10-16 22:53:22 +00:00
|
|
|
array(19, 39,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(1, 2,),
|
|
|
|
array(11, 18, 23, 24, 29, 33, 35, 80, 81, 82,),
|
2014-11-12 19:07:00 +01:00
|
|
|
array(1, 3, 30, 31, 36,),
|
|
|
|
array(1, 3, 30, 36,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(18, 20, 21, 64,),
|
2014-11-12 19:07:00 +01:00
|
|
|
array(18, 20, 21, 26,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(1, 3, 30, 36,),
|
2014-10-16 22:53:22 +00:00
|
|
|
array(15, 16, 17,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(21, 22, 62,),
|
|
|
|
array(21, 22, 62,),
|
2014-11-12 19:07:00 +01:00
|
|
|
array(18, 20, 21,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(18, 20, 64,),
|
2014-11-12 19:07:00 +01:00
|
|
|
array(18, 20,),
|
2014-10-16 22:53:22 +00:00
|
|
|
array(18, 20,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(18, 20,),
|
2014-10-16 22:53:22 +00:00
|
|
|
array(18, 20,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(18, 20,),
|
|
|
|
array(1, 32,),
|
|
|
|
array(18, 20,),
|
2014-11-12 19:07:00 +01:00
|
|
|
array(1, 3,),
|
|
|
|
array(18, 20,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(19, 20,),
|
2014-10-16 22:53:22 +00:00
|
|
|
array(18, 20,),
|
2014-11-12 19:07:00 +01:00
|
|
|
array(18, 20,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(19, 39,),
|
2014-11-12 19:07:00 +01:00
|
|
|
array(18, 20,),
|
2014-10-16 22:53:22 +00:00
|
|
|
array(18, 20,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(30, 36,),
|
2014-10-16 22:53:22 +00:00
|
|
|
array(18, 20,),
|
|
|
|
array(30, 36,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(22, 62,),
|
|
|
|
array(19, 20,),
|
2014-10-16 22:53:22 +00:00
|
|
|
array(18, 20,),
|
|
|
|
array(18, 20,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(19, 39,),
|
|
|
|
array(30, 36,),
|
|
|
|
array(1, 22,),
|
2014-11-12 19:07:00 +01:00
|
|
|
array(1,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(22,),
|
|
|
|
array(22,),
|
2014-10-07 22:07:15 +00:00
|
|
|
array(1,),
|
2014-06-08 16:00:56 +00:00
|
|
|
array(1,),
|
|
|
|
array(1,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(1,),
|
2014-06-08 16:00:56 +00:00
|
|
|
array(1,),
|
2014-10-16 22:53:22 +00:00
|
|
|
array(1,),
|
2014-06-08 16:00:56 +00:00
|
|
|
array(1,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(1,),
|
2014-06-08 16:00:56 +00:00
|
|
|
array(),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(18, 20, 64,),
|
2014-10-16 22:53:22 +00:00
|
|
|
array(18, 19, 20,),
|
2014-11-12 19:07:00 +01:00
|
|
|
array(30, 36,),
|
2014-10-16 22:53:22 +00:00
|
|
|
array(30, 36,),
|
|
|
|
array(30, 36,),
|
|
|
|
array(30, 36,),
|
|
|
|
array(30, 36,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(60, 66,),
|
|
|
|
array(30, 36,),
|
2014-10-16 22:53:22 +00:00
|
|
|
array(30, 36,),
|
|
|
|
array(30, 36,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(60, 66,),
|
|
|
|
array(60, 66,),
|
|
|
|
array(60, 66,),
|
2014-11-12 19:07:00 +01:00
|
|
|
array(30, 36,),
|
2014-10-16 22:53:22 +00:00
|
|
|
array(30, 36,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(60, 66,),
|
|
|
|
array(30, 36,),
|
2014-10-16 22:53:22 +00:00
|
|
|
array(30, 36,),
|
|
|
|
array(30, 36,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(60, 66,),
|
|
|
|
array(18, 39,),
|
|
|
|
array(60, 66,),
|
|
|
|
array(30, 36,),
|
2014-11-12 19:07:00 +01:00
|
|
|
array(30, 36,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(60, 66,),
|
2014-10-16 22:53:22 +00:00
|
|
|
array(30, 36,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(60, 66,),
|
|
|
|
array(30, 36,),
|
2014-10-16 22:53:22 +00:00
|
|
|
array(30, 36,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(30, 36,),
|
|
|
|
array(30, 36,),
|
|
|
|
array(2,),
|
|
|
|
array(1,),
|
2014-11-12 19:07:00 +01:00
|
|
|
array(1,),
|
2014-10-16 22:53:22 +00:00
|
|
|
array(22,),
|
2014-10-07 22:07:15 +00:00
|
|
|
array(1,),
|
2014-11-12 19:07:00 +01:00
|
|
|
array(2,),
|
|
|
|
array(1,),
|
|
|
|
array(1,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(30,),
|
|
|
|
array(30,),
|
|
|
|
array(22,),
|
2014-11-12 19:07:00 +01:00
|
|
|
array(39,),
|
|
|
|
array(22,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(16,),
|
2014-11-12 19:07:00 +01:00
|
|
|
array(),
|
2014-06-08 16:00:56 +00:00
|
|
|
array(),
|
|
|
|
array(),
|
|
|
|
array(),
|
|
|
|
array(),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(3, 25, 27, 28, 30, 31, 36, 38, 39, 40, 62, 67, 81,),
|
|
|
|
array(3, 21, 30, 36, 39, 62,),
|
|
|
|
array(26, 39, 55, 62, 81,),
|
|
|
|
array(3, 26, 39, 55, 62,),
|
|
|
|
array(18, 19, 20, 37,),
|
|
|
|
array(39, 60, 62, 67,),
|
|
|
|
array(26, 39, 55, 62,),
|
|
|
|
array(32, 39, 62,),
|
|
|
|
array(26, 39, 62,),
|
|
|
|
array(38, 40,),
|
|
|
|
array(25, 38,),
|
|
|
|
array(2, 21,),
|
|
|
|
array(38, 67,),
|
|
|
|
array(20, 64,),
|
2014-11-12 19:07:00 +01:00
|
|
|
array(21, 60,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(38, 40,),
|
|
|
|
array(39, 62,),
|
|
|
|
array(39, 62,),
|
|
|
|
array(38, 40,),
|
|
|
|
array(39, 62,),
|
|
|
|
array(19,),
|
|
|
|
array(60,),
|
|
|
|
array(37,),
|
2014-11-12 19:07:00 +01:00
|
|
|
array(3,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(27,),
|
|
|
|
array(65,),
|
|
|
|
array(37,),
|
|
|
|
array(20,),
|
|
|
|
array(20,),
|
|
|
|
array(39,),
|
|
|
|
array(3,),
|
|
|
|
array(3,),
|
2014-10-07 22:07:15 +00:00
|
|
|
array(20,),
|
2014-10-16 22:53:22 +00:00
|
|
|
array(20,),
|
2014-11-12 19:07:00 +01:00
|
|
|
array(20,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(19,),
|
2014-11-12 19:07:00 +01:00
|
|
|
array(19,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(2,),
|
|
|
|
array(65,),
|
|
|
|
array(39,),
|
|
|
|
array(20,),
|
|
|
|
array(56,),
|
|
|
|
array(20,),
|
|
|
|
array(2,),
|
2014-11-12 19:07:00 +01:00
|
|
|
array(20,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(67,),
|
|
|
|
array(40,),
|
2014-10-16 22:53:22 +00:00
|
|
|
array(20,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(19,),
|
2014-11-12 19:07:00 +01:00
|
|
|
array(20,),
|
2014-12-11 05:21:21 +01:00
|
|
|
array(21,),
|
2014-12-09 23:33:11 +01:00
|
|
|
array(19,),
|
2014-11-12 19:07:00 +01:00
|
|
|
array(20,),
|
2014-06-08 16:00:56 +00:00
|
|
|
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(),
|
|
|
|
array(),
|
|
|
|
array(),
|
2014-11-12 19:07:00 +01:00
|
|
|
array(),
|
|
|
|
array(),
|
|
|
|
array(),
|
|
|
|
array(),
|
|
|
|
array(),
|
2014-06-08 16:00:56 +00:00
|
|
|
);
|
2013-08-12 21:09:29 +00:00
|
|
|
static public $yy_default = array(
|
2014-12-09 23:33:11 +01:00
|
|
|
366, 549, 566, 566, 520, 566, 520, 520, 566, 566,
|
|
|
|
566, 566, 566, 566, 566, 566, 566, 566, 566, 566,
|
|
|
|
566, 566, 566, 566, 566, 566, 566, 566, 566, 566,
|
|
|
|
566, 566, 566, 566, 566, 566, 566, 566, 566, 566,
|
|
|
|
566, 566, 566, 566, 566, 566, 566, 566, 566, 566,
|
|
|
|
566, 566, 566, 423, 400, 423, 423, 392, 423, 428,
|
|
|
|
566, 566, 566, 566, 566, 566, 566, 566, 566, 566,
|
|
|
|
456, 433, 519, 457, 425, 551, 447, 453, 518, 405,
|
|
|
|
452, 444, 448, 449, 428, 430, 550, 552, 434, 459,
|
|
|
|
460, 471, 436, 566, 423, 363, 566, 423, 423, 443,
|
|
|
|
423, 423, 478, 532, 423, 566, 423, 566, 414, 566,
|
|
|
|
436, 436, 493, 566, 436, 566, 484, 484, 493, 493,
|
|
|
|
566, 493, 566, 566, 566, 436, 566, 436, 566, 566,
|
|
|
|
566, 566, 566, 566, 566, 402, 566, 423, 484, 566,
|
|
|
|
566, 566, 566, 423, 417, 436, 484, 529, 439, 419,
|
|
|
|
462, 463, 464, 441, 446, 440, 527, 494, 566, 409,
|
2014-12-11 05:21:21 +01:00
|
|
|
395, 403, 394, 404, 511, 388, 398, 399, 490, 489,
|
2014-12-09 23:33:11 +01:00
|
|
|
488, 412, 397, 512, 407, 387, 390, 510, 493, 491,
|
|
|
|
413, 410, 487, 389, 513, 408, 393, 411, 401, 521,
|
|
|
|
415, 418, 533, 420, 522, 478, 443, 565, 565, 507,
|
|
|
|
493, 530, 383, 526, 493, 526, 526, 493, 438, 471,
|
|
|
|
461, 461, 566, 471, 461, 471, 461, 566, 566, 505,
|
|
|
|
566, 566, 467, 566, 471, 566, 566, 479, 566, 467,
|
|
|
|
469, 566, 431, 566, 566, 566, 566, 505, 566, 566,
|
|
|
|
566, 566, 566, 566, 566, 505, 566, 531, 566, 473,
|
|
|
|
566, 505, 566, 566, 566, 566, 566, 566, 566, 566,
|
|
|
|
566, 516, 501, 515, 506, 364, 528, 498, 424, 514,
|
|
|
|
473, 502, 500, 564, 406, 435, 499, 432, 534, 465,
|
|
|
|
466, 468, 470, 524, 523, 504, 505, 525, 472, 437,
|
|
|
|
496, 497, 474, 475, 503, 495, 438, 485, 492, 422,
|
|
|
|
421, 371, 372, 373, 374, 370, 369, 365, 367, 368,
|
|
|
|
375, 376, 382, 384, 385, 381, 380, 377, 378, 379,
|
|
|
|
476, 477, 416, 560, 553, 554, 508, 561, 481, 482,
|
|
|
|
483, 555, 558, 546, 548, 547, 556, 563, 557, 559,
|
|
|
|
562, 458, 442, 451, 454, 455, 535, 450, 509, 480,
|
|
|
|
445, 486, 536, 537, 543, 544, 545, 542, 541, 538,
|
|
|
|
539, 540, 517,
|
2014-06-08 16:00:56 +00:00
|
|
|
);
|
2014-12-09 23:33:11 +01:00
|
|
|
const YYNOCODE = 127;
|
2013-07-14 21:12:08 +00:00
|
|
|
const YYSTACKDEPTH = 500;
|
2014-12-09 23:33:11 +01:00
|
|
|
const YYNSTATE = 363;
|
|
|
|
const YYNRULE = 203;
|
|
|
|
const YYERRORSYMBOL = 83;
|
2010-09-15 15:17:28 +00:00
|
|
|
const YYERRSYMDT = 'yy0';
|
|
|
|
const YYFALLBACK = 0;
|
2014-06-08 16:00:56 +00:00
|
|
|
public static $yyFallback = array();
|
|
|
|
|
2013-12-15 15:25:50 +00:00
|
|
|
public function Trace($TraceFILE, $zTracePrompt)
|
2010-12-05 22:15:23 +00:00
|
|
|
{
|
|
|
|
if (!$TraceFILE) {
|
|
|
|
$zTracePrompt = 0;
|
|
|
|
} elseif (!$zTracePrompt) {
|
|
|
|
$TraceFILE = 0;
|
|
|
|
}
|
2013-12-15 15:25:50 +00:00
|
|
|
$this->yyTraceFILE = $TraceFILE;
|
|
|
|
$this->yyTracePrompt = $zTracePrompt;
|
2010-12-05 22:15:23 +00:00
|
|
|
}
|
|
|
|
|
2013-12-15 15:25:50 +00:00
|
|
|
public function PrintTrace()
|
2010-12-05 22:15:23 +00:00
|
|
|
{
|
2013-12-15 15:25:50 +00:00
|
|
|
$this->yyTraceFILE = fopen('php://output', 'w');
|
|
|
|
$this->yyTracePrompt = '<br>';
|
2010-12-05 22:15:23 +00:00
|
|
|
}
|
|
|
|
|
2013-12-15 15:25:50 +00:00
|
|
|
public $yyTraceFILE;
|
|
|
|
public $yyTracePrompt;
|
2014-10-07 22:07:15 +00:00
|
|
|
public $yyidx; /* Index of top element in stack */
|
|
|
|
public $yyerrcnt; /* Shifts left before out of the error */
|
|
|
|
public $yystack = array(); /* The parser's stack */
|
2010-12-05 22:15:23 +00:00
|
|
|
|
2011-03-09 13:26:34 +00:00
|
|
|
public $yyTokenName = array(
|
2014-06-08 16:00:56 +00:00
|
|
|
'$', 'VERT', 'COLON', 'RDEL',
|
2014-10-07 22:07:15 +00:00
|
|
|
'COMMENT', 'PHPSTARTTAG', 'PHPENDTAG', 'PHPENDSCRIPT',
|
2014-10-16 22:53:22 +00:00
|
|
|
'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',
|
2014-12-09 23:33:11 +01:00
|
|
|
'DOT', 'SINGLEQUOTESTRING', 'DOUBLECOLON', 'NAMESPACE',
|
|
|
|
'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',
|
|
|
|
'ns1', 'function', 'doublequoted_with_quotes', 'static_class_access',
|
|
|
|
'object', 'arrayindex', 'indexdef', 'varvarele',
|
|
|
|
'objectchain', 'objectelement', 'method', 'params',
|
|
|
|
'modifier', 'modparameter', 'arrayelements', 'arrayelement',
|
|
|
|
'doublequoted', 'doublequotedcontent',
|
2010-12-05 22:15:23 +00:00
|
|
|
);
|
|
|
|
|
2013-07-15 18:18:28 +00:00
|
|
|
public static $yyRuleName = array(
|
2014-06-08 16:00:56 +00:00
|
|
|
"start ::= template",
|
|
|
|
"template ::= template_element",
|
|
|
|
"template ::= template template_element",
|
|
|
|
"template ::=",
|
|
|
|
"template_element ::= smartytag RDEL",
|
|
|
|
"template_element ::= COMMENT",
|
|
|
|
"template_element ::= literal",
|
|
|
|
"template_element ::= PHPSTARTTAG",
|
|
|
|
"template_element ::= PHPENDTAG",
|
2014-10-07 22:07:15 +00:00
|
|
|
"template_element ::= PHPENDSCRIPT",
|
|
|
|
"template_element ::= ASPSTARTTAG",
|
|
|
|
"template_element ::= ASPENDTAG",
|
|
|
|
"template_element ::= XMLTAG",
|
|
|
|
"template_element ::= TEXT",
|
|
|
|
"template_element ::= STRIPON",
|
|
|
|
"template_element ::= STRIPOFF",
|
|
|
|
"template_element ::= BLOCKSOURCE",
|
|
|
|
"literal ::= LITERALSTART LITERALEND",
|
|
|
|
"literal ::= LITERALSTART literal_elements LITERALEND",
|
|
|
|
"literal_elements ::= literal_elements literal_element",
|
|
|
|
"literal_elements ::=",
|
|
|
|
"literal_element ::= literal",
|
|
|
|
"literal_element ::= LITERAL",
|
2014-10-16 22:53:22 +00:00
|
|
|
"smartytag ::= LDEL value",
|
|
|
|
"smartytag ::= LDEL value modifierlist attributes",
|
|
|
|
"smartytag ::= LDEL value attributes",
|
|
|
|
"smartytag ::= LDEL expr modifierlist attributes",
|
|
|
|
"smartytag ::= LDEL expr attributes",
|
|
|
|
"smartytag ::= LDEL DOLLAR ID EQUAL value",
|
|
|
|
"smartytag ::= LDEL DOLLAR ID EQUAL expr",
|
|
|
|
"smartytag ::= LDEL DOLLAR ID EQUAL expr attributes",
|
|
|
|
"smartytag ::= LDEL varindexed EQUAL expr attributes",
|
|
|
|
"smartytag ::= LDEL ID attributes",
|
|
|
|
"smartytag ::= LDEL ID",
|
|
|
|
"smartytag ::= LDEL ID modifierlist attributes",
|
2014-12-11 05:21:21 +01:00
|
|
|
"smartytag ::= LDEL ID PTR ID attributes",
|
2014-10-16 22:53:22 +00:00
|
|
|
"smartytag ::= LDEL ID PTR ID modifierlist attributes",
|
|
|
|
"smartytag ::= LDELIF expr",
|
|
|
|
"smartytag ::= LDELIF expr attributes",
|
|
|
|
"smartytag ::= LDELIF statement",
|
|
|
|
"smartytag ::= LDELIF statement attributes",
|
|
|
|
"smartytag ::= LDELFOR statements SEMICOLON optspace expr SEMICOLON optspace DOLLAR varvar foraction attributes",
|
|
|
|
"foraction ::= EQUAL expr",
|
|
|
|
"foraction ::= INCDEC",
|
|
|
|
"smartytag ::= LDELFOR statement TO expr attributes",
|
|
|
|
"smartytag ::= LDELFOR statement TO expr STEP expr attributes",
|
|
|
|
"smartytag ::= LDELFOREACH attributes",
|
|
|
|
"smartytag ::= LDELFOREACH SPACE value AS DOLLAR varvar attributes",
|
|
|
|
"smartytag ::= LDELFOREACH SPACE value AS DOLLAR varvar APTR DOLLAR varvar attributes",
|
|
|
|
"smartytag ::= LDELFOREACH SPACE expr AS DOLLAR varvar attributes",
|
|
|
|
"smartytag ::= LDELFOREACH SPACE expr AS DOLLAR varvar APTR DOLLAR varvar attributes",
|
|
|
|
"smartytag ::= LDELSETFILTER ID modparameters",
|
|
|
|
"smartytag ::= LDELSETFILTER ID modparameters modifierlist",
|
|
|
|
"smartytag ::= LDEL SMARTYBLOCKCHILDPARENT",
|
|
|
|
"smartytag ::= LDELSLASH ID",
|
|
|
|
"smartytag ::= LDELSLASH ID modifierlist",
|
|
|
|
"smartytag ::= LDELSLASH ID PTR ID",
|
|
|
|
"smartytag ::= 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 ::= DOLLAR varvar EQUAL expr",
|
|
|
|
"statement ::= varindexed EQUAL expr",
|
|
|
|
"statement ::= OPENP statement CLOSEP",
|
|
|
|
"expr ::= value",
|
|
|
|
"expr ::= ternary",
|
|
|
|
"expr ::= DOLLAR ID COLON ID",
|
|
|
|
"expr ::= expr MATH value",
|
|
|
|
"expr ::= expr UNIMATH value",
|
|
|
|
"expr ::= expr ANDSYM value",
|
|
|
|
"expr ::= array",
|
|
|
|
"expr ::= expr modifierlist",
|
|
|
|
"expr ::= expr ifcond expr",
|
|
|
|
"expr ::= expr ISIN array",
|
|
|
|
"expr ::= expr ISIN value",
|
|
|
|
"expr ::= expr lop expr",
|
|
|
|
"expr ::= expr ISDIVBY expr",
|
|
|
|
"expr ::= expr ISNOTDIVBY expr",
|
|
|
|
"expr ::= expr ISEVEN",
|
|
|
|
"expr ::= expr ISNOTEVEN",
|
|
|
|
"expr ::= expr ISEVENBY expr",
|
|
|
|
"expr ::= expr ISNOTEVENBY expr",
|
|
|
|
"expr ::= expr ISODD",
|
|
|
|
"expr ::= expr ISNOTODD",
|
|
|
|
"expr ::= expr ISODDBY expr",
|
|
|
|
"expr ::= expr ISNOTODDBY expr",
|
2014-11-12 19:07:00 +01:00
|
|
|
"expr ::= variable INSTANCEOF ns1",
|
2014-10-07 22:07:15 +00:00
|
|
|
"ternary ::= OPENP expr CLOSEP QMARK DOLLAR ID 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 RDEL",
|
|
|
|
"value ::= value modifierlist",
|
2014-11-12 19:07:00 +01:00
|
|
|
"value ::= NAMESPACE",
|
|
|
|
"value ::= ns1 DOUBLECOLON static_class_access",
|
|
|
|
"ns1 ::= ID",
|
|
|
|
"ns1 ::= NAMESPACE",
|
|
|
|
"ns1 ::= variable",
|
|
|
|
"variable ::= varindexed",
|
|
|
|
"variable ::= DOLLAR varvar AT ID",
|
|
|
|
"variable ::= object",
|
|
|
|
"variable ::= HATCH ID HATCH",
|
|
|
|
"variable ::= HATCH ID HATCH arrayindex",
|
|
|
|
"variable ::= HATCH variable HATCH",
|
|
|
|
"variable ::= HATCH variable HATCH arrayindex",
|
|
|
|
"varindexed ::= DOLLAR varvar arrayindex",
|
|
|
|
"arrayindex ::= arrayindex indexdef",
|
|
|
|
"arrayindex ::=",
|
|
|
|
"indexdef ::= DOT DOLLAR varvar",
|
|
|
|
"indexdef ::= DOT DOLLAR varvar AT ID",
|
|
|
|
"indexdef ::= DOT ID",
|
|
|
|
"indexdef ::= DOT INTEGER",
|
2014-12-09 23:33:11 +01:00
|
|
|
"indexdef ::= DOT LDEL expr RDEL",
|
|
|
|
"indexdef ::= OPENB ID CLOSEB",
|
|
|
|
"indexdef ::= OPENB ID DOT ID CLOSEB",
|
|
|
|
"indexdef ::= OPENB expr CLOSEB",
|
|
|
|
"indexdef ::= OPENB CLOSEB",
|
|
|
|
"varvar ::= varvarele",
|
|
|
|
"varvar ::= varvar varvarele",
|
|
|
|
"varvarele ::= ID",
|
|
|
|
"varvarele ::= LDEL expr RDEL",
|
|
|
|
"object ::= varindexed objectchain",
|
|
|
|
"objectchain ::= objectelement",
|
|
|
|
"objectchain ::= objectchain objectelement",
|
|
|
|
"objectelement ::= PTR ID arrayindex",
|
|
|
|
"objectelement ::= PTR DOLLAR 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 ::= DOLLAR ID 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 ::=",
|
2014-11-12 19:07:00 +01:00
|
|
|
"modparameter ::= COLON value",
|
|
|
|
"modparameter ::= COLON array",
|
|
|
|
"static_class_access ::= method",
|
|
|
|
"static_class_access ::= method objectchain",
|
|
|
|
"static_class_access ::= ID",
|
|
|
|
"static_class_access ::= DOLLAR ID arrayindex",
|
|
|
|
"static_class_access ::= DOLLAR ID arrayindex objectchain",
|
|
|
|
"ifcond ::= EQUALS",
|
|
|
|
"ifcond ::= NOTEQUALS",
|
|
|
|
"ifcond ::= GREATERTHAN",
|
|
|
|
"ifcond ::= LESSTHAN",
|
|
|
|
"ifcond ::= GREATEREQUAL",
|
|
|
|
"ifcond ::= LESSEQUAL",
|
|
|
|
"ifcond ::= IDENTITY",
|
|
|
|
"ifcond ::= NONEIDENTITY",
|
|
|
|
"ifcond ::= MOD",
|
|
|
|
"lop ::= LAND",
|
|
|
|
"lop ::= LOR",
|
|
|
|
"lop ::= LXOR",
|
|
|
|
"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 RDEL",
|
|
|
|
"doublequotedcontent ::= TEXT",
|
|
|
|
"optspace ::= SPACE",
|
2014-06-08 16:00:56 +00:00
|
|
|
"optspace ::=",
|
2010-12-05 22:15:23 +00:00
|
|
|
);
|
|
|
|
|
2013-07-14 21:12:08 +00:00
|
|
|
public function tokenName($tokenType)
|
2010-12-05 22:15:23 +00:00
|
|
|
{
|
|
|
|
if ($tokenType === 0) {
|
|
|
|
return 'End of Input';
|
|
|
|
}
|
|
|
|
if ($tokenType > 0 && $tokenType < count($this->yyTokenName)) {
|
|
|
|
return $this->yyTokenName[$tokenType];
|
|
|
|
} else {
|
|
|
|
return "Unknown";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-07-15 18:18:28 +00:00
|
|
|
public static function yy_destructor($yymajor, $yypminor)
|
2010-12-05 22:15:23 +00:00
|
|
|
{
|
|
|
|
switch ($yymajor) {
|
2014-06-08 16:00:56 +00:00
|
|
|
default:
|
2014-10-07 22:07:15 +00:00
|
|
|
break; /* If no destructor action specified: do nothing */
|
2010-12-05 22:15:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-07-14 21:12:08 +00:00
|
|
|
public function yy_pop_parser_stack()
|
2010-12-05 22:15:23 +00:00
|
|
|
{
|
|
|
|
if (!count($this->yystack)) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
$yytos = array_pop($this->yystack);
|
2013-12-15 15:25:50 +00:00
|
|
|
if ($this->yyTraceFILE && $this->yyidx >= 0) {
|
|
|
|
fwrite($this->yyTraceFILE,
|
2014-06-08 16:00:56 +00:00
|
|
|
$this->yyTracePrompt . 'Popping ' . $this->yyTokenName[$yytos->major] .
|
|
|
|
"\n");
|
2010-12-05 22:15:23 +00:00
|
|
|
}
|
|
|
|
$yymajor = $yytos->major;
|
|
|
|
self::yy_destructor($yymajor, $yytos->minor);
|
2014-06-08 16:00:56 +00:00
|
|
|
$this->yyidx --;
|
2013-07-14 21:12:08 +00:00
|
|
|
|
2010-12-05 22:15:23 +00:00
|
|
|
return $yymajor;
|
|
|
|
}
|
|
|
|
|
2013-07-14 21:12:08 +00:00
|
|
|
public function __destruct()
|
2010-12-05 22:15:23 +00:00
|
|
|
{
|
|
|
|
while ($this->yystack !== Array()) {
|
|
|
|
$this->yy_pop_parser_stack();
|
|
|
|
}
|
2013-12-15 15:25:50 +00:00
|
|
|
if (is_resource($this->yyTraceFILE)) {
|
|
|
|
fclose($this->yyTraceFILE);
|
2010-12-05 22:15:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-07-14 21:12:08 +00:00
|
|
|
public function yy_get_expected_tokens($token)
|
2010-12-05 22:15:23 +00:00
|
|
|
{
|
|
|
|
$state = $this->yystack[$this->yyidx]->stateno;
|
|
|
|
$expected = self::$yyExpectedTokens[$state];
|
|
|
|
if (in_array($token, self::$yyExpectedTokens[$state], true)) {
|
|
|
|
return $expected;
|
|
|
|
}
|
|
|
|
$stack = $this->yystack;
|
|
|
|
$yyidx = $this->yyidx;
|
|
|
|
do {
|
|
|
|
$yyact = $this->yy_find_shift_action($token);
|
|
|
|
if ($yyact >= self::YYNSTATE && $yyact < self::YYNSTATE + self::YYNRULE) {
|
|
|
|
// reduce action
|
|
|
|
$done = 0;
|
|
|
|
do {
|
2014-06-08 16:00:56 +00:00
|
|
|
if ($done ++ == 100) {
|
2010-12-05 22:15:23 +00:00
|
|
|
$this->yyidx = $yyidx;
|
|
|
|
$this->yystack = $stack;
|
|
|
|
// too much recursion prevents proper detection
|
|
|
|
// so give up
|
|
|
|
return array_unique($expected);
|
|
|
|
}
|
|
|
|
$yyruleno = $yyact - self::YYNSTATE;
|
2014-12-13 23:02:29 +01:00
|
|
|
$this->yyidx -= self::$yyRuleInfo[$yyruleno][1];
|
2010-12-05 22:15:23 +00:00
|
|
|
$nextstate = $this->yy_find_reduce_action(
|
|
|
|
$this->yystack[$this->yyidx]->stateno,
|
2014-12-13 23:02:29 +01:00
|
|
|
self::$yyRuleInfo[$yyruleno][0]);
|
2010-12-05 22:15:23 +00:00
|
|
|
if (isset(self::$yyExpectedTokens[$nextstate])) {
|
2014-06-08 16:00:56 +00:00
|
|
|
$expected = array_merge($expected, self::$yyExpectedTokens[$nextstate]);
|
|
|
|
if (in_array($token,
|
2014-10-07 22:07:15 +00:00
|
|
|
self::$yyExpectedTokens[$nextstate], true)) {
|
2010-12-05 22:15:23 +00:00
|
|
|
$this->yyidx = $yyidx;
|
|
|
|
$this->yystack = $stack;
|
2013-07-14 21:12:08 +00:00
|
|
|
|
2010-12-05 22:15:23 +00:00
|
|
|
return array_unique($expected);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if ($nextstate < self::YYNSTATE) {
|
|
|
|
// we need to shift a non-terminal
|
2014-06-08 16:00:56 +00:00
|
|
|
$this->yyidx ++;
|
2010-12-05 22:15:23 +00:00
|
|
|
$x = new TP_yyStackEntry;
|
|
|
|
$x->stateno = $nextstate;
|
2014-12-13 23:02:29 +01:00
|
|
|
$x->major = self::$yyRuleInfo[$yyruleno][0];
|
2010-12-05 22:15:23 +00:00
|
|
|
$this->yystack[$this->yyidx] = $x;
|
|
|
|
continue 2;
|
|
|
|
} elseif ($nextstate == self::YYNSTATE + self::YYNRULE + 1) {
|
|
|
|
$this->yyidx = $yyidx;
|
|
|
|
$this->yystack = $stack;
|
|
|
|
// the last token was just ignored, we can't accept
|
|
|
|
// by ignoring input, this is in essence ignoring a
|
|
|
|
// syntax error!
|
|
|
|
return array_unique($expected);
|
|
|
|
} elseif ($nextstate === self::YY_NO_ACTION) {
|
|
|
|
$this->yyidx = $yyidx;
|
|
|
|
$this->yystack = $stack;
|
|
|
|
// input accepted, but not shifted (I guess)
|
|
|
|
return $expected;
|
|
|
|
} else {
|
|
|
|
$yyact = $nextstate;
|
|
|
|
}
|
|
|
|
} while (true);
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
} while (true);
|
2014-06-08 16:00:56 +00:00
|
|
|
$this->yyidx = $yyidx;
|
|
|
|
$this->yystack = $stack;
|
2013-07-14 21:12:08 +00:00
|
|
|
|
2010-12-05 22:15:23 +00:00
|
|
|
return array_unique($expected);
|
|
|
|
}
|
|
|
|
|
2013-07-14 21:12:08 +00:00
|
|
|
public function yy_is_expected_token($token)
|
2010-12-05 22:15:23 +00:00
|
|
|
{
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
$stack = $this->yystack;
|
|
|
|
$yyidx = $this->yyidx;
|
|
|
|
do {
|
|
|
|
$yyact = $this->yy_find_shift_action($token);
|
|
|
|
if ($yyact >= self::YYNSTATE && $yyact < self::YYNSTATE + self::YYNRULE) {
|
|
|
|
// reduce action
|
|
|
|
$done = 0;
|
|
|
|
do {
|
2014-06-08 16:00:56 +00:00
|
|
|
if ($done ++ == 100) {
|
2010-12-05 22:15:23 +00:00
|
|
|
$this->yyidx = $yyidx;
|
|
|
|
$this->yystack = $stack;
|
|
|
|
// too much recursion prevents proper detection
|
|
|
|
// so give up
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
$yyruleno = $yyact - self::YYNSTATE;
|
2014-12-13 23:02:29 +01:00
|
|
|
$this->yyidx -= self::$yyRuleInfo[$yyruleno][1];
|
2010-12-05 22:15:23 +00:00
|
|
|
$nextstate = $this->yy_find_reduce_action(
|
|
|
|
$this->yystack[$this->yyidx]->stateno,
|
2014-12-13 23:02:29 +01:00
|
|
|
self::$yyRuleInfo[$yyruleno][0]);
|
2010-12-05 22:15:23 +00:00
|
|
|
if (isset(self::$yyExpectedTokens[$nextstate]) &&
|
2014-06-08 16:00:56 +00:00
|
|
|
in_array($token, self::$yyExpectedTokens[$nextstate], true)
|
|
|
|
) {
|
2010-12-05 22:15:23 +00:00
|
|
|
$this->yyidx = $yyidx;
|
|
|
|
$this->yystack = $stack;
|
2013-07-14 21:12:08 +00:00
|
|
|
|
2010-12-05 22:15:23 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if ($nextstate < self::YYNSTATE) {
|
|
|
|
// we need to shift a non-terminal
|
2014-06-08 16:00:56 +00:00
|
|
|
$this->yyidx ++;
|
2010-12-05 22:15:23 +00:00
|
|
|
$x = new TP_yyStackEntry;
|
|
|
|
$x->stateno = $nextstate;
|
2014-12-13 23:02:29 +01:00
|
|
|
$x->major = self::$yyRuleInfo[$yyruleno][0];
|
2010-12-05 22:15:23 +00:00
|
|
|
$this->yystack[$this->yyidx] = $x;
|
|
|
|
continue 2;
|
|
|
|
} elseif ($nextstate == self::YYNSTATE + self::YYNRULE + 1) {
|
|
|
|
$this->yyidx = $yyidx;
|
|
|
|
$this->yystack = $stack;
|
|
|
|
if (!$token) {
|
|
|
|
// end of input: this is valid
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
// the last token was just ignored, we can't accept
|
|
|
|
// by ignoring input, this is in essence ignoring a
|
|
|
|
// syntax error!
|
|
|
|
return false;
|
|
|
|
} elseif ($nextstate === self::YY_NO_ACTION) {
|
|
|
|
$this->yyidx = $yyidx;
|
|
|
|
$this->yystack = $stack;
|
|
|
|
// input accepted, but not shifted (I guess)
|
|
|
|
return true;
|
|
|
|
} else {
|
|
|
|
$yyact = $nextstate;
|
|
|
|
}
|
|
|
|
} while (true);
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
} while (true);
|
|
|
|
$this->yyidx = $yyidx;
|
|
|
|
$this->yystack = $stack;
|
2013-07-14 21:12:08 +00:00
|
|
|
|
2010-12-05 22:15:23 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2014-06-08 16:00:56 +00:00
|
|
|
public function yy_find_shift_action($iLookAhead)
|
2010-12-05 22:15:23 +00:00
|
|
|
{
|
|
|
|
$stateno = $this->yystack[$this->yyidx]->stateno;
|
2011-03-09 13:26:34 +00:00
|
|
|
|
2010-12-05 22:15:23 +00:00
|
|
|
/* if ($this->yyidx < 0) return self::YY_NO_ACTION; */
|
|
|
|
if (!isset(self::$yy_shift_ofst[$stateno])) {
|
|
|
|
// no shift actions
|
|
|
|
return self::$yy_default[$stateno];
|
|
|
|
}
|
|
|
|
$i = self::$yy_shift_ofst[$stateno];
|
|
|
|
if ($i === self::YY_SHIFT_USE_DFLT) {
|
|
|
|
return self::$yy_default[$stateno];
|
|
|
|
}
|
|
|
|
if ($iLookAhead == self::YYNOCODE) {
|
|
|
|
return self::YY_NO_ACTION;
|
|
|
|
}
|
|
|
|
$i += $iLookAhead;
|
|
|
|
if ($i < 0 || $i >= self::YY_SZ_ACTTAB ||
|
2014-06-08 16:00:56 +00:00
|
|
|
self::$yy_lookahead[$i] != $iLookAhead
|
|
|
|
) {
|
2010-12-05 22:15:23 +00:00
|
|
|
if (count(self::$yyFallback) && $iLookAhead < count(self::$yyFallback)
|
2014-06-08 16:00:56 +00:00
|
|
|
&& ($iFallback = self::$yyFallback[$iLookAhead]) != 0
|
|
|
|
) {
|
2013-12-15 15:25:50 +00:00
|
|
|
if ($this->yyTraceFILE) {
|
|
|
|
fwrite($this->yyTraceFILE, $this->yyTracePrompt . "FALLBACK " .
|
2014-12-09 23:33:11 +01:00
|
|
|
$this->yyTokenName[$iLookAhead] . " => " .
|
|
|
|
$this->yyTokenName[$iFallback] . "\n");
|
2010-12-05 22:15:23 +00:00
|
|
|
}
|
2013-07-14 21:12:08 +00:00
|
|
|
|
2010-12-05 22:15:23 +00:00
|
|
|
return $this->yy_find_shift_action($iFallback);
|
|
|
|
}
|
2013-07-14 21:12:08 +00:00
|
|
|
|
2010-12-05 22:15:23 +00:00
|
|
|
return self::$yy_default[$stateno];
|
|
|
|
} else {
|
|
|
|
return self::$yy_action[$i];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-07-14 21:12:08 +00:00
|
|
|
public function yy_find_reduce_action($stateno, $iLookAhead)
|
2010-12-05 22:15:23 +00:00
|
|
|
{
|
|
|
|
/* $stateno = $this->yystack[$this->yyidx]->stateno; */
|
|
|
|
|
|
|
|
if (!isset(self::$yy_reduce_ofst[$stateno])) {
|
|
|
|
return self::$yy_default[$stateno];
|
|
|
|
}
|
|
|
|
$i = self::$yy_reduce_ofst[$stateno];
|
|
|
|
if ($i == self::YY_REDUCE_USE_DFLT) {
|
|
|
|
return self::$yy_default[$stateno];
|
|
|
|
}
|
|
|
|
if ($iLookAhead == self::YYNOCODE) {
|
|
|
|
return self::YY_NO_ACTION;
|
|
|
|
}
|
|
|
|
$i += $iLookAhead;
|
|
|
|
if ($i < 0 || $i >= self::YY_SZ_ACTTAB ||
|
2014-06-08 16:00:56 +00:00
|
|
|
self::$yy_lookahead[$i] != $iLookAhead
|
|
|
|
) {
|
2010-12-05 22:15:23 +00:00
|
|
|
return self::$yy_default[$stateno];
|
|
|
|
} else {
|
|
|
|
return self::$yy_action[$i];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-07-14 21:12:08 +00:00
|
|
|
public function yy_shift($yyNewState, $yyMajor, $yypMinor)
|
2010-12-05 22:15:23 +00:00
|
|
|
{
|
2014-06-08 16:00:56 +00:00
|
|
|
$this->yyidx ++;
|
2010-12-05 22:15:23 +00:00
|
|
|
if ($this->yyidx >= self::YYSTACKDEPTH) {
|
2014-06-08 16:00:56 +00:00
|
|
|
$this->yyidx --;
|
2013-12-15 15:25:50 +00:00
|
|
|
if ($this->yyTraceFILE) {
|
|
|
|
fprintf($this->yyTraceFILE, "%sStack Overflow!\n", $this->yyTracePrompt);
|
2010-12-05 22:15:23 +00:00
|
|
|
}
|
|
|
|
while ($this->yyidx >= 0) {
|
|
|
|
$this->yy_pop_parser_stack();
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
#line 215 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-18 00:18:11 +02:00
|
|
|
|
|
|
|
$this->internalError = true;
|
|
|
|
$this->compiler->trigger_template_error("Stack overflow in template parser");
|
2013-07-14 21:12:08 +00:00
|
|
|
|
2010-12-05 22:15:23 +00:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
$yytos = new TP_yyStackEntry;
|
|
|
|
$yytos->stateno = $yyNewState;
|
|
|
|
$yytos->major = $yyMajor;
|
|
|
|
$yytos->minor = $yypMinor;
|
|
|
|
array_push($this->yystack, $yytos);
|
2013-12-15 15:25:50 +00:00
|
|
|
if ($this->yyTraceFILE && $this->yyidx > 0) {
|
|
|
|
fprintf($this->yyTraceFILE, "%sShift %d\n", $this->yyTracePrompt,
|
2014-06-08 16:00:56 +00:00
|
|
|
$yyNewState);
|
2013-12-15 15:25:50 +00:00
|
|
|
fprintf($this->yyTraceFILE, "%sStack:", $this->yyTracePrompt);
|
2014-06-08 16:00:56 +00:00
|
|
|
for ($i = 1; $i <= $this->yyidx; $i ++) {
|
2013-12-15 15:25:50 +00:00
|
|
|
fprintf($this->yyTraceFILE, " %s",
|
2014-06-08 16:00:56 +00:00
|
|
|
$this->yyTokenName[$this->yystack[$i]->major]);
|
2010-12-05 22:15:23 +00:00
|
|
|
}
|
2014-06-08 16:00:56 +00:00
|
|
|
fwrite($this->yyTraceFILE, "\n");
|
2010-12-05 22:15:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-07-15 18:18:28 +00:00
|
|
|
public static $yyRuleInfo = array(
|
2014-12-13 23:02:29 +01:00
|
|
|
array(0 => 84, 1 => 1),
|
|
|
|
array(0 => 85, 1 => 1),
|
|
|
|
array(0 => 85, 1 => 2),
|
|
|
|
array(0 => 85, 1 => 0),
|
|
|
|
array(0 => 86, 1 => 2),
|
|
|
|
array(0 => 86, 1 => 1),
|
|
|
|
array(0 => 86, 1 => 1),
|
|
|
|
array(0 => 86, 1 => 1),
|
|
|
|
array(0 => 86, 1 => 1),
|
|
|
|
array(0 => 86, 1 => 1),
|
|
|
|
array(0 => 86, 1 => 1),
|
|
|
|
array(0 => 86, 1 => 1),
|
|
|
|
array(0 => 86, 1 => 1),
|
|
|
|
array(0 => 86, 1 => 1),
|
|
|
|
array(0 => 86, 1 => 1),
|
|
|
|
array(0 => 86, 1 => 1),
|
|
|
|
array(0 => 86, 1 => 1),
|
|
|
|
array(0 => 88, 1 => 2),
|
|
|
|
array(0 => 88, 1 => 3),
|
|
|
|
array(0 => 89, 1 => 2),
|
|
|
|
array(0 => 89, 1 => 0),
|
|
|
|
array(0 => 90, 1 => 1),
|
|
|
|
array(0 => 90, 1 => 1),
|
|
|
|
array(0 => 87, 1 => 2),
|
|
|
|
array(0 => 87, 1 => 4),
|
|
|
|
array(0 => 87, 1 => 3),
|
|
|
|
array(0 => 87, 1 => 4),
|
|
|
|
array(0 => 87, 1 => 3),
|
|
|
|
array(0 => 87, 1 => 5),
|
|
|
|
array(0 => 87, 1 => 5),
|
|
|
|
array(0 => 87, 1 => 6),
|
|
|
|
array(0 => 87, 1 => 5),
|
|
|
|
array(0 => 87, 1 => 3),
|
|
|
|
array(0 => 87, 1 => 2),
|
|
|
|
array(0 => 87, 1 => 4),
|
|
|
|
array(0 => 87, 1 => 5),
|
|
|
|
array(0 => 87, 1 => 6),
|
|
|
|
array(0 => 87, 1 => 2),
|
|
|
|
array(0 => 87, 1 => 3),
|
|
|
|
array(0 => 87, 1 => 2),
|
|
|
|
array(0 => 87, 1 => 3),
|
|
|
|
array(0 => 87, 1 => 11),
|
|
|
|
array(0 => 100, 1 => 2),
|
|
|
|
array(0 => 100, 1 => 1),
|
|
|
|
array(0 => 87, 1 => 5),
|
|
|
|
array(0 => 87, 1 => 7),
|
|
|
|
array(0 => 87, 1 => 2),
|
|
|
|
array(0 => 87, 1 => 7),
|
|
|
|
array(0 => 87, 1 => 10),
|
|
|
|
array(0 => 87, 1 => 7),
|
|
|
|
array(0 => 87, 1 => 10),
|
|
|
|
array(0 => 87, 1 => 3),
|
|
|
|
array(0 => 87, 1 => 4),
|
|
|
|
array(0 => 87, 1 => 2),
|
|
|
|
array(0 => 87, 1 => 2),
|
|
|
|
array(0 => 87, 1 => 3),
|
|
|
|
array(0 => 87, 1 => 4),
|
|
|
|
array(0 => 87, 1 => 5),
|
|
|
|
array(0 => 93, 1 => 2),
|
|
|
|
array(0 => 93, 1 => 1),
|
|
|
|
array(0 => 93, 1 => 0),
|
|
|
|
array(0 => 102, 1 => 4),
|
|
|
|
array(0 => 102, 1 => 2),
|
|
|
|
array(0 => 102, 1 => 2),
|
|
|
|
array(0 => 102, 1 => 2),
|
|
|
|
array(0 => 102, 1 => 2),
|
|
|
|
array(0 => 102, 1 => 2),
|
|
|
|
array(0 => 102, 1 => 4),
|
|
|
|
array(0 => 97, 1 => 1),
|
|
|
|
array(0 => 97, 1 => 3),
|
|
|
|
array(0 => 96, 1 => 4),
|
|
|
|
array(0 => 96, 1 => 3),
|
|
|
|
array(0 => 96, 1 => 3),
|
|
|
|
array(0 => 94, 1 => 1),
|
|
|
|
array(0 => 94, 1 => 1),
|
|
|
|
array(0 => 94, 1 => 4),
|
|
|
|
array(0 => 94, 1 => 3),
|
|
|
|
array(0 => 94, 1 => 3),
|
|
|
|
array(0 => 94, 1 => 3),
|
|
|
|
array(0 => 94, 1 => 1),
|
|
|
|
array(0 => 94, 1 => 2),
|
|
|
|
array(0 => 94, 1 => 3),
|
|
|
|
array(0 => 94, 1 => 3),
|
|
|
|
array(0 => 94, 1 => 3),
|
|
|
|
array(0 => 94, 1 => 3),
|
|
|
|
array(0 => 94, 1 => 3),
|
|
|
|
array(0 => 94, 1 => 3),
|
|
|
|
array(0 => 94, 1 => 2),
|
|
|
|
array(0 => 94, 1 => 2),
|
|
|
|
array(0 => 94, 1 => 3),
|
|
|
|
array(0 => 94, 1 => 3),
|
|
|
|
array(0 => 94, 1 => 2),
|
|
|
|
array(0 => 94, 1 => 2),
|
|
|
|
array(0 => 94, 1 => 3),
|
|
|
|
array(0 => 94, 1 => 3),
|
|
|
|
array(0 => 94, 1 => 3),
|
|
|
|
array(0 => 103, 1 => 8),
|
|
|
|
array(0 => 103, 1 => 7),
|
|
|
|
array(0 => 91, 1 => 1),
|
|
|
|
array(0 => 91, 1 => 2),
|
|
|
|
array(0 => 91, 1 => 2),
|
|
|
|
array(0 => 91, 1 => 2),
|
|
|
|
array(0 => 91, 1 => 2),
|
|
|
|
array(0 => 91, 1 => 1),
|
|
|
|
array(0 => 91, 1 => 1),
|
|
|
|
array(0 => 91, 1 => 3),
|
|
|
|
array(0 => 91, 1 => 2),
|
|
|
|
array(0 => 91, 1 => 2),
|
|
|
|
array(0 => 91, 1 => 1),
|
|
|
|
array(0 => 91, 1 => 1),
|
|
|
|
array(0 => 91, 1 => 3),
|
|
|
|
array(0 => 91, 1 => 1),
|
|
|
|
array(0 => 91, 1 => 1),
|
|
|
|
array(0 => 91, 1 => 3),
|
|
|
|
array(0 => 91, 1 => 2),
|
|
|
|
array(0 => 91, 1 => 2),
|
|
|
|
array(0 => 91, 1 => 1),
|
|
|
|
array(0 => 91, 1 => 3),
|
|
|
|
array(0 => 108, 1 => 1),
|
|
|
|
array(0 => 108, 1 => 1),
|
|
|
|
array(0 => 108, 1 => 1),
|
|
|
|
array(0 => 107, 1 => 1),
|
|
|
|
array(0 => 107, 1 => 4),
|
|
|
|
array(0 => 107, 1 => 1),
|
|
|
|
array(0 => 107, 1 => 3),
|
|
|
|
array(0 => 107, 1 => 4),
|
|
|
|
array(0 => 107, 1 => 3),
|
|
|
|
array(0 => 107, 1 => 4),
|
|
|
|
array(0 => 95, 1 => 3),
|
|
|
|
array(0 => 113, 1 => 2),
|
|
|
|
array(0 => 113, 1 => 0),
|
|
|
|
array(0 => 114, 1 => 3),
|
|
|
|
array(0 => 114, 1 => 5),
|
|
|
|
array(0 => 114, 1 => 2),
|
|
|
|
array(0 => 114, 1 => 2),
|
|
|
|
array(0 => 114, 1 => 4),
|
|
|
|
array(0 => 114, 1 => 3),
|
|
|
|
array(0 => 114, 1 => 5),
|
|
|
|
array(0 => 114, 1 => 3),
|
|
|
|
array(0 => 114, 1 => 2),
|
|
|
|
array(0 => 99, 1 => 1),
|
|
|
|
array(0 => 99, 1 => 2),
|
|
|
|
array(0 => 115, 1 => 1),
|
|
|
|
array(0 => 115, 1 => 3),
|
|
|
|
array(0 => 112, 1 => 2),
|
|
|
|
array(0 => 116, 1 => 1),
|
|
|
|
array(0 => 116, 1 => 2),
|
|
|
|
array(0 => 117, 1 => 3),
|
|
|
|
array(0 => 117, 1 => 4),
|
|
|
|
array(0 => 117, 1 => 5),
|
|
|
|
array(0 => 117, 1 => 6),
|
|
|
|
array(0 => 117, 1 => 2),
|
|
|
|
array(0 => 109, 1 => 4),
|
|
|
|
array(0 => 118, 1 => 4),
|
|
|
|
array(0 => 118, 1 => 5),
|
|
|
|
array(0 => 119, 1 => 3),
|
|
|
|
array(0 => 119, 1 => 1),
|
|
|
|
array(0 => 119, 1 => 0),
|
|
|
|
array(0 => 92, 1 => 3),
|
|
|
|
array(0 => 92, 1 => 2),
|
|
|
|
array(0 => 120, 1 => 3),
|
|
|
|
array(0 => 120, 1 => 2),
|
|
|
|
array(0 => 101, 1 => 2),
|
|
|
|
array(0 => 101, 1 => 0),
|
|
|
|
array(0 => 121, 1 => 2),
|
|
|
|
array(0 => 121, 1 => 2),
|
|
|
|
array(0 => 111, 1 => 1),
|
|
|
|
array(0 => 111, 1 => 2),
|
|
|
|
array(0 => 111, 1 => 1),
|
|
|
|
array(0 => 111, 1 => 3),
|
|
|
|
array(0 => 111, 1 => 4),
|
|
|
|
array(0 => 105, 1 => 1),
|
|
|
|
array(0 => 105, 1 => 1),
|
|
|
|
array(0 => 105, 1 => 1),
|
|
|
|
array(0 => 105, 1 => 1),
|
|
|
|
array(0 => 105, 1 => 1),
|
|
|
|
array(0 => 105, 1 => 1),
|
|
|
|
array(0 => 105, 1 => 1),
|
|
|
|
array(0 => 105, 1 => 1),
|
|
|
|
array(0 => 105, 1 => 1),
|
|
|
|
array(0 => 106, 1 => 1),
|
|
|
|
array(0 => 106, 1 => 1),
|
|
|
|
array(0 => 106, 1 => 1),
|
|
|
|
array(0 => 104, 1 => 3),
|
|
|
|
array(0 => 122, 1 => 1),
|
|
|
|
array(0 => 122, 1 => 3),
|
|
|
|
array(0 => 122, 1 => 0),
|
|
|
|
array(0 => 123, 1 => 3),
|
|
|
|
array(0 => 123, 1 => 3),
|
|
|
|
array(0 => 123, 1 => 1),
|
|
|
|
array(0 => 110, 1 => 2),
|
|
|
|
array(0 => 110, 1 => 3),
|
|
|
|
array(0 => 124, 1 => 2),
|
|
|
|
array(0 => 124, 1 => 1),
|
|
|
|
array(0 => 125, 1 => 3),
|
|
|
|
array(0 => 125, 1 => 3),
|
|
|
|
array(0 => 125, 1 => 1),
|
|
|
|
array(0 => 125, 1 => 3),
|
|
|
|
array(0 => 125, 1 => 3),
|
|
|
|
array(0 => 125, 1 => 2),
|
|
|
|
array(0 => 125, 1 => 1),
|
|
|
|
array(0 => 98, 1 => 1),
|
|
|
|
array(0 => 98, 1 => 0),
|
2010-12-05 22:15:23 +00:00
|
|
|
);
|
|
|
|
|
2013-07-15 18:18:28 +00:00
|
|
|
public static $yyReduceMap = array(
|
2014-06-08 16:00:56 +00:00
|
|
|
0 => 0,
|
|
|
|
1 => 1,
|
2014-10-14 21:45:05 +00:00
|
|
|
2 => 2,
|
2014-06-08 16:00:56 +00:00
|
|
|
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,
|
2014-10-16 22:53:22 +00:00
|
|
|
20 => 17,
|
2014-12-09 23:33:11 +01:00
|
|
|
202 => 17,
|
2014-06-08 16:00:56 +00:00
|
|
|
18 => 18,
|
2014-10-16 22:53:22 +00:00
|
|
|
72 => 18,
|
2014-06-08 16:00:56 +00:00
|
|
|
19 => 19,
|
2014-11-12 19:07:00 +01:00
|
|
|
99 => 19,
|
|
|
|
101 => 19,
|
2014-10-16 22:53:22 +00:00
|
|
|
102 => 19,
|
2014-12-09 23:33:11 +01:00
|
|
|
129 => 19,
|
|
|
|
167 => 19,
|
2014-10-16 22:53:22 +00:00
|
|
|
21 => 21,
|
|
|
|
22 => 21,
|
|
|
|
43 => 21,
|
|
|
|
65 => 21,
|
|
|
|
66 => 21,
|
|
|
|
73 => 21,
|
|
|
|
74 => 21,
|
|
|
|
79 => 21,
|
2014-11-12 19:07:00 +01:00
|
|
|
98 => 21,
|
|
|
|
103 => 21,
|
2014-10-16 22:53:22 +00:00
|
|
|
104 => 21,
|
2014-11-12 19:07:00 +01:00
|
|
|
109 => 21,
|
|
|
|
111 => 21,
|
2014-10-16 22:53:22 +00:00
|
|
|
112 => 21,
|
2014-12-09 23:33:11 +01:00
|
|
|
116 => 21,
|
|
|
|
118 => 21,
|
2014-11-12 19:07:00 +01:00
|
|
|
119 => 21,
|
2014-10-16 22:53:22 +00:00
|
|
|
120 => 21,
|
2014-12-09 23:33:11 +01:00
|
|
|
123 => 21,
|
|
|
|
140 => 21,
|
|
|
|
166 => 21,
|
2014-11-12 19:07:00 +01:00
|
|
|
168 => 21,
|
2014-12-09 23:33:11 +01:00
|
|
|
184 => 21,
|
|
|
|
189 => 21,
|
|
|
|
201 => 21,
|
2014-10-16 22:53:22 +00:00
|
|
|
23 => 23,
|
2014-10-07 22:07:15 +00:00
|
|
|
24 => 24,
|
2014-10-16 22:53:22 +00:00
|
|
|
25 => 25,
|
|
|
|
27 => 25,
|
2014-06-08 16:00:56 +00:00
|
|
|
26 => 26,
|
|
|
|
28 => 28,
|
2014-10-16 22:53:22 +00:00
|
|
|
29 => 28,
|
2014-06-08 16:00:56 +00:00
|
|
|
30 => 30,
|
|
|
|
31 => 31,
|
2014-10-07 22:07:15 +00:00
|
|
|
32 => 32,
|
2014-10-16 22:53:22 +00:00
|
|
|
33 => 33,
|
2014-10-07 22:07:15 +00:00
|
|
|
34 => 34,
|
2014-10-16 22:53:22 +00:00
|
|
|
35 => 35,
|
2014-06-08 16:00:56 +00:00
|
|
|
36 => 36,
|
|
|
|
37 => 37,
|
|
|
|
38 => 38,
|
2014-10-16 22:53:22 +00:00
|
|
|
40 => 38,
|
2014-06-08 16:00:56 +00:00
|
|
|
39 => 39,
|
|
|
|
41 => 41,
|
|
|
|
42 => 42,
|
|
|
|
44 => 44,
|
2014-10-07 22:07:15 +00:00
|
|
|
45 => 45,
|
2014-10-16 22:53:22 +00:00
|
|
|
46 => 46,
|
2014-06-08 16:00:56 +00:00
|
|
|
47 => 47,
|
2014-10-16 22:53:22 +00:00
|
|
|
49 => 47,
|
2014-10-07 22:07:15 +00:00
|
|
|
48 => 48,
|
2014-10-16 22:53:22 +00:00
|
|
|
50 => 48,
|
2014-06-08 16:00:56 +00:00
|
|
|
51 => 51,
|
|
|
|
52 => 52,
|
|
|
|
53 => 53,
|
2014-10-07 22:07:15 +00:00
|
|
|
54 => 54,
|
2014-10-16 22:53:22 +00:00
|
|
|
55 => 55,
|
|
|
|
56 => 56,
|
2014-06-08 16:00:56 +00:00
|
|
|
57 => 57,
|
|
|
|
58 => 58,
|
|
|
|
59 => 59,
|
2014-10-16 22:53:22 +00:00
|
|
|
68 => 59,
|
2014-12-09 23:33:11 +01:00
|
|
|
156 => 59,
|
|
|
|
160 => 59,
|
|
|
|
164 => 59,
|
|
|
|
165 => 59,
|
2014-06-08 16:00:56 +00:00
|
|
|
60 => 60,
|
2014-12-09 23:33:11 +01:00
|
|
|
157 => 60,
|
|
|
|
163 => 60,
|
2014-06-08 16:00:56 +00:00
|
|
|
61 => 61,
|
|
|
|
62 => 62,
|
2014-10-16 22:53:22 +00:00
|
|
|
63 => 62,
|
2014-06-08 16:00:56 +00:00
|
|
|
64 => 64,
|
|
|
|
67 => 67,
|
2014-10-16 22:53:22 +00:00
|
|
|
69 => 69,
|
2014-10-07 22:07:15 +00:00
|
|
|
70 => 70,
|
2014-10-16 22:53:22 +00:00
|
|
|
71 => 70,
|
2014-06-08 16:00:56 +00:00
|
|
|
75 => 75,
|
2014-10-07 22:07:15 +00:00
|
|
|
76 => 76,
|
|
|
|
77 => 76,
|
2014-10-16 22:53:22 +00:00
|
|
|
78 => 76,
|
|
|
|
80 => 80,
|
2014-12-09 23:33:11 +01:00
|
|
|
115 => 80,
|
2014-06-08 16:00:56 +00:00
|
|
|
81 => 81,
|
2014-10-16 22:53:22 +00:00
|
|
|
84 => 81,
|
2014-10-07 22:07:15 +00:00
|
|
|
82 => 82,
|
2014-10-16 22:53:22 +00:00
|
|
|
83 => 83,
|
|
|
|
85 => 85,
|
2014-06-08 16:00:56 +00:00
|
|
|
86 => 86,
|
|
|
|
87 => 87,
|
2014-10-16 22:53:22 +00:00
|
|
|
92 => 87,
|
2014-06-08 16:00:56 +00:00
|
|
|
88 => 88,
|
2014-10-16 22:53:22 +00:00
|
|
|
91 => 88,
|
2014-10-07 22:07:15 +00:00
|
|
|
89 => 89,
|
2014-10-16 22:53:22 +00:00
|
|
|
94 => 89,
|
|
|
|
90 => 90,
|
|
|
|
93 => 90,
|
2014-11-12 19:07:00 +01:00
|
|
|
95 => 95,
|
2014-10-07 22:07:15 +00:00
|
|
|
96 => 96,
|
2014-10-16 22:53:22 +00:00
|
|
|
97 => 97,
|
2014-11-12 19:07:00 +01:00
|
|
|
100 => 100,
|
|
|
|
105 => 105,
|
2014-10-16 22:53:22 +00:00
|
|
|
106 => 106,
|
2014-10-07 22:07:15 +00:00
|
|
|
107 => 107,
|
2014-10-16 22:53:22 +00:00
|
|
|
108 => 108,
|
2014-11-12 19:07:00 +01:00
|
|
|
110 => 110,
|
2014-12-09 23:33:11 +01:00
|
|
|
113 => 113,
|
2013-08-24 18:46:31 +00:00
|
|
|
114 => 114,
|
2014-12-09 23:33:11 +01:00
|
|
|
117 => 117,
|
|
|
|
121 => 121,
|
2014-10-07 22:07:15 +00:00
|
|
|
122 => 122,
|
2014-12-09 23:33:11 +01:00
|
|
|
124 => 124,
|
2014-10-07 22:07:15 +00:00
|
|
|
125 => 125,
|
2014-11-12 19:07:00 +01:00
|
|
|
126 => 126,
|
2011-12-17 14:23:31 +00:00
|
|
|
127 => 127,
|
2012-07-28 08:10:04 +00:00
|
|
|
128 => 128,
|
2014-12-09 23:33:11 +01:00
|
|
|
130 => 130,
|
|
|
|
186 => 130,
|
2014-10-07 22:07:15 +00:00
|
|
|
131 => 131,
|
2014-10-16 22:53:22 +00:00
|
|
|
132 => 132,
|
2010-11-24 19:38:45 +00:00
|
|
|
133 => 133,
|
2011-03-09 13:26:34 +00:00
|
|
|
134 => 134,
|
2014-11-12 19:07:00 +01:00
|
|
|
135 => 135,
|
2014-12-09 23:33:11 +01:00
|
|
|
138 => 135,
|
|
|
|
136 => 136,
|
2014-11-12 19:07:00 +01:00
|
|
|
137 => 137,
|
2013-08-24 18:46:31 +00:00
|
|
|
139 => 139,
|
2014-10-16 22:53:22 +00:00
|
|
|
141 => 141,
|
2014-12-09 23:33:11 +01:00
|
|
|
142 => 142,
|
2014-10-16 22:53:22 +00:00
|
|
|
143 => 143,
|
2010-09-15 15:17:28 +00:00
|
|
|
144 => 144,
|
|
|
|
145 => 145,
|
2010-10-13 15:44:03 +00:00
|
|
|
146 => 146,
|
2010-11-11 21:34:36 +00:00
|
|
|
147 => 147,
|
2010-09-15 15:17:28 +00:00
|
|
|
148 => 148,
|
2010-11-24 19:38:45 +00:00
|
|
|
149 => 149,
|
|
|
|
150 => 150,
|
2010-11-11 21:34:36 +00:00
|
|
|
151 => 151,
|
2011-03-09 13:26:34 +00:00
|
|
|
152 => 152,
|
2014-11-12 19:07:00 +01:00
|
|
|
153 => 153,
|
|
|
|
154 => 154,
|
2012-07-28 08:10:04 +00:00
|
|
|
155 => 155,
|
2014-12-09 23:33:11 +01:00
|
|
|
158 => 158,
|
|
|
|
159 => 159,
|
2014-11-12 19:07:00 +01:00
|
|
|
161 => 161,
|
2014-12-09 23:33:11 +01:00
|
|
|
162 => 162,
|
|
|
|
169 => 169,
|
|
|
|
170 => 170,
|
2014-10-16 22:53:22 +00:00
|
|
|
171 => 171,
|
2010-09-15 15:17:28 +00:00
|
|
|
172 => 172,
|
|
|
|
173 => 173,
|
2010-10-13 15:44:03 +00:00
|
|
|
174 => 174,
|
2010-11-11 21:34:36 +00:00
|
|
|
175 => 175,
|
2010-09-15 15:17:28 +00:00
|
|
|
176 => 176,
|
2010-11-24 19:38:45 +00:00
|
|
|
177 => 177,
|
2010-09-15 15:17:28 +00:00
|
|
|
178 => 178,
|
2010-10-13 15:44:03 +00:00
|
|
|
179 => 179,
|
2011-03-09 13:26:34 +00:00
|
|
|
180 => 180,
|
2014-11-12 19:07:00 +01:00
|
|
|
181 => 181,
|
2011-12-17 14:23:31 +00:00
|
|
|
182 => 182,
|
2014-11-12 19:07:00 +01:00
|
|
|
183 => 183,
|
2013-08-24 18:46:31 +00:00
|
|
|
185 => 185,
|
2014-10-16 22:53:22 +00:00
|
|
|
187 => 187,
|
2014-12-09 23:33:11 +01:00
|
|
|
188 => 188,
|
2013-08-24 18:46:31 +00:00
|
|
|
190 => 190,
|
2014-12-09 23:33:11 +01:00
|
|
|
191 => 191,
|
2014-11-12 19:07:00 +01:00
|
|
|
192 => 192,
|
2011-12-17 14:23:31 +00:00
|
|
|
193 => 193,
|
2014-11-12 19:07:00 +01:00
|
|
|
194 => 194,
|
2014-12-09 23:33:11 +01:00
|
|
|
195 => 194,
|
|
|
|
197 => 194,
|
2013-08-24 18:46:31 +00:00
|
|
|
196 => 196,
|
2014-11-12 19:07:00 +01:00
|
|
|
198 => 198,
|
2014-12-09 23:33:11 +01:00
|
|
|
199 => 199,
|
2014-11-12 19:07:00 +01:00
|
|
|
200 => 200,
|
2010-12-05 22:15:23 +00:00
|
|
|
);
|
2014-06-08 16:00:56 +00:00
|
|
|
|
2014-12-13 23:02:29 +01:00
|
|
|
#line 226 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-06-08 16:00:56 +00:00
|
|
|
function yy_r0()
|
|
|
|
{
|
|
|
|
$this->_retvalue = $this->root_buffer->to_smarty_php();
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 234 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-06-08 16:00:56 +00:00
|
|
|
function yy_r1()
|
|
|
|
{
|
|
|
|
if ($this->yystack[$this->yyidx + 0]->minor != null) {
|
|
|
|
$this->current_buffer->append_subtree($this->yystack[$this->yyidx + 0]->minor);
|
2011-09-16 14:19:56 +00:00
|
|
|
}
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 241 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-14 21:45:05 +00:00
|
|
|
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);
|
|
|
|
}
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 255 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-06-08 16:00:56 +00:00
|
|
|
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));
|
|
|
|
} else {
|
|
|
|
$this->_retvalue = null;
|
|
|
|
}
|
|
|
|
$this->compiler->has_variable_string = false;
|
|
|
|
$this->block_nesting_level = count($this->compiler->_tag_stack);
|
2011-09-16 14:19:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 267 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-06-08 16:00:56 +00:00
|
|
|
function yy_r5()
|
|
|
|
{
|
2013-08-24 18:46:31 +00:00
|
|
|
$this->_retvalue = null;
|
2011-09-16 14:19:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 272 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-06-08 16:00:56 +00:00
|
|
|
function yy_r6()
|
|
|
|
{
|
|
|
|
$this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
|
2011-09-16 14:19:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 277 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-06-08 16:00:56 +00:00
|
|
|
function yy_r7()
|
|
|
|
{
|
2014-10-14 21:45:05 +00:00
|
|
|
if (strpos($this->yystack[$this->yyidx + 0]->minor, '<s') === 0) {
|
2014-10-07 22:07:15 +00:00
|
|
|
$this->lex->is_phpScript = true;
|
|
|
|
}
|
2014-06-08 16:00:56 +00:00
|
|
|
if ($this->php_handling == Smarty::PHP_PASSTHRU) {
|
2014-10-12 15:57:16 +00:00
|
|
|
if ($this->lex->is_phpScript) {
|
2014-10-14 21:45:05 +00:00
|
|
|
$s = addcslashes($this->yystack[$this->yyidx + 0]->minor, "'");
|
2014-10-16 22:53:22 +00:00
|
|
|
$this->_retvalue = new _smarty_text($this, $s);
|
2014-10-12 15:57:16 +00:00
|
|
|
} else {
|
2014-10-16 22:53:22 +00:00
|
|
|
$this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
|
2014-10-12 15:57:16 +00:00
|
|
|
}
|
2014-06-08 16:00:56 +00:00
|
|
|
} elseif ($this->php_handling == Smarty::PHP_QUOTE) {
|
2014-10-14 21:45:05 +00:00
|
|
|
$this->_retvalue = new _smarty_text($this, htmlspecialchars($this->yystack[$this->yyidx + 0]->minor, ENT_QUOTES));
|
2014-06-08 16:00:56 +00:00
|
|
|
} elseif ($this->php_handling == Smarty::PHP_ALLOW) {
|
2011-09-16 14:19:56 +00:00
|
|
|
if (!($this->smarty instanceof SmartyBC)) {
|
2014-06-08 16:00:56 +00:00
|
|
|
$this->compiler->trigger_template_error(self::Err3);
|
2011-09-16 14:19:56 +00:00
|
|
|
}
|
2014-10-16 22:53:22 +00:00
|
|
|
$this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode('<?php ', true));
|
2014-06-08 16:00:56 +00:00
|
|
|
} elseif ($this->php_handling == Smarty::PHP_REMOVE) {
|
|
|
|
$this->_retvalue = null;
|
2011-09-16 14:19:56 +00:00
|
|
|
}
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 301 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-06-08 16:00:56 +00:00
|
|
|
function yy_r8()
|
|
|
|
{
|
|
|
|
if ($this->is_xml) {
|
|
|
|
$this->compiler->tag_nocache = true;
|
|
|
|
$this->is_xml = false;
|
|
|
|
$save = $this->template->has_nocache_code;
|
2014-10-16 22:53:22 +00:00
|
|
|
$this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode("<?php echo '?>';?>\n", $this->compiler, true));
|
2014-06-08 16:00:56 +00:00
|
|
|
$this->template->has_nocache_code = $save;
|
|
|
|
} elseif ($this->php_handling == Smarty::PHP_PASSTHRU) {
|
2014-10-16 22:53:22 +00:00
|
|
|
$this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
|
2014-06-08 16:00:56 +00:00
|
|
|
} elseif ($this->php_handling == Smarty::PHP_QUOTE) {
|
|
|
|
$this->_retvalue = new _smarty_text($this, htmlspecialchars('?>', ENT_QUOTES));
|
|
|
|
} elseif ($this->php_handling == Smarty::PHP_ALLOW) {
|
2014-10-16 22:53:22 +00:00
|
|
|
$this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode('?>', true));
|
2014-06-08 16:00:56 +00:00
|
|
|
} elseif ($this->php_handling == Smarty::PHP_REMOVE) {
|
2013-08-24 18:46:31 +00:00
|
|
|
$this->_retvalue = null;
|
2014-06-06 02:40:04 +00:00
|
|
|
}
|
2011-09-16 14:19:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 319 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-06-08 16:00:56 +00:00
|
|
|
function yy_r9()
|
2014-10-07 22:07:15 +00:00
|
|
|
{
|
|
|
|
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) {
|
2014-10-16 22:53:22 +00:00
|
|
|
$this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode('?>', true));
|
2014-10-07 22:07:15 +00:00
|
|
|
} elseif ($this->php_handling == Smarty::PHP_REMOVE) {
|
|
|
|
$this->_retvalue = null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 337 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-07 22:07:15 +00:00
|
|
|
function yy_r10()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
if ($this->php_handling == Smarty::PHP_PASSTHRU) {
|
2014-10-16 22:53:22 +00:00
|
|
|
$this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
|
2014-06-08 16:00:56 +00:00
|
|
|
} 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);
|
|
|
|
}
|
2014-10-16 22:53:22 +00:00
|
|
|
$this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode('<%', true));
|
2014-06-08 16:00:56 +00:00
|
|
|
} else {
|
2014-10-16 22:53:22 +00:00
|
|
|
$this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
|
|
|
} elseif ($this->php_handling == Smarty::PHP_REMOVE) {
|
|
|
|
if ($this->asp_tags) {
|
|
|
|
$this->_retvalue = null;
|
|
|
|
} else {
|
2014-10-16 22:53:22 +00:00
|
|
|
$this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
|
|
|
}
|
2014-06-08 15:43:02 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 361 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-18 00:18:11 +02:00
|
|
|
function yy_r11()
|
|
|
|
{
|
|
|
|
if ($this->php_handling == Smarty::PHP_PASSTHRU) {
|
2014-10-23 18:27:12 +02:00
|
|
|
$this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
|
2014-06-08 16:00:56 +00:00
|
|
|
} 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) {
|
2014-10-16 22:53:22 +00:00
|
|
|
$this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode('%>', true));
|
2014-06-08 16:00:56 +00:00
|
|
|
} else {
|
2014-10-23 18:27:12 +02:00
|
|
|
$this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
|
|
|
} elseif ($this->php_handling == Smarty::PHP_REMOVE) {
|
|
|
|
if ($this->asp_tags) {
|
|
|
|
$this->_retvalue = null;
|
|
|
|
} else {
|
2014-10-23 18:27:12 +02:00
|
|
|
$this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
|
2014-10-18 00:18:11 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 383 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-07 22:07:15 +00:00
|
|
|
function yy_r12()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->compiler->tag_nocache = true;
|
|
|
|
$this->is_xml = true;
|
|
|
|
$save = $this->template->has_nocache_code;
|
2014-10-16 22:53:22 +00:00
|
|
|
$this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode("<?php echo '<?xml';?>", $this->compiler, true));
|
2014-06-08 16:00:56 +00:00
|
|
|
$this->template->has_nocache_code = $save;
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 392 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r13()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
2013-08-24 18:46:31 +00:00
|
|
|
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);
|
|
|
|
}
|
2011-09-16 14:19:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 401 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r14()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->strip = true;
|
2011-09-16 14:19:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 405 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r15()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->strip = false;
|
2011-09-16 14:19:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 409 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r16()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
2013-08-24 18:46:31 +00:00
|
|
|
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);
|
|
|
|
}
|
2011-09-16 14:19:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 418 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r17()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = '';
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 422 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r18()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor;
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 426 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r19()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor . $this->yystack[$this->yyidx + 0]->minor;
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 434 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r21()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 447 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r23()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = $this->compiler->compileTag('private_print_expression', array(), array('value' => $this->yystack[$this->yyidx + 0]->minor));
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 451 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r24()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$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));
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 455 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r25()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = $this->compiler->compileTag('private_print_expression', $this->yystack[$this->yyidx + 0]->minor, array('value' => $this->yystack[$this->yyidx + - 1]->minor));
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 459 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r26()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$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));
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 472 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r28()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = $this->compiler->compileTag('assign', array(array('value' => $this->yystack[$this->yyidx + 0]->minor), array('var' => "'" . $this->yystack[$this->yyidx + - 2]->minor . "'")));
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 480 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r30()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$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));
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 484 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r31()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$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']));
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 489 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r32()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
2014-12-11 05:21:21 +01:00
|
|
|
if (defined($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));
|
|
|
|
} else {
|
|
|
|
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + - 1]->minor, $this->yystack[$this->yyidx + 0]->minor);
|
|
|
|
}
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 496 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r33()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
2014-12-11 05:21:21 +01:00
|
|
|
if (defined($this->yystack[$this->yyidx + 0]->minor)) {
|
|
|
|
$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());
|
|
|
|
}
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 506 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r34()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
2014-12-11 05:21:21 +01:00
|
|
|
if (defined($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));
|
|
|
|
} 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()')) . ';?>';
|
|
|
|
}
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 516 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r35()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
2014-12-11 05:21:21 +01:00
|
|
|
$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));
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 521 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r36()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$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 ';
|
2014-11-23 13:25:09 +01:00
|
|
|
$this->_retvalue .= $this->compiler->compileTag('private_modifier', array(), array('modifierlist' => $this->yystack[$this->yyidx + - 1]->minor, 'value' => 'ob_get_clean()')) . ';?>';
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 527 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r37()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$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));
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 532 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r38()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$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));
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 537 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r39()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$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));
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 548 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r41()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$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);
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 552 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r42()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = '=' . $this->yystack[$this->yyidx + 0]->minor;
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 560 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r44()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$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);
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 564 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r45()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$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);
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 569 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r46()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = $this->compiler->compileTag('foreach', $this->yystack[$this->yyidx + 0]->minor);
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 574 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r47()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$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))));
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 578 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r48()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$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))));
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 591 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r51()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$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))));
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 595 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r52()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$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)));
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 600 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r53()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$j = strrpos($this->yystack[$this->yyidx + 0]->minor, '.');
|
|
|
|
if ($this->yystack[$this->yyidx + 0]->minor[$j + 1] == 'c') {
|
|
|
|
// {$smarty.block.child}
|
|
|
|
$this->_retvalue = SMARTY_INTERNAL_COMPILE_BLOCK::compileChildBlock($this->compiler);
|
|
|
|
} else {
|
|
|
|
// {$smarty.block.parent}
|
|
|
|
$this->_retvalue = SMARTY_INTERNAL_COMPILE_BLOCK::compileParentBlock($this->compiler);
|
|
|
|
}
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 613 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r54()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + 0]->minor . 'close', array());
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 617 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r55()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + - 1]->minor . 'close', array(), array('modifier_list' => $this->yystack[$this->yyidx + 0]->minor));
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 622 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r56()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + - 2]->minor . 'close', array(), array('object_method' => $this->yystack[$this->yyidx + 0]->minor));
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 626 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r57()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$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));
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 634 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r58()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor;
|
|
|
|
$this->_retvalue[] = $this->yystack[$this->yyidx + 0]->minor;
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 640 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r59()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor);
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 645 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r60()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = array();
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 650 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r61()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
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');
|
2014-06-06 02:40:04 +00:00
|
|
|
} else {
|
2014-06-08 16:00:56 +00:00
|
|
|
$this->_retvalue = array($this->yystack[$this->yyidx + - 2]->minor => "'" . $this->yystack[$this->yyidx + 0]->minor . "'");
|
|
|
|
}
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 662 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r62()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = array(trim($this->yystack[$this->yyidx + - 1]->minor, " =\n\r\t") => $this->yystack[$this->yyidx + 0]->minor);
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 670 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r64()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = "'" . $this->yystack[$this->yyidx + 0]->minor . "'";
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 682 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r67()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = array($this->yystack[$this->yyidx + - 2]->minor => $this->yystack[$this->yyidx + 0]->minor);
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 695 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r69()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->yystack[$this->yyidx + - 2]->minor[] = $this->yystack[$this->yyidx + 0]->minor;
|
|
|
|
$this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor;
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 700 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r70()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = array('var' => $this->yystack[$this->yyidx + - 2]->minor, 'value' => $this->yystack[$this->yyidx + 0]->minor);
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 728 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r75()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = '$_smarty_tpl->getStreamVariable(\'' . $this->yystack[$this->yyidx + - 2]->minor . '://' . $this->yystack[$this->yyidx + 0]->minor . '\')';
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 733 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r76()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor . trim($this->yystack[$this->yyidx + - 1]->minor) . $this->yystack[$this->yyidx + 0]->minor;
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 752 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r80()
|
2014-10-07 22:07:15 +00:00
|
|
|
{
|
2014-06-08 16:00:56 +00:00
|
|
|
$this->_retvalue = $this->compiler->compileTag('private_modifier', array(), array('value' => $this->yystack[$this->yyidx + - 1]->minor, 'modifierlist' => $this->yystack[$this->yyidx + 0]->minor));
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 758 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r81()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor . $this->yystack[$this->yyidx + - 1]->minor . $this->yystack[$this->yyidx + 0]->minor;
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 762 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r82()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = 'in_array(' . $this->yystack[$this->yyidx + - 2]->minor . ',' . $this->yystack[$this->yyidx + 0]->minor . ')';
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 766 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r83()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = 'in_array(' . $this->yystack[$this->yyidx + - 2]->minor . ',(array)' . $this->yystack[$this->yyidx + 0]->minor . ')';
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 774 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r85()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = '!(' . $this->yystack[$this->yyidx + - 2]->minor . ' % ' . $this->yystack[$this->yyidx + 0]->minor . ')';
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 778 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r86()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = '(' . $this->yystack[$this->yyidx + - 2]->minor . ' % ' . $this->yystack[$this->yyidx + 0]->minor . ')';
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 782 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r87()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = '!(1 & ' . $this->yystack[$this->yyidx + - 1]->minor . ')';
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 786 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r88()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = '(1 & ' . $this->yystack[$this->yyidx + - 1]->minor . ')';
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 790 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r89()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = '!(1 & ' . $this->yystack[$this->yyidx + - 2]->minor . ' / ' . $this->yystack[$this->yyidx + 0]->minor . ')';
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 794 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-10-16 22:53:22 +00:00
|
|
|
function yy_r90()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = '(1 & ' . $this->yystack[$this->yyidx + - 2]->minor . ' / ' . $this->yystack[$this->yyidx + 0]->minor . ')';
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 814 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-11-12 19:07:00 +01:00
|
|
|
function yy_r95()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
2014-11-12 19:07:00 +01:00
|
|
|
// self::$prefix_number++;
|
|
|
|
// $this->compiler->prefix_code[] = '<?php $_tmp'.self::$prefix_number.'='.$this->yystack[$this->yyidx + -2]->minor.';? >';
|
|
|
|
// $this->_retvalue = '$_tmp'.self::$prefix_number.$this->yystack[$this->yyidx + -1]->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;
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 825 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-11-12 19:07:00 +01:00
|
|
|
function yy_r96()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = $this->yystack[$this->yyidx + - 6]->minor . ' ? ' . $this->compileVariable("'" . $this->yystack[$this->yyidx + - 2]->minor . "'") . ' : ' . $this->yystack[$this->yyidx + 0]->minor;
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 829 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-11-12 19:07:00 +01:00
|
|
|
function yy_r97()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = $this->yystack[$this->yyidx + - 5]->minor . ' ? ' . $this->yystack[$this->yyidx + - 2]->minor . ' : ' . $this->yystack[$this->yyidx + 0]->minor;
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 844 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-11-12 19:07:00 +01:00
|
|
|
function yy_r100()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = '!' . $this->yystack[$this->yyidx + 0]->minor;
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 865 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-11-12 19:07:00 +01:00
|
|
|
function yy_r105()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor . '.' . $this->yystack[$this->yyidx + 0]->minor;
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 869 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-11-12 19:07:00 +01:00
|
|
|
function yy_r106()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor . '.';
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 873 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-11-12 19:07:00 +01:00
|
|
|
function yy_r107()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = '.' . $this->yystack[$this->yyidx + 0]->minor;
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 878 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-11-12 19:07:00 +01:00
|
|
|
function yy_r108()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
2014-12-09 23:33:11 +01:00
|
|
|
if (defined($this->yystack[$this->yyidx + 0]->minor)) {
|
|
|
|
$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;
|
2014-06-08 16:00:56 +00:00
|
|
|
} else {
|
|
|
|
$this->_retvalue = "'" . $this->yystack[$this->yyidx + 0]->minor . "'";
|
|
|
|
}
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 892 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-11-12 19:07:00 +01:00
|
|
|
function yy_r110()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = "(" . $this->yystack[$this->yyidx + - 1]->minor . ")";
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 907 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r113()
|
2014-10-18 00:18:11 +02:00
|
|
|
{
|
2014-10-30 00:55:01 +01:00
|
|
|
self::$prefix_number ++;
|
2014-10-18 00:18:11 +02:00
|
|
|
if ($this->yystack[$this->yyidx + - 2]->minor['var'] == '\'smarty\'') {
|
2014-10-30 00:55:01 +01:00
|
|
|
$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']) . ';?>';
|
2014-10-18 00:18:11 +02:00
|
|
|
} else {
|
2014-10-30 00:55:01 +01:00
|
|
|
$this->compiler->prefix_code[] = '<?php $_tmp' . self::$prefix_number . ' = ' . $this->compileVariable($this->yystack[$this->yyidx + - 2]->minor['var']) . $this->yystack[$this->yyidx + - 2]->minor['smarty_internal_index'] . ';?>';
|
2014-10-18 00:18:11 +02:00
|
|
|
}
|
2014-10-30 00:55:01 +01:00
|
|
|
$this->_retvalue = '$_tmp' . self::$prefix_number . '::' . $this->yystack[$this->yyidx + 0]->minor;
|
2014-10-18 00:18:11 +02:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 919 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r114()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
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;
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 935 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r117()
|
2014-11-12 19:07:00 +01:00
|
|
|
{
|
|
|
|
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)) {
|
|
|
|
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;
|
|
|
|
} else {
|
|
|
|
$this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor . '::' . $this->yystack[$this->yyidx + 0]->minor;
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
$this->compiler->error("static class '" . $this->yystack[$this->yyidx + - 2]->minor . "' is undefined or not allowed by security setting");
|
|
|
|
}
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 969 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r121()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
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']);
|
|
|
|
$this->_retvalue = $smarty_var;
|
|
|
|
} else {
|
|
|
|
// 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'];
|
|
|
|
}
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 982 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r122()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = '$_smarty_tpl->tpl_vars[' . $this->yystack[$this->yyidx + - 2]->minor . ']->' . $this->yystack[$this->yyidx + 0]->minor;
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 992 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r124()
|
|
|
|
{
|
|
|
|
$this->_retvalue = '$_smarty_tpl->getConfigVariable( \'' . $this->yystack[$this->yyidx + - 1]->minor . '\')';
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 996 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-11-12 19:07:00 +01:00
|
|
|
function yy_r125()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
2014-12-09 23:33:11 +01:00
|
|
|
$this->_retvalue = '(is_array($tmp = $_smarty_tpl->getConfigVariable( \'' . $this->yystack[$this->yyidx + - 2]->minor . '\')) ? $tmp' . $this->yystack[$this->yyidx + 0]->minor . ' :null)';
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1000 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-11-12 19:07:00 +01:00
|
|
|
function yy_r126()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
2014-12-09 23:33:11 +01:00
|
|
|
$this->_retvalue = '$_smarty_tpl->getConfigVariable( ' . $this->yystack[$this->yyidx + - 1]->minor . ')';
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1004 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-11-12 19:07:00 +01:00
|
|
|
function yy_r127()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
2014-12-09 23:33:11 +01:00
|
|
|
$this->_retvalue = '(is_array($tmp = $_smarty_tpl->getConfigVariable( ' . $this->yystack[$this->yyidx + - 2]->minor . ')) ? $tmp' . $this->yystack[$this->yyidx + 0]->minor . ' : null)';
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1008 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-11-12 19:07:00 +01:00
|
|
|
function yy_r128()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
2014-12-09 23:33:11 +01:00
|
|
|
$this->_retvalue = array('var' => $this->yystack[$this->yyidx + - 1]->minor, 'smarty_internal_index' => $this->yystack[$this->yyidx + 0]->minor);
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1021 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r130()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
2014-12-09 23:33:11 +01:00
|
|
|
return;
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1027 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-11-12 19:07:00 +01:00
|
|
|
function yy_r131()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
2014-12-09 23:33:11 +01:00
|
|
|
$this->_retvalue = '[' . $this->compileVariable($this->yystack[$this->yyidx + 0]->minor) . ']';
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1031 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-11-12 19:07:00 +01:00
|
|
|
function yy_r132()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
2014-12-09 23:33:11 +01:00
|
|
|
$this->_retvalue = '[' . $this->compileVariable($this->yystack[$this->yyidx + - 2]->minor) . '->' . $this->yystack[$this->yyidx + 0]->minor . ']';
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1035 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-11-12 19:07:00 +01:00
|
|
|
function yy_r133()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
2014-12-09 23:33:11 +01:00
|
|
|
if (defined($this->yystack[$this->yyidx + 0]->minor)) {
|
|
|
|
$this->_retvalue = "[" . $this->yystack[$this->yyidx + 0]->minor . "]";
|
|
|
|
} else {
|
|
|
|
$this->_retvalue = "['" . $this->yystack[$this->yyidx + 0]->minor . "']";
|
|
|
|
}
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1043 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-11-12 19:07:00 +01:00
|
|
|
function yy_r134()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = "[" . $this->yystack[$this->yyidx + 0]->minor . "]";
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1048 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r135()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = "[" . $this->yystack[$this->yyidx + - 1]->minor . "]";
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1053 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r136()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = '[' . $this->compiler->compileTag('private_special_variable', array(), '[\'section\'][\'' . $this->yystack[$this->yyidx + - 1]->minor . '\'][\'index\']') . ']';
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1057 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r137()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = '[' . $this->compiler->compileTag('private_special_variable', array(), '[\'section\'][\'' . $this->yystack[$this->yyidx + - 3]->minor . '\'][\'' . $this->yystack[$this->yyidx + - 1]->minor . '\']') . ']';
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1067 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r139()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = '[]';
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1081 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r141()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor . '.' . $this->yystack[$this->yyidx + 0]->minor;
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1086 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r142()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = '\'' . $this->yystack[$this->yyidx + 0]->minor . '\'';
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1091 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r143()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = '(' . $this->yystack[$this->yyidx + - 1]->minor . ')';
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1098 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r144()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
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;
|
|
|
|
} 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;
|
|
|
|
}
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1107 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r145()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1112 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r146()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor . $this->yystack[$this->yyidx + 0]->minor;
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1117 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r147()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
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;
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1124 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r148()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
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 . '}';
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1131 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r149()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
if ($this->security) {
|
|
|
|
$this->compiler->trigger_template_error(self::Err2);
|
|
|
|
}
|
|
|
|
$this->_retvalue = '->{' . $this->yystack[$this->yyidx + - 2]->minor . $this->yystack[$this->yyidx + 0]->minor . '}';
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1138 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r150()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
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 . '}';
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1146 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r151()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = '->' . $this->yystack[$this->yyidx + 0]->minor;
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1154 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r152()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
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)) {
|
|
|
|
$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) {
|
|
|
|
self::$prefix_number ++;
|
|
|
|
$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);
|
|
|
|
}
|
|
|
|
$this->_retvalue = $this->yystack[$this->yyidx + - 3]->minor . "(" . $isset_par . ")";
|
|
|
|
} elseif (in_array($func_name, array('empty', 'reset', 'current', 'end', 'prev', 'next'))) {
|
|
|
|
if (count($this->yystack[$this->yyidx + - 1]->minor) != 1) {
|
|
|
|
$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]) . ')';
|
|
|
|
} else {
|
|
|
|
$this->_retvalue = $func_name . '(' . $this->yystack[$this->yyidx + - 1]->minor[0] . ')';
|
|
|
|
}
|
2011-09-16 14:19:56 +00:00
|
|
|
} else {
|
2014-06-08 16:00:56 +00:00
|
|
|
$this->_retvalue = $this->yystack[$this->yyidx + - 3]->minor . "(" . implode(',', $this->yystack[$this->yyidx + - 1]->minor) . ")";
|
2011-09-16 14:19:56 +00:00
|
|
|
}
|
|
|
|
} else {
|
2014-06-08 16:00:56 +00:00
|
|
|
$this->compiler->trigger_template_error("unknown function \"" . $this->yystack[$this->yyidx + - 3]->minor . "\"");
|
2011-09-16 14:19:56 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1193 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r153()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
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) . ")";
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1200 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r154()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
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) . ')';
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1211 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r155()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = array_merge($this->yystack[$this->yyidx + - 2]->minor, array($this->yystack[$this->yyidx + 0]->minor));
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1228 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r158()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$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)));
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1232 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r159()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = array(array_merge($this->yystack[$this->yyidx + - 1]->minor, $this->yystack[$this->yyidx + 0]->minor));
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1240 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r161()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor);
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1248 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r162()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = array_merge($this->yystack[$this->yyidx + - 1]->minor, $this->yystack[$this->yyidx + 0]->minor);
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1282 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r169()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = '$' . $this->yystack[$this->yyidx + - 1]->minor . $this->yystack[$this->yyidx + 0]->minor;
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1287 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r170()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = '$' . $this->yystack[$this->yyidx + - 2]->minor . $this->yystack[$this->yyidx + - 1]->minor . $this->yystack[$this->yyidx + 0]->minor;
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1293 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r171()
|
|
|
|
{
|
|
|
|
$this->_retvalue = '==';
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1297 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r172()
|
|
|
|
{
|
|
|
|
$this->_retvalue = '!=';
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1301 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-11-12 19:07:00 +01:00
|
|
|
function yy_r173()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
2014-12-09 23:33:11 +01:00
|
|
|
$this->_retvalue = '>';
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1305 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-11-12 19:07:00 +01:00
|
|
|
function yy_r174()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
2014-12-09 23:33:11 +01:00
|
|
|
$this->_retvalue = '<';
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1309 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-11-12 19:07:00 +01:00
|
|
|
function yy_r175()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
2014-12-09 23:33:11 +01:00
|
|
|
$this->_retvalue = '>=';
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1313 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-11-12 19:07:00 +01:00
|
|
|
function yy_r176()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
2014-12-09 23:33:11 +01:00
|
|
|
$this->_retvalue = '<=';
|
2011-09-16 14:19:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1317 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-11-12 19:07:00 +01:00
|
|
|
function yy_r177()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
2014-12-09 23:33:11 +01:00
|
|
|
$this->_retvalue = '===';
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1321 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-11-12 19:07:00 +01:00
|
|
|
function yy_r178()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
2014-12-09 23:33:11 +01:00
|
|
|
$this->_retvalue = '!==';
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1325 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-11-12 19:07:00 +01:00
|
|
|
function yy_r179()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
2014-12-09 23:33:11 +01:00
|
|
|
$this->_retvalue = '%';
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1329 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-11-12 19:07:00 +01:00
|
|
|
function yy_r180()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
2014-12-09 23:33:11 +01:00
|
|
|
$this->_retvalue = '&&';
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1333 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-11-12 19:07:00 +01:00
|
|
|
function yy_r181()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
2014-12-09 23:33:11 +01:00
|
|
|
$this->_retvalue = '||';
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1337 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-11-12 19:07:00 +01:00
|
|
|
function yy_r182()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
2014-12-09 23:33:11 +01:00
|
|
|
$this->_retvalue = ' XOR ';
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1344 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-11-12 19:07:00 +01:00
|
|
|
function yy_r183()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
2014-12-09 23:33:11 +01:00
|
|
|
$this->_retvalue = 'array(' . $this->yystack[$this->yyidx + - 1]->minor . ')';
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1352 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-11-12 19:07:00 +01:00
|
|
|
function yy_r185()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
2014-12-09 23:33:11 +01:00
|
|
|
$this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor . ',' . $this->yystack[$this->yyidx + 0]->minor;
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1360 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-11-12 19:07:00 +01:00
|
|
|
function yy_r187()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor . '=>' . $this->yystack[$this->yyidx + 0]->minor;
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1364 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r188()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = '\'' . $this->yystack[$this->yyidx + - 2]->minor . '\'=>' . $this->yystack[$this->yyidx + 0]->minor;
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1376 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r190()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = "''";
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1380 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r191()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor->to_smarty_php();
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1385 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r192()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->yystack[$this->yyidx + - 1]->minor->append_subtree($this->yystack[$this->yyidx + 0]->minor);
|
|
|
|
$this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor;
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1390 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r193()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = new _smarty_doublequoted($this, $this->yystack[$this->yyidx + 0]->minor);
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1394 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r194()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = new _smarty_code($this, '(string)' . $this->yystack[$this->yyidx + - 1]->minor);
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1402 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r196()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = new _smarty_code($this, '(string)$_smarty_tpl->tpl_vars[\'' . substr($this->yystack[$this->yyidx + 0]->minor, 1) . '\']->value');
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1410 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r198()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = new _smarty_code($this, '(string)(' . $this->yystack[$this->yyidx + - 1]->minor . ')');
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1414 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r199()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = new _smarty_tag($this, $this->yystack[$this->yyidx + - 1]->minor);
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
|
|
|
|
#line 1418 "../smarty/lexer/smarty_internal_templateparser.y"
|
2014-12-09 23:33:11 +01:00
|
|
|
function yy_r200()
|
2014-06-08 16:00:56 +00:00
|
|
|
{
|
|
|
|
$this->_retvalue = new _smarty_dq_content($this, $this->yystack[$this->yyidx + 0]->minor);
|
|
|
|
}
|
|
|
|
|
2010-12-05 22:15:23 +00:00
|
|
|
private $_retvalue;
|
|
|
|
|
2013-07-14 21:12:08 +00:00
|
|
|
public function yy_reduce($yyruleno)
|
2010-12-05 22:15:23 +00:00
|
|
|
{
|
|
|
|
$yymsp = $this->yystack[$this->yyidx];
|
2013-12-15 15:25:50 +00:00
|
|
|
if ($this->yyTraceFILE && $yyruleno >= 0
|
2014-06-08 16:00:56 +00:00
|
|
|
&& $yyruleno < count(self::$yyRuleName)
|
|
|
|
) {
|
2013-12-15 15:25:50 +00:00
|
|
|
fprintf($this->yyTraceFILE, "%sReduce (%d) [%s].\n",
|
2014-06-08 16:00:56 +00:00
|
|
|
$this->yyTracePrompt, $yyruleno,
|
|
|
|
self::$yyRuleName[$yyruleno]);
|
2010-12-05 22:15:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
$this->_retvalue = $yy_lefthand_side = null;
|
|
|
|
if (array_key_exists($yyruleno, self::$yyReduceMap)) {
|
|
|
|
// call the action
|
|
|
|
$this->_retvalue = null;
|
|
|
|
$this->{'yy_r' . self::$yyReduceMap[$yyruleno]}();
|
|
|
|
$yy_lefthand_side = $this->_retvalue;
|
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
$yygoto = self::$yyRuleInfo[$yyruleno][0];
|
|
|
|
$yysize = self::$yyRuleInfo[$yyruleno][1];
|
2010-12-05 22:15:23 +00:00
|
|
|
$this->yyidx -= $yysize;
|
2014-06-08 16:00:56 +00:00
|
|
|
for ($i = $yysize; $i; $i --) {
|
2010-12-05 22:15:23 +00:00
|
|
|
// pop all of the right-hand side parameters
|
|
|
|
array_pop($this->yystack);
|
|
|
|
}
|
|
|
|
$yyact = $this->yy_find_reduce_action($this->yystack[$this->yyidx]->stateno, $yygoto);
|
|
|
|
if ($yyact < self::YYNSTATE) {
|
2013-12-15 15:25:50 +00:00
|
|
|
if (!$this->yyTraceFILE && $yysize) {
|
2014-06-08 16:00:56 +00:00
|
|
|
$this->yyidx ++;
|
2010-12-05 22:15:23 +00:00
|
|
|
$x = new TP_yyStackEntry;
|
|
|
|
$x->stateno = $yyact;
|
|
|
|
$x->major = $yygoto;
|
|
|
|
$x->minor = $yy_lefthand_side;
|
|
|
|
$this->yystack[$this->yyidx] = $x;
|
|
|
|
} else {
|
|
|
|
$this->yy_shift($yyact, $yygoto, $yy_lefthand_side);
|
|
|
|
}
|
|
|
|
} elseif ($yyact == self::YYNSTATE + self::YYNRULE + 1) {
|
|
|
|
$this->yy_accept();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-07-14 21:12:08 +00:00
|
|
|
public function yy_parse_failed()
|
2010-12-05 22:15:23 +00:00
|
|
|
{
|
2013-12-15 15:25:50 +00:00
|
|
|
if ($this->yyTraceFILE) {
|
|
|
|
fprintf($this->yyTraceFILE, "%sFail!\n", $this->yyTracePrompt);
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
|
|
|
while ($this->yyidx >= 0) {
|
2010-12-05 22:15:23 +00:00
|
|
|
$this->yy_pop_parser_stack();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-07-14 21:12:08 +00:00
|
|
|
public function yy_syntax_error($yymajor, $TOKEN)
|
2010-12-05 22:15:23 +00:00
|
|
|
{
|
2014-12-13 23:02:29 +01:00
|
|
|
#line 208 "../smarty/lexer/smarty_internal_templateparser.y"
|
2010-12-05 22:15:23 +00:00
|
|
|
|
2014-06-08 16:00:56 +00:00
|
|
|
$this->internalError = true;
|
|
|
|
$this->yymajor = $yymajor;
|
|
|
|
$this->compiler->trigger_template_error();
|
2010-12-05 22:15:23 +00:00
|
|
|
}
|
|
|
|
|
2013-07-14 21:12:08 +00:00
|
|
|
public function yy_accept()
|
2010-12-05 22:15:23 +00:00
|
|
|
{
|
2013-12-15 15:25:50 +00:00
|
|
|
if ($this->yyTraceFILE) {
|
|
|
|
fprintf($this->yyTraceFILE, "%sAccept!\n", $this->yyTracePrompt);
|
2014-06-08 16:00:56 +00:00
|
|
|
}
|
|
|
|
while ($this->yyidx >= 0) {
|
2014-12-13 23:02:29 +01:00
|
|
|
$this->yy_pop_parser_stack();
|
2010-12-05 22:15:23 +00:00
|
|
|
}
|
2014-12-13 23:02:29 +01:00
|
|
|
#line 199 "../smarty/lexer/smarty_internal_templateparser.y"
|
2010-12-05 22:15:23 +00:00
|
|
|
|
2014-06-08 16:00:56 +00:00
|
|
|
$this->successful = !$this->internalError;
|
|
|
|
$this->internalError = false;
|
|
|
|
$this->retvalue = $this->_retvalue;
|
|
|
|
//echo $this->retvalue."\n\n";
|
2014-10-12 15:09:52 +00:00
|
|
|
|
2010-12-05 22:15:23 +00:00
|
|
|
}
|
|
|
|
|
2013-07-14 21:12:08 +00:00
|
|
|
public function doParse($yymajor, $yytokenvalue)
|
2010-12-05 22:15:23 +00:00
|
|
|
{
|
2014-10-07 22:07:15 +00:00
|
|
|
$yyerrorhit = 0; /* True if yymajor has invoked an error */
|
2011-03-09 13:26:34 +00:00
|
|
|
|
2010-12-05 22:15:23 +00:00
|
|
|
if ($this->yyidx === null || $this->yyidx < 0) {
|
|
|
|
$this->yyidx = 0;
|
2014-06-08 16:00:56 +00:00
|
|
|
$this->yyerrcnt = - 1;
|
2010-12-05 22:15:23 +00:00
|
|
|
$x = new TP_yyStackEntry;
|
|
|
|
$x->stateno = 0;
|
|
|
|
$x->major = 0;
|
|
|
|
$this->yystack = array();
|
|
|
|
array_push($this->yystack, $x);
|
|
|
|
}
|
2014-06-08 16:00:56 +00:00
|
|
|
$yyendofinput = ($yymajor == 0);
|
2011-03-09 13:26:34 +00:00
|
|
|
|
2013-12-15 15:25:50 +00:00
|
|
|
if ($this->yyTraceFILE) {
|
|
|
|
fprintf($this->yyTraceFILE, "%sInput %s\n",
|
2014-06-08 16:00:56 +00:00
|
|
|
$this->yyTracePrompt, $this->yyTokenName[$yymajor]);
|
2010-12-05 22:15:23 +00:00
|
|
|
}
|
2011-03-09 13:26:34 +00:00
|
|
|
|
2010-12-05 22:15:23 +00:00
|
|
|
do {
|
|
|
|
$yyact = $this->yy_find_shift_action($yymajor);
|
|
|
|
if ($yymajor < self::YYERRORSYMBOL &&
|
2014-06-08 16:00:56 +00:00
|
|
|
!$this->yy_is_expected_token($yymajor)
|
|
|
|
) {
|
2010-12-05 22:15:23 +00:00
|
|
|
// force a syntax error
|
|
|
|
$yyact = self::YY_ERROR_ACTION;
|
|
|
|
}
|
|
|
|
if ($yyact < self::YYNSTATE) {
|
|
|
|
$this->yy_shift($yyact, $yymajor, $yytokenvalue);
|
2014-06-08 16:00:56 +00:00
|
|
|
$this->yyerrcnt --;
|
2010-12-05 22:15:23 +00:00
|
|
|
if ($yyendofinput && $this->yyidx >= 0) {
|
|
|
|
$yymajor = 0;
|
|
|
|
} else {
|
|
|
|
$yymajor = self::YYNOCODE;
|
|
|
|
}
|
|
|
|
} elseif ($yyact < self::YYNSTATE + self::YYNRULE) {
|
|
|
|
$this->yy_reduce($yyact - self::YYNSTATE);
|
|
|
|
} elseif ($yyact == self::YY_ERROR_ACTION) {
|
2013-12-15 15:25:50 +00:00
|
|
|
if ($this->yyTraceFILE) {
|
|
|
|
fprintf($this->yyTraceFILE, "%sSyntax Error!\n",
|
2014-06-08 16:00:56 +00:00
|
|
|
$this->yyTracePrompt);
|
2010-12-05 22:15:23 +00:00
|
|
|
}
|
|
|
|
if (self::YYERRORSYMBOL) {
|
|
|
|
if ($this->yyerrcnt < 0) {
|
|
|
|
$this->yy_syntax_error($yymajor, $yytokenvalue);
|
|
|
|
}
|
|
|
|
$yymx = $this->yystack[$this->yyidx]->major;
|
2013-07-14 21:12:08 +00:00
|
|
|
if ($yymx == self::YYERRORSYMBOL || $yyerrorhit) {
|
2013-12-15 15:25:50 +00:00
|
|
|
if ($this->yyTraceFILE) {
|
|
|
|
fprintf($this->yyTraceFILE, "%sDiscard input token %s\n",
|
2014-06-08 16:00:56 +00:00
|
|
|
$this->yyTracePrompt, $this->yyTokenName[$yymajor]);
|
2010-12-05 22:15:23 +00:00
|
|
|
}
|
|
|
|
$this->yy_destructor($yymajor, $yytokenvalue);
|
|
|
|
$yymajor = self::YYNOCODE;
|
|
|
|
} else {
|
|
|
|
while ($this->yyidx >= 0 &&
|
2014-06-08 16:00:56 +00:00
|
|
|
$yymx != self::YYERRORSYMBOL &&
|
|
|
|
($yyact = $this->yy_find_shift_action(self::YYERRORSYMBOL)) >= self::YYNSTATE
|
|
|
|
) {
|
2010-12-05 22:15:23 +00:00
|
|
|
$this->yy_pop_parser_stack();
|
|
|
|
}
|
2014-06-08 16:00:56 +00:00
|
|
|
if ($this->yyidx < 0 || $yymajor == 0) {
|
2010-12-05 22:15:23 +00:00
|
|
|
$this->yy_destructor($yymajor, $yytokenvalue);
|
|
|
|
$this->yy_parse_failed();
|
|
|
|
$yymajor = self::YYNOCODE;
|
|
|
|
} elseif ($yymx != self::YYERRORSYMBOL) {
|
|
|
|
$u2 = 0;
|
|
|
|
$this->yy_shift($yyact, self::YYERRORSYMBOL, $u2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$this->yyerrcnt = 3;
|
|
|
|
$yyerrorhit = 1;
|
|
|
|
} else {
|
|
|
|
if ($this->yyerrcnt <= 0) {
|
|
|
|
$this->yy_syntax_error($yymajor, $yytokenvalue);
|
|
|
|
}
|
|
|
|
$this->yyerrcnt = 3;
|
|
|
|
$this->yy_destructor($yymajor, $yytokenvalue);
|
|
|
|
if ($yyendofinput) {
|
|
|
|
$this->yy_parse_failed();
|
|
|
|
}
|
|
|
|
$yymajor = self::YYNOCODE;
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
$this->yy_accept();
|
|
|
|
$yymajor = self::YYNOCODE;
|
2011-03-09 13:26:34 +00:00
|
|
|
}
|
2010-12-05 22:15:23 +00:00
|
|
|
} while ($yymajor != self::YYNOCODE && $this->yyidx >= 0);
|
|
|
|
}
|
2013-11-07 20:00:56 +00:00
|
|
|
}
|
2014-12-11 05:21:21 +01:00
|
|
|
|