2009-11-08 16:17:51 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Smarty Internal Plugin Templateparser
|
|
|
|
*
|
|
|
|
* This is the template parser.
|
|
|
|
* It is generated from the internal.templateparser.y file
|
|
|
|
* @package Smarty
|
|
|
|
* @subpackage Compiler
|
|
|
|
* @author Uwe Tews
|
|
|
|
*/
|
|
|
|
|
|
|
|
class TP_yyToken implements ArrayAccess
|
|
|
|
{
|
|
|
|
public $string = '';
|
|
|
|
public $metadata = array();
|
|
|
|
|
|
|
|
function __construct($s, $m = array())
|
|
|
|
{
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function __toString()
|
|
|
|
{
|
|
|
|
return $this->_string;
|
|
|
|
}
|
|
|
|
|
|
|
|
function offsetExists($offset)
|
|
|
|
{
|
|
|
|
return isset($this->metadata[$offset]);
|
|
|
|
}
|
|
|
|
|
|
|
|
function offsetGet($offset)
|
|
|
|
{
|
|
|
|
return $this->metadata[$offset];
|
|
|
|
}
|
|
|
|
|
|
|
|
function offsetSet($offset, $value)
|
|
|
|
{
|
|
|
|
if ($offset === null) {
|
|
|
|
if (isset($value[0])) {
|
|
|
|
$x = ($value instanceof TP_yyToken) ?
|
|
|
|
$value->metadata : $value;
|
|
|
|
$this->metadata = array_merge($this->metadata, $x);
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function offsetUnset($offset)
|
|
|
|
{
|
|
|
|
unset($this->metadata[$offset]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class TP_yyStackEntry
|
|
|
|
{
|
|
|
|
public $stateno; /* The state-number */
|
|
|
|
public $major; /* The major token value. This is the code
|
|
|
|
** number for the token at this stack level */
|
|
|
|
public $minor; /* The user-supplied minor token value. This
|
|
|
|
** is the value of the token */
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2009-12-05 15:10:47 +00:00
|
|
|
#line 12 "smarty_internal_templateparser.y"
|
|
|
|
class Smarty_Internal_Templateparser#line 79 "smarty_internal_templateparser.php"
|
2009-11-08 16:17:51 +00:00
|
|
|
{
|
2009-12-05 15:10:47 +00:00
|
|
|
#line 14 "smarty_internal_templateparser.y"
|
2009-10-22 23:05:14 +00:00
|
|
|
|
|
|
|
// states whether the parse was successful or not
|
|
|
|
public $successful = true;
|
|
|
|
public $retvalue = 0;
|
|
|
|
private $lex;
|
|
|
|
private $internalError = false;
|
|
|
|
|
|
|
|
function __construct($lex, $compiler) {
|
|
|
|
// set instance object
|
|
|
|
self::instance($this);
|
|
|
|
$this->lex = $lex;
|
|
|
|
$this->compiler = $compiler;
|
|
|
|
$this->smarty = $this->compiler->smarty;
|
|
|
|
$this->template = $this->compiler->template;
|
|
|
|
if ($this->template->security && isset($this->smarty->security_handler)) {
|
|
|
|
$this->sec_obj = $this->smarty->security_policy;
|
|
|
|
} else {
|
|
|
|
$this->sec_obj = $this->smarty;
|
|
|
|
}
|
|
|
|
$this->compiler->has_variable_string = false;
|
|
|
|
$this->compiler->prefix_code = array();
|
|
|
|
$this->prefix_number = 0;
|
|
|
|
}
|
|
|
|
public static function &instance($new_instance = null)
|
|
|
|
{
|
|
|
|
static $instance = null;
|
|
|
|
if (isset($new_instance) && is_object($new_instance))
|
|
|
|
$instance = $new_instance;
|
|
|
|
return $instance;
|
|
|
|
}
|
2009-12-27 15:06:49 +00:00
|
|
|
|
|
|
|
public static function escape_start_tag($tag_text) {
|
|
|
|
$tag = preg_replace('/\A<\?(.*)\z/', '<<?php ?>?\1', $tag_text, -1 , $count); //Escape tag
|
|
|
|
assert($tag !== false && $count === 1);
|
|
|
|
return $tag;
|
|
|
|
}
|
|
|
|
|
|
|
|
public static function escape_end_tag($tag_text) {
|
|
|
|
assert($tag_text === '?>');
|
|
|
|
return '?<?php ?>>';
|
|
|
|
}
|
|
|
|
|
2009-10-22 23:05:14 +00:00
|
|
|
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 126 "smarty_internal_templateparser.php"
|
2009-11-08 16:17:51 +00:00
|
|
|
|
2010-02-17 21:30:36 +00:00
|
|
|
const TP_VERT = 1;
|
|
|
|
const TP_COLON = 2;
|
|
|
|
const TP_COMMENT = 3;
|
|
|
|
const TP_PHPSTARTTAG = 4;
|
|
|
|
const TP_PHPENDTAG = 5;
|
|
|
|
const TP_FAKEPHPSTARTTAG = 6;
|
|
|
|
const TP_XMLTAG = 7;
|
|
|
|
const TP_OTHER = 8;
|
2010-02-24 18:01:03 +00:00
|
|
|
const TP_PHP_CODE = 9;
|
|
|
|
const TP_PHP_CODE_START_DOUBLEQUOTE = 10;
|
|
|
|
const TP_PHP_CODE_DOUBLEQUOTE = 11;
|
|
|
|
const TP_PHP_HEREDOC_START = 12;
|
|
|
|
const TP_PHP_HEREDOC_END = 13;
|
|
|
|
const TP_PHP_NOWDOC_START = 14;
|
|
|
|
const TP_PHP_NOWDOC_END = 15;
|
|
|
|
const TP_PHP_DQ_CONTENT = 16;
|
|
|
|
const TP_PHP_DQ_EMBED_START = 17;
|
|
|
|
const TP_PHP_DQ_EMBED_END = 18;
|
|
|
|
const TP_LITERALSTART = 19;
|
|
|
|
const TP_LITERALEND = 20;
|
|
|
|
const TP_LITERAL = 21;
|
|
|
|
const TP_LDEL = 22;
|
|
|
|
const TP_RDEL = 23;
|
|
|
|
const TP_DOLLAR = 24;
|
|
|
|
const TP_ID = 25;
|
|
|
|
const TP_EQUAL = 26;
|
|
|
|
const TP_FOREACH = 27;
|
|
|
|
const TP_PTR = 28;
|
|
|
|
const TP_IF = 29;
|
|
|
|
const TP_SPACE = 30;
|
|
|
|
const TP_UNIMATH = 31;
|
|
|
|
const TP_FOR = 32;
|
|
|
|
const TP_SEMICOLON = 33;
|
|
|
|
const TP_INCDEC = 34;
|
|
|
|
const TP_TO = 35;
|
|
|
|
const TP_STEP = 36;
|
|
|
|
const TP_AS = 37;
|
|
|
|
const TP_APTR = 38;
|
|
|
|
const TP_LDELSLASH = 39;
|
|
|
|
const TP_INTEGER = 40;
|
|
|
|
const TP_COMMA = 41;
|
|
|
|
const TP_MATH = 42;
|
|
|
|
const TP_ANDSYM = 43;
|
|
|
|
const TP_OPENP = 44;
|
|
|
|
const TP_CLOSEP = 45;
|
|
|
|
const TP_QMARK = 46;
|
|
|
|
const TP_NOT = 47;
|
|
|
|
const TP_TYPECAST = 48;
|
|
|
|
const TP_DOT = 49;
|
|
|
|
const TP_BOOLEAN = 50;
|
|
|
|
const TP_NULL = 51;
|
|
|
|
const TP_SINGLEQUOTESTRING = 52;
|
|
|
|
const TP_QUOTE = 53;
|
|
|
|
const TP_DOUBLECOLON = 54;
|
|
|
|
const TP_AT = 55;
|
|
|
|
const TP_HATCH = 56;
|
|
|
|
const TP_OPENB = 57;
|
|
|
|
const TP_CLOSEB = 58;
|
|
|
|
const TP_ISIN = 59;
|
|
|
|
const TP_ISDIVBY = 60;
|
|
|
|
const TP_ISNOTDIVBY = 61;
|
|
|
|
const TP_ISEVEN = 62;
|
|
|
|
const TP_ISNOTEVEN = 63;
|
|
|
|
const TP_ISEVENBY = 64;
|
|
|
|
const TP_ISNOTEVENBY = 65;
|
|
|
|
const TP_ISODD = 66;
|
|
|
|
const TP_ISNOTODD = 67;
|
|
|
|
const TP_ISODDBY = 68;
|
|
|
|
const TP_ISNOTODDBY = 69;
|
|
|
|
const TP_INSTANCEOF = 70;
|
|
|
|
const TP_EQUALS = 71;
|
|
|
|
const TP_NOTEQUALS = 72;
|
|
|
|
const TP_GREATERTHAN = 73;
|
|
|
|
const TP_LESSTHAN = 74;
|
|
|
|
const TP_GREATEREQUAL = 75;
|
|
|
|
const TP_LESSEQUAL = 76;
|
|
|
|
const TP_IDENTITY = 77;
|
|
|
|
const TP_NONEIDENTITY = 78;
|
|
|
|
const TP_MOD = 79;
|
|
|
|
const TP_LAND = 80;
|
|
|
|
const TP_LOR = 81;
|
|
|
|
const TP_LXOR = 82;
|
|
|
|
const TP_BACKTICK = 83;
|
|
|
|
const TP_DOLLARID = 84;
|
2010-02-26 13:28:54 +00:00
|
|
|
const YY_NO_ACTION = 623;
|
|
|
|
const YY_ACCEPT_ACTION = 622;
|
|
|
|
const YY_ERROR_ACTION = 621;
|
2009-11-08 16:17:51 +00:00
|
|
|
|
2010-02-26 13:28:54 +00:00
|
|
|
const YY_SZ_ACTTAB = 1636;
|
2009-12-05 15:10:47 +00:00
|
|
|
static public $yy_action = array(
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 0 */ 19, 28, 96, 62, 282, 104, 24, 205, 386, 54,
|
|
|
|
/* 10 */ 237, 622, 60, 306, 292, 273, 100, 129, 244, 3,
|
|
|
|
/* 20 */ 28, 55, 16, 282, 40, 53, 48, 387, 313, 326,
|
|
|
|
/* 30 */ 315, 61, 290, 26, 65, 10, 388, 95, 285, 89,
|
|
|
|
/* 40 */ 19, 90, 94, 195, 398, 24, 183, 252, 246, 54,
|
|
|
|
/* 50 */ 261, 206, 93, 400, 357, 100, 257, 129, 244, 389,
|
|
|
|
/* 60 */ 284, 49, 31, 196, 325, 53, 48, 271, 313, 326,
|
|
|
|
/* 70 */ 315, 61, 50, 47, 65, 10, 376, 346, 285, 153,
|
|
|
|
/* 80 */ 19, 312, 82, 209, 206, 188, 183, 201, 246, 54,
|
|
|
|
/* 90 */ 201, 192, 93, 37, 294, 94, 160, 129, 244, 43,
|
|
|
|
/* 100 */ 284, 262, 31, 194, 325, 53, 48, 271, 313, 326,
|
|
|
|
/* 110 */ 315, 61, 399, 51, 65, 10, 216, 226, 285, 206,
|
|
|
|
/* 120 */ 19, 28, 82, 209, 282, 27, 145, 65, 246, 54,
|
|
|
|
/* 130 */ 201, 28, 93, 24, 282, 27, 55, 129, 244, 191,
|
|
|
|
/* 140 */ 221, 206, 12, 100, 325, 11, 48, 271, 313, 326,
|
|
|
|
/* 150 */ 315, 61, 487, 177, 65, 10, 52, 192, 285, 487,
|
|
|
|
/* 160 */ 19, 168, 82, 199, 242, 43, 165, 28, 246, 54,
|
|
|
|
/* 170 */ 208, 279, 93, 182, 403, 94, 258, 129, 244, 402,
|
|
|
|
/* 180 */ 343, 49, 31, 248, 325, 53, 48, 271, 313, 326,
|
|
|
|
/* 190 */ 315, 61, 50, 47, 65, 10, 263, 328, 317, 52,
|
|
|
|
/* 200 */ 19, 298, 94, 202, 138, 28, 374, 65, 282, 54,
|
|
|
|
/* 210 */ 185, 169, 377, 265, 299, 292, 273, 129, 244, 294,
|
|
|
|
/* 220 */ 28, 229, 31, 282, 372, 53, 48, 201, 313, 326,
|
|
|
|
/* 230 */ 315, 61, 260, 133, 65, 10, 93, 63, 285, 303,
|
|
|
|
/* 240 */ 19, 296, 94, 197, 302, 274, 167, 373, 246, 54,
|
|
|
|
/* 250 */ 314, 271, 93, 247, 206, 201, 206, 129, 207, 38,
|
|
|
|
/* 260 */ 28, 405, 31, 282, 325, 53, 48, 271, 313, 326,
|
|
|
|
/* 270 */ 315, 61, 484, 49, 65, 10, 219, 264, 285, 484,
|
|
|
|
/* 280 */ 19, 23, 98, 209, 50, 47, 172, 347, 246, 54,
|
|
|
|
/* 290 */ 201, 201, 93, 24, 206, 2, 18, 129, 244, 410,
|
|
|
|
/* 300 */ 391, 156, 12, 100, 325, 11, 48, 271, 313, 326,
|
|
|
|
/* 310 */ 315, 61, 311, 1, 65, 10, 294, 230, 285, 206,
|
|
|
|
/* 320 */ 19, 25, 82, 209, 52, 143, 173, 233, 246, 54,
|
|
|
|
/* 330 */ 201, 24, 93, 28, 379, 190, 282, 129, 244, 256,
|
|
|
|
/* 340 */ 294, 100, 13, 382, 325, 11, 48, 271, 313, 326,
|
|
|
|
/* 350 */ 315, 61, 308, 297, 65, 10, 179, 403, 285, 206,
|
|
|
|
/* 360 */ 19, 162, 82, 193, 151, 139, 178, 187, 246, 54,
|
|
|
|
/* 370 */ 28, 383, 93, 282, 310, 147, 294, 129, 244, 294,
|
|
|
|
/* 380 */ 294, 206, 13, 55, 325, 11, 48, 271, 313, 326,
|
|
|
|
/* 390 */ 315, 61, 297, 323, 65, 10, 9, 248, 285, 137,
|
|
|
|
/* 400 */ 19, 163, 94, 202, 332, 186, 170, 34, 246, 54,
|
|
|
|
/* 410 */ 66, 206, 93, 24, 294, 298, 294, 129, 244, 291,
|
|
|
|
/* 420 */ 71, 4, 31, 100, 325, 53, 48, 271, 313, 326,
|
|
|
|
/* 430 */ 315, 61, 9, 55, 65, 142, 331, 367, 285, 21,
|
|
|
|
/* 440 */ 19, 22, 94, 203, 206, 141, 171, 300, 246, 54,
|
|
|
|
/* 450 */ 294, 28, 93, 201, 282, 201, 380, 129, 244, 252,
|
|
|
|
/* 460 */ 294, 150, 31, 297, 325, 53, 48, 271, 313, 326,
|
|
|
|
/* 470 */ 315, 61, 267, 146, 65, 42, 294, 245, 268, 206,
|
|
|
|
/* 480 */ 19, 188, 94, 210, 242, 206, 368, 278, 189, 54,
|
|
|
|
/* 490 */ 39, 42, 93, 206, 206, 149, 319, 129, 244, 366,
|
|
|
|
/* 500 */ 74, 238, 31, 206, 235, 53, 48, 271, 313, 326,
|
|
|
|
/* 510 */ 315, 61, 286, 408, 65, 323, 259, 88, 166, 8,
|
|
|
|
/* 520 */ 14, 358, 359, 7, 15, 360, 361, 6, 5, 218,
|
|
|
|
/* 530 */ 266, 483, 215, 88, 352, 88, 232, 88, 206, 355,
|
|
|
|
/* 540 */ 356, 362, 298, 1, 8, 14, 358, 359, 7, 15,
|
|
|
|
/* 550 */ 360, 361, 6, 5, 411, 396, 9, 152, 321, 286,
|
|
|
|
/* 560 */ 206, 206, 206, 159, 355, 356, 362, 8, 14, 358,
|
|
|
|
/* 570 */ 359, 7, 15, 360, 361, 6, 5, 309, 294, 305,
|
|
|
|
/* 580 */ 28, 412, 77, 249, 206, 354, 206, 355, 356, 362,
|
|
|
|
/* 590 */ 8, 14, 358, 359, 7, 15, 360, 361, 6, 5,
|
|
|
|
/* 600 */ 8, 14, 358, 359, 7, 15, 360, 361, 6, 5,
|
|
|
|
/* 610 */ 355, 356, 362, 79, 301, 75, 350, 409, 131, 175,
|
|
|
|
/* 620 */ 355, 356, 362, 206, 206, 274, 351, 274, 206, 277,
|
|
|
|
/* 630 */ 274, 68, 333, 206, 41, 375, 8, 14, 358, 359,
|
|
|
|
/* 640 */ 7, 15, 360, 361, 6, 5, 8, 14, 358, 359,
|
|
|
|
/* 650 */ 7, 15, 360, 361, 6, 5, 355, 356, 362, 241,
|
|
|
|
/* 660 */ 77, 222, 77, 217, 243, 157, 355, 356, 362, 8,
|
|
|
|
/* 670 */ 14, 358, 359, 7, 15, 360, 361, 6, 5, 348,
|
|
|
|
/* 680 */ 294, 135, 176, 403, 285, 70, 206, 130, 164, 355,
|
|
|
|
/* 690 */ 356, 362, 134, 274, 246, 59, 103, 57, 93, 274,
|
|
|
|
/* 700 */ 485, 180, 403, 294, 140, 132, 284, 485, 136, 198,
|
|
|
|
/* 710 */ 325, 220, 211, 271, 324, 45, 272, 274, 67, 294,
|
|
|
|
/* 720 */ 274, 101, 363, 206, 144, 158, 73, 342, 336, 337,
|
|
|
|
/* 730 */ 338, 341, 340, 353, 365, 364, 45, 483, 274, 294,
|
|
|
|
/* 740 */ 294, 231, 87, 280, 206, 36, 45, 32, 342, 336,
|
|
|
|
/* 750 */ 337, 338, 341, 340, 353, 365, 364, 35, 342, 336,
|
|
|
|
/* 760 */ 337, 338, 341, 340, 353, 365, 364, 329, 285, 91,
|
|
|
|
/* 770 */ 369, 334, 293, 45, 327, 97, 184, 227, 246, 69,
|
|
|
|
/* 780 */ 92, 20, 93, 181, 295, 342, 336, 337, 338, 341,
|
|
|
|
/* 790 */ 340, 353, 365, 364, 325, 276, 285, 271, 129, 370,
|
|
|
|
/* 800 */ 86, 23, 257, 281, 155, 298, 246, 127, 29, 112,
|
|
|
|
/* 810 */ 93, 316, 320, 212, 26, 269, 385, 107, 284, 285,
|
|
|
|
/* 820 */ 30, 198, 325, 283, 105, 271, 287, 155, 384, 246,
|
|
|
|
/* 830 */ 58, 102, 56, 93, 363, 304, 286, 279, 224, 285,
|
|
|
|
/* 840 */ 206, 284, 33, 322, 198, 325, 46, 128, 271, 246,
|
|
|
|
/* 850 */ 124, 307, 123, 93, 84, 42, 392, 363, 51, 72,
|
|
|
|
/* 860 */ 297, 284, 288, 161, 198, 325, 343, 343, 271, 275,
|
|
|
|
/* 870 */ 228, 343, 343, 17, 343, 285, 343, 363, 343, 343,
|
|
|
|
/* 880 */ 285, 343, 343, 148, 343, 246, 406, 343, 155, 93,
|
|
|
|
/* 890 */ 246, 127, 343, 121, 93, 343, 343, 284, 343, 343,
|
|
|
|
/* 900 */ 198, 325, 284, 343, 271, 198, 325, 343, 343, 271,
|
|
|
|
/* 910 */ 343, 285, 343, 343, 343, 343, 200, 404, 363, 155,
|
|
|
|
/* 920 */ 343, 246, 127, 343, 122, 93, 343, 343, 343, 369,
|
|
|
|
/* 930 */ 343, 343, 343, 284, 343, 343, 198, 325, 343, 236,
|
|
|
|
/* 940 */ 271, 343, 343, 45, 343, 343, 343, 343, 343, 363,
|
|
|
|
/* 950 */ 343, 343, 343, 45, 343, 342, 336, 337, 338, 341,
|
|
|
|
/* 960 */ 340, 353, 365, 364, 343, 342, 336, 337, 338, 341,
|
|
|
|
/* 970 */ 340, 353, 365, 364, 343, 285, 343, 343, 343, 343,
|
|
|
|
/* 980 */ 343, 343, 343, 155, 343, 246, 127, 343, 117, 93,
|
|
|
|
/* 990 */ 343, 343, 343, 343, 343, 285, 343, 284, 343, 343,
|
|
|
|
/* 1000 */ 198, 325, 343, 155, 271, 246, 127, 343, 119, 93,
|
|
|
|
/* 1010 */ 343, 343, 343, 363, 343, 285, 343, 284, 329, 343,
|
|
|
|
/* 1020 */ 198, 325, 343, 155, 271, 246, 126, 343, 113, 93,
|
|
|
|
/* 1030 */ 343, 343, 20, 363, 343, 343, 343, 284, 343, 343,
|
|
|
|
/* 1040 */ 198, 325, 343, 343, 271, 343, 285, 343, 343, 129,
|
|
|
|
/* 1050 */ 343, 343, 343, 363, 155, 343, 246, 126, 343, 110,
|
|
|
|
/* 1060 */ 93, 270, 76, 330, 371, 345, 407, 44, 284, 85,
|
|
|
|
/* 1070 */ 395, 198, 325, 285, 343, 271, 343, 169, 285, 343,
|
|
|
|
/* 1080 */ 19, 174, 343, 246, 363, 401, 154, 93, 246, 127,
|
|
|
|
/* 1090 */ 343, 120, 93, 33, 322, 394, 397, 129, 285, 325,
|
|
|
|
/* 1100 */ 284, 343, 271, 198, 325, 343, 155, 271, 246, 127,
|
|
|
|
/* 1110 */ 343, 115, 93, 343, 343, 343, 363, 343, 285, 343,
|
|
|
|
/* 1120 */ 284, 343, 343, 198, 325, 343, 155, 271, 246, 127,
|
|
|
|
/* 1130 */ 343, 111, 93, 343, 343, 343, 363, 343, 343, 343,
|
|
|
|
/* 1140 */ 284, 343, 343, 198, 325, 343, 343, 271, 343, 285,
|
|
|
|
/* 1150 */ 343, 343, 343, 343, 343, 343, 363, 155, 343, 246,
|
|
|
|
/* 1160 */ 125, 343, 114, 93, 343, 343, 343, 343, 343, 343,
|
|
|
|
/* 1170 */ 343, 284, 343, 343, 198, 325, 343, 343, 271, 343,
|
|
|
|
/* 1180 */ 343, 285, 343, 343, 343, 343, 343, 363, 343, 155,
|
|
|
|
/* 1190 */ 343, 246, 127, 343, 116, 93, 343, 343, 343, 343,
|
|
|
|
/* 1200 */ 343, 285, 343, 284, 343, 343, 198, 325, 343, 155,
|
|
|
|
/* 1210 */ 271, 246, 127, 343, 118, 93, 343, 343, 343, 363,
|
|
|
|
/* 1220 */ 343, 285, 343, 284, 343, 343, 198, 325, 343, 155,
|
|
|
|
/* 1230 */ 271, 246, 127, 343, 109, 93, 343, 343, 343, 363,
|
|
|
|
/* 1240 */ 343, 343, 343, 284, 343, 343, 198, 325, 343, 343,
|
|
|
|
/* 1250 */ 271, 343, 285, 343, 343, 343, 343, 343, 343, 363,
|
|
|
|
/* 1260 */ 64, 285, 78, 108, 106, 343, 80, 343, 343, 183,
|
|
|
|
/* 1270 */ 343, 246, 253, 343, 284, 93, 343, 198, 325, 343,
|
|
|
|
/* 1280 */ 343, 271, 343, 284, 285, 343, 198, 325, 343, 343,
|
|
|
|
/* 1290 */ 271, 343, 183, 285, 246, 253, 343, 213, 93, 343,
|
|
|
|
/* 1300 */ 343, 64, 343, 81, 99, 106, 284, 80, 343, 198,
|
|
|
|
/* 1310 */ 325, 343, 343, 271, 343, 284, 285, 343, 198, 325,
|
|
|
|
/* 1320 */ 225, 285, 271, 343, 148, 343, 246, 406, 343, 183,
|
|
|
|
/* 1330 */ 93, 246, 253, 343, 343, 93, 343, 343, 284, 343,
|
|
|
|
/* 1340 */ 343, 198, 325, 284, 343, 271, 198, 325, 343, 343,
|
|
|
|
/* 1350 */ 271, 285, 343, 343, 343, 343, 285, 344, 393, 183,
|
|
|
|
/* 1360 */ 343, 246, 253, 343, 183, 93, 246, 390, 343, 343,
|
|
|
|
/* 1370 */ 93, 343, 343, 284, 343, 343, 198, 325, 284, 343,
|
|
|
|
/* 1380 */ 271, 198, 325, 285, 343, 271, 343, 250, 285, 343,
|
|
|
|
/* 1390 */ 343, 183, 343, 246, 318, 343, 183, 93, 246, 335,
|
|
|
|
/* 1400 */ 343, 343, 93, 343, 343, 284, 343, 343, 198, 325,
|
|
|
|
/* 1410 */ 284, 285, 271, 198, 325, 343, 285, 271, 343, 183,
|
|
|
|
/* 1420 */ 343, 246, 339, 343, 183, 93, 246, 83, 343, 343,
|
|
|
|
/* 1430 */ 93, 343, 343, 284, 343, 343, 198, 325, 284, 343,
|
|
|
|
/* 1440 */ 271, 198, 325, 343, 343, 271, 285, 343, 343, 343,
|
|
|
|
/* 1450 */ 343, 285, 343, 343, 183, 343, 246, 255, 343, 183,
|
|
|
|
/* 1460 */ 93, 246, 254, 343, 343, 93, 343, 343, 284, 343,
|
|
|
|
/* 1470 */ 343, 198, 325, 284, 343, 271, 198, 325, 285, 343,
|
|
|
|
/* 1480 */ 271, 343, 343, 285, 343, 343, 183, 343, 246, 378,
|
|
|
|
/* 1490 */ 343, 183, 93, 246, 239, 343, 343, 93, 343, 343,
|
|
|
|
/* 1500 */ 284, 343, 343, 198, 325, 284, 285, 271, 198, 325,
|
|
|
|
/* 1510 */ 343, 285, 271, 343, 183, 343, 246, 223, 343, 183,
|
|
|
|
/* 1520 */ 93, 246, 234, 343, 343, 93, 343, 343, 284, 343,
|
|
|
|
/* 1530 */ 343, 198, 325, 284, 343, 271, 198, 325, 343, 343,
|
|
|
|
/* 1540 */ 271, 285, 343, 343, 343, 343, 285, 343, 343, 183,
|
|
|
|
/* 1550 */ 343, 204, 240, 343, 183, 93, 246, 251, 343, 343,
|
|
|
|
/* 1560 */ 93, 343, 343, 284, 343, 343, 198, 325, 284, 343,
|
|
|
|
/* 1570 */ 271, 198, 325, 285, 343, 271, 343, 343, 285, 343,
|
|
|
|
/* 1580 */ 343, 183, 343, 246, 381, 343, 183, 93, 246, 349,
|
|
|
|
/* 1590 */ 343, 343, 93, 343, 343, 284, 343, 343, 198, 325,
|
|
|
|
/* 1600 */ 284, 285, 271, 198, 325, 343, 285, 271, 343, 183,
|
|
|
|
/* 1610 */ 343, 246, 214, 343, 183, 93, 246, 289, 343, 343,
|
|
|
|
/* 1620 */ 93, 343, 343, 284, 343, 343, 198, 325, 284, 343,
|
|
|
|
/* 1630 */ 271, 198, 325, 343, 343, 271,
|
2009-12-05 15:10:47 +00:00
|
|
|
);
|
|
|
|
static public $yy_lookahead = array(
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 0 */ 22, 22, 24, 25, 25, 27, 44, 29, 56, 31,
|
|
|
|
/* 10 */ 32, 86, 87, 88, 89, 90, 54, 39, 40, 26,
|
|
|
|
/* 20 */ 22, 28, 44, 25, 26, 47, 48, 56, 50, 51,
|
|
|
|
/* 30 */ 52, 53, 34, 26, 56, 57, 9, 10, 89, 12,
|
|
|
|
/* 40 */ 22, 14, 24, 25, 23, 44, 97, 54, 99, 31,
|
|
|
|
/* 50 */ 49, 30, 103, 23, 15, 54, 49, 39, 40, 58,
|
|
|
|
/* 60 */ 111, 31, 44, 114, 115, 47, 48, 118, 50, 51,
|
|
|
|
/* 70 */ 52, 53, 42, 43, 56, 57, 58, 23, 89, 98,
|
|
|
|
/* 80 */ 22, 40, 24, 25, 30, 104, 97, 1, 99, 31,
|
|
|
|
/* 90 */ 1, 49, 103, 22, 113, 24, 25, 39, 40, 57,
|
|
|
|
/* 100 */ 111, 25, 44, 114, 115, 47, 48, 118, 50, 51,
|
|
|
|
/* 110 */ 52, 53, 23, 2, 56, 57, 40, 28, 89, 30,
|
|
|
|
/* 120 */ 22, 22, 24, 25, 25, 26, 97, 56, 99, 31,
|
|
|
|
/* 130 */ 1, 22, 103, 44, 25, 26, 28, 39, 40, 23,
|
|
|
|
/* 140 */ 111, 30, 44, 54, 115, 47, 48, 118, 50, 51,
|
|
|
|
/* 150 */ 52, 53, 23, 33, 56, 57, 70, 49, 89, 30,
|
|
|
|
/* 160 */ 22, 41, 24, 25, 55, 57, 97, 22, 99, 31,
|
|
|
|
/* 170 */ 25, 120, 103, 122, 123, 24, 25, 39, 40, 23,
|
|
|
|
/* 180 */ 111, 31, 44, 2, 115, 47, 48, 118, 50, 51,
|
|
|
|
/* 190 */ 52, 53, 42, 43, 56, 57, 4, 5, 6, 70,
|
|
|
|
/* 200 */ 22, 34, 24, 25, 98, 22, 23, 56, 25, 31,
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 210 */ 104, 19, 20, 21, 88, 89, 90, 39, 40, 113,
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 220 */ 22, 38, 44, 25, 45, 47, 48, 1, 50, 51,
|
|
|
|
/* 230 */ 52, 53, 99, 109, 56, 57, 103, 25, 89, 27,
|
|
|
|
/* 240 */ 22, 29, 24, 25, 32, 121, 97, 23, 99, 31,
|
|
|
|
/* 250 */ 83, 118, 103, 55, 30, 1, 30, 39, 40, 22,
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 260 */ 22, 23, 44, 25, 115, 47, 48, 118, 50, 51,
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 270 */ 52, 53, 23, 31, 56, 57, 38, 23, 89, 30,
|
|
|
|
/* 280 */ 22, 44, 24, 25, 42, 43, 97, 23, 99, 31,
|
|
|
|
/* 290 */ 1, 1, 103, 44, 30, 30, 31, 39, 40, 25,
|
|
|
|
/* 300 */ 58, 98, 44, 54, 115, 47, 48, 118, 50, 51,
|
|
|
|
/* 310 */ 52, 53, 23, 26, 56, 57, 113, 28, 89, 30,
|
|
|
|
/* 320 */ 22, 41, 24, 25, 70, 98, 97, 37, 99, 31,
|
|
|
|
/* 330 */ 1, 44, 103, 22, 23, 23, 25, 39, 40, 25,
|
|
|
|
/* 340 */ 113, 54, 44, 58, 115, 47, 48, 118, 50, 51,
|
|
|
|
/* 350 */ 52, 53, 23, 126, 56, 57, 122, 123, 89, 30,
|
|
|
|
/* 360 */ 22, 98, 24, 25, 98, 98, 97, 104, 99, 31,
|
|
|
|
/* 370 */ 22, 23, 103, 25, 23, 119, 113, 39, 40, 113,
|
|
|
|
/* 380 */ 113, 30, 44, 28, 115, 47, 48, 118, 50, 51,
|
|
|
|
/* 390 */ 52, 53, 126, 89, 56, 57, 129, 2, 89, 98,
|
|
|
|
/* 400 */ 22, 98, 24, 25, 23, 104, 97, 38, 99, 31,
|
|
|
|
/* 410 */ 119, 30, 103, 44, 113, 34, 113, 39, 40, 123,
|
|
|
|
/* 420 */ 116, 26, 44, 54, 115, 47, 48, 118, 50, 51,
|
|
|
|
/* 430 */ 52, 53, 129, 28, 56, 98, 132, 23, 89, 41,
|
|
|
|
/* 440 */ 22, 44, 24, 25, 30, 98, 97, 25, 99, 31,
|
|
|
|
/* 450 */ 113, 22, 103, 1, 25, 1, 58, 39, 40, 54,
|
|
|
|
/* 460 */ 113, 98, 44, 126, 115, 47, 48, 118, 50, 51,
|
|
|
|
/* 470 */ 52, 53, 23, 119, 56, 128, 113, 55, 23, 30,
|
|
|
|
/* 480 */ 22, 104, 24, 25, 55, 30, 23, 23, 99, 31,
|
|
|
|
/* 490 */ 38, 128, 103, 30, 30, 119, 23, 39, 40, 16,
|
|
|
|
/* 500 */ 17, 110, 44, 30, 45, 47, 48, 118, 50, 51,
|
|
|
|
/* 510 */ 52, 53, 121, 124, 56, 89, 93, 94, 105, 60,
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 520 */ 61, 62, 63, 64, 65, 66, 67, 68, 69, 45,
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 530 */ 23, 23, 93, 94, 93, 94, 93, 94, 30, 80,
|
|
|
|
/* 540 */ 81, 82, 34, 26, 60, 61, 62, 63, 64, 65,
|
|
|
|
/* 550 */ 66, 67, 68, 69, 23, 23, 129, 119, 132, 121,
|
|
|
|
/* 560 */ 30, 30, 30, 98, 80, 81, 82, 60, 61, 62,
|
|
|
|
/* 570 */ 63, 64, 65, 66, 67, 68, 69, 23, 113, 23,
|
|
|
|
/* 580 */ 22, 91, 92, 25, 30, 45, 30, 80, 81, 82,
|
|
|
|
/* 590 */ 60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 600 */ 60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 610 */ 80, 81, 82, 109, 25, 109, 23, 23, 109, 33,
|
|
|
|
/* 620 */ 80, 81, 82, 30, 30, 121, 23, 121, 30, 90,
|
|
|
|
/* 630 */ 121, 105, 23, 30, 36, 96, 60, 61, 62, 63,
|
|
|
|
/* 640 */ 64, 65, 66, 67, 68, 69, 60, 61, 62, 63,
|
|
|
|
/* 650 */ 64, 65, 66, 67, 68, 69, 80, 81, 82, 91,
|
|
|
|
/* 660 */ 92, 91, 92, 24, 25, 98, 80, 81, 82, 60,
|
|
|
|
/* 670 */ 61, 62, 63, 64, 65, 66, 67, 68, 69, 23,
|
|
|
|
/* 680 */ 113, 109, 122, 123, 89, 105, 30, 109, 98, 80,
|
|
|
|
/* 690 */ 81, 82, 97, 121, 99, 100, 101, 102, 103, 121,
|
|
|
|
/* 700 */ 23, 122, 123, 113, 98, 109, 111, 30, 109, 114,
|
|
|
|
/* 710 */ 115, 106, 107, 118, 117, 59, 23, 121, 105, 113,
|
|
|
|
/* 720 */ 121, 124, 127, 30, 98, 98, 109, 71, 72, 73,
|
|
|
|
/* 730 */ 74, 75, 76, 77, 78, 79, 59, 23, 121, 113,
|
|
|
|
/* 740 */ 113, 37, 24, 5, 30, 35, 59, 46, 71, 72,
|
|
|
|
/* 750 */ 73, 74, 75, 76, 77, 78, 79, 2, 71, 72,
|
|
|
|
/* 760 */ 73, 74, 75, 76, 77, 78, 79, 8, 89, 24,
|
|
|
|
/* 770 */ 45, 11, 23, 59, 45, 24, 97, 25, 99, 25,
|
|
|
|
/* 780 */ 24, 22, 103, 25, 23, 71, 72, 73, 74, 75,
|
|
|
|
/* 790 */ 76, 77, 78, 79, 115, 25, 89, 118, 39, 18,
|
|
|
|
/* 800 */ 24, 44, 49, 25, 97, 34, 99, 100, 2, 102,
|
|
|
|
/* 810 */ 103, 83, 53, 106, 26, 23, 23, 30, 111, 89,
|
|
|
|
/* 820 */ 46, 114, 115, 23, 45, 118, 25, 97, 13, 99,
|
|
|
|
/* 830 */ 100, 101, 102, 103, 127, 113, 121, 120, 112, 89,
|
|
|
|
/* 840 */ 30, 111, 83, 84, 114, 115, 30, 97, 118, 99,
|
|
|
|
/* 850 */ 100, 101, 102, 103, 24, 128, 20, 127, 2, 95,
|
|
|
|
/* 860 */ 126, 111, 30, 119, 114, 115, 133, 133, 118, 106,
|
|
|
|
/* 870 */ 108, 133, 133, 108, 133, 89, 133, 127, 133, 133,
|
|
|
|
/* 880 */ 89, 133, 133, 97, 133, 99, 100, 133, 97, 103,
|
|
|
|
/* 890 */ 99, 100, 133, 102, 103, 133, 133, 111, 133, 133,
|
|
|
|
/* 900 */ 114, 115, 111, 133, 118, 114, 115, 133, 133, 118,
|
|
|
|
/* 910 */ 133, 89, 133, 133, 133, 133, 130, 131, 127, 97,
|
|
|
|
/* 920 */ 133, 99, 100, 133, 102, 103, 133, 133, 133, 45,
|
|
|
|
/* 930 */ 133, 133, 133, 111, 133, 133, 114, 115, 133, 45,
|
|
|
|
/* 940 */ 118, 133, 133, 59, 133, 133, 133, 133, 133, 127,
|
|
|
|
/* 950 */ 133, 133, 133, 59, 133, 71, 72, 73, 74, 75,
|
|
|
|
/* 960 */ 76, 77, 78, 79, 133, 71, 72, 73, 74, 75,
|
|
|
|
/* 970 */ 76, 77, 78, 79, 133, 89, 133, 133, 133, 133,
|
|
|
|
/* 980 */ 133, 133, 133, 97, 133, 99, 100, 133, 102, 103,
|
|
|
|
/* 990 */ 133, 133, 133, 133, 133, 89, 133, 111, 133, 133,
|
|
|
|
/* 1000 */ 114, 115, 133, 97, 118, 99, 100, 133, 102, 103,
|
|
|
|
/* 1010 */ 133, 133, 133, 127, 133, 89, 133, 111, 8, 133,
|
|
|
|
/* 1020 */ 114, 115, 133, 97, 118, 99, 100, 133, 102, 103,
|
|
|
|
/* 1030 */ 133, 133, 22, 127, 133, 133, 133, 111, 133, 133,
|
|
|
|
/* 1040 */ 114, 115, 133, 133, 118, 133, 89, 133, 133, 39,
|
|
|
|
/* 1050 */ 133, 133, 133, 127, 97, 133, 99, 100, 133, 102,
|
|
|
|
/* 1060 */ 103, 3, 4, 53, 6, 7, 8, 22, 111, 24,
|
|
|
|
/* 1070 */ 25, 114, 115, 89, 133, 118, 133, 19, 89, 133,
|
|
|
|
/* 1080 */ 22, 97, 133, 99, 127, 40, 97, 103, 99, 100,
|
|
|
|
/* 1090 */ 133, 102, 103, 83, 84, 50, 51, 39, 89, 115,
|
|
|
|
/* 1100 */ 111, 133, 118, 114, 115, 133, 97, 118, 99, 100,
|
|
|
|
/* 1110 */ 133, 102, 103, 133, 133, 133, 127, 133, 89, 133,
|
|
|
|
/* 1120 */ 111, 133, 133, 114, 115, 133, 97, 118, 99, 100,
|
|
|
|
/* 1130 */ 133, 102, 103, 133, 133, 133, 127, 133, 133, 133,
|
|
|
|
/* 1140 */ 111, 133, 133, 114, 115, 133, 133, 118, 133, 89,
|
|
|
|
/* 1150 */ 133, 133, 133, 133, 133, 133, 127, 97, 133, 99,
|
|
|
|
/* 1160 */ 100, 133, 102, 103, 133, 133, 133, 133, 133, 133,
|
|
|
|
/* 1170 */ 133, 111, 133, 133, 114, 115, 133, 133, 118, 133,
|
|
|
|
/* 1180 */ 133, 89, 133, 133, 133, 133, 133, 127, 133, 97,
|
|
|
|
/* 1190 */ 133, 99, 100, 133, 102, 103, 133, 133, 133, 133,
|
|
|
|
/* 1200 */ 133, 89, 133, 111, 133, 133, 114, 115, 133, 97,
|
|
|
|
/* 1210 */ 118, 99, 100, 133, 102, 103, 133, 133, 133, 127,
|
|
|
|
/* 1220 */ 133, 89, 133, 111, 133, 133, 114, 115, 133, 97,
|
|
|
|
/* 1230 */ 118, 99, 100, 133, 102, 103, 133, 133, 133, 127,
|
|
|
|
/* 1240 */ 133, 133, 133, 111, 133, 133, 114, 115, 133, 133,
|
|
|
|
/* 1250 */ 118, 133, 89, 133, 133, 133, 133, 133, 133, 127,
|
|
|
|
/* 1260 */ 97, 89, 99, 100, 101, 133, 103, 133, 133, 97,
|
|
|
|
/* 1270 */ 133, 99, 100, 133, 111, 103, 133, 114, 115, 133,
|
|
|
|
/* 1280 */ 133, 118, 133, 111, 89, 133, 114, 115, 133, 133,
|
|
|
|
/* 1290 */ 118, 133, 97, 89, 99, 100, 133, 125, 103, 133,
|
|
|
|
/* 1300 */ 133, 97, 133, 99, 100, 101, 111, 103, 133, 114,
|
|
|
|
/* 1310 */ 115, 133, 133, 118, 133, 111, 89, 133, 114, 115,
|
|
|
|
/* 1320 */ 125, 89, 118, 133, 97, 133, 99, 100, 133, 97,
|
|
|
|
/* 1330 */ 103, 99, 100, 133, 133, 103, 133, 133, 111, 133,
|
|
|
|
/* 1340 */ 133, 114, 115, 111, 133, 118, 114, 115, 133, 133,
|
|
|
|
/* 1350 */ 118, 89, 133, 133, 133, 133, 89, 125, 131, 97,
|
|
|
|
/* 1360 */ 133, 99, 100, 133, 97, 103, 99, 100, 133, 133,
|
|
|
|
/* 1370 */ 103, 133, 133, 111, 133, 133, 114, 115, 111, 133,
|
|
|
|
/* 1380 */ 118, 114, 115, 89, 133, 118, 133, 125, 89, 133,
|
|
|
|
/* 1390 */ 133, 97, 133, 99, 100, 133, 97, 103, 99, 100,
|
|
|
|
/* 1400 */ 133, 133, 103, 133, 133, 111, 133, 133, 114, 115,
|
|
|
|
/* 1410 */ 111, 89, 118, 114, 115, 133, 89, 118, 133, 97,
|
|
|
|
/* 1420 */ 133, 99, 100, 133, 97, 103, 99, 100, 133, 133,
|
|
|
|
/* 1430 */ 103, 133, 133, 111, 133, 133, 114, 115, 111, 133,
|
|
|
|
/* 1440 */ 118, 114, 115, 133, 133, 118, 89, 133, 133, 133,
|
|
|
|
/* 1450 */ 133, 89, 133, 133, 97, 133, 99, 100, 133, 97,
|
|
|
|
/* 1460 */ 103, 99, 100, 133, 133, 103, 133, 133, 111, 133,
|
|
|
|
/* 1470 */ 133, 114, 115, 111, 133, 118, 114, 115, 89, 133,
|
|
|
|
/* 1480 */ 118, 133, 133, 89, 133, 133, 97, 133, 99, 100,
|
|
|
|
/* 1490 */ 133, 97, 103, 99, 100, 133, 133, 103, 133, 133,
|
|
|
|
/* 1500 */ 111, 133, 133, 114, 115, 111, 89, 118, 114, 115,
|
|
|
|
/* 1510 */ 133, 89, 118, 133, 97, 133, 99, 100, 133, 97,
|
|
|
|
/* 1520 */ 103, 99, 100, 133, 133, 103, 133, 133, 111, 133,
|
|
|
|
/* 1530 */ 133, 114, 115, 111, 133, 118, 114, 115, 133, 133,
|
|
|
|
/* 1540 */ 118, 89, 133, 133, 133, 133, 89, 133, 133, 97,
|
|
|
|
/* 1550 */ 133, 99, 100, 133, 97, 103, 99, 100, 133, 133,
|
|
|
|
/* 1560 */ 103, 133, 133, 111, 133, 133, 114, 115, 111, 133,
|
|
|
|
/* 1570 */ 118, 114, 115, 89, 133, 118, 133, 133, 89, 133,
|
|
|
|
/* 1580 */ 133, 97, 133, 99, 100, 133, 97, 103, 99, 100,
|
|
|
|
/* 1590 */ 133, 133, 103, 133, 133, 111, 133, 133, 114, 115,
|
|
|
|
/* 1600 */ 111, 89, 118, 114, 115, 133, 89, 118, 133, 97,
|
|
|
|
/* 1610 */ 133, 99, 100, 133, 97, 103, 99, 100, 133, 133,
|
|
|
|
/* 1620 */ 103, 133, 133, 111, 133, 133, 114, 115, 111, 133,
|
|
|
|
/* 1630 */ 118, 114, 115, 133, 133, 118,
|
2009-12-05 15:10:47 +00:00
|
|
|
);
|
2010-02-26 13:28:54 +00:00
|
|
|
const YY_SHIFT_USE_DFLT = -49;
|
|
|
|
const YY_SHIFT_MAX = 262;
|
2009-12-05 15:10:47 +00:00
|
|
|
static public $yy_shift_ofst = array(
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 0 */ 1058, 338, 258, 298, 298, 98, 98, 98, 98, 98,
|
|
|
|
/* 10 */ 138, 98, 98, 98, 98, 98, 98, 98, 98, -22,
|
|
|
|
/* 20 */ -22, 138, 58, 58, 58, 58, 58, 58, 58, 58,
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 30 */ 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
|
|
|
|
/* 40 */ 58, 58, 58, 18, 178, 178, 218, 378, 378, 378,
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 50 */ 378, 458, 418, 378, 378, 71, 530, 530, 714, 656,
|
|
|
|
/* 60 */ 1058, 1010, 89, 289, 329, 151, 108, 111, 111, 226,
|
|
|
|
/* 70 */ 111, 759, 192, 109, 27, -2, 27, 27, 508, 429,
|
|
|
|
/* 80 */ -7, 381, 558, 598, -21, -21, -21, -21, 483, 483,
|
|
|
|
/* 90 */ 483, -21, -21, 405, -21, 483, 145, -21, 558, 693,
|
|
|
|
/* 100 */ 639, 355, 810, 810, 816, 355, 810, 830, 810, 507,
|
|
|
|
/* 110 */ 484, 586, 609, 459, 540, 576, 576, 576, 576, 576,
|
|
|
|
/* 120 */ 576, 576, 576, 576, 677, 884, 894, 687, 129, 212,
|
|
|
|
/* 130 */ 238, 183, 348, 311, 254, 99, 198, 224, 21, 54,
|
|
|
|
/* 140 */ 264, 603, 532, 554, 531, 290, 42, 42, 452, 42,
|
|
|
|
/* 150 */ 593, 594, 42, 556, 86, 86, 473, 464, 449, 455,
|
|
|
|
/* 160 */ 237, 42, 351, 414, 463, 454, 856, 454, 830, 836,
|
|
|
|
/* 170 */ 454, 454, 454, 454, 454, 832, 355, 832, 454, 355,
|
|
|
|
/* 180 */ 355, 397, 355, 454, -49, -49, -49, -49, -49, -49,
|
|
|
|
/* 190 */ -49, -49, 1045, 249, 242, 1, 30, 287, 150, 369,
|
|
|
|
/* 200 */ 398, 422, -38, -38, 167, 265, 76, 7, 395, -38,
|
|
|
|
/* 210 */ -38, 120, 793, 779, 792, 815, 788, 758, 701, 745,
|
|
|
|
/* 220 */ 710, 704, 738, 725, 761, 729, 754, 749, 751, 776,
|
|
|
|
/* 230 */ 752, 756, 760, 718, 755, 701, 774, 787, 800, 806,
|
|
|
|
/* 240 */ 728, 781, 770, 757, 753, 589, 771, 778, 801, 181,
|
|
|
|
/* 250 */ 179, 156, 274, 280, 116, 312, 285, 41, -48, 39,
|
|
|
|
/* 260 */ -29, 314, 517,
|
2009-12-05 15:10:47 +00:00
|
|
|
);
|
2010-02-26 13:28:54 +00:00
|
|
|
const YY_REDUCE_USE_DFLT = -76;
|
2010-02-24 18:01:03 +00:00
|
|
|
const YY_REDUCE_MAX = 191;
|
2009-12-05 15:10:47 +00:00
|
|
|
static public $yy_reduce_ofst = array(
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 0 */ -75, 750, 707, 730, 595, 1092, 1112, 886, 906, 822,
|
|
|
|
/* 10 */ 786, 989, 1060, 926, 1009, 791, 957, 1029, 1132, 1163,
|
|
|
|
/* 20 */ 1204, 1227, 1172, 1195, 1262, 1232, 1267, 1294, 1457, 1299,
|
|
|
|
/* 30 */ 1394, 1417, 1422, 1452, 1389, 1322, 1327, 1357, 1362, 1484,
|
|
|
|
/* 40 */ 1517, 1512, 1489, -11, -51, 69, 29, 189, 229, 269,
|
|
|
|
/* 50 */ 309, 679, 149, 984, 349, 389, 267, 303, 363, 347,
|
|
|
|
/* 60 */ 126, 304, 301, 263, -19, 133, 51, 266, 227, 106,
|
|
|
|
/* 70 */ 337, 426, 539, 438, 568, 391, 570, 490, 203, 438,
|
|
|
|
/* 80 */ 234, 203, 504, 465, 572, 599, 596, 578, 441, 439,
|
|
|
|
/* 90 */ 423, 124, 509, 234, 504, 443, 504, 506, 617, 567,
|
|
|
|
/* 100 */ 597, 579, 606, 590, 626, 560, 627, 605, 567, 427,
|
|
|
|
/* 110 */ 427, 427, 427, 427, 427, 427, 427, 427, 427, 427,
|
|
|
|
/* 120 */ 427, 427, 427, 427, 727, 727, 727, 727, 377, 726,
|
|
|
|
/* 130 */ 715, 715, 715, 715, 377, 715, 715, 722, 722, 722,
|
|
|
|
/* 140 */ 722, 722, 722, 722, 722, 377, 717, 717, 377, 717,
|
|
|
|
/* 150 */ 722, 722, 717, 722, 377, 377, 722, 722, 722, 722,
|
|
|
|
/* 160 */ 744, 717, 722, 722, 722, 377, 734, 377, 763, 764,
|
|
|
|
/* 170 */ 377, 377, 377, 377, 377, 762, 296, 765, 377, 296,
|
|
|
|
/* 180 */ 296, 291, 296, 377, 377, 580, 613, 526, 413, 354,
|
|
|
|
/* 190 */ 256, 376,
|
2009-12-05 15:10:47 +00:00
|
|
|
);
|
|
|
|
static public $yyExpectedTokens = array(
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 0 */ array(3, 4, 6, 7, 8, 19, 22, 39, ),
|
|
|
|
/* 1 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 2 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 3 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 4 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 5 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 6 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 7 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 8 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 9 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 10 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 11 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 12 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 13 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 14 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 15 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 16 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 17 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 18 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 19 */ array(22, 24, 25, 27, 29, 31, 32, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 20 */ array(22, 24, 25, 27, 29, 31, 32, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 21 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 22 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 23 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 24 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 25 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 26 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 27 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 28 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 29 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 30 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 31 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 32 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 33 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 34 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 35 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 36 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 37 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 38 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 39 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 40 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 41 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 42 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 43 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, 58, ),
|
|
|
|
/* 44 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 45 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 46 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ),
|
|
|
|
/* 47 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, ),
|
|
|
|
/* 48 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, ),
|
|
|
|
/* 49 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, ),
|
|
|
|
/* 50 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, ),
|
|
|
|
/* 51 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, ),
|
|
|
|
/* 52 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, ),
|
|
|
|
/* 53 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, ),
|
|
|
|
/* 54 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, ),
|
|
|
|
/* 55 */ array(22, 24, 25, 56, ),
|
|
|
|
/* 56 */ array(30, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ),
|
|
|
|
/* 57 */ array(30, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ),
|
|
|
|
/* 58 */ array(23, 30, 59, 71, 72, 73, 74, 75, 76, 77, 78, 79, ),
|
|
|
|
/* 59 */ array(23, 30, 59, 71, 72, 73, 74, 75, 76, 77, 78, 79, ),
|
|
|
|
/* 60 */ array(3, 4, 6, 7, 8, 19, 22, 39, ),
|
|
|
|
/* 61 */ array(8, 22, 39, 53, 83, 84, ),
|
|
|
|
/* 62 */ array(1, 23, 28, 30, 44, 54, ),
|
|
|
|
/* 63 */ array(1, 23, 28, 30, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 64 */ array(1, 23, 30, ),
|
|
|
|
/* 65 */ array(24, 25, 56, ),
|
|
|
|
/* 66 */ array(28, 49, 57, ),
|
|
|
|
/* 67 */ array(2, 30, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 68 */ array(2, 30, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 69 */ array(1, 30, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 70 */ array(2, 30, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 71 */ array(8, 22, 39, 53, 83, 84, ),
|
|
|
|
/* 72 */ array(4, 5, 6, 19, 20, 21, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 73 */ array(22, 25, 26, 55, ),
|
|
|
|
/* 74 */ array(9, 10, 12, 14, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 75 */ array(22, 25, 26, 34, ),
|
|
|
|
/* 76 */ array(9, 10, 12, 14, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 77 */ array(9, 10, 12, 14, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 78 */ array(23, 30, 34, ),
|
|
|
|
/* 79 */ array(22, 25, 55, ),
|
|
|
|
/* 80 */ array(26, 28, 54, ),
|
|
|
|
/* 81 */ array(23, 30, 34, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 82 */ array(22, 25, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 83 */ array(30, 36, ),
|
|
|
|
/* 84 */ array(22, 25, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 85 */ array(22, 25, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 86 */ array(22, 25, ),
|
|
|
|
/* 87 */ array(22, 25, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 88 */ array(16, 17, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 89 */ array(16, 17, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 90 */ array(16, 17, ),
|
|
|
|
/* 91 */ array(22, 25, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 92 */ array(22, 25, ),
|
|
|
|
/* 93 */ array(28, 54, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 94 */ array(22, 25, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 95 */ array(16, 17, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 96 */ array(22, 25, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 97 */ array(22, 25, ),
|
|
|
|
/* 98 */ array(22, 25, ),
|
|
|
|
/* 99 */ array(23, 30, ),
|
|
|
|
/* 100 */ array(24, 25, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 101 */ array(28, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 102 */ array(30, ),
|
|
|
|
/* 103 */ array(30, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 104 */ array(30, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 105 */ array(28, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 106 */ array(30, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 107 */ array(24, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 108 */ array(30, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 109 */ array(23, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ),
|
|
|
|
/* 110 */ array(45, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ),
|
|
|
|
/* 111 */ array(33, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 112 */ array(23, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 113 */ array(45, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 114 */ array(45, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ),
|
|
|
|
/* 115 */ array(60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ),
|
|
|
|
/* 116 */ array(60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ),
|
|
|
|
/* 117 */ array(60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ),
|
|
|
|
/* 118 */ array(60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ),
|
|
|
|
/* 119 */ array(60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ),
|
|
|
|
/* 120 */ array(60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ),
|
|
|
|
/* 121 */ array(60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ),
|
|
|
|
/* 122 */ array(60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ),
|
|
|
|
/* 123 */ array(60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ),
|
|
|
|
/* 124 */ array(23, 30, 59, 71, 72, 73, 74, 75, 76, 77, 78, 79, ),
|
|
|
|
/* 125 */ array(45, 59, 71, 72, 73, 74, 75, 76, 77, 78, 79, ),
|
|
|
|
/* 126 */ array(45, 59, 71, 72, 73, 74, 75, 76, 77, 78, 79, ),
|
|
|
|
/* 127 */ array(59, 71, 72, 73, 74, 75, 76, 77, 78, 79, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 128 */ array(1, 23, 30, 70, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 129 */ array(25, 27, 29, 32, ),
|
|
|
|
/* 130 */ array(22, 23, 25, 38, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 131 */ array(22, 23, 25, 38, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 132 */ array(22, 23, 25, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 133 */ array(22, 23, 25, ),
|
|
|
|
/* 134 */ array(1, 23, 70, ),
|
|
|
|
/* 135 */ array(22, 25, 26, ),
|
|
|
|
/* 136 */ array(22, 25, 55, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 137 */ array(23, 30, ),
|
|
|
|
/* 138 */ array(23, 30, ),
|
|
|
|
/* 139 */ array(23, 30, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 140 */ array(23, 30, ),
|
|
|
|
/* 141 */ array(23, 30, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 142 */ array(23, 30, ),
|
|
|
|
/* 143 */ array(23, 30, ),
|
|
|
|
/* 144 */ array(23, 30, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 145 */ array(1, 37, ),
|
|
|
|
/* 146 */ array(49, 57, ),
|
|
|
|
/* 147 */ array(49, 57, ),
|
|
|
|
/* 148 */ array(1, 38, ),
|
|
|
|
/* 149 */ array(49, 57, ),
|
|
|
|
/* 150 */ array(23, 30, ),
|
|
|
|
/* 151 */ array(23, 30, ),
|
|
|
|
/* 152 */ array(49, 57, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 153 */ array(23, 30, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 154 */ array(1, 70, ),
|
|
|
|
/* 155 */ array(1, 70, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 156 */ array(23, 30, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 157 */ array(23, 30, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 158 */ array(23, 30, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 159 */ array(23, 30, ),
|
|
|
|
/* 160 */ array(22, 44, ),
|
|
|
|
/* 161 */ array(49, 57, ),
|
|
|
|
/* 162 */ array(23, 30, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 163 */ array(23, 30, ),
|
|
|
|
/* 164 */ array(23, 30, ),
|
2010-02-17 21:30:36 +00:00
|
|
|
/* 165 */ array(1, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 166 */ array(2, ),
|
2010-02-17 21:30:36 +00:00
|
|
|
/* 167 */ array(1, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 168 */ array(24, ),
|
|
|
|
/* 169 */ array(20, ),
|
|
|
|
/* 170 */ array(1, ),
|
|
|
|
/* 171 */ array(1, ),
|
|
|
|
/* 172 */ array(1, ),
|
|
|
|
/* 173 */ array(1, ),
|
2010-02-17 21:30:36 +00:00
|
|
|
/* 174 */ array(1, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 175 */ array(30, ),
|
|
|
|
/* 176 */ array(28, ),
|
|
|
|
/* 177 */ array(30, ),
|
|
|
|
/* 178 */ array(1, ),
|
|
|
|
/* 179 */ array(28, ),
|
|
|
|
/* 180 */ array(28, ),
|
|
|
|
/* 181 */ array(44, ),
|
|
|
|
/* 182 */ array(28, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 183 */ array(1, ),
|
2010-02-10 20:51:36 +00:00
|
|
|
/* 184 */ array(),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 185 */ array(),
|
|
|
|
/* 186 */ array(),
|
|
|
|
/* 187 */ array(),
|
|
|
|
/* 188 */ array(),
|
|
|
|
/* 189 */ array(),
|
|
|
|
/* 190 */ array(),
|
|
|
|
/* 191 */ array(),
|
|
|
|
/* 192 */ array(22, 24, 25, 40, 50, 51, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 193 */ array(23, 30, 44, 54, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 194 */ array(31, 42, 43, 58, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 195 */ array(44, 49, 54, 58, ),
|
|
|
|
/* 196 */ array(23, 31, 42, 43, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 197 */ array(26, 44, 54, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 198 */ array(31, 42, 43, ),
|
|
|
|
/* 199 */ array(38, 44, 54, ),
|
|
|
|
/* 200 */ array(41, 58, ),
|
|
|
|
/* 201 */ array(25, 55, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 202 */ array(44, 54, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 203 */ array(44, 54, ),
|
|
|
|
/* 204 */ array(34, 83, ),
|
|
|
|
/* 205 */ array(30, 31, ),
|
|
|
|
/* 206 */ array(25, 40, ),
|
|
|
|
/* 207 */ array(26, 49, ),
|
|
|
|
/* 208 */ array(2, 26, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 209 */ array(44, 54, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 210 */ array(44, 54, ),
|
|
|
|
/* 211 */ array(33, 41, ),
|
|
|
|
/* 212 */ array(23, ),
|
|
|
|
/* 213 */ array(45, ),
|
|
|
|
/* 214 */ array(23, ),
|
|
|
|
/* 215 */ array(13, ),
|
|
|
|
/* 216 */ array(26, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 217 */ array(25, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 218 */ array(46, ),
|
|
|
|
/* 219 */ array(24, ),
|
|
|
|
/* 220 */ array(35, ),
|
|
|
|
/* 221 */ array(37, ),
|
|
|
|
/* 222 */ array(5, ),
|
|
|
|
/* 223 */ array(45, ),
|
|
|
|
/* 224 */ array(23, ),
|
|
|
|
/* 225 */ array(45, ),
|
|
|
|
/* 226 */ array(25, ),
|
|
|
|
/* 227 */ array(23, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 228 */ array(24, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 229 */ array(24, ),
|
|
|
|
/* 230 */ array(25, ),
|
|
|
|
/* 231 */ array(24, ),
|
|
|
|
/* 232 */ array(11, ),
|
|
|
|
/* 233 */ array(24, ),
|
|
|
|
/* 234 */ array(2, ),
|
|
|
|
/* 235 */ array(46, ),
|
|
|
|
/* 236 */ array(46, ),
|
|
|
|
/* 237 */ array(30, ),
|
|
|
|
/* 238 */ array(23, ),
|
|
|
|
/* 239 */ array(2, ),
|
|
|
|
/* 240 */ array(83, ),
|
|
|
|
/* 241 */ array(18, ),
|
|
|
|
/* 242 */ array(25, ),
|
|
|
|
/* 243 */ array(44, ),
|
|
|
|
/* 244 */ array(49, ),
|
|
|
|
/* 245 */ array(25, ),
|
|
|
|
/* 246 */ array(34, ),
|
|
|
|
/* 247 */ array(25, ),
|
|
|
|
/* 248 */ array(25, ),
|
|
|
|
/* 249 */ array(2, ),
|
|
|
|
/* 250 */ array(45, ),
|
|
|
|
/* 251 */ array(23, ),
|
|
|
|
/* 252 */ array(25, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 253 */ array(41, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 254 */ array(23, ),
|
|
|
|
/* 255 */ array(23, ),
|
|
|
|
/* 256 */ array(58, ),
|
|
|
|
/* 257 */ array(40, ),
|
|
|
|
/* 258 */ array(56, ),
|
|
|
|
/* 259 */ array(15, ),
|
|
|
|
/* 260 */ array(56, ),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 261 */ array(25, ),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 262 */ array(26, ),
|
2009-12-05 15:10:47 +00:00
|
|
|
/* 263 */ array(),
|
|
|
|
/* 264 */ array(),
|
|
|
|
/* 265 */ array(),
|
|
|
|
/* 266 */ array(),
|
|
|
|
/* 267 */ array(),
|
|
|
|
/* 268 */ array(),
|
|
|
|
/* 269 */ array(),
|
|
|
|
/* 270 */ array(),
|
|
|
|
/* 271 */ array(),
|
|
|
|
/* 272 */ array(),
|
|
|
|
/* 273 */ array(),
|
|
|
|
/* 274 */ array(),
|
|
|
|
/* 275 */ array(),
|
|
|
|
/* 276 */ array(),
|
|
|
|
/* 277 */ array(),
|
|
|
|
/* 278 */ array(),
|
|
|
|
/* 279 */ array(),
|
|
|
|
/* 280 */ array(),
|
|
|
|
/* 281 */ array(),
|
|
|
|
/* 282 */ array(),
|
|
|
|
/* 283 */ array(),
|
|
|
|
/* 284 */ array(),
|
|
|
|
/* 285 */ array(),
|
|
|
|
/* 286 */ array(),
|
|
|
|
/* 287 */ array(),
|
|
|
|
/* 288 */ array(),
|
|
|
|
/* 289 */ array(),
|
|
|
|
/* 290 */ array(),
|
|
|
|
/* 291 */ array(),
|
|
|
|
/* 292 */ array(),
|
|
|
|
/* 293 */ array(),
|
|
|
|
/* 294 */ array(),
|
|
|
|
/* 295 */ array(),
|
|
|
|
/* 296 */ array(),
|
|
|
|
/* 297 */ array(),
|
|
|
|
/* 298 */ array(),
|
|
|
|
/* 299 */ array(),
|
|
|
|
/* 300 */ array(),
|
|
|
|
/* 301 */ array(),
|
|
|
|
/* 302 */ array(),
|
|
|
|
/* 303 */ array(),
|
|
|
|
/* 304 */ array(),
|
|
|
|
/* 305 */ array(),
|
|
|
|
/* 306 */ array(),
|
|
|
|
/* 307 */ array(),
|
|
|
|
/* 308 */ array(),
|
|
|
|
/* 309 */ array(),
|
|
|
|
/* 310 */ array(),
|
|
|
|
/* 311 */ array(),
|
|
|
|
/* 312 */ array(),
|
|
|
|
/* 313 */ array(),
|
|
|
|
/* 314 */ array(),
|
|
|
|
/* 315 */ array(),
|
|
|
|
/* 316 */ array(),
|
|
|
|
/* 317 */ array(),
|
|
|
|
/* 318 */ array(),
|
|
|
|
/* 319 */ array(),
|
|
|
|
/* 320 */ array(),
|
|
|
|
/* 321 */ array(),
|
|
|
|
/* 322 */ array(),
|
|
|
|
/* 323 */ array(),
|
|
|
|
/* 324 */ array(),
|
|
|
|
/* 325 */ array(),
|
|
|
|
/* 326 */ array(),
|
|
|
|
/* 327 */ array(),
|
|
|
|
/* 328 */ array(),
|
|
|
|
/* 329 */ array(),
|
|
|
|
/* 330 */ array(),
|
|
|
|
/* 331 */ array(),
|
|
|
|
/* 332 */ array(),
|
|
|
|
/* 333 */ array(),
|
|
|
|
/* 334 */ array(),
|
|
|
|
/* 335 */ array(),
|
|
|
|
/* 336 */ array(),
|
|
|
|
/* 337 */ array(),
|
|
|
|
/* 338 */ array(),
|
|
|
|
/* 339 */ array(),
|
|
|
|
/* 340 */ array(),
|
|
|
|
/* 341 */ array(),
|
|
|
|
/* 342 */ array(),
|
|
|
|
/* 343 */ array(),
|
|
|
|
/* 344 */ array(),
|
|
|
|
/* 345 */ array(),
|
|
|
|
/* 346 */ array(),
|
|
|
|
/* 347 */ array(),
|
|
|
|
/* 348 */ array(),
|
|
|
|
/* 349 */ array(),
|
|
|
|
/* 350 */ array(),
|
|
|
|
/* 351 */ array(),
|
|
|
|
/* 352 */ array(),
|
|
|
|
/* 353 */ array(),
|
|
|
|
/* 354 */ array(),
|
|
|
|
/* 355 */ array(),
|
|
|
|
/* 356 */ array(),
|
|
|
|
/* 357 */ array(),
|
|
|
|
/* 358 */ array(),
|
|
|
|
/* 359 */ array(),
|
|
|
|
/* 360 */ array(),
|
|
|
|
/* 361 */ array(),
|
2009-12-13 20:21:54 +00:00
|
|
|
/* 362 */ array(),
|
|
|
|
/* 363 */ array(),
|
|
|
|
/* 364 */ array(),
|
2009-12-27 15:06:49 +00:00
|
|
|
/* 365 */ array(),
|
|
|
|
/* 366 */ array(),
|
|
|
|
/* 367 */ array(),
|
|
|
|
/* 368 */ array(),
|
|
|
|
/* 369 */ array(),
|
|
|
|
/* 370 */ array(),
|
2010-01-11 20:44:01 +00:00
|
|
|
/* 371 */ array(),
|
|
|
|
/* 372 */ array(),
|
|
|
|
/* 373 */ array(),
|
|
|
|
/* 374 */ array(),
|
|
|
|
/* 375 */ array(),
|
|
|
|
/* 376 */ array(),
|
|
|
|
/* 377 */ array(),
|
|
|
|
/* 378 */ array(),
|
|
|
|
/* 379 */ array(),
|
|
|
|
/* 380 */ array(),
|
|
|
|
/* 381 */ array(),
|
|
|
|
/* 382 */ array(),
|
|
|
|
/* 383 */ array(),
|
|
|
|
/* 384 */ array(),
|
|
|
|
/* 385 */ array(),
|
|
|
|
/* 386 */ array(),
|
|
|
|
/* 387 */ array(),
|
|
|
|
/* 388 */ array(),
|
2010-01-13 15:33:54 +00:00
|
|
|
/* 389 */ array(),
|
2010-02-16 20:20:49 +00:00
|
|
|
/* 390 */ array(),
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 391 */ array(),
|
|
|
|
/* 392 */ array(),
|
|
|
|
/* 393 */ array(),
|
|
|
|
/* 394 */ array(),
|
|
|
|
/* 395 */ array(),
|
|
|
|
/* 396 */ array(),
|
|
|
|
/* 397 */ array(),
|
|
|
|
/* 398 */ array(),
|
|
|
|
/* 399 */ array(),
|
|
|
|
/* 400 */ array(),
|
|
|
|
/* 401 */ array(),
|
|
|
|
/* 402 */ array(),
|
|
|
|
/* 403 */ array(),
|
|
|
|
/* 404 */ array(),
|
|
|
|
/* 405 */ array(),
|
|
|
|
/* 406 */ array(),
|
|
|
|
/* 407 */ array(),
|
|
|
|
/* 408 */ array(),
|
|
|
|
/* 409 */ array(),
|
|
|
|
/* 410 */ array(),
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 411 */ array(),
|
|
|
|
/* 412 */ array(),
|
2009-12-05 15:10:47 +00:00
|
|
|
);
|
|
|
|
static public $yy_default = array(
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 0 */ 621, 621, 621, 621, 621, 621, 621, 621, 621, 621,
|
|
|
|
/* 10 */ 606, 621, 621, 621, 621, 621, 621, 621, 621, 621,
|
|
|
|
/* 20 */ 621, 621, 557, 557, 557, 557, 621, 621, 621, 621,
|
|
|
|
/* 30 */ 621, 621, 621, 621, 621, 621, 621, 621, 621, 621,
|
|
|
|
/* 40 */ 621, 621, 621, 621, 621, 621, 621, 621, 621, 621,
|
|
|
|
/* 50 */ 621, 621, 621, 621, 621, 621, 483, 483, 574, 574,
|
|
|
|
/* 60 */ 413, 621, 621, 621, 497, 621, 565, 483, 483, 483,
|
|
|
|
/* 70 */ 483, 621, 621, 528, 424, 621, 424, 424, 504, 528,
|
|
|
|
/* 80 */ 521, 504, 621, 483, 621, 621, 621, 621, 430, 430,
|
|
|
|
/* 90 */ 430, 621, 621, 521, 621, 430, 621, 621, 621, 621,
|
|
|
|
/* 100 */ 621, 560, 483, 483, 483, 561, 483, 621, 483, 621,
|
|
|
|
/* 110 */ 621, 621, 621, 621, 621, 580, 588, 583, 587, 579,
|
|
|
|
/* 120 */ 572, 584, 578, 486, 574, 574, 574, 574, 497, 621,
|
|
|
|
/* 130 */ 621, 621, 621, 621, 497, 621, 529, 621, 621, 621,
|
|
|
|
/* 140 */ 621, 621, 621, 621, 621, 621, 549, 550, 497, 551,
|
|
|
|
/* 150 */ 621, 621, 526, 621, 497, 497, 621, 621, 621, 621,
|
|
|
|
/* 160 */ 528, 548, 621, 621, 621, 577, 520, 590, 621, 436,
|
|
|
|
/* 170 */ 498, 505, 500, 507, 506, 620, 563, 620, 499, 544,
|
|
|
|
/* 180 */ 562, 528, 566, 497, 569, 568, 568, 568, 568, 528,
|
|
|
|
/* 190 */ 528, 528, 621, 494, 621, 621, 621, 489, 495, 494,
|
|
|
|
/* 200 */ 621, 621, 621, 589, 504, 621, 621, 509, 542, 494,
|
|
|
|
/* 210 */ 570, 621, 621, 621, 621, 621, 621, 621, 621, 621,
|
|
|
|
/* 220 */ 491, 621, 621, 621, 621, 621, 621, 621, 621, 621,
|
|
|
|
/* 230 */ 621, 621, 621, 621, 621, 573, 514, 621, 621, 621,
|
|
|
|
/* 240 */ 621, 621, 621, 564, 509, 621, 504, 621, 621, 542,
|
|
|
|
/* 250 */ 621, 621, 621, 556, 621, 621, 621, 621, 621, 621,
|
|
|
|
/* 260 */ 621, 621, 489, 439, 447, 438, 462, 446, 467, 468,
|
|
|
|
/* 270 */ 417, 523, 616, 418, 540, 492, 522, 437, 445, 527,
|
|
|
|
/* 280 */ 419, 530, 542, 464, 501, 519, 541, 496, 619, 465,
|
|
|
|
/* 290 */ 466, 547, 416, 480, 482, 474, 475, 567, 508, 415,
|
|
|
|
/* 300 */ 559, 558, 476, 477, 481, 443, 414, 488, 442, 479,
|
|
|
|
/* 310 */ 478, 473, 510, 511, 612, 515, 613, 440, 493, 444,
|
|
|
|
/* 320 */ 516, 610, 614, 617, 518, 513, 512, 554, 441, 618,
|
|
|
|
/* 330 */ 517, 611, 615, 461, 426, 503, 592, 593, 594, 502,
|
|
|
|
/* 340 */ 596, 595, 591, 576, 555, 421, 454, 453, 448, 575,
|
|
|
|
/* 350 */ 452, 449, 429, 597, 573, 600, 601, 428, 581, 582,
|
|
|
|
/* 360 */ 585, 586, 602, 571, 599, 598, 431, 450, 451, 514,
|
|
|
|
/* 370 */ 432, 420, 553, 455, 471, 435, 539, 434, 608, 470,
|
|
|
|
/* 380 */ 603, 607, 537, 472, 427, 463, 524, 525, 425, 536,
|
|
|
|
/* 390 */ 490, 538, 433, 605, 532, 531, 460, 533, 458, 457,
|
|
|
|
/* 400 */ 535, 534, 543, 546, 604, 469, 609, 422, 552, 459,
|
|
|
|
/* 410 */ 545, 456, 423,
|
2009-12-05 15:10:47 +00:00
|
|
|
);
|
2010-02-24 18:01:03 +00:00
|
|
|
const YYNOCODE = 134;
|
2009-12-05 15:10:47 +00:00
|
|
|
const YYSTACKDEPTH = 100;
|
2010-02-26 13:28:54 +00:00
|
|
|
const YYNSTATE = 413;
|
|
|
|
const YYNRULE = 208;
|
2010-02-24 18:01:03 +00:00
|
|
|
const YYERRORSYMBOL = 85;
|
2009-12-05 15:10:47 +00:00
|
|
|
const YYERRSYMDT = 'yy0';
|
|
|
|
const YYFALLBACK = 0;
|
2009-11-08 16:17:51 +00:00
|
|
|
static public $yyFallback = array(
|
|
|
|
);
|
|
|
|
static function Trace($TraceFILE, $zTracePrompt)
|
|
|
|
{
|
|
|
|
if (!$TraceFILE) {
|
|
|
|
$zTracePrompt = 0;
|
|
|
|
} elseif (!$zTracePrompt) {
|
|
|
|
$TraceFILE = 0;
|
|
|
|
}
|
|
|
|
self::$yyTraceFILE = $TraceFILE;
|
|
|
|
self::$yyTracePrompt = $zTracePrompt;
|
|
|
|
}
|
|
|
|
|
|
|
|
static function PrintTrace()
|
|
|
|
{
|
|
|
|
self::$yyTraceFILE = fopen('php://output', 'w');
|
|
|
|
self::$yyTracePrompt = '<br>';
|
|
|
|
}
|
|
|
|
|
|
|
|
static public $yyTraceFILE;
|
|
|
|
static public $yyTracePrompt;
|
|
|
|
public $yyidx; /* Index of top element in stack */
|
|
|
|
public $yyerrcnt; /* Shifts left before out of the error */
|
|
|
|
public $yystack = array(); /* The parser's stack */
|
|
|
|
|
|
|
|
public $yyTokenName = array(
|
2010-02-17 21:30:36 +00:00
|
|
|
'$', 'VERT', 'COLON', 'COMMENT',
|
|
|
|
'PHPSTARTTAG', 'PHPENDTAG', 'FAKEPHPSTARTTAG', 'XMLTAG',
|
2010-02-24 18:01:03 +00:00
|
|
|
'OTHER', 'PHP_CODE', 'PHP_CODE_START_DOUBLEQUOTE', 'PHP_CODE_DOUBLEQUOTE',
|
|
|
|
'PHP_HEREDOC_START', 'PHP_HEREDOC_END', 'PHP_NOWDOC_START', 'PHP_NOWDOC_END',
|
|
|
|
'PHP_DQ_CONTENT', 'PHP_DQ_EMBED_START', 'PHP_DQ_EMBED_END', 'LITERALSTART',
|
|
|
|
'LITERALEND', 'LITERAL', 'LDEL', 'RDEL',
|
|
|
|
'DOLLAR', 'ID', 'EQUAL', 'FOREACH',
|
|
|
|
'PTR', 'IF', 'SPACE', 'UNIMATH',
|
|
|
|
'FOR', 'SEMICOLON', 'INCDEC', 'TO',
|
|
|
|
'STEP', 'AS', 'APTR', 'LDELSLASH',
|
|
|
|
'INTEGER', 'COMMA', 'MATH', 'ANDSYM',
|
|
|
|
'OPENP', 'CLOSEP', 'QMARK', 'NOT',
|
|
|
|
'TYPECAST', 'DOT', 'BOOLEAN', 'NULL',
|
|
|
|
'SINGLEQUOTESTRING', 'QUOTE', 'DOUBLECOLON', 'AT',
|
|
|
|
'HATCH', 'OPENB', 'CLOSEB', 'ISIN',
|
|
|
|
'ISDIVBY', 'ISNOTDIVBY', 'ISEVEN', 'ISNOTEVEN',
|
|
|
|
'ISEVENBY', 'ISNOTEVENBY', 'ISODD', 'ISNOTODD',
|
|
|
|
'ISODDBY', 'ISNOTODDBY', 'INSTANCEOF', 'EQUALS',
|
|
|
|
'NOTEQUALS', 'GREATERTHAN', 'LESSTHAN', 'GREATEREQUAL',
|
|
|
|
'LESSEQUAL', 'IDENTITY', 'NONEIDENTITY', 'MOD',
|
|
|
|
'LAND', 'LOR', 'LXOR', 'BACKTICK',
|
|
|
|
'DOLLARID', 'error', 'start', 'template',
|
|
|
|
'template_element', 'smartytag', 'literal', 'php_code',
|
|
|
|
'php_code_element', 'php_dq_contents', 'php_dq_content', 'literal_elements',
|
|
|
|
'literal_element', 'value', 'attributes', 'variable',
|
|
|
|
'expr', 'ternary', 'ifexprs', 'varindexed',
|
|
|
|
'modifier', 'modparameters', 'statement', 'statements',
|
|
|
|
'optspace', 'varvar', 'foraction', 'array',
|
|
|
|
'specialclose', 'attribute', 'exprs', 'function',
|
|
|
|
'doublequoted', 'static_class_access', 'object', 'arrayindex',
|
|
|
|
'indexdef', 'varvarele', 'objectchain', 'objectelement',
|
|
|
|
'method', 'params', 'modparameter', 'ifexpr',
|
|
|
|
'ifcond', 'lop', 'arrayelements', 'arrayelement',
|
|
|
|
'doublequotedcontent',
|
2009-11-08 16:17:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static public $yyRuleName = array(
|
2009-12-05 15:10:47 +00:00
|
|
|
/* 0 */ "start ::= template",
|
|
|
|
/* 1 */ "template ::= template_element",
|
|
|
|
/* 2 */ "template ::= template template_element",
|
|
|
|
/* 3 */ "template_element ::= smartytag",
|
|
|
|
/* 4 */ "template_element ::= COMMENT",
|
2009-12-27 15:06:49 +00:00
|
|
|
/* 5 */ "template_element ::= literal",
|
2010-02-24 18:01:03 +00:00
|
|
|
/* 6 */ "template_element ::= PHPSTARTTAG php_code PHPENDTAG",
|
|
|
|
/* 7 */ "template_element ::= FAKEPHPSTARTTAG",
|
|
|
|
/* 8 */ "template_element ::= XMLTAG",
|
|
|
|
/* 9 */ "template_element ::= OTHER",
|
|
|
|
/* 10 */ "php_code ::= php_code_element php_code",
|
|
|
|
/* 11 */ "php_code ::=",
|
|
|
|
/* 12 */ "php_code_element ::= PHP_CODE",
|
|
|
|
/* 13 */ "php_code_element ::= PHP_CODE_START_DOUBLEQUOTE php_dq_contents PHP_CODE_DOUBLEQUOTE",
|
|
|
|
/* 14 */ "php_code_element ::= PHP_HEREDOC_START php_dq_contents PHP_HEREDOC_END",
|
|
|
|
/* 15 */ "php_code_element ::= PHP_NOWDOC_START php_dq_contents PHP_NOWDOC_END",
|
|
|
|
/* 16 */ "php_dq_contents ::= php_dq_content php_dq_contents",
|
|
|
|
/* 17 */ "php_dq_contents ::=",
|
|
|
|
/* 18 */ "php_dq_content ::= PHP_DQ_CONTENT",
|
|
|
|
/* 19 */ "php_dq_content ::= PHP_DQ_EMBED_START php_code PHP_DQ_EMBED_END",
|
|
|
|
/* 20 */ "literal ::= LITERALSTART LITERALEND",
|
|
|
|
/* 21 */ "literal ::= LITERALSTART literal_elements LITERALEND",
|
|
|
|
/* 22 */ "literal_elements ::= literal_elements literal_element",
|
|
|
|
/* 23 */ "literal_elements ::=",
|
|
|
|
/* 24 */ "literal_element ::= literal",
|
|
|
|
/* 25 */ "literal_element ::= LITERAL",
|
|
|
|
/* 26 */ "literal_element ::= PHPSTARTTAG",
|
|
|
|
/* 27 */ "literal_element ::= FAKEPHPSTARTTAG",
|
|
|
|
/* 28 */ "literal_element ::= PHPENDTAG",
|
|
|
|
/* 29 */ "smartytag ::= LDEL value RDEL",
|
|
|
|
/* 30 */ "smartytag ::= LDEL value attributes RDEL",
|
|
|
|
/* 31 */ "smartytag ::= LDEL variable attributes RDEL",
|
|
|
|
/* 32 */ "smartytag ::= LDEL expr attributes RDEL",
|
|
|
|
/* 33 */ "smartytag ::= LDEL ternary attributes RDEL",
|
|
|
|
/* 34 */ "smartytag ::= LDEL DOLLAR ID EQUAL value RDEL",
|
|
|
|
/* 35 */ "smartytag ::= LDEL DOLLAR ID EQUAL expr RDEL",
|
|
|
|
/* 36 */ "smartytag ::= LDEL DOLLAR ID EQUAL expr attributes RDEL",
|
|
|
|
/* 37 */ "smartytag ::= LDEL DOLLAR ID EQUAL ifexprs attributes RDEL",
|
|
|
|
/* 38 */ "smartytag ::= LDEL DOLLAR ID EQUAL ternary attributes RDEL",
|
|
|
|
/* 39 */ "smartytag ::= LDEL varindexed EQUAL expr attributes RDEL",
|
|
|
|
/* 40 */ "smartytag ::= LDEL varindexed EQUAL ternary attributes RDEL",
|
|
|
|
/* 41 */ "smartytag ::= LDEL varindexed EQUAL ifexprs attributes RDEL",
|
|
|
|
/* 42 */ "smartytag ::= LDEL ID attributes RDEL",
|
|
|
|
/* 43 */ "smartytag ::= LDEL FOREACH attributes RDEL",
|
|
|
|
/* 44 */ "smartytag ::= LDEL ID RDEL",
|
|
|
|
/* 45 */ "smartytag ::= LDEL ID PTR ID attributes RDEL",
|
|
|
|
/* 46 */ "smartytag ::= LDEL ID modifier modparameters attributes RDEL",
|
|
|
|
/* 47 */ "smartytag ::= LDEL ID PTR ID modifier modparameters attributes RDEL",
|
|
|
|
/* 48 */ "smartytag ::= LDEL IF SPACE ifexprs RDEL",
|
|
|
|
/* 49 */ "smartytag ::= LDEL IF UNIMATH ifexprs RDEL",
|
|
|
|
/* 50 */ "smartytag ::= LDEL IF SPACE statement RDEL",
|
|
|
|
/* 51 */ "smartytag ::= LDEL FOR SPACE statements SEMICOLON optspace ifexprs SEMICOLON optspace DOLLAR varvar foraction RDEL",
|
|
|
|
/* 52 */ "foraction ::= EQUAL expr",
|
|
|
|
/* 53 */ "foraction ::= INCDEC",
|
|
|
|
/* 54 */ "smartytag ::= LDEL FOR SPACE statement TO expr attributes RDEL",
|
|
|
|
/* 55 */ "smartytag ::= LDEL FOR SPACE statement TO expr STEP expr RDEL",
|
|
|
|
/* 56 */ "smartytag ::= LDEL FOREACH SPACE value AS DOLLAR varvar RDEL",
|
|
|
|
/* 57 */ "smartytag ::= LDEL FOREACH SPACE value AS DOLLAR varvar APTR DOLLAR varvar RDEL",
|
|
|
|
/* 58 */ "smartytag ::= LDEL FOREACH SPACE array AS DOLLAR varvar RDEL",
|
|
|
|
/* 59 */ "smartytag ::= LDEL FOREACH SPACE array AS DOLLAR varvar APTR DOLLAR varvar RDEL",
|
|
|
|
/* 60 */ "smartytag ::= LDELSLASH ID RDEL",
|
|
|
|
/* 61 */ "smartytag ::= LDELSLASH specialclose RDEL",
|
|
|
|
/* 62 */ "specialclose ::= IF",
|
|
|
|
/* 63 */ "specialclose ::= FOR",
|
|
|
|
/* 64 */ "specialclose ::= FOREACH",
|
|
|
|
/* 65 */ "smartytag ::= LDELSLASH ID attributes RDEL",
|
|
|
|
/* 66 */ "smartytag ::= LDELSLASH ID modifier modparameters attributes RDEL",
|
|
|
|
/* 67 */ "smartytag ::= LDELSLASH ID PTR ID RDEL",
|
|
|
|
/* 68 */ "attributes ::= attributes attribute",
|
|
|
|
/* 69 */ "attributes ::= attribute",
|
|
|
|
/* 70 */ "attributes ::=",
|
|
|
|
/* 71 */ "attribute ::= SPACE ID EQUAL ID",
|
|
|
|
/* 72 */ "attribute ::= SPACE ID EQUAL expr",
|
|
|
|
/* 73 */ "attribute ::= SPACE ID EQUAL ifexprs",
|
|
|
|
/* 74 */ "attribute ::= SPACE ID EQUAL value",
|
|
|
|
/* 75 */ "attribute ::= SPACE ID EQUAL ternary",
|
|
|
|
/* 76 */ "attribute ::= SPACE ID",
|
|
|
|
/* 77 */ "attribute ::= SPACE INTEGER EQUAL expr",
|
|
|
|
/* 78 */ "statements ::= statement",
|
|
|
|
/* 79 */ "statements ::= statements COMMA statement",
|
|
|
|
/* 80 */ "statement ::= DOLLAR varvar EQUAL expr",
|
|
|
|
/* 81 */ "expr ::= ID",
|
|
|
|
/* 82 */ "expr ::= exprs",
|
|
|
|
/* 83 */ "expr ::= DOLLAR ID COLON ID",
|
|
|
|
/* 84 */ "exprs ::= value",
|
|
|
|
/* 85 */ "exprs ::= exprs MATH value",
|
|
|
|
/* 86 */ "exprs ::= exprs UNIMATH value",
|
|
|
|
/* 87 */ "exprs ::= exprs ANDSYM value",
|
|
|
|
/* 88 */ "exprs ::= array",
|
|
|
|
/* 89 */ "ternary ::= OPENP ifexprs CLOSEP QMARK expr COLON expr",
|
|
|
|
/* 90 */ "ternary ::= OPENP expr CLOSEP QMARK expr COLON expr",
|
|
|
|
/* 91 */ "value ::= variable",
|
|
|
|
/* 92 */ "value ::= UNIMATH value",
|
|
|
|
/* 93 */ "value ::= NOT value",
|
|
|
|
/* 94 */ "value ::= TYPECAST value",
|
|
|
|
/* 95 */ "value ::= variable INCDEC",
|
|
|
|
/* 96 */ "value ::= INTEGER",
|
|
|
|
/* 97 */ "value ::= INTEGER DOT INTEGER",
|
|
|
|
/* 98 */ "value ::= BOOLEAN",
|
|
|
|
/* 99 */ "value ::= NULL",
|
|
|
|
/* 100 */ "value ::= function",
|
|
|
|
/* 101 */ "value ::= OPENP expr CLOSEP",
|
|
|
|
/* 102 */ "value ::= SINGLEQUOTESTRING",
|
|
|
|
/* 103 */ "value ::= QUOTE doublequoted QUOTE",
|
|
|
|
/* 104 */ "value ::= QUOTE QUOTE",
|
|
|
|
/* 105 */ "value ::= ID DOUBLECOLON static_class_access",
|
|
|
|
/* 106 */ "value ::= smartytag",
|
|
|
|
/* 107 */ "value ::= value modifier modparameters",
|
|
|
|
/* 108 */ "variable ::= varindexed",
|
|
|
|
/* 109 */ "variable ::= DOLLAR varvar AT ID",
|
|
|
|
/* 110 */ "variable ::= object",
|
|
|
|
/* 111 */ "variable ::= HATCH ID HATCH",
|
|
|
|
/* 112 */ "variable ::= HATCH variable HATCH",
|
|
|
|
/* 113 */ "varindexed ::= DOLLAR varvar arrayindex",
|
|
|
|
/* 114 */ "arrayindex ::= arrayindex indexdef",
|
|
|
|
/* 115 */ "arrayindex ::=",
|
|
|
|
/* 116 */ "indexdef ::= DOT DOLLAR varvar",
|
|
|
|
/* 117 */ "indexdef ::= DOT DOLLAR varvar AT ID",
|
|
|
|
/* 118 */ "indexdef ::= DOT ID",
|
|
|
|
/* 119 */ "indexdef ::= DOT BOOLEAN",
|
|
|
|
/* 120 */ "indexdef ::= DOT NULL",
|
|
|
|
/* 121 */ "indexdef ::= DOT INTEGER",
|
|
|
|
/* 122 */ "indexdef ::= DOT LDEL exprs RDEL",
|
|
|
|
/* 123 */ "indexdef ::= OPENB ID CLOSEB",
|
|
|
|
/* 124 */ "indexdef ::= OPENB ID DOT ID CLOSEB",
|
|
|
|
/* 125 */ "indexdef ::= OPENB exprs CLOSEB",
|
|
|
|
/* 126 */ "indexdef ::= OPENB CLOSEB",
|
|
|
|
/* 127 */ "varvar ::= varvarele",
|
|
|
|
/* 128 */ "varvar ::= varvar varvarele",
|
|
|
|
/* 129 */ "varvarele ::= ID",
|
|
|
|
/* 130 */ "varvarele ::= LDEL expr RDEL",
|
|
|
|
/* 131 */ "object ::= varindexed objectchain",
|
2010-02-26 13:28:54 +00:00
|
|
|
/* 132 */ "object ::= varindexed DOUBLECOLON ID",
|
|
|
|
/* 133 */ "objectchain ::= objectelement",
|
|
|
|
/* 134 */ "objectchain ::= objectchain objectelement",
|
|
|
|
/* 135 */ "objectelement ::= PTR ID arrayindex",
|
|
|
|
/* 136 */ "objectelement ::= PTR variable arrayindex",
|
|
|
|
/* 137 */ "objectelement ::= PTR LDEL expr RDEL arrayindex",
|
|
|
|
/* 138 */ "objectelement ::= PTR ID LDEL expr RDEL arrayindex",
|
|
|
|
/* 139 */ "objectelement ::= PTR method",
|
|
|
|
/* 140 */ "function ::= ID OPENP params CLOSEP",
|
|
|
|
/* 141 */ "method ::= ID OPENP params CLOSEP",
|
|
|
|
/* 142 */ "params ::= expr COMMA params",
|
|
|
|
/* 143 */ "params ::= expr",
|
|
|
|
/* 144 */ "params ::=",
|
|
|
|
/* 145 */ "modifier ::= VERT AT ID",
|
|
|
|
/* 146 */ "modifier ::= VERT ID",
|
|
|
|
/* 147 */ "static_class_access ::= method",
|
|
|
|
/* 148 */ "static_class_access ::= DOLLAR ID OPENP params CLOSEP",
|
|
|
|
/* 149 */ "static_class_access ::= method objectchain",
|
|
|
|
/* 150 */ "static_class_access ::= DOLLAR ID OPENP params CLOSEP objectchain",
|
|
|
|
/* 151 */ "static_class_access ::= ID",
|
|
|
|
/* 152 */ "static_class_access ::= DOLLAR ID arrayindex",
|
|
|
|
/* 153 */ "static_class_access ::= DOLLAR ID arrayindex objectchain",
|
|
|
|
/* 154 */ "modparameters ::= modparameters modparameter",
|
|
|
|
/* 155 */ "modparameters ::=",
|
|
|
|
/* 156 */ "modparameter ::= COLON value",
|
|
|
|
/* 157 */ "modparameter ::= COLON ID",
|
|
|
|
/* 158 */ "ifexprs ::= ifexpr",
|
|
|
|
/* 159 */ "ifexprs ::= NOT ifexprs",
|
|
|
|
/* 160 */ "ifexprs ::= OPENP ifexprs CLOSEP",
|
|
|
|
/* 161 */ "ifexpr ::= expr",
|
|
|
|
/* 162 */ "ifexpr ::= expr ifcond expr",
|
|
|
|
/* 163 */ "ifexpr ::= expr ISIN array",
|
|
|
|
/* 164 */ "ifexpr ::= expr ISIN value",
|
|
|
|
/* 165 */ "ifexpr ::= ifexprs lop ifexprs",
|
|
|
|
/* 166 */ "ifexpr ::= ifexprs ISDIVBY ifexprs",
|
|
|
|
/* 167 */ "ifexpr ::= ifexprs ISNOTDIVBY ifexprs",
|
|
|
|
/* 168 */ "ifexpr ::= ifexprs ISEVEN",
|
|
|
|
/* 169 */ "ifexpr ::= ifexprs ISNOTEVEN",
|
|
|
|
/* 170 */ "ifexpr ::= ifexprs ISEVENBY ifexprs",
|
|
|
|
/* 171 */ "ifexpr ::= ifexprs ISNOTEVENBY ifexprs",
|
|
|
|
/* 172 */ "ifexpr ::= ifexprs ISODD",
|
|
|
|
/* 173 */ "ifexpr ::= ifexprs ISNOTODD",
|
|
|
|
/* 174 */ "ifexpr ::= ifexprs ISODDBY ifexprs",
|
|
|
|
/* 175 */ "ifexpr ::= ifexprs ISNOTODDBY ifexprs",
|
|
|
|
/* 176 */ "ifexpr ::= value INSTANCEOF ID",
|
|
|
|
/* 177 */ "ifexpr ::= value INSTANCEOF value",
|
|
|
|
/* 178 */ "ifcond ::= EQUALS",
|
|
|
|
/* 179 */ "ifcond ::= NOTEQUALS",
|
|
|
|
/* 180 */ "ifcond ::= GREATERTHAN",
|
|
|
|
/* 181 */ "ifcond ::= LESSTHAN",
|
|
|
|
/* 182 */ "ifcond ::= GREATEREQUAL",
|
|
|
|
/* 183 */ "ifcond ::= LESSEQUAL",
|
|
|
|
/* 184 */ "ifcond ::= IDENTITY",
|
|
|
|
/* 185 */ "ifcond ::= NONEIDENTITY",
|
|
|
|
/* 186 */ "ifcond ::= MOD",
|
|
|
|
/* 187 */ "lop ::= LAND",
|
|
|
|
/* 188 */ "lop ::= LOR",
|
|
|
|
/* 189 */ "lop ::= LXOR",
|
|
|
|
/* 190 */ "array ::= OPENB arrayelements CLOSEB",
|
|
|
|
/* 191 */ "arrayelements ::= arrayelement",
|
|
|
|
/* 192 */ "arrayelements ::= arrayelements COMMA arrayelement",
|
|
|
|
/* 193 */ "arrayelements ::=",
|
|
|
|
/* 194 */ "arrayelement ::= value APTR expr",
|
|
|
|
/* 195 */ "arrayelement ::= ID APTR expr",
|
|
|
|
/* 196 */ "arrayelement ::= expr",
|
|
|
|
/* 197 */ "doublequoted ::= doublequoted doublequotedcontent",
|
|
|
|
/* 198 */ "doublequoted ::= doublequotedcontent",
|
|
|
|
/* 199 */ "doublequotedcontent ::= BACKTICK variable BACKTICK",
|
|
|
|
/* 200 */ "doublequotedcontent ::= BACKTICK expr BACKTICK",
|
|
|
|
/* 201 */ "doublequotedcontent ::= DOLLARID",
|
|
|
|
/* 202 */ "doublequotedcontent ::= LDEL variable RDEL",
|
|
|
|
/* 203 */ "doublequotedcontent ::= LDEL expr RDEL",
|
|
|
|
/* 204 */ "doublequotedcontent ::= smartytag",
|
|
|
|
/* 205 */ "doublequotedcontent ::= OTHER",
|
|
|
|
/* 206 */ "optspace ::= SPACE",
|
|
|
|
/* 207 */ "optspace ::=",
|
2009-11-08 16:17:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
function tokenName($tokenType)
|
|
|
|
{
|
|
|
|
if ($tokenType === 0) {
|
|
|
|
return 'End of Input';
|
|
|
|
}
|
|
|
|
if ($tokenType > 0 && $tokenType < count($this->yyTokenName)) {
|
|
|
|
return $this->yyTokenName[$tokenType];
|
|
|
|
} else {
|
|
|
|
return "Unknown";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static function yy_destructor($yymajor, $yypminor)
|
|
|
|
{
|
|
|
|
switch ($yymajor) {
|
|
|
|
default: break; /* If no destructor action specified: do nothing */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function yy_pop_parser_stack()
|
|
|
|
{
|
|
|
|
if (!count($this->yystack)) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
$yytos = array_pop($this->yystack);
|
|
|
|
if (self::$yyTraceFILE && $this->yyidx >= 0) {
|
|
|
|
fwrite(self::$yyTraceFILE,
|
|
|
|
self::$yyTracePrompt . 'Popping ' . $this->yyTokenName[$yytos->major] .
|
|
|
|
"\n");
|
|
|
|
}
|
|
|
|
$yymajor = $yytos->major;
|
|
|
|
self::yy_destructor($yymajor, $yytos->minor);
|
|
|
|
$this->yyidx--;
|
|
|
|
return $yymajor;
|
|
|
|
}
|
|
|
|
|
|
|
|
function __destruct()
|
|
|
|
{
|
|
|
|
while ($this->yyidx >= 0) {
|
|
|
|
$this->yy_pop_parser_stack();
|
|
|
|
}
|
|
|
|
if (is_resource(self::$yyTraceFILE)) {
|
|
|
|
fclose(self::$yyTraceFILE);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function yy_get_expected_tokens($token)
|
|
|
|
{
|
|
|
|
$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 {
|
|
|
|
if ($done++ == 100) {
|
|
|
|
$this->yyidx = $yyidx;
|
|
|
|
$this->yystack = $stack;
|
|
|
|
// too much recursion prevents proper detection
|
|
|
|
// so give up
|
|
|
|
return array_unique($expected);
|
|
|
|
}
|
|
|
|
$yyruleno = $yyact - self::YYNSTATE;
|
|
|
|
$this->yyidx -= self::$yyRuleInfo[$yyruleno]['rhs'];
|
|
|
|
$nextstate = $this->yy_find_reduce_action(
|
|
|
|
$this->yystack[$this->yyidx]->stateno,
|
|
|
|
self::$yyRuleInfo[$yyruleno]['lhs']);
|
|
|
|
if (isset(self::$yyExpectedTokens[$nextstate])) {
|
|
|
|
$expected += self::$yyExpectedTokens[$nextstate];
|
|
|
|
if (in_array($token,
|
|
|
|
self::$yyExpectedTokens[$nextstate], true)) {
|
|
|
|
$this->yyidx = $yyidx;
|
|
|
|
$this->yystack = $stack;
|
|
|
|
return array_unique($expected);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if ($nextstate < self::YYNSTATE) {
|
|
|
|
// we need to shift a non-terminal
|
|
|
|
$this->yyidx++;
|
|
|
|
$x = new TP_yyStackEntry;
|
|
|
|
$x->stateno = $nextstate;
|
|
|
|
$x->major = self::$yyRuleInfo[$yyruleno]['lhs'];
|
|
|
|
$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);
|
|
|
|
return array_unique($expected);
|
|
|
|
}
|
|
|
|
|
|
|
|
function yy_is_expected_token($token)
|
|
|
|
{
|
|
|
|
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 {
|
|
|
|
if ($done++ == 100) {
|
|
|
|
$this->yyidx = $yyidx;
|
|
|
|
$this->yystack = $stack;
|
|
|
|
// too much recursion prevents proper detection
|
|
|
|
// so give up
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
$yyruleno = $yyact - self::YYNSTATE;
|
|
|
|
$this->yyidx -= self::$yyRuleInfo[$yyruleno]['rhs'];
|
|
|
|
$nextstate = $this->yy_find_reduce_action(
|
|
|
|
$this->yystack[$this->yyidx]->stateno,
|
|
|
|
self::$yyRuleInfo[$yyruleno]['lhs']);
|
|
|
|
if (isset(self::$yyExpectedTokens[$nextstate]) &&
|
|
|
|
in_array($token, self::$yyExpectedTokens[$nextstate], true)) {
|
|
|
|
$this->yyidx = $yyidx;
|
|
|
|
$this->yystack = $stack;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if ($nextstate < self::YYNSTATE) {
|
|
|
|
// we need to shift a non-terminal
|
|
|
|
$this->yyidx++;
|
|
|
|
$x = new TP_yyStackEntry;
|
|
|
|
$x->stateno = $nextstate;
|
|
|
|
$x->major = self::$yyRuleInfo[$yyruleno]['lhs'];
|
|
|
|
$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;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2009-12-05 15:10:47 +00:00
|
|
|
function yy_find_shift_action($iLookAhead)
|
2009-11-08 16:17:51 +00:00
|
|
|
{
|
|
|
|
$stateno = $this->yystack[$this->yyidx]->stateno;
|
|
|
|
|
|
|
|
/* 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 ||
|
|
|
|
self::$yy_lookahead[$i] != $iLookAhead) {
|
|
|
|
if (count(self::$yyFallback) && $iLookAhead < count(self::$yyFallback)
|
|
|
|
&& ($iFallback = self::$yyFallback[$iLookAhead]) != 0) {
|
|
|
|
if (self::$yyTraceFILE) {
|
|
|
|
fwrite(self::$yyTraceFILE, self::$yyTracePrompt . "FALLBACK " .
|
|
|
|
$this->yyTokenName[$iLookAhead] . " => " .
|
|
|
|
$this->yyTokenName[$iFallback] . "\n");
|
|
|
|
}
|
|
|
|
return $this->yy_find_shift_action($iFallback);
|
|
|
|
}
|
|
|
|
return self::$yy_default[$stateno];
|
|
|
|
} else {
|
|
|
|
return self::$yy_action[$i];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function yy_find_reduce_action($stateno, $iLookAhead)
|
|
|
|
{
|
|
|
|
/* $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 ||
|
|
|
|
self::$yy_lookahead[$i] != $iLookAhead) {
|
|
|
|
return self::$yy_default[$stateno];
|
|
|
|
} else {
|
|
|
|
return self::$yy_action[$i];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function yy_shift($yyNewState, $yyMajor, $yypMinor)
|
|
|
|
{
|
|
|
|
$this->yyidx++;
|
|
|
|
if ($this->yyidx >= self::YYSTACKDEPTH) {
|
|
|
|
$this->yyidx--;
|
|
|
|
if (self::$yyTraceFILE) {
|
|
|
|
fprintf(self::$yyTraceFILE, "%sStack Overflow!\n", self::$yyTracePrompt);
|
|
|
|
}
|
|
|
|
while ($this->yyidx >= 0) {
|
|
|
|
$this->yy_pop_parser_stack();
|
|
|
|
}
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
$yytos = new TP_yyStackEntry;
|
|
|
|
$yytos->stateno = $yyNewState;
|
|
|
|
$yytos->major = $yyMajor;
|
|
|
|
$yytos->minor = $yypMinor;
|
|
|
|
array_push($this->yystack, $yytos);
|
|
|
|
if (self::$yyTraceFILE && $this->yyidx > 0) {
|
|
|
|
fprintf(self::$yyTraceFILE, "%sShift %d\n", self::$yyTracePrompt,
|
|
|
|
$yyNewState);
|
|
|
|
fprintf(self::$yyTraceFILE, "%sStack:", self::$yyTracePrompt);
|
|
|
|
for($i = 1; $i <= $this->yyidx; $i++) {
|
|
|
|
fprintf(self::$yyTraceFILE, " %s",
|
|
|
|
$this->yyTokenName[$this->yystack[$i]->major]);
|
|
|
|
}
|
|
|
|
fwrite(self::$yyTraceFILE,"\n");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static public $yyRuleInfo = array(
|
2010-02-16 20:20:49 +00:00
|
|
|
array( 'lhs' => 86, 'rhs' => 1 ),
|
2010-02-24 18:01:03 +00:00
|
|
|
array( 'lhs' => 87, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 87, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 88, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 88, 'rhs' => 1 ),
|
2010-02-16 20:20:49 +00:00
|
|
|
array( 'lhs' => 88, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 88, 'rhs' => 3 ),
|
2010-02-24 18:01:03 +00:00
|
|
|
array( 'lhs' => 88, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 88, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 88, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 91, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 91, 'rhs' => 0 ),
|
|
|
|
array( 'lhs' => 92, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 92, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 92, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 92, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 93, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 93, 'rhs' => 0 ),
|
|
|
|
array( 'lhs' => 94, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 94, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 90, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 90, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 95, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 95, 'rhs' => 0 ),
|
|
|
|
array( 'lhs' => 96, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 96, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 96, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 96, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 96, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 4 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 4 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 4 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 4 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 6 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 6 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 7 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 7 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 7 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 6 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 6 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 6 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 4 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 4 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 6 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 6 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 8 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 5 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 5 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 5 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 13 ),
|
|
|
|
array( 'lhs' => 110, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 110, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 8 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 9 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 8 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 11 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 8 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 11 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 3 ),
|
2010-02-10 20:51:36 +00:00
|
|
|
array( 'lhs' => 112, 'rhs' => 1 ),
|
2010-02-24 18:01:03 +00:00
|
|
|
array( 'lhs' => 112, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 112, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 4 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 6 ),
|
|
|
|
array( 'lhs' => 89, 'rhs' => 5 ),
|
|
|
|
array( 'lhs' => 98, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 98, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 98, 'rhs' => 0 ),
|
|
|
|
array( 'lhs' => 113, 'rhs' => 4 ),
|
|
|
|
array( 'lhs' => 113, 'rhs' => 4 ),
|
|
|
|
array( 'lhs' => 113, 'rhs' => 4 ),
|
|
|
|
array( 'lhs' => 113, 'rhs' => 4 ),
|
|
|
|
array( 'lhs' => 113, 'rhs' => 4 ),
|
|
|
|
array( 'lhs' => 113, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 113, 'rhs' => 4 ),
|
|
|
|
array( 'lhs' => 107, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 107, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 106, 'rhs' => 4 ),
|
|
|
|
array( 'lhs' => 100, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 100, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 100, 'rhs' => 4 ),
|
2010-02-16 20:20:49 +00:00
|
|
|
array( 'lhs' => 114, 'rhs' => 1 ),
|
2010-02-24 18:01:03 +00:00
|
|
|
array( 'lhs' => 114, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 114, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 114, 'rhs' => 3 ),
|
2010-02-16 20:20:49 +00:00
|
|
|
array( 'lhs' => 114, 'rhs' => 1 ),
|
2010-02-24 18:01:03 +00:00
|
|
|
array( 'lhs' => 101, 'rhs' => 7 ),
|
|
|
|
array( 'lhs' => 101, 'rhs' => 7 ),
|
|
|
|
array( 'lhs' => 97, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 97, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 97, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 97, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 97, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 97, 'rhs' => 1 ),
|
2010-02-16 20:20:49 +00:00
|
|
|
array( 'lhs' => 97, 'rhs' => 3 ),
|
2010-02-24 18:01:03 +00:00
|
|
|
array( 'lhs' => 97, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 97, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 97, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 97, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 97, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 97, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 97, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 97, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 97, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 97, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 99, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 99, 'rhs' => 4 ),
|
|
|
|
array( 'lhs' => 99, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 99, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 99, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 103, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 119, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 119, 'rhs' => 0 ),
|
|
|
|
array( 'lhs' => 120, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 120, 'rhs' => 5 ),
|
|
|
|
array( 'lhs' => 120, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 120, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 120, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 120, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 120, 'rhs' => 4 ),
|
|
|
|
array( 'lhs' => 120, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 120, 'rhs' => 5 ),
|
|
|
|
array( 'lhs' => 120, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 120, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 109, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 109, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 121, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 121, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 118, 'rhs' => 2 ),
|
2010-02-26 13:28:54 +00:00
|
|
|
array( 'lhs' => 118, 'rhs' => 3 ),
|
2010-02-24 18:01:03 +00:00
|
|
|
array( 'lhs' => 122, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 122, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 123, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 123, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 123, 'rhs' => 5 ),
|
|
|
|
array( 'lhs' => 123, 'rhs' => 6 ),
|
|
|
|
array( 'lhs' => 123, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 115, 'rhs' => 4 ),
|
|
|
|
array( 'lhs' => 124, 'rhs' => 4 ),
|
|
|
|
array( 'lhs' => 125, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 125, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 125, 'rhs' => 0 ),
|
|
|
|
array( 'lhs' => 104, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 104, 'rhs' => 2 ),
|
2010-02-16 20:20:49 +00:00
|
|
|
array( 'lhs' => 117, 'rhs' => 1 ),
|
2010-02-24 18:01:03 +00:00
|
|
|
array( 'lhs' => 117, 'rhs' => 5 ),
|
|
|
|
array( 'lhs' => 117, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 117, 'rhs' => 6 ),
|
2010-02-16 20:20:49 +00:00
|
|
|
array( 'lhs' => 117, 'rhs' => 1 ),
|
2010-02-24 18:01:03 +00:00
|
|
|
array( 'lhs' => 117, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 117, 'rhs' => 4 ),
|
|
|
|
array( 'lhs' => 105, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 105, 'rhs' => 0 ),
|
|
|
|
array( 'lhs' => 126, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 126, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 102, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 102, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 102, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 127, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 127, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 127, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 127, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 127, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 127, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 127, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 127, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 127, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 127, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 127, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 127, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 127, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 127, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 127, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 127, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 127, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 128, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 128, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 128, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 128, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 128, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 128, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 128, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 128, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 128, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 129, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 129, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 129, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 111, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 130, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 130, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 130, 'rhs' => 0 ),
|
|
|
|
array( 'lhs' => 131, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 131, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 131, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 116, 'rhs' => 2 ),
|
|
|
|
array( 'lhs' => 116, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 132, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 132, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 132, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 132, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 132, 'rhs' => 3 ),
|
|
|
|
array( 'lhs' => 132, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 132, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 108, 'rhs' => 1 ),
|
|
|
|
array( 'lhs' => 108, 'rhs' => 0 ),
|
2009-11-08 16:17:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
static public $yyReduceMap = array(
|
2009-12-05 15:10:47 +00:00
|
|
|
0 => 0,
|
2009-12-27 15:06:49 +00:00
|
|
|
5 => 0,
|
2010-02-24 18:01:03 +00:00
|
|
|
12 => 0,
|
|
|
|
18 => 0,
|
|
|
|
24 => 0,
|
|
|
|
25 => 0,
|
|
|
|
62 => 0,
|
|
|
|
63 => 0,
|
|
|
|
64 => 0,
|
|
|
|
84 => 0,
|
2010-02-10 20:51:36 +00:00
|
|
|
91 => 0,
|
2010-02-24 18:01:03 +00:00
|
|
|
96 => 0,
|
|
|
|
98 => 0,
|
|
|
|
99 => 0,
|
|
|
|
100 => 0,
|
|
|
|
102 => 0,
|
|
|
|
110 => 0,
|
2010-02-26 13:28:54 +00:00
|
|
|
147 => 0,
|
|
|
|
191 => 0,
|
2009-12-05 15:10:47 +00:00
|
|
|
1 => 1,
|
|
|
|
2 => 2,
|
|
|
|
3 => 3,
|
|
|
|
4 => 4,
|
|
|
|
6 => 6,
|
|
|
|
7 => 7,
|
|
|
|
8 => 8,
|
|
|
|
9 => 9,
|
|
|
|
10 => 10,
|
2010-02-24 18:01:03 +00:00
|
|
|
16 => 10,
|
|
|
|
22 => 10,
|
|
|
|
92 => 10,
|
|
|
|
94 => 10,
|
|
|
|
95 => 10,
|
2010-02-10 20:51:36 +00:00
|
|
|
11 => 11,
|
2010-02-24 18:01:03 +00:00
|
|
|
17 => 11,
|
|
|
|
20 => 11,
|
|
|
|
23 => 11,
|
2010-02-16 20:20:49 +00:00
|
|
|
13 => 13,
|
2010-02-24 18:01:03 +00:00
|
|
|
14 => 13,
|
|
|
|
15 => 13,
|
|
|
|
19 => 13,
|
2010-02-16 20:20:49 +00:00
|
|
|
21 => 21,
|
2010-02-24 18:01:03 +00:00
|
|
|
26 => 26,
|
|
|
|
27 => 26,
|
|
|
|
28 => 28,
|
|
|
|
29 => 29,
|
2010-02-16 20:20:49 +00:00
|
|
|
30 => 30,
|
|
|
|
31 => 30,
|
|
|
|
32 => 30,
|
2010-02-24 18:01:03 +00:00
|
|
|
33 => 30,
|
|
|
|
34 => 34,
|
|
|
|
35 => 34,
|
2010-02-10 20:51:36 +00:00
|
|
|
36 => 36,
|
2010-02-24 18:01:03 +00:00
|
|
|
37 => 36,
|
|
|
|
38 => 36,
|
2010-02-10 20:51:36 +00:00
|
|
|
39 => 39,
|
2010-02-24 18:01:03 +00:00
|
|
|
40 => 39,
|
2010-02-16 20:20:49 +00:00
|
|
|
41 => 39,
|
2010-02-10 20:51:36 +00:00
|
|
|
42 => 42,
|
2010-02-24 18:01:03 +00:00
|
|
|
43 => 42,
|
2009-12-05 15:10:47 +00:00
|
|
|
44 => 44,
|
|
|
|
45 => 45,
|
2009-12-27 15:06:49 +00:00
|
|
|
46 => 46,
|
2010-01-13 15:33:54 +00:00
|
|
|
47 => 47,
|
2010-01-11 20:44:01 +00:00
|
|
|
48 => 48,
|
2010-02-24 18:01:03 +00:00
|
|
|
50 => 48,
|
2010-02-10 20:51:36 +00:00
|
|
|
49 => 49,
|
2010-02-16 20:20:49 +00:00
|
|
|
51 => 51,
|
2010-02-24 18:01:03 +00:00
|
|
|
52 => 52,
|
|
|
|
53 => 53,
|
|
|
|
69 => 53,
|
2010-02-26 13:28:54 +00:00
|
|
|
143 => 53,
|
|
|
|
151 => 53,
|
|
|
|
196 => 53,
|
2010-02-24 18:01:03 +00:00
|
|
|
54 => 54,
|
|
|
|
55 => 55,
|
2009-12-05 15:10:47 +00:00
|
|
|
56 => 56,
|
2010-01-13 15:33:54 +00:00
|
|
|
57 => 57,
|
|
|
|
58 => 58,
|
2010-02-16 20:20:49 +00:00
|
|
|
59 => 59,
|
2010-02-24 18:01:03 +00:00
|
|
|
60 => 60,
|
|
|
|
61 => 60,
|
|
|
|
65 => 65,
|
|
|
|
66 => 66,
|
2010-02-16 20:20:49 +00:00
|
|
|
67 => 67,
|
2010-02-24 18:01:03 +00:00
|
|
|
68 => 68,
|
2010-01-13 15:33:54 +00:00
|
|
|
70 => 70,
|
2010-02-10 20:51:36 +00:00
|
|
|
71 => 71,
|
|
|
|
72 => 72,
|
2010-02-24 18:01:03 +00:00
|
|
|
73 => 72,
|
|
|
|
74 => 72,
|
|
|
|
75 => 72,
|
|
|
|
77 => 72,
|
2010-02-17 21:30:36 +00:00
|
|
|
76 => 76,
|
2010-02-24 18:01:03 +00:00
|
|
|
78 => 78,
|
|
|
|
79 => 79,
|
2010-02-17 21:30:36 +00:00
|
|
|
80 => 80,
|
2010-02-24 18:01:03 +00:00
|
|
|
81 => 81,
|
|
|
|
82 => 82,
|
|
|
|
88 => 82,
|
|
|
|
127 => 82,
|
2010-02-26 13:28:54 +00:00
|
|
|
158 => 82,
|
|
|
|
198 => 82,
|
2010-02-24 18:01:03 +00:00
|
|
|
205 => 82,
|
2010-02-26 13:28:54 +00:00
|
|
|
206 => 82,
|
2010-02-24 18:01:03 +00:00
|
|
|
83 => 83,
|
|
|
|
85 => 85,
|
|
|
|
86 => 85,
|
|
|
|
87 => 85,
|
|
|
|
89 => 89,
|
|
|
|
90 => 89,
|
|
|
|
93 => 93,
|
2010-02-10 20:51:36 +00:00
|
|
|
97 => 97,
|
|
|
|
101 => 101,
|
2010-01-11 20:44:01 +00:00
|
|
|
103 => 103,
|
2009-12-05 15:10:47 +00:00
|
|
|
104 => 104,
|
|
|
|
105 => 105,
|
2010-02-16 20:20:49 +00:00
|
|
|
106 => 106,
|
2010-02-24 18:01:03 +00:00
|
|
|
107 => 107,
|
2009-12-27 15:06:49 +00:00
|
|
|
108 => 108,
|
2009-12-13 20:21:54 +00:00
|
|
|
109 => 109,
|
2009-12-05 15:10:47 +00:00
|
|
|
111 => 111,
|
2010-01-11 20:44:01 +00:00
|
|
|
112 => 112,
|
2010-01-13 15:33:54 +00:00
|
|
|
113 => 113,
|
2010-02-10 20:51:36 +00:00
|
|
|
114 => 114,
|
2010-02-26 13:28:54 +00:00
|
|
|
197 => 114,
|
2010-02-16 20:20:49 +00:00
|
|
|
115 => 115,
|
2010-02-26 13:28:54 +00:00
|
|
|
155 => 115,
|
2010-02-24 18:01:03 +00:00
|
|
|
116 => 116,
|
|
|
|
117 => 117,
|
2010-01-11 20:44:01 +00:00
|
|
|
118 => 118,
|
2010-02-24 18:01:03 +00:00
|
|
|
119 => 118,
|
|
|
|
120 => 118,
|
2010-02-16 20:20:49 +00:00
|
|
|
121 => 121,
|
2010-02-24 18:01:03 +00:00
|
|
|
122 => 122,
|
|
|
|
125 => 122,
|
2010-02-16 20:20:49 +00:00
|
|
|
123 => 123,
|
2010-02-24 18:01:03 +00:00
|
|
|
124 => 124,
|
2009-12-05 15:10:47 +00:00
|
|
|
126 => 126,
|
2010-02-26 13:28:54 +00:00
|
|
|
207 => 126,
|
2010-01-13 15:33:54 +00:00
|
|
|
128 => 128,
|
2010-02-10 20:51:36 +00:00
|
|
|
129 => 129,
|
2010-01-13 15:33:54 +00:00
|
|
|
130 => 130,
|
2010-02-26 13:28:54 +00:00
|
|
|
160 => 130,
|
2010-02-10 20:51:36 +00:00
|
|
|
131 => 131,
|
2009-12-13 20:21:54 +00:00
|
|
|
132 => 132,
|
2009-12-27 15:06:49 +00:00
|
|
|
133 => 133,
|
2009-12-13 20:21:54 +00:00
|
|
|
134 => 134,
|
2010-01-11 20:44:01 +00:00
|
|
|
135 => 135,
|
2009-12-05 15:10:47 +00:00
|
|
|
136 => 136,
|
|
|
|
137 => 137,
|
2010-02-16 20:20:49 +00:00
|
|
|
138 => 138,
|
2010-02-24 18:01:03 +00:00
|
|
|
139 => 139,
|
2010-01-11 20:44:01 +00:00
|
|
|
140 => 140,
|
2010-02-16 20:20:49 +00:00
|
|
|
141 => 141,
|
2010-02-26 13:28:54 +00:00
|
|
|
142 => 142,
|
2010-02-24 18:01:03 +00:00
|
|
|
144 => 144,
|
2010-02-26 13:28:54 +00:00
|
|
|
145 => 145,
|
|
|
|
146 => 145,
|
2010-02-16 20:20:49 +00:00
|
|
|
148 => 148,
|
2010-02-24 18:01:03 +00:00
|
|
|
149 => 149,
|
2010-02-26 13:28:54 +00:00
|
|
|
150 => 150,
|
2010-01-11 20:44:01 +00:00
|
|
|
152 => 152,
|
2010-02-16 20:20:49 +00:00
|
|
|
153 => 153,
|
2010-02-26 13:28:54 +00:00
|
|
|
154 => 154,
|
2010-02-10 20:51:36 +00:00
|
|
|
156 => 156,
|
2010-02-26 13:28:54 +00:00
|
|
|
157 => 157,
|
|
|
|
159 => 159,
|
2010-02-24 18:01:03 +00:00
|
|
|
161 => 161,
|
|
|
|
162 => 162,
|
2010-02-26 13:28:54 +00:00
|
|
|
165 => 162,
|
|
|
|
176 => 162,
|
2010-02-24 18:01:03 +00:00
|
|
|
163 => 163,
|
2010-02-26 13:28:54 +00:00
|
|
|
164 => 164,
|
2010-01-13 15:33:54 +00:00
|
|
|
166 => 166,
|
2009-12-05 15:10:47 +00:00
|
|
|
167 => 167,
|
2010-02-10 20:51:36 +00:00
|
|
|
168 => 168,
|
2010-02-26 13:28:54 +00:00
|
|
|
173 => 168,
|
2010-02-10 20:51:36 +00:00
|
|
|
169 => 169,
|
2010-02-26 13:28:54 +00:00
|
|
|
172 => 169,
|
2010-02-10 20:51:36 +00:00
|
|
|
170 => 170,
|
2010-02-26 13:28:54 +00:00
|
|
|
175 => 170,
|
|
|
|
171 => 171,
|
|
|
|
174 => 171,
|
2010-01-11 20:44:01 +00:00
|
|
|
177 => 177,
|
|
|
|
178 => 178,
|
2010-02-16 20:20:49 +00:00
|
|
|
179 => 179,
|
2010-02-24 18:01:03 +00:00
|
|
|
180 => 180,
|
2010-01-13 15:33:54 +00:00
|
|
|
181 => 181,
|
2009-12-31 16:38:12 +00:00
|
|
|
182 => 182,
|
2009-12-27 15:06:49 +00:00
|
|
|
183 => 183,
|
2010-02-16 20:20:49 +00:00
|
|
|
184 => 184,
|
2010-02-24 18:01:03 +00:00
|
|
|
185 => 185,
|
|
|
|
186 => 186,
|
|
|
|
187 => 187,
|
2010-02-14 20:26:57 +00:00
|
|
|
188 => 188,
|
2010-01-11 20:44:01 +00:00
|
|
|
189 => 189,
|
2010-02-26 13:28:54 +00:00
|
|
|
190 => 190,
|
2010-02-10 20:51:36 +00:00
|
|
|
192 => 192,
|
2010-02-16 20:20:49 +00:00
|
|
|
193 => 193,
|
2010-02-24 18:01:03 +00:00
|
|
|
194 => 194,
|
2010-02-26 13:28:54 +00:00
|
|
|
195 => 195,
|
2010-02-24 18:01:03 +00:00
|
|
|
199 => 199,
|
|
|
|
200 => 200,
|
|
|
|
201 => 201,
|
|
|
|
202 => 202,
|
|
|
|
203 => 203,
|
2010-02-26 13:28:54 +00:00
|
|
|
204 => 204,
|
2009-11-08 16:17:51 +00:00
|
|
|
);
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 83 "smarty_internal_templateparser.y"
|
2009-12-05 15:10:47 +00:00
|
|
|
function yy_r0(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2038 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 89 "smarty_internal_templateparser.y"
|
2009-12-27 15:06:49 +00:00
|
|
|
function yy_r1(){if ($this->template->extract_code == false) {
|
|
|
|
$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;
|
|
|
|
} else {
|
|
|
|
// store code in extract buffer
|
|
|
|
$this->template->extracted_compiled_code .= $this->yystack[$this->yyidx + 0]->minor;
|
|
|
|
}
|
|
|
|
}
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2047 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 97 "smarty_internal_templateparser.y"
|
2009-12-27 15:06:49 +00:00
|
|
|
function yy_r2(){if ($this->template->extract_code == false) {
|
|
|
|
$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;
|
|
|
|
} else {
|
|
|
|
// store code in extract buffer
|
|
|
|
$this->template->extracted_compiled_code .= $this->yystack[$this->yyidx + 0]->minor;
|
|
|
|
$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor;
|
|
|
|
}
|
|
|
|
}
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2057 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 110 "smarty_internal_templateparser.y"
|
2009-10-31 00:44:58 +00:00
|
|
|
function yy_r3(){
|
2009-10-22 23:05:14 +00:00
|
|
|
if ($this->compiler->has_code) {
|
|
|
|
$tmp =''; foreach ($this->compiler->prefix_code as $code) {$tmp.=$code;} $this->compiler->prefix_code=array();
|
2009-12-27 15:06:49 +00:00
|
|
|
$this->_retvalue = $this->compiler->processNocacheCode($tmp.$this->yystack[$this->yyidx + 0]->minor,true);
|
2009-12-05 15:10:47 +00:00
|
|
|
} else { $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;} $this->compiler->has_variable_string = false; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2064 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 117 "smarty_internal_templateparser.y"
|
2009-12-27 15:06:49 +00:00
|
|
|
function yy_r4(){ $this->_retvalue = ''; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2067 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 123 "smarty_internal_templateparser.y"
|
2009-12-27 15:06:49 +00:00
|
|
|
function yy_r6(){
|
2009-12-05 13:38:09 +00:00
|
|
|
if ($this->sec_obj->php_handling == SMARTY_PHP_PASSTHRU) {
|
2010-02-24 18:01:03 +00:00
|
|
|
$this->_retvalue = self::escape_start_tag($this->yystack[$this->yyidx + -2]->minor) . str_replace('<?','<?',$this->yystack[$this->yyidx + -1]->minor) . '?<??>>';
|
2009-10-22 23:05:14 +00:00
|
|
|
} elseif ($this->sec_obj->php_handling == SMARTY_PHP_QUOTE) {
|
2010-02-24 18:01:03 +00:00
|
|
|
$this->_retvalue = $this->compiler->processNocacheCode(htmlspecialchars($this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.'?>', ENT_QUOTES), false);
|
2009-12-05 13:38:09 +00:00
|
|
|
}elseif ($this->sec_obj->php_handling == SMARTY_PHP_ALLOW) {
|
2010-02-24 18:01:03 +00:00
|
|
|
$this->_retvalue = $this->compiler->processNocacheCode('<?php'.$this->yystack[$this->yyidx + -1]->minor.'?>', true);
|
2009-12-27 15:06:49 +00:00
|
|
|
}elseif ($this->sec_obj->php_handling == SMARTY_PHP_REMOVE) {
|
2009-10-31 00:44:58 +00:00
|
|
|
$this->_retvalue = '';
|
2009-10-22 23:05:14 +00:00
|
|
|
}
|
2009-12-05 15:10:47 +00:00
|
|
|
}
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2080 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 135 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r7(){if ($this->lex->strip) {
|
2009-12-27 15:06:49 +00:00
|
|
|
$this->_retvalue = preg_replace('![\$this->yystack[$this->yyidx + 0]->minor ]*[\r\n]+[\$this->yystack[$this->yyidx + 0]->minor ]*!', '', self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor));
|
2009-12-17 20:39:11 +00:00
|
|
|
} else {
|
2009-12-27 15:06:49 +00:00
|
|
|
$this->_retvalue = self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor);
|
2009-12-17 20:39:11 +00:00
|
|
|
}
|
|
|
|
}
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2088 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 143 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r8(){ $this->compiler->tag_nocache = true; $this->_retvalue = $this->compiler->processNocacheCode("<?php echo '<?xml';?>", $this->compiler, true); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2091 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 146 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r9(){if ($this->lex->strip) {
|
2010-02-16 20:20:49 +00:00
|
|
|
$this->_retvalue = preg_replace('![\t ]*[\r\n]+[\t ]*!', '', $this->yystack[$this->yyidx + 0]->minor);
|
|
|
|
} else {
|
|
|
|
$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;
|
|
|
|
}
|
|
|
|
}
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2099 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 154 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r10(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2102 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 155 "smarty_internal_templateparser.y"
|
2010-02-16 20:20:49 +00:00
|
|
|
function yy_r11(){ $this->_retvalue = ''; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2105 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 158 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r13(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2108 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 171 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r21(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2111 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 178 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r26(){ $this->_retvalue = self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2114 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 180 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r28(){ $this->_retvalue = self::escape_end_tag($this->yystack[$this->yyidx + 0]->minor); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2117 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 188 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r29(){ $this->_retvalue = $this->compiler->compileTag('private_print_expression',array('value'=>$this->yystack[$this->yyidx + -1]->minor)); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2120 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 189 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r30(){ $this->_retvalue = $this->compiler->compileTag('private_print_expression',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2123 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 200 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r34(){ $this->_retvalue = $this->compiler->compileTag('assign',array('value'=>$this->yystack[$this->yyidx + -1]->minor,'var'=>"'".$this->yystack[$this->yyidx + -3]->minor."'")); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2126 "smarty_internal_templateparser.php"
|
2010-02-18 16:28:11 +00:00
|
|
|
#line 202 "smarty_internal_templateparser.y"
|
2010-02-24 18:01:03 +00:00
|
|
|
function yy_r36(){ $this->_retvalue = $this->compiler->compileTag('assign',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor,'var'=>"'".$this->yystack[$this->yyidx + -4]->minor."'"),$this->yystack[$this->yyidx + -1]->minor)); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2129 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 205 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r39(){ $this->_retvalue = $this->compiler->compileTag('assign',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -4]->minor,$this->yystack[$this->yyidx + -1]->minor)); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2132 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 209 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r42(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor,$this->yystack[$this->yyidx + -1]->minor); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2135 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 211 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r44(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor,array()); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2138 "smarty_internal_templateparser.php"
|
2010-02-18 16:28:11 +00:00
|
|
|
#line 213 "smarty_internal_templateparser.y"
|
2010-02-24 18:01:03 +00:00
|
|
|
function yy_r45(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor,array_merge(array('object_methode'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2141 "smarty_internal_templateparser.php"
|
2010-02-18 16:28:11 +00:00
|
|
|
#line 215 "smarty_internal_templateparser.y"
|
2010-02-24 18:01:03 +00:00
|
|
|
function yy_r46(){ $this->_retvalue = '<?php ob_start();?>'.$this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor,$this->yystack[$this->yyidx + -1]->minor).'<?php echo ';
|
2010-01-11 20:44:01 +00:00
|
|
|
$this->_retvalue .= $this->compiler->compileTag('private_modifier',array('modifier'=>$this->yystack[$this->yyidx + -3]->minor,'params'=>'ob_get_clean()'.$this->yystack[$this->yyidx + -2]->minor)).'?>';
|
|
|
|
}
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2146 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 219 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r47(){ $this->_retvalue = '<?php ob_start();?>'.$this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array_merge(array('object_methode'=>$this->yystack[$this->yyidx + -4]->minor),$this->yystack[$this->yyidx + -1]->minor)).'<?php echo ';
|
2010-01-11 20:44:01 +00:00
|
|
|
$this->_retvalue .= $this->compiler->compileTag('private_modifier',array('modifier'=>$this->yystack[$this->yyidx + -3]->minor,'params'=>'ob_get_clean()'.$this->yystack[$this->yyidx + -2]->minor)).'?>';
|
|
|
|
}
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2151 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 223 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r48(){ $this->_retvalue = $this->compiler->compileTag(($this->yystack[$this->yyidx + -3]->minor == 'else if')? 'elseif' : $this->yystack[$this->yyidx + -3]->minor,array('if condition'=>$this->yystack[$this->yyidx + -1]->minor)); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2154 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 224 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r49(){ $this->_retvalue = $this->compiler->compileTag(($this->yystack[$this->yyidx + -3]->minor == 'else if')? 'elseif' : $this->yystack[$this->yyidx + -3]->minor,array('if condition'=>trim($this->yystack[$this->yyidx + -2]->minor).$this->yystack[$this->yyidx + -1]->minor)); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2157 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 227 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r51(){
|
2010-02-16 20:20:49 +00:00
|
|
|
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -11]->minor,array('start'=>$this->yystack[$this->yyidx + -9]->minor,'ifexp'=>$this->yystack[$this->yyidx + -6]->minor,'varloop'=>$this->yystack[$this->yyidx + -2]->minor,'loop'=>$this->yystack[$this->yyidx + -1]->minor)); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2161 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 229 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r52(){ $this->_retvalue = '='.$this->yystack[$this->yyidx + 0]->minor; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2164 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 230 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r53(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2167 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 231 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r54(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array_merge(array('start'=>$this->yystack[$this->yyidx + -4]->minor,'to'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2170 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 232 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r55(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -7]->minor,array('start'=>$this->yystack[$this->yyidx + -5]->minor,'to'=>$this->yystack[$this->yyidx + -3]->minor,'step'=>$this->yystack[$this->yyidx + -1]->minor)); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2173 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 234 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r56(){
|
2010-01-13 15:33:54 +00:00
|
|
|
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array('from'=>$this->yystack[$this->yyidx + -4]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor)); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2177 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 236 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r57(){
|
2010-01-11 20:44:01 +00:00
|
|
|
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -9]->minor,array('from'=>$this->yystack[$this->yyidx + -7]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor,'key'=>$this->yystack[$this->yyidx + -4]->minor)); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2181 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 238 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r58(){
|
2010-02-16 20:20:49 +00:00
|
|
|
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array('from'=>$this->yystack[$this->yyidx + -4]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor)); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2185 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 240 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r59(){
|
2010-02-18 16:28:11 +00:00
|
|
|
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -9]->minor,array('from'=>$this->yystack[$this->yyidx + -7]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor,'key'=>$this->yystack[$this->yyidx + -4]->minor)); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2189 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 244 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r60(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor.'close',array()); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2192 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 249 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r65(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor.'close',$this->yystack[$this->yyidx + -1]->minor); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2195 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 250 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r66(){ $this->_retvalue = '<?php ob_start();?>'.$this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor.'close',$this->yystack[$this->yyidx + -1]->minor).'<?php echo ';
|
2010-02-16 20:20:49 +00:00
|
|
|
$this->_retvalue .= $this->compiler->compileTag('private_modifier',array('modifier'=>$this->yystack[$this->yyidx + -3]->minor,'params'=>'ob_get_clean()'.$this->yystack[$this->yyidx + -2]->minor)).'?>';
|
|
|
|
}
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2200 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 254 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r67(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor.'close',array('object_methode'=>$this->yystack[$this->yyidx + -1]->minor)); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2203 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 261 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r68(){ $this->_retvalue = array_merge($this->yystack[$this->yyidx + -1]->minor,$this->yystack[$this->yyidx + 0]->minor); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2206 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 265 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r70(){ $this->_retvalue = array(); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2209 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 268 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r71(){ $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>"'".$this->yystack[$this->yyidx + 0]->minor."'"); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2212 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 269 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r72(){ $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>$this->yystack[$this->yyidx + 0]->minor); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2215 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 273 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r76(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor=>'true'); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2218 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 280 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r78(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2221 "smarty_internal_templateparser.php"
|
2010-02-18 16:28:11 +00:00
|
|
|
#line 281 "smarty_internal_templateparser.y"
|
2010-02-24 18:01:03 +00:00
|
|
|
function yy_r79(){ $this->yystack[$this->yyidx + -2]->minor[]=$this->yystack[$this->yyidx + 0]->minor; $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2224 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 283 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r80(){ $this->_retvalue = array('var' => $this->yystack[$this->yyidx + -2]->minor, 'value'=>$this->yystack[$this->yyidx + 0]->minor); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2227 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 289 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r81(){ $this->_retvalue = '\''.$this->yystack[$this->yyidx + 0]->minor.'\''; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2230 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 290 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r82(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2233 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 292 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r83(){$this->_retvalue = '$_smarty_tpl->getStreamVariable(\''. $this->yystack[$this->yyidx + -2]->minor .'://'. $this->yystack[$this->yyidx + 0]->minor . '\')'; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2236 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 297 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r85(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor . trim($this->yystack[$this->yyidx + -1]->minor) . $this->yystack[$this->yyidx + 0]->minor; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2239 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 310 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r89(){ $this->_retvalue = $this->yystack[$this->yyidx + -5]->minor.' ? '.$this->yystack[$this->yyidx + -2]->minor.' : '.$this->yystack[$this->yyidx + 0]->minor; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2242 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 319 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r93(){ $this->_retvalue = '!'.$this->yystack[$this->yyidx + 0]->minor; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2245 "smarty_internal_templateparser.php"
|
2010-02-18 16:28:11 +00:00
|
|
|
#line 324 "smarty_internal_templateparser.y"
|
2010-02-24 18:01:03 +00:00
|
|
|
function yy_r97(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2248 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 334 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r101(){ $this->_retvalue = "(". $this->yystack[$this->yyidx + -1]->minor .")"; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2251 "smarty_internal_templateparser.php"
|
2010-02-18 16:28:11 +00:00
|
|
|
#line 338 "smarty_internal_templateparser.y"
|
2010-02-24 18:01:03 +00:00
|
|
|
function yy_r103(){ $_s = str_replace(array('."".','.""'),array('.',''),'"'.$this->yystack[$this->yyidx + -1]->minor.'"');
|
2010-01-11 20:44:01 +00:00
|
|
|
if (substr($_s,0,3) == '"".') {
|
|
|
|
$this->_retvalue = substr($_s,3);
|
|
|
|
} else {
|
|
|
|
$this->_retvalue = $_s;
|
|
|
|
}
|
2009-11-17 18:09:29 +00:00
|
|
|
}
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2260 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 345 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r104(){ $this->_retvalue = "''"; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2263 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 347 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r105(){if (!$this->template->security || $this->smarty->security_handler->isTrustedStaticClass($this->yystack[$this->yyidx + -2]->minor, $this->compiler)) {
|
|
|
|
$this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'::'.$this->yystack[$this->yyidx + 0]->minor;
|
|
|
|
} }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2268 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 351 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r106(){ $this->prefix_number++; $this->compiler->prefix_code[] = '<?php ob_start();?>'.$this->yystack[$this->yyidx + 0]->minor.'<?php $_tmp'.$this->prefix_number.'=ob_get_clean();?>'; $this->_retvalue = '$_tmp'.$this->prefix_number; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2271 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 353 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r107(){ $this->_retvalue = $this->compiler->compileTag('private_modifier',array('modifier'=>$this->yystack[$this->yyidx + -1]->minor,'params'=>$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor)); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2274 "smarty_internal_templateparser.php"
|
2010-02-18 16:28:11 +00:00
|
|
|
#line 362 "smarty_internal_templateparser.y"
|
2010-02-24 18:01:03 +00:00
|
|
|
function yy_r108(){if ($this->yystack[$this->yyidx + 0]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable',$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index']);} else {
|
|
|
|
$this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + 0]->minor['var'] .')->value'.$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index']; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + 0]->minor['var'],"'"), null, true, false)->nocache;} }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2278 "smarty_internal_templateparser.php"
|
2010-02-18 16:28:11 +00:00
|
|
|
#line 365 "smarty_internal_templateparser.y"
|
2010-02-24 18:01:03 +00:00
|
|
|
function yy_r109(){ $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor .')->'.$this->yystack[$this->yyidx + 0]->minor; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -2]->minor,"'"), null, true, false)->nocache; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2281 "smarty_internal_templateparser.php"
|
2010-02-18 16:28:11 +00:00
|
|
|
#line 369 "smarty_internal_templateparser.y"
|
2010-02-24 18:01:03 +00:00
|
|
|
function yy_r111(){$this->_retvalue = '$_smarty_tpl->getConfigVariable(\''. $this->yystack[$this->yyidx + -1]->minor .'\')'; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2284 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 370 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r112(){$this->_retvalue = '$_smarty_tpl->getConfigVariable('. $this->yystack[$this->yyidx + -1]->minor .')'; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2287 "smarty_internal_templateparser.php"
|
2010-02-18 16:28:11 +00:00
|
|
|
#line 373 "smarty_internal_templateparser.y"
|
2010-02-24 18:01:03 +00:00
|
|
|
function yy_r113(){$this->_retvalue = array('var'=>$this->yystack[$this->yyidx + -1]->minor, 'smarty_internal_index'=>$this->yystack[$this->yyidx + 0]->minor); }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2290 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 379 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r114(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2293 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 381 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r115(){return; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2296 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 385 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r116(){ $this->_retvalue = '[$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + 0]->minor .')->value]'; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable('$this->yystack[$this->yyidx + 0]->minor', null, true, false)->nocache; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2299 "smarty_internal_templateparser.php"
|
2010-02-17 21:30:36 +00:00
|
|
|
#line 386 "smarty_internal_templateparser.y"
|
2010-02-24 18:01:03 +00:00
|
|
|
function yy_r117(){ $this->_retvalue = '[$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor .')->'.$this->yystack[$this->yyidx + 0]->minor.']'; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -2]->minor,"'"), null, true, false)->nocache; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2302 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 389 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r118(){ $this->_retvalue = "['". $this->yystack[$this->yyidx + 0]->minor ."']"; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2305 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 393 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r121(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + 0]->minor ."]"; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2308 "smarty_internal_templateparser.php"
|
2010-02-18 16:28:11 +00:00
|
|
|
#line 394 "smarty_internal_templateparser.y"
|
2010-02-24 18:01:03 +00:00
|
|
|
function yy_r122(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + -1]->minor ."]"; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2311 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 396 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r123(){ $this->_retvalue = '['.$this->compiler->compileTag('private_special_variable','[\'section\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\'][\'index\']').']'; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2314 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 397 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r124(){ $this->_retvalue = '['.$this->compiler->compileTag('private_special_variable','[\'section\'][\''.$this->yystack[$this->yyidx + -3]->minor.'\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\']').']'; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2317 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 401 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r126(){$this->_retvalue = ''; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2320 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 409 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r128(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2323 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 411 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r129(){$this->_retvalue = '\''.$this->yystack[$this->yyidx + 0]->minor.'\''; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2326 "smarty_internal_templateparser.php"
|
2010-02-18 16:28:11 +00:00
|
|
|
#line 414 "smarty_internal_templateparser.y"
|
2010-02-24 18:01:03 +00:00
|
|
|
function yy_r130(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -1]->minor.')'; }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2329 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 419 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r131(){ if ($this->yystack[$this->yyidx + -1]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable',$this->yystack[$this->yyidx + -1]->minor['smarty_internal_index']).$this->yystack[$this->yyidx + 0]->minor;} else {
|
2010-02-16 20:20:49 +00:00
|
|
|
$this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -1]->minor['var'] .')->value'.$this->yystack[$this->yyidx + -1]->minor['smarty_internal_index'].$this->yystack[$this->yyidx + 0]->minor; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -1]->minor['var'],"'"), null, true, false)->nocache;} }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2333 "smarty_internal_templateparser.php"
|
|
|
|
#line 421 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r132(){ if ($this->yystack[$this->yyidx + -2]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable',$this->yystack[$this->yyidx + -2]->minor['smarty_internal_index']).'::'.$this->yystack[$this->yyidx + 0]->minor;} else {
|
|
|
|
$this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor['var'] .')->value'.$this->yystack[$this->yyidx + -2]->minor['smarty_internal_index'].'::'.$this->yystack[$this->yyidx + 0]->minor; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -2]->minor['var'],"'"), null, true, false)->nocache;} }
|
|
|
|
#line 2337 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 424 "smarty_internal_templateparser.y"
|
2010-02-26 13:28:54 +00:00
|
|
|
function yy_r133(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; }
|
|
|
|
#line 2340 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 426 "smarty_internal_templateparser.y"
|
2010-02-26 13:28:54 +00:00
|
|
|
function yy_r134(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
|
|
|
|
#line 2343 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 428 "smarty_internal_templateparser.y"
|
2010-02-26 13:28:54 +00:00
|
|
|
function yy_r135(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
|
|
|
|
#line 2346 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 429 "smarty_internal_templateparser.y"
|
2010-02-26 13:28:54 +00:00
|
|
|
function yy_r136(){ $this->_retvalue = '->{'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; }
|
|
|
|
#line 2349 "smarty_internal_templateparser.php"
|
|
|
|
#line 430 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r137(){ $this->_retvalue = '->{'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; }
|
|
|
|
#line 2352 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 431 "smarty_internal_templateparser.y"
|
2010-02-26 13:28:54 +00:00
|
|
|
function yy_r138(){ $this->_retvalue = '->{\''.$this->yystack[$this->yyidx + -4]->minor.'\'.'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; }
|
|
|
|
#line 2355 "smarty_internal_templateparser.php"
|
|
|
|
#line 433 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r139(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + 0]->minor; }
|
|
|
|
#line 2358 "smarty_internal_templateparser.php"
|
|
|
|
#line 439 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r140(){if (!$this->template->security || $this->smarty->security_handler->isTrustedPhpFunction($this->yystack[$this->yyidx + -3]->minor, $this->compiler)) {
|
2010-02-24 18:01:03 +00:00
|
|
|
if ($this->yystack[$this->yyidx + -3]->minor == 'isset' || $this->yystack[$this->yyidx + -3]->minor == 'empty' || $this->yystack[$this->yyidx + -3]->minor == 'array' || is_callable($this->yystack[$this->yyidx + -3]->minor)) {
|
|
|
|
$this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". $this->yystack[$this->yyidx + -1]->minor .")";
|
|
|
|
} else {
|
|
|
|
$this->compiler->trigger_template_error ("unknown function \"" . $this->yystack[$this->yyidx + -3]->minor . "\"");
|
|
|
|
}
|
|
|
|
} }
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2367 "smarty_internal_templateparser.php"
|
|
|
|
#line 450 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r141(){ $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". $this->yystack[$this->yyidx + -1]->minor .")"; }
|
|
|
|
#line 2370 "smarty_internal_templateparser.php"
|
|
|
|
#line 454 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r142(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.",".$this->yystack[$this->yyidx + 0]->minor; }
|
|
|
|
#line 2373 "smarty_internal_templateparser.php"
|
|
|
|
#line 458 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r144(){ return; }
|
|
|
|
#line 2376 "smarty_internal_templateparser.php"
|
|
|
|
#line 463 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r145(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; }
|
|
|
|
#line 2379 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 468 "smarty_internal_templateparser.y"
|
2010-02-26 13:28:54 +00:00
|
|
|
function yy_r148(){ $this->prefix_number++; $this->compiler->prefix_code[] = '<?php $_tmp'.$this->prefix_number.'=$_smarty_tpl->getVariable(\''. $this->yystack[$this->yyidx + -3]->minor .'\')->value;?>'; $this->_retvalue = '$_tmp'.$this->prefix_number.'('. $this->yystack[$this->yyidx + -1]->minor .')'; }
|
|
|
|
#line 2382 "smarty_internal_templateparser.php"
|
|
|
|
#line 470 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r149(){ $this->_retvalue = c.'::'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
|
|
|
|
#line 2385 "smarty_internal_templateparser.php"
|
|
|
|
#line 471 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r150(){ $this->prefix_number++; $this->compiler->prefix_code[] = '<?php $_tmp'.$this->prefix_number.'=$_smarty_tpl->getVariable(\''. $this->yystack[$this->yyidx + -4]->minor .'\')->value;?>'; $this->_retvalue = '$_tmp'.$this->prefix_number.'('. $this->yystack[$this->yyidx + -2]->minor .')'.$this->yystack[$this->yyidx + 0]->minor; }
|
|
|
|
#line 2388 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 475 "smarty_internal_templateparser.y"
|
2010-02-26 13:28:54 +00:00
|
|
|
function yy_r152(){ $this->_retvalue = '$'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
|
|
|
|
#line 2391 "smarty_internal_templateparser.php"
|
|
|
|
#line 477 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r153(){ $this->_retvalue = '$'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
|
|
|
|
#line 2394 "smarty_internal_templateparser.php"
|
|
|
|
#line 488 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r154(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
|
|
|
|
#line 2397 "smarty_internal_templateparser.php"
|
|
|
|
#line 492 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r156(){$this->_retvalue = ','.$this->yystack[$this->yyidx + 0]->minor; }
|
|
|
|
#line 2400 "smarty_internal_templateparser.php"
|
|
|
|
#line 493 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r157(){$this->_retvalue = ',\''.$this->yystack[$this->yyidx + 0]->minor.'\''; }
|
|
|
|
#line 2403 "smarty_internal_templateparser.php"
|
|
|
|
#line 500 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r159(){$this->_retvalue = '!'.$this->yystack[$this->yyidx + 0]->minor; }
|
|
|
|
#line 2406 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 505 "smarty_internal_templateparser.y"
|
2010-02-26 13:28:54 +00:00
|
|
|
function yy_r161(){$this->_retvalue =$this->yystack[$this->yyidx + 0]->minor; }
|
|
|
|
#line 2409 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 506 "smarty_internal_templateparser.y"
|
2010-02-26 13:28:54 +00:00
|
|
|
function yy_r162(){$this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
|
|
|
|
#line 2412 "smarty_internal_templateparser.php"
|
|
|
|
#line 507 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r163(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor.')'; }
|
|
|
|
#line 2415 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 508 "smarty_internal_templateparser.y"
|
2010-02-26 13:28:54 +00:00
|
|
|
function yy_r164(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.',(array)'.$this->yystack[$this->yyidx + 0]->minor.')'; }
|
|
|
|
#line 2418 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 510 "smarty_internal_templateparser.y"
|
2010-02-26 13:28:54 +00:00
|
|
|
function yy_r166(){$this->_retvalue = '!('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')'; }
|
|
|
|
#line 2421 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 511 "smarty_internal_templateparser.y"
|
2010-02-26 13:28:54 +00:00
|
|
|
function yy_r167(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')'; }
|
|
|
|
#line 2424 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 512 "smarty_internal_templateparser.y"
|
2010-02-26 13:28:54 +00:00
|
|
|
function yy_r168(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -1]->minor.')'; }
|
|
|
|
#line 2427 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 513 "smarty_internal_templateparser.y"
|
2010-02-26 13:28:54 +00:00
|
|
|
function yy_r169(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -1]->minor.')'; }
|
|
|
|
#line 2430 "smarty_internal_templateparser.php"
|
|
|
|
#line 514 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r170(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')'; }
|
|
|
|
#line 2433 "smarty_internal_templateparser.php"
|
|
|
|
#line 515 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r171(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')'; }
|
|
|
|
#line 2436 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 521 "smarty_internal_templateparser.y"
|
2010-02-26 13:28:54 +00:00
|
|
|
function yy_r177(){$this->prefix_number++; $this->compiler->prefix_code[] = '<?php $_tmp'.$this->prefix_number.'='.$this->yystack[$this->yyidx + 0]->minor.';?>'; $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.'$_tmp'.$this->prefix_number; }
|
|
|
|
#line 2439 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 523 "smarty_internal_templateparser.y"
|
2010-02-26 13:28:54 +00:00
|
|
|
function yy_r178(){$this->_retvalue = '=='; }
|
|
|
|
#line 2442 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 524 "smarty_internal_templateparser.y"
|
2010-02-26 13:28:54 +00:00
|
|
|
function yy_r179(){$this->_retvalue = '!='; }
|
|
|
|
#line 2445 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 525 "smarty_internal_templateparser.y"
|
2010-02-26 13:28:54 +00:00
|
|
|
function yy_r180(){$this->_retvalue = '>'; }
|
|
|
|
#line 2448 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 526 "smarty_internal_templateparser.y"
|
2010-02-26 13:28:54 +00:00
|
|
|
function yy_r181(){$this->_retvalue = '<'; }
|
|
|
|
#line 2451 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 527 "smarty_internal_templateparser.y"
|
2010-02-26 13:28:54 +00:00
|
|
|
function yy_r182(){$this->_retvalue = '>='; }
|
|
|
|
#line 2454 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 528 "smarty_internal_templateparser.y"
|
2010-02-26 13:28:54 +00:00
|
|
|
function yy_r183(){$this->_retvalue = '<='; }
|
|
|
|
#line 2457 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 529 "smarty_internal_templateparser.y"
|
2010-02-26 13:28:54 +00:00
|
|
|
function yy_r184(){$this->_retvalue = '==='; }
|
|
|
|
#line 2460 "smarty_internal_templateparser.php"
|
|
|
|
#line 530 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r185(){$this->_retvalue = '!=='; }
|
|
|
|
#line 2463 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 531 "smarty_internal_templateparser.y"
|
2010-02-26 13:28:54 +00:00
|
|
|
function yy_r186(){$this->_retvalue = '%'; }
|
|
|
|
#line 2466 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 533 "smarty_internal_templateparser.y"
|
2010-02-26 13:28:54 +00:00
|
|
|
function yy_r187(){$this->_retvalue = '&&'; }
|
|
|
|
#line 2469 "smarty_internal_templateparser.php"
|
|
|
|
#line 534 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r188(){$this->_retvalue = '||'; }
|
|
|
|
#line 2472 "smarty_internal_templateparser.php"
|
|
|
|
#line 535 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r189(){$this->_retvalue = ' XOR '; }
|
|
|
|
#line 2475 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 540 "smarty_internal_templateparser.y"
|
2010-02-26 13:28:54 +00:00
|
|
|
function yy_r190(){ $this->_retvalue = 'array('.$this->yystack[$this->yyidx + -1]->minor.')'; }
|
|
|
|
#line 2478 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 542 "smarty_internal_templateparser.y"
|
2010-02-26 13:28:54 +00:00
|
|
|
function yy_r192(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor; }
|
|
|
|
#line 2481 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 543 "smarty_internal_templateparser.y"
|
2010-02-26 13:28:54 +00:00
|
|
|
function yy_r193(){ return; }
|
|
|
|
#line 2484 "smarty_internal_templateparser.php"
|
|
|
|
#line 544 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r194(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'=>'.$this->yystack[$this->yyidx + 0]->minor; }
|
|
|
|
#line 2487 "smarty_internal_templateparser.php"
|
|
|
|
#line 545 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r195(){ $this->_retvalue = '\''.$this->yystack[$this->yyidx + -2]->minor.'\'=>'.$this->yystack[$this->yyidx + 0]->minor; }
|
|
|
|
#line 2490 "smarty_internal_templateparser.php"
|
|
|
|
#line 554 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r199(){if (substr($this->yystack[$this->yyidx + -1]->minor,0,1) == '\'' || substr($this->yystack[$this->yyidx + -1]->minor,0,1) == '@') {
|
2010-02-14 20:26:57 +00:00
|
|
|
$this->_retvalue = '".'.$this->yystack[$this->yyidx + -1]->minor.'."';
|
|
|
|
} else {
|
|
|
|
$this->_retvalue = '{'.$this->yystack[$this->yyidx + -1]->minor.'}';
|
|
|
|
}
|
|
|
|
$this->compiler->has_variable_string = true;
|
|
|
|
}
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2499 "smarty_internal_templateparser.php"
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 561 "smarty_internal_templateparser.y"
|
2010-02-26 13:28:54 +00:00
|
|
|
function yy_r200(){$this->_retvalue = '".('.$this->yystack[$this->yyidx + -1]->minor.')."'; $this->compiler->has_variable_string = true; }
|
|
|
|
#line 2502 "smarty_internal_templateparser.php"
|
|
|
|
#line 562 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r201(){$this->_retvalue = '{$_smarty_tpl->getVariable(\''. substr($this->yystack[$this->yyidx + 0]->minor,1) .'\')->value}'; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + 0]->minor,"'"), null, true, false)->nocache; $this->compiler->has_variable_string = true; }
|
|
|
|
#line 2505 "smarty_internal_templateparser.php"
|
|
|
|
#line 563 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r202(){if (substr($this->yystack[$this->yyidx + -1]->minor,0,1) == '\'') {
|
2010-02-14 20:26:57 +00:00
|
|
|
$this->_retvalue = '".'.$this->yystack[$this->yyidx + -1]->minor.'."';
|
2009-12-31 16:38:12 +00:00
|
|
|
} else {
|
2010-02-14 20:26:57 +00:00
|
|
|
$this->_retvalue = '{'.$this->yystack[$this->yyidx + -1]->minor.'}';
|
2009-12-31 16:38:12 +00:00
|
|
|
}
|
2010-02-14 20:26:57 +00:00
|
|
|
$this->compiler->has_variable_string = true;
|
2009-12-31 16:38:12 +00:00
|
|
|
}
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2514 "smarty_internal_templateparser.php"
|
|
|
|
#line 570 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r203(){ $this->_retvalue = '".('.$this->yystack[$this->yyidx + -1]->minor.')."'; $this->compiler->has_variable_string = true; }
|
|
|
|
#line 2517 "smarty_internal_templateparser.php"
|
|
|
|
#line 571 "smarty_internal_templateparser.y"
|
|
|
|
function yy_r204(){ $this->prefix_number++; $this->compiler->prefix_code[] = '<?php ob_start();?>'.$this->yystack[$this->yyidx + 0]->minor.'<?php $_tmp'.$this->prefix_number.'=ob_get_clean();?>'; $this->_retvalue = '{$_tmp'.$this->prefix_number.'}'; $this->compiler->has_variable_string = true; }
|
|
|
|
#line 2520 "smarty_internal_templateparser.php"
|
2009-11-08 16:17:51 +00:00
|
|
|
|
|
|
|
private $_retvalue;
|
|
|
|
|
|
|
|
function yy_reduce($yyruleno)
|
|
|
|
{
|
|
|
|
$yymsp = $this->yystack[$this->yyidx];
|
|
|
|
if (self::$yyTraceFILE && $yyruleno >= 0
|
|
|
|
&& $yyruleno < count(self::$yyRuleName)) {
|
|
|
|
fprintf(self::$yyTraceFILE, "%sReduce (%d) [%s].\n",
|
|
|
|
self::$yyTracePrompt, $yyruleno,
|
|
|
|
self::$yyRuleName[$yyruleno]);
|
|
|
|
}
|
|
|
|
|
|
|
|
$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;
|
|
|
|
}
|
|
|
|
$yygoto = self::$yyRuleInfo[$yyruleno]['lhs'];
|
|
|
|
$yysize = self::$yyRuleInfo[$yyruleno]['rhs'];
|
|
|
|
$this->yyidx -= $yysize;
|
|
|
|
for($i = $yysize; $i; $i--) {
|
|
|
|
// 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) {
|
|
|
|
if (!self::$yyTraceFILE && $yysize) {
|
|
|
|
$this->yyidx++;
|
|
|
|
$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();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function yy_parse_failed()
|
|
|
|
{
|
|
|
|
if (self::$yyTraceFILE) {
|
|
|
|
fprintf(self::$yyTraceFILE, "%sFail!\n", self::$yyTracePrompt);
|
|
|
|
}
|
|
|
|
while ($this->yyidx >= 0) {
|
|
|
|
$this->yy_pop_parser_stack();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function yy_syntax_error($yymajor, $TOKEN)
|
|
|
|
{
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 71 "smarty_internal_templateparser.y"
|
2009-10-22 23:05:14 +00:00
|
|
|
|
|
|
|
$this->internalError = true;
|
|
|
|
$this->yymajor = $yymajor;
|
|
|
|
$this->compiler->trigger_template_error();
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2583 "smarty_internal_templateparser.php"
|
2009-11-08 16:17:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
function yy_accept()
|
|
|
|
{
|
|
|
|
if (self::$yyTraceFILE) {
|
|
|
|
fprintf(self::$yyTraceFILE, "%sAccept!\n", self::$yyTracePrompt);
|
|
|
|
}
|
|
|
|
while ($this->yyidx >= 0) {
|
|
|
|
$stack = $this->yy_pop_parser_stack();
|
|
|
|
}
|
2010-02-24 18:01:03 +00:00
|
|
|
#line 63 "smarty_internal_templateparser.y"
|
2009-10-22 23:05:14 +00:00
|
|
|
|
|
|
|
$this->successful = !$this->internalError;
|
|
|
|
$this->internalError = false;
|
|
|
|
$this->retvalue = $this->_retvalue;
|
|
|
|
//echo $this->retvalue."\n\n";
|
2010-02-26 13:28:54 +00:00
|
|
|
#line 2601 "smarty_internal_templateparser.php"
|
2009-11-08 16:17:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
function doParse($yymajor, $yytokenvalue)
|
|
|
|
{
|
|
|
|
$yyerrorhit = 0; /* True if yymajor has invoked an error */
|
|
|
|
|
|
|
|
if ($this->yyidx === null || $this->yyidx < 0) {
|
|
|
|
$this->yyidx = 0;
|
|
|
|
$this->yyerrcnt = -1;
|
|
|
|
$x = new TP_yyStackEntry;
|
|
|
|
$x->stateno = 0;
|
|
|
|
$x->major = 0;
|
|
|
|
$this->yystack = array();
|
|
|
|
array_push($this->yystack, $x);
|
|
|
|
}
|
|
|
|
$yyendofinput = ($yymajor==0);
|
|
|
|
|
|
|
|
if (self::$yyTraceFILE) {
|
|
|
|
fprintf(self::$yyTraceFILE, "%sInput %s\n",
|
|
|
|
self::$yyTracePrompt, $this->yyTokenName[$yymajor]);
|
|
|
|
}
|
|
|
|
|
|
|
|
do {
|
|
|
|
$yyact = $this->yy_find_shift_action($yymajor);
|
|
|
|
if ($yymajor < self::YYERRORSYMBOL &&
|
|
|
|
!$this->yy_is_expected_token($yymajor)) {
|
|
|
|
// force a syntax error
|
|
|
|
$yyact = self::YY_ERROR_ACTION;
|
|
|
|
}
|
|
|
|
if ($yyact < self::YYNSTATE) {
|
|
|
|
$this->yy_shift($yyact, $yymajor, $yytokenvalue);
|
|
|
|
$this->yyerrcnt--;
|
|
|
|
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) {
|
|
|
|
if (self::$yyTraceFILE) {
|
|
|
|
fprintf(self::$yyTraceFILE, "%sSyntax Error!\n",
|
|
|
|
self::$yyTracePrompt);
|
|
|
|
}
|
|
|
|
if (self::YYERRORSYMBOL) {
|
|
|
|
if ($this->yyerrcnt < 0) {
|
|
|
|
$this->yy_syntax_error($yymajor, $yytokenvalue);
|
|
|
|
}
|
|
|
|
$yymx = $this->yystack[$this->yyidx]->major;
|
|
|
|
if ($yymx == self::YYERRORSYMBOL || $yyerrorhit ){
|
|
|
|
if (self::$yyTraceFILE) {
|
|
|
|
fprintf(self::$yyTraceFILE, "%sDiscard input token %s\n",
|
|
|
|
self::$yyTracePrompt, $this->yyTokenName[$yymajor]);
|
|
|
|
}
|
|
|
|
$this->yy_destructor($yymajor, $yytokenvalue);
|
|
|
|
$yymajor = self::YYNOCODE;
|
|
|
|
} else {
|
|
|
|
while ($this->yyidx >= 0 &&
|
|
|
|
$yymx != self::YYERRORSYMBOL &&
|
|
|
|
($yyact = $this->yy_find_shift_action(self::YYERRORSYMBOL)) >= self::YYNSTATE
|
|
|
|
){
|
|
|
|
$this->yy_pop_parser_stack();
|
|
|
|
}
|
|
|
|
if ($this->yyidx < 0 || $yymajor==0) {
|
|
|
|
$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;
|
|
|
|
}
|
|
|
|
} while ($yymajor != self::YYNOCODE && $this->yyidx >= 0);
|
|
|
|
}
|
|
|
|
}
|
2010-02-14 20:26:57 +00:00
|
|
|
?>
|