2009-03-22 16:09:05 +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
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* This can be used to store both the string representation of
|
|
|
|
|
* a token, and any useful meta-data associated with the token.
|
|
|
|
|
*
|
|
|
|
|
* meta-data should be stored as an array
|
|
|
|
|
*/
|
|
|
|
|
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]);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** The following structure represents a single element of the
|
|
|
|
|
* parser's stack. Information stored includes:
|
|
|
|
|
*
|
|
|
|
|
* + The state number for the parser at this level of the stack.
|
|
|
|
|
*
|
|
|
|
|
* + The value of the token stored at this level of the stack.
|
|
|
|
|
* (In other words, the "major" token.)
|
|
|
|
|
*
|
|
|
|
|
* + The semantic value stored at this level of the stack. This is
|
|
|
|
|
* the information used by the action routines in the grammar.
|
|
|
|
|
* It is sometimes called the "minor" token.
|
|
|
|
|
*/
|
|
|
|
|
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 */
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// code external to the class is included here
|
|
|
|
|
|
|
|
|
|
// declare_class is output here
|
|
|
|
|
#line 12 "internal.templateparser.y"
|
|
|
|
|
class Smarty_Internal_Templateparser#line 109 "internal.templateparser.php"
|
|
|
|
|
{
|
|
|
|
|
/* First off, code is included which follows the "include_class" declaration
|
|
|
|
|
** in the input file. */
|
|
|
|
|
#line 14 "internal.templateparser.y"
|
|
|
|
|
|
|
|
|
|
// 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;
|
2009-08-08 17:28:23 +00:00
|
|
|
$this->smarty = $this->compiler->smarty;
|
2009-03-22 16:09:05 +00:00
|
|
|
$this->template = $this->compiler->template;
|
2009-09-29 16:23:35 +00:00
|
|
|
if ($this->template->security && isset($this->smarty->security_handler)) {
|
|
|
|
|
$this->sec_obj = $this->smarty->security_policy;
|
|
|
|
|
} else {
|
|
|
|
|
$this->sec_obj = $this->smarty;
|
|
|
|
|
}
|
2009-03-22 16:09:05 +00:00
|
|
|
$this->cacher = $this->template->cacher_object;
|
|
|
|
|
$this->nocache = false;
|
|
|
|
|
$this->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-09-29 16:23:35 +00:00
|
|
|
#line 147 "internal.templateparser.php"
|
2009-03-22 16:09:05 +00:00
|
|
|
|
|
|
|
|
/* Next is all token values, as class constants
|
|
|
|
|
*/
|
|
|
|
|
/*
|
|
|
|
|
** These constants (all generated automatically by the parser generator)
|
|
|
|
|
** specify the various kinds of tokens (terminals) that the parser
|
|
|
|
|
** understands.
|
|
|
|
|
**
|
|
|
|
|
** Each symbol here is a terminal symbol in the grammar.
|
|
|
|
|
*/
|
|
|
|
|
const TP_OTHER = 1;
|
2009-09-26 23:06:57 +00:00
|
|
|
const TP_XML = 2;
|
|
|
|
|
const TP_PHP = 3;
|
|
|
|
|
const TP_SHORTTAGSTART = 4;
|
|
|
|
|
const TP_SHORTTAGEND = 5;
|
|
|
|
|
const TP_PHPSTART = 6;
|
|
|
|
|
const TP_PHPEND = 7;
|
2009-06-14 13:08:13 +00:00
|
|
|
const TP_COMMENTEND = 8;
|
|
|
|
|
const TP_COMMENTSTART = 9;
|
2009-09-26 23:06:57 +00:00
|
|
|
const TP_SINGLEQUOTE = 10;
|
|
|
|
|
const TP_LITERALSTART = 11;
|
|
|
|
|
const TP_LITERALEND = 12;
|
|
|
|
|
const TP_LDELIMTAG = 13;
|
|
|
|
|
const TP_RDELIMTAG = 14;
|
|
|
|
|
const TP_LDELSLASH = 15;
|
|
|
|
|
const TP_LDEL = 16;
|
|
|
|
|
const TP_RDEL = 17;
|
|
|
|
|
const TP_ISIN = 18;
|
|
|
|
|
const TP_AS = 19;
|
|
|
|
|
const TP_BOOLEAN = 20;
|
|
|
|
|
const TP_NULL = 21;
|
|
|
|
|
const TP_IDENTITY = 22;
|
|
|
|
|
const TP_NONEIDENTITY = 23;
|
|
|
|
|
const TP_EQUALS = 24;
|
|
|
|
|
const TP_NOTEQUALS = 25;
|
|
|
|
|
const TP_GREATEREQUAL = 26;
|
|
|
|
|
const TP_LESSEQUAL = 27;
|
|
|
|
|
const TP_GREATERTHAN = 28;
|
|
|
|
|
const TP_LESSTHAN = 29;
|
|
|
|
|
const TP_NOT = 30;
|
|
|
|
|
const TP_LAND = 31;
|
|
|
|
|
const TP_LOR = 32;
|
|
|
|
|
const TP_LXOR = 33;
|
|
|
|
|
const TP_ISODDBY = 34;
|
|
|
|
|
const TP_ISNOTODDBY = 35;
|
|
|
|
|
const TP_ISODD = 36;
|
|
|
|
|
const TP_ISNOTODD = 37;
|
|
|
|
|
const TP_ISEVENBY = 38;
|
|
|
|
|
const TP_ISNOTEVENBY = 39;
|
|
|
|
|
const TP_ISEVEN = 40;
|
|
|
|
|
const TP_ISNOTEVEN = 41;
|
|
|
|
|
const TP_ISDIVBY = 42;
|
|
|
|
|
const TP_ISNOTDIVBY = 43;
|
|
|
|
|
const TP_OPENP = 44;
|
|
|
|
|
const TP_CLOSEP = 45;
|
|
|
|
|
const TP_OPENB = 46;
|
|
|
|
|
const TP_CLOSEB = 47;
|
|
|
|
|
const TP_PTR = 48;
|
|
|
|
|
const TP_APTR = 49;
|
|
|
|
|
const TP_EQUAL = 50;
|
|
|
|
|
const TP_INTEGER = 51;
|
|
|
|
|
const TP_INCDEC = 52;
|
|
|
|
|
const TP_UNIMATH = 53;
|
|
|
|
|
const TP_MATH = 54;
|
|
|
|
|
const TP_DOLLAR = 55;
|
|
|
|
|
const TP_COLON = 56;
|
|
|
|
|
const TP_DOUBLECOLON = 57;
|
|
|
|
|
const TP_SEMICOLON = 58;
|
|
|
|
|
const TP_AT = 59;
|
|
|
|
|
const TP_HATCH = 60;
|
|
|
|
|
const TP_QUOTE = 61;
|
|
|
|
|
const TP_BACKTICK = 62;
|
|
|
|
|
const TP_VERT = 63;
|
|
|
|
|
const TP_DOT = 64;
|
|
|
|
|
const TP_COMMA = 65;
|
|
|
|
|
const TP_ANDSYM = 66;
|
|
|
|
|
const TP_ID = 67;
|
|
|
|
|
const TP_SPACE = 68;
|
2009-09-29 18:52:58 +00:00
|
|
|
const YY_NO_ACTION = 442;
|
|
|
|
|
const YY_ACCEPT_ACTION = 441;
|
|
|
|
|
const YY_ERROR_ACTION = 440;
|
2009-03-22 16:09:05 +00:00
|
|
|
|
|
|
|
|
/* Next are that tables used to determine what action to take based on the
|
|
|
|
|
** current state and lookahead token. These tables are used to implement
|
|
|
|
|
** functions that take a state number and lookahead value and return an
|
|
|
|
|
** action integer.
|
|
|
|
|
**
|
|
|
|
|
** Suppose the action integer is N. Then the action is determined as
|
|
|
|
|
** follows
|
|
|
|
|
**
|
|
|
|
|
** 0 <= N < self::YYNSTATE Shift N. That is,
|
|
|
|
|
** push the lookahead
|
|
|
|
|
** token onto the stack
|
|
|
|
|
** and goto state N.
|
|
|
|
|
**
|
|
|
|
|
** self::YYNSTATE <= N < self::YYNSTATE+self::YYNRULE Reduce by rule N-YYNSTATE.
|
|
|
|
|
**
|
|
|
|
|
** N == self::YYNSTATE+self::YYNRULE A syntax error has occurred.
|
|
|
|
|
**
|
|
|
|
|
** N == self::YYNSTATE+self::YYNRULE+1 The parser accepts its
|
|
|
|
|
** input. (and concludes parsing)
|
|
|
|
|
**
|
|
|
|
|
** N == self::YYNSTATE+self::YYNRULE+2 No such action. Denotes unused
|
|
|
|
|
** slots in the yy_action[] table.
|
|
|
|
|
**
|
|
|
|
|
** The action table is constructed as a single large static array $yy_action.
|
|
|
|
|
** Given state S and lookahead X, the action is computed as
|
|
|
|
|
**
|
|
|
|
|
** self::$yy_action[self::$yy_shift_ofst[S] + X ]
|
|
|
|
|
**
|
|
|
|
|
** If the index value self::$yy_shift_ofst[S]+X is out of range or if the value
|
|
|
|
|
** self::$yy_lookahead[self::$yy_shift_ofst[S]+X] is not equal to X or if
|
|
|
|
|
** self::$yy_shift_ofst[S] is equal to self::YY_SHIFT_USE_DFLT, it means that
|
|
|
|
|
** the action is not in the table and that self::$yy_default[S] should be used instead.
|
|
|
|
|
**
|
|
|
|
|
** The formula above is for computing the action when the lookahead is
|
|
|
|
|
** a terminal symbol. If the lookahead is a non-terminal (as occurs after
|
|
|
|
|
** a reduce action) then the static $yy_reduce_ofst array is used in place of
|
|
|
|
|
** the static $yy_shift_ofst array and self::YY_REDUCE_USE_DFLT is used in place of
|
|
|
|
|
** self::YY_SHIFT_USE_DFLT.
|
|
|
|
|
**
|
|
|
|
|
** The following are the tables generated in this section:
|
|
|
|
|
**
|
|
|
|
|
** self::$yy_action A single table containing all actions.
|
|
|
|
|
** self::$yy_lookahead A table containing the lookahead for each entry in
|
|
|
|
|
** yy_action. Used to detect hash collisions.
|
|
|
|
|
** self::$yy_shift_ofst For each state, the offset into self::$yy_action for
|
|
|
|
|
** shifting terminals.
|
|
|
|
|
** self::$yy_reduce_ofst For each state, the offset into self::$yy_action for
|
|
|
|
|
** shifting non-terminals after a reduce.
|
|
|
|
|
** self::$yy_default Default action for each state.
|
|
|
|
|
*/
|
2009-10-04 18:12:30 +00:00
|
|
|
const YY_SZ_ACTTAB = 1165;
|
2009-03-22 16:09:05 +00:00
|
|
|
static public $yy_action = array(
|
2009-10-04 18:12:30 +00:00
|
|
|
/* 0 */ 250, 256, 257, 3, 4, 252, 251, 11, 2, 209,
|
|
|
|
|
/* 10 */ 254, 10, 5, 55, 263, 187, 109, 316, 144, 25,
|
|
|
|
|
/* 20 */ 9, 246, 247, 216, 227, 181, 196, 116, 186, 441,
|
|
|
|
|
/* 30 */ 50, 177, 208, 6, 37, 55, 30, 200, 163, 30,
|
|
|
|
|
/* 40 */ 144, 25, 144, 18, 14, 216, 227, 8, 212, 12,
|
|
|
|
|
/* 50 */ 22, 142, 72, 136, 170, 16, 36, 113, 66, 239,
|
|
|
|
|
/* 60 */ 275, 269, 58, 44, 39, 218, 241, 44, 316, 27,
|
|
|
|
|
/* 70 */ 139, 12, 236, 28, 171, 259, 170, 128, 36, 58,
|
|
|
|
|
/* 80 */ 66, 154, 135, 210, 44, 44, 39, 284, 197, 42,
|
|
|
|
|
/* 90 */ 284, 147, 40, 145, 270, 250, 256, 257, 3, 4,
|
|
|
|
|
/* 100 */ 252, 251, 11, 2, 209, 254, 10, 5, 250, 256,
|
|
|
|
|
/* 110 */ 257, 3, 4, 252, 251, 11, 2, 209, 254, 10,
|
|
|
|
|
/* 120 */ 5, 55, 164, 136, 105, 255, 144, 25, 24, 136,
|
|
|
|
|
/* 130 */ 34, 216, 227, 31, 278, 279, 276, 282, 280, 277,
|
|
|
|
|
/* 140 */ 283, 281, 136, 55, 30, 179, 14, 30, 144, 25,
|
|
|
|
|
/* 150 */ 165, 41, 189, 216, 227, 27, 212, 12, 192, 113,
|
|
|
|
|
/* 160 */ 72, 244, 170, 6, 36, 136, 58, 183, 219, 72,
|
|
|
|
|
/* 170 */ 1, 44, 39, 218, 241, 136, 156, 8, 133, 12,
|
|
|
|
|
/* 180 */ 236, 26, 131, 14, 170, 194, 36, 212, 60, 236,
|
|
|
|
|
/* 190 */ 174, 72, 119, 44, 39, 284, 113, 55, 284, 238,
|
|
|
|
|
/* 200 */ 132, 189, 144, 25, 218, 241, 189, 216, 227, 182,
|
|
|
|
|
/* 210 */ 212, 236, 198, 191, 72, 126, 183, 33, 234, 55,
|
|
|
|
|
/* 220 */ 237, 183, 215, 14, 144, 25, 188, 218, 241, 216,
|
|
|
|
|
/* 230 */ 227, 27, 136, 12, 236, 189, 113, 156, 170, 176,
|
|
|
|
|
/* 240 */ 36, 87, 66, 160, 195, 246, 247, 44, 39, 31,
|
|
|
|
|
/* 250 */ 183, 38, 230, 27, 139, 12, 58, 186, 37, 30,
|
|
|
|
|
/* 260 */ 170, 44, 36, 52, 66, 23, 204, 41, 229, 44,
|
|
|
|
|
/* 270 */ 39, 144, 18, 70, 173, 202, 40, 130, 184, 250,
|
|
|
|
|
/* 280 */ 256, 257, 3, 4, 252, 251, 11, 2, 209, 254,
|
|
|
|
|
/* 290 */ 10, 5, 55, 26, 156, 55, 32, 144, 25, 19,
|
|
|
|
|
/* 300 */ 144, 25, 216, 227, 58, 216, 227, 240, 156, 44,
|
|
|
|
|
/* 310 */ 284, 135, 266, 264, 55, 143, 98, 185, 42, 144,
|
|
|
|
|
/* 320 */ 25, 72, 261, 136, 216, 227, 27, 13, 12, 27,
|
|
|
|
|
/* 330 */ 136, 12, 203, 170, 146, 36, 170, 58, 36, 68,
|
|
|
|
|
/* 340 */ 58, 236, 44, 39, 65, 44, 39, 72, 27, 140,
|
|
|
|
|
/* 350 */ 12, 108, 138, 136, 225, 170, 14, 36, 156, 66,
|
|
|
|
|
/* 360 */ 157, 20, 30, 15, 44, 39, 212, 236, 51, 113,
|
|
|
|
|
/* 370 */ 72, 134, 17, 74, 168, 137, 189, 272, 166, 148,
|
|
|
|
|
/* 380 */ 48, 86, 55, 218, 241, 246, 247, 144, 25, 103,
|
|
|
|
|
/* 390 */ 236, 183, 216, 227, 101, 265, 129, 112, 37, 129,
|
|
|
|
|
/* 400 */ 271, 107, 212, 127, 51, 271, 72, 30, 271, 79,
|
|
|
|
|
/* 410 */ 104, 45, 271, 151, 226, 211, 27, 86, 12, 218,
|
|
|
|
|
/* 420 */ 241, 271, 30, 170, 72, 54, 236, 58, 156, 88,
|
|
|
|
|
/* 430 */ 243, 265, 44, 39, 189, 220, 228, 231, 212, 140,
|
|
|
|
|
/* 440 */ 51, 213, 72, 245, 236, 77, 175, 208, 38, 183,
|
|
|
|
|
/* 450 */ 226, 211, 273, 86, 129, 218, 241, 212, 284, 51,
|
|
|
|
|
/* 460 */ 129, 72, 236, 202, 82, 174, 56, 265, 53, 226,
|
|
|
|
|
/* 470 */ 211, 136, 86, 284, 218, 241, 212, 222, 51, 274,
|
|
|
|
|
/* 480 */ 72, 236, 213, 81, 213, 21, 265, 156, 226, 211,
|
|
|
|
|
/* 490 */ 268, 86, 94, 218, 241, 193, 123, 212, 195, 51,
|
|
|
|
|
/* 500 */ 236, 72, 159, 156, 76, 265, 217, 212, 213, 226,
|
|
|
|
|
/* 510 */ 211, 72, 86, 90, 218, 241, 38, 260, 29, 226,
|
|
|
|
|
/* 520 */ 211, 236, 85, 55, 218, 241, 265, 89, 144, 25,
|
|
|
|
|
/* 530 */ 156, 236, 201, 216, 227, 100, 212, 124, 49, 117,
|
|
|
|
|
/* 540 */ 72, 156, 237, 75, 237, 59, 271, 202, 226, 211,
|
|
|
|
|
/* 550 */ 92, 86, 102, 218, 241, 260, 235, 27, 22, 169,
|
|
|
|
|
/* 560 */ 236, 202, 93, 13, 170, 265, 213, 207, 58, 232,
|
|
|
|
|
/* 570 */ 214, 122, 205, 44, 39, 212, 237, 51, 213, 72,
|
|
|
|
|
/* 580 */ 140, 63, 83, 155, 153, 161, 149, 226, 211, 233,
|
|
|
|
|
/* 590 */ 86, 258, 218, 241, 267, 206, 167, 69, 172, 236,
|
|
|
|
|
/* 600 */ 260, 242, 7, 212, 265, 51, 156, 72, 253, 35,
|
|
|
|
|
/* 610 */ 73, 99, 234, 67, 190, 226, 211, 71, 86, 32,
|
|
|
|
|
/* 620 */ 218, 241, 266, 178, 220, 266, 266, 236, 266, 266,
|
|
|
|
|
/* 630 */ 266, 266, 265, 266, 248, 262, 64, 158, 249, 212,
|
|
|
|
|
/* 640 */ 266, 96, 62, 72, 61, 266, 199, 180, 144, 25,
|
|
|
|
|
/* 650 */ 266, 226, 211, 266, 86, 266, 218, 241, 266, 266,
|
|
|
|
|
/* 660 */ 266, 266, 212, 236, 51, 266, 72, 266, 266, 80,
|
|
|
|
|
/* 670 */ 266, 141, 223, 266, 226, 211, 266, 86, 266, 218,
|
|
|
|
|
/* 680 */ 241, 212, 266, 51, 266, 72, 236, 266, 78, 266,
|
|
|
|
|
/* 690 */ 266, 265, 266, 226, 211, 266, 86, 266, 218, 241,
|
|
|
|
|
/* 700 */ 266, 266, 266, 266, 266, 236, 266, 34, 266, 266,
|
|
|
|
|
/* 710 */ 265, 278, 279, 276, 282, 280, 277, 283, 281, 266,
|
|
|
|
|
/* 720 */ 212, 266, 106, 266, 72, 266, 266, 266, 266, 266,
|
|
|
|
|
/* 730 */ 266, 266, 226, 211, 266, 86, 266, 218, 241, 266,
|
|
|
|
|
/* 740 */ 266, 162, 266, 212, 236, 106, 266, 72, 266, 266,
|
|
|
|
|
/* 750 */ 266, 266, 136, 266, 266, 226, 211, 266, 86, 266,
|
|
|
|
|
/* 760 */ 218, 241, 266, 266, 221, 266, 266, 236, 212, 266,
|
|
|
|
|
/* 770 */ 106, 266, 72, 266, 266, 266, 266, 266, 266, 266,
|
|
|
|
|
/* 780 */ 226, 211, 266, 86, 266, 218, 241, 266, 266, 152,
|
|
|
|
|
/* 790 */ 266, 212, 236, 106, 266, 72, 266, 266, 266, 266,
|
|
|
|
|
/* 800 */ 266, 266, 266, 226, 211, 266, 86, 266, 218, 241,
|
|
|
|
|
/* 810 */ 266, 266, 150, 266, 266, 236, 266, 212, 266, 96,
|
|
|
|
|
/* 820 */ 266, 72, 266, 266, 266, 266, 266, 266, 266, 226,
|
|
|
|
|
/* 830 */ 211, 266, 86, 266, 218, 241, 266, 266, 266, 266,
|
|
|
|
|
/* 840 */ 266, 236, 212, 266, 114, 266, 72, 266, 266, 266,
|
|
|
|
|
/* 850 */ 224, 266, 266, 266, 226, 211, 266, 86, 266, 218,
|
|
|
|
|
/* 860 */ 241, 266, 266, 212, 266, 111, 236, 72, 266, 266,
|
|
|
|
|
/* 870 */ 266, 266, 266, 266, 266, 226, 211, 266, 86, 266,
|
|
|
|
|
/* 880 */ 218, 241, 212, 266, 46, 266, 57, 236, 266, 266,
|
|
|
|
|
/* 890 */ 266, 266, 266, 266, 226, 211, 266, 86, 266, 218,
|
|
|
|
|
/* 900 */ 241, 266, 266, 212, 266, 110, 236, 72, 266, 266,
|
|
|
|
|
/* 910 */ 266, 266, 266, 266, 266, 226, 211, 266, 86, 266,
|
|
|
|
|
/* 920 */ 218, 241, 266, 266, 212, 266, 118, 236, 72, 266,
|
|
|
|
|
/* 930 */ 266, 266, 266, 266, 266, 266, 226, 211, 266, 86,
|
|
|
|
|
/* 940 */ 266, 218, 241, 266, 266, 266, 266, 266, 236, 212,
|
|
|
|
|
/* 950 */ 266, 120, 266, 72, 266, 266, 266, 266, 266, 266,
|
|
|
|
|
/* 960 */ 266, 226, 211, 266, 86, 266, 218, 241, 212, 266,
|
|
|
|
|
/* 970 */ 43, 266, 57, 236, 266, 266, 266, 266, 266, 266,
|
|
|
|
|
/* 980 */ 226, 211, 266, 86, 266, 218, 241, 266, 266, 212,
|
|
|
|
|
/* 990 */ 266, 97, 236, 72, 266, 266, 266, 266, 266, 266,
|
|
|
|
|
/* 1000 */ 266, 226, 211, 266, 86, 266, 218, 241, 266, 266,
|
|
|
|
|
/* 1010 */ 212, 266, 121, 236, 72, 266, 266, 266, 266, 266,
|
|
|
|
|
/* 1020 */ 266, 266, 226, 211, 266, 86, 266, 218, 241, 266,
|
|
|
|
|
/* 1030 */ 266, 266, 266, 266, 236, 212, 266, 125, 266, 72,
|
|
|
|
|
/* 1040 */ 266, 266, 266, 266, 266, 266, 266, 226, 211, 266,
|
|
|
|
|
/* 1050 */ 86, 266, 218, 241, 212, 266, 115, 266, 72, 236,
|
|
|
|
|
/* 1060 */ 266, 266, 266, 266, 266, 266, 226, 211, 266, 86,
|
|
|
|
|
/* 1070 */ 266, 218, 241, 266, 266, 212, 266, 95, 236, 72,
|
|
|
|
|
/* 1080 */ 266, 266, 266, 266, 266, 266, 266, 226, 211, 266,
|
|
|
|
|
/* 1090 */ 86, 266, 218, 241, 266, 266, 212, 266, 47, 236,
|
|
|
|
|
/* 1100 */ 72, 266, 266, 266, 266, 266, 266, 266, 226, 211,
|
|
|
|
|
/* 1110 */ 266, 86, 266, 218, 241, 266, 266, 266, 266, 266,
|
|
|
|
|
/* 1120 */ 236, 212, 266, 266, 266, 72, 266, 266, 266, 266,
|
|
|
|
|
/* 1130 */ 266, 266, 266, 226, 211, 266, 91, 266, 218, 241,
|
|
|
|
|
/* 1140 */ 212, 266, 266, 266, 72, 236, 266, 266, 266, 266,
|
|
|
|
|
/* 1150 */ 266, 266, 226, 211, 266, 84, 266, 218, 241, 266,
|
|
|
|
|
/* 1160 */ 266, 266, 266, 266, 236,
|
2009-03-22 16:09:05 +00:00
|
|
|
);
|
|
|
|
|
static public $yy_lookahead = array(
|
2009-09-29 18:52:58 +00:00
|
|
|
/* 0 */ 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
|
2009-10-04 18:12:30 +00:00
|
|
|
/* 10 */ 41, 42, 43, 10, 45, 47, 96, 17, 15, 16,
|
|
|
|
|
/* 20 */ 58, 53, 54, 20, 21, 1, 1, 65, 1, 70,
|
|
|
|
|
/* 30 */ 71, 72, 73, 30, 66, 10, 16, 17, 67, 16,
|
|
|
|
|
/* 40 */ 15, 16, 15, 16, 44, 20, 21, 44, 73, 46,
|
|
|
|
|
/* 50 */ 50, 59, 77, 63, 51, 65, 53, 57, 55, 67,
|
|
|
|
|
/* 60 */ 85, 86, 55, 60, 61, 90, 91, 60, 68, 44,
|
|
|
|
|
/* 70 */ 67, 46, 97, 50, 67, 52, 51, 17, 53, 55,
|
|
|
|
|
/* 80 */ 55, 55, 55, 17, 60, 60, 61, 67, 61, 62,
|
|
|
|
|
/* 90 */ 67, 67, 67, 67, 17, 31, 32, 33, 34, 35,
|
2009-09-29 18:52:58 +00:00
|
|
|
/* 100 */ 36, 37, 38, 39, 40, 41, 42, 43, 31, 32,
|
|
|
|
|
/* 110 */ 33, 34, 35, 36, 37, 38, 39, 40, 41, 42,
|
2009-10-04 18:12:30 +00:00
|
|
|
/* 120 */ 43, 10, 58, 63, 96, 17, 15, 16, 49, 63,
|
|
|
|
|
/* 130 */ 18, 20, 21, 46, 22, 23, 24, 25, 26, 27,
|
|
|
|
|
/* 140 */ 28, 29, 63, 10, 16, 17, 44, 16, 15, 16,
|
|
|
|
|
/* 150 */ 48, 64, 1, 20, 21, 44, 73, 46, 47, 57,
|
|
|
|
|
/* 160 */ 77, 10, 51, 30, 53, 63, 55, 16, 85, 77,
|
|
|
|
|
/* 170 */ 68, 60, 61, 90, 91, 63, 68, 44, 67, 46,
|
|
|
|
|
/* 180 */ 97, 50, 90, 44, 51, 93, 53, 73, 55, 97,
|
|
|
|
|
/* 190 */ 59, 77, 79, 60, 61, 67, 57, 10, 67, 85,
|
|
|
|
|
/* 200 */ 67, 1, 15, 16, 90, 91, 1, 20, 21, 17,
|
|
|
|
|
/* 210 */ 73, 97, 12, 8, 77, 95, 16, 16, 98, 10,
|
|
|
|
|
/* 220 */ 100, 16, 85, 44, 15, 16, 47, 90, 91, 20,
|
|
|
|
|
/* 230 */ 21, 44, 63, 46, 97, 1, 57, 68, 51, 5,
|
|
|
|
|
/* 240 */ 53, 74, 55, 64, 73, 53, 54, 60, 61, 46,
|
|
|
|
|
/* 250 */ 16, 48, 51, 44, 67, 46, 55, 1, 66, 16,
|
|
|
|
|
/* 260 */ 51, 60, 53, 92, 55, 16, 1, 64, 67, 60,
|
|
|
|
|
/* 270 */ 61, 15, 16, 67, 48, 108, 67, 17, 107, 31,
|
|
|
|
|
/* 280 */ 32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
|
|
|
|
|
/* 290 */ 42, 43, 10, 50, 68, 10, 56, 15, 16, 16,
|
|
|
|
|
/* 300 */ 15, 16, 20, 21, 55, 20, 21, 17, 68, 60,
|
|
|
|
|
/* 310 */ 67, 55, 45, 17, 10, 64, 67, 61, 62, 15,
|
|
|
|
|
/* 320 */ 16, 77, 5, 63, 20, 21, 44, 44, 46, 44,
|
|
|
|
|
/* 330 */ 63, 46, 67, 51, 90, 53, 51, 55, 53, 55,
|
|
|
|
|
/* 340 */ 55, 97, 60, 61, 55, 60, 61, 77, 44, 67,
|
|
|
|
|
/* 350 */ 46, 96, 67, 63, 47, 51, 44, 53, 68, 55,
|
|
|
|
|
/* 360 */ 90, 49, 16, 44, 60, 61, 73, 97, 75, 57,
|
|
|
|
|
/* 370 */ 77, 67, 65, 80, 81, 82, 1, 17, 85, 86,
|
|
|
|
|
/* 380 */ 79, 88, 10, 90, 91, 53, 54, 15, 16, 76,
|
|
|
|
|
/* 390 */ 97, 16, 20, 21, 76, 102, 78, 76, 66, 78,
|
|
|
|
|
/* 400 */ 87, 76, 73, 78, 75, 87, 77, 16, 87, 80,
|
|
|
|
|
/* 410 */ 76, 96, 87, 67, 85, 86, 44, 88, 46, 90,
|
|
|
|
|
/* 420 */ 91, 87, 16, 51, 77, 83, 97, 55, 68, 74,
|
|
|
|
|
/* 430 */ 100, 102, 60, 61, 1, 101, 17, 90, 73, 67,
|
|
|
|
|
/* 440 */ 75, 99, 77, 10, 97, 80, 72, 73, 48, 16,
|
|
|
|
|
/* 450 */ 85, 86, 17, 88, 78, 90, 91, 73, 67, 75,
|
|
|
|
|
/* 460 */ 78, 77, 97, 108, 80, 59, 83, 102, 83, 85,
|
|
|
|
|
/* 470 */ 86, 63, 88, 67, 90, 91, 73, 45, 75, 17,
|
|
|
|
|
/* 480 */ 77, 97, 99, 80, 99, 103, 102, 68, 85, 86,
|
|
|
|
|
/* 490 */ 17, 88, 83, 90, 91, 47, 67, 73, 73, 75,
|
|
|
|
|
/* 500 */ 97, 77, 84, 68, 80, 102, 51, 73, 99, 85,
|
|
|
|
|
/* 510 */ 86, 77, 88, 74, 90, 91, 48, 99, 50, 85,
|
|
|
|
|
/* 520 */ 86, 97, 88, 10, 90, 91, 102, 74, 15, 16,
|
|
|
|
|
/* 530 */ 68, 97, 107, 20, 21, 76, 73, 95, 75, 95,
|
|
|
|
|
/* 540 */ 77, 68, 100, 80, 100, 67, 87, 108, 85, 86,
|
|
|
|
|
/* 550 */ 83, 88, 96, 90, 91, 99, 67, 44, 50, 19,
|
|
|
|
|
/* 560 */ 97, 108, 83, 44, 51, 102, 99, 62, 55, 60,
|
|
|
|
|
/* 570 */ 67, 95, 45, 60, 61, 73, 100, 75, 99, 77,
|
|
|
|
|
/* 580 */ 67, 55, 80, 67, 56, 67, 19, 85, 86, 60,
|
|
|
|
|
/* 590 */ 88, 17, 90, 91, 17, 62, 55, 45, 67, 97,
|
|
|
|
|
/* 600 */ 99, 67, 104, 73, 102, 75, 68, 77, 87, 89,
|
|
|
|
|
/* 610 */ 80, 96, 98, 55, 108, 85, 86, 93, 88, 56,
|
|
|
|
|
/* 620 */ 90, 91, 109, 81, 101, 109, 109, 97, 109, 109,
|
|
|
|
|
/* 630 */ 109, 109, 102, 109, 1, 2, 3, 4, 5, 73,
|
|
|
|
|
/* 640 */ 109, 75, 9, 77, 11, 109, 13, 14, 15, 16,
|
|
|
|
|
/* 650 */ 109, 85, 86, 109, 88, 109, 90, 91, 109, 109,
|
|
|
|
|
/* 660 */ 109, 109, 73, 97, 75, 109, 77, 109, 109, 80,
|
|
|
|
|
/* 670 */ 109, 105, 106, 109, 85, 86, 109, 88, 109, 90,
|
|
|
|
|
/* 680 */ 91, 73, 109, 75, 109, 77, 97, 109, 80, 109,
|
|
|
|
|
/* 690 */ 109, 102, 109, 85, 86, 109, 88, 109, 90, 91,
|
|
|
|
|
/* 700 */ 109, 109, 109, 109, 109, 97, 109, 18, 109, 109,
|
|
|
|
|
/* 710 */ 102, 22, 23, 24, 25, 26, 27, 28, 29, 109,
|
|
|
|
|
/* 720 */ 73, 109, 75, 109, 77, 109, 109, 109, 109, 109,
|
|
|
|
|
/* 730 */ 109, 109, 85, 86, 45, 88, 109, 90, 91, 109,
|
|
|
|
|
/* 740 */ 109, 94, 109, 73, 97, 75, 109, 77, 109, 109,
|
|
|
|
|
/* 750 */ 109, 109, 63, 109, 109, 85, 86, 109, 88, 109,
|
|
|
|
|
/* 760 */ 90, 91, 109, 109, 94, 109, 109, 97, 73, 109,
|
|
|
|
|
/* 770 */ 75, 109, 77, 109, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
/* 780 */ 85, 86, 109, 88, 109, 90, 91, 109, 109, 94,
|
|
|
|
|
/* 790 */ 109, 73, 97, 75, 109, 77, 109, 109, 109, 109,
|
|
|
|
|
/* 800 */ 109, 109, 109, 85, 86, 109, 88, 109, 90, 91,
|
|
|
|
|
/* 810 */ 109, 109, 94, 109, 109, 97, 109, 73, 109, 75,
|
|
|
|
|
/* 820 */ 109, 77, 109, 109, 109, 109, 109, 109, 109, 85,
|
|
|
|
|
/* 830 */ 86, 109, 88, 109, 90, 91, 109, 109, 109, 109,
|
|
|
|
|
/* 840 */ 109, 97, 73, 109, 75, 109, 77, 109, 109, 109,
|
|
|
|
|
/* 850 */ 106, 109, 109, 109, 85, 86, 109, 88, 109, 90,
|
|
|
|
|
/* 860 */ 91, 109, 109, 73, 109, 75, 97, 77, 109, 109,
|
|
|
|
|
/* 870 */ 109, 109, 109, 109, 109, 85, 86, 109, 88, 109,
|
|
|
|
|
/* 880 */ 90, 91, 73, 109, 75, 109, 77, 97, 109, 109,
|
|
|
|
|
/* 890 */ 109, 109, 109, 109, 85, 86, 109, 88, 109, 90,
|
|
|
|
|
/* 900 */ 91, 109, 109, 73, 109, 75, 97, 77, 109, 109,
|
|
|
|
|
/* 910 */ 109, 109, 109, 109, 109, 85, 86, 109, 88, 109,
|
|
|
|
|
/* 920 */ 90, 91, 109, 109, 73, 109, 75, 97, 77, 109,
|
|
|
|
|
/* 930 */ 109, 109, 109, 109, 109, 109, 85, 86, 109, 88,
|
|
|
|
|
/* 940 */ 109, 90, 91, 109, 109, 109, 109, 109, 97, 73,
|
|
|
|
|
/* 950 */ 109, 75, 109, 77, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
/* 960 */ 109, 85, 86, 109, 88, 109, 90, 91, 73, 109,
|
|
|
|
|
/* 970 */ 75, 109, 77, 97, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
/* 980 */ 85, 86, 109, 88, 109, 90, 91, 109, 109, 73,
|
|
|
|
|
/* 990 */ 109, 75, 97, 77, 109, 109, 109, 109, 109, 109,
|
|
|
|
|
/* 1000 */ 109, 85, 86, 109, 88, 109, 90, 91, 109, 109,
|
|
|
|
|
/* 1010 */ 73, 109, 75, 97, 77, 109, 109, 109, 109, 109,
|
|
|
|
|
/* 1020 */ 109, 109, 85, 86, 109, 88, 109, 90, 91, 109,
|
|
|
|
|
/* 1030 */ 109, 109, 109, 109, 97, 73, 109, 75, 109, 77,
|
|
|
|
|
/* 1040 */ 109, 109, 109, 109, 109, 109, 109, 85, 86, 109,
|
|
|
|
|
/* 1050 */ 88, 109, 90, 91, 73, 109, 75, 109, 77, 97,
|
|
|
|
|
/* 1060 */ 109, 109, 109, 109, 109, 109, 85, 86, 109, 88,
|
|
|
|
|
/* 1070 */ 109, 90, 91, 109, 109, 73, 109, 75, 97, 77,
|
|
|
|
|
/* 1080 */ 109, 109, 109, 109, 109, 109, 109, 85, 86, 109,
|
|
|
|
|
/* 1090 */ 88, 109, 90, 91, 109, 109, 73, 109, 75, 97,
|
|
|
|
|
/* 1100 */ 77, 109, 109, 109, 109, 109, 109, 109, 85, 86,
|
|
|
|
|
/* 1110 */ 109, 88, 109, 90, 91, 109, 109, 109, 109, 109,
|
|
|
|
|
/* 1120 */ 97, 73, 109, 109, 109, 77, 109, 109, 109, 109,
|
|
|
|
|
/* 1130 */ 109, 109, 109, 85, 86, 109, 88, 109, 90, 91,
|
|
|
|
|
/* 1140 */ 73, 109, 109, 109, 77, 97, 109, 109, 109, 109,
|
|
|
|
|
/* 1150 */ 109, 109, 85, 86, 109, 88, 109, 90, 91, 109,
|
|
|
|
|
/* 1160 */ 109, 109, 109, 109, 97,
|
2009-03-22 16:09:05 +00:00
|
|
|
);
|
2009-10-04 18:12:30 +00:00
|
|
|
const YY_SHIFT_USE_DFLT = -39;
|
2009-09-29 18:52:58 +00:00
|
|
|
const YY_SHIFT_MAX = 174;
|
2009-03-22 16:09:05 +00:00
|
|
|
static public $yy_shift_ofst = array(
|
2009-10-04 18:12:30 +00:00
|
|
|
/* 0 */ 633, 133, 3, 3, 3, 3, 3, 3, 3, 3,
|
|
|
|
|
/* 10 */ 3, 3, 304, 187, 187, 187, 187, 304, 25, 187,
|
|
|
|
|
/* 20 */ 187, 187, 187, 187, 187, 209, 187, 187, 187, 187,
|
|
|
|
|
/* 30 */ 187, 111, 285, 282, 372, 513, 513, 513, 249, 256,
|
|
|
|
|
/* 40 */ 102, 201, 24, 290, 7, 203, 169, 169, 240, 689,
|
|
|
|
|
/* 50 */ 633, 112, 27, 23, 131, 433, 406, 468, 391, 226,
|
|
|
|
|
/* 60 */ 346, 375, 375, 391, 375, 391, 346, 391, 391, 400,
|
|
|
|
|
/* 70 */ 538, 400, 400, 64, 77, -31, 248, 248, 248, 248,
|
|
|
|
|
/* 80 */ 248, 248, 248, 248, 192, -32, 332, 200, 205, 151,
|
|
|
|
|
/* 90 */ 234, 332, 128, 243, 20, 66, 79, 260, 283, 87,
|
|
|
|
|
/* 100 */ 435, 108, 87, 473, 462, 87, -10, 360, 87, 87,
|
|
|
|
|
/* 110 */ 267, 60, 419, 26, 408, 408, 558, 400, 408, 563,
|
|
|
|
|
/* 120 */ 408, 408, 400, 319, 400, 408, 400, -39, -39, -39,
|
|
|
|
|
/* 130 */ -39, -39, 0, 179, 312, 265, -8, -38, 139, 139,
|
|
|
|
|
/* 140 */ 139, 307, 534, 455, 478, 519, 509, 505, 567, 526,
|
|
|
|
|
/* 150 */ 552, 528, 527, 503, 429, 508, 516, 533, 541, 574,
|
|
|
|
|
/* 160 */ 518, 448, 432, 317, 289, 206, 540, -29, 296, 284,
|
|
|
|
|
/* 170 */ 251, 529, 577, 531, 489,
|
2009-03-22 16:09:05 +00:00
|
|
|
);
|
2009-10-04 18:12:30 +00:00
|
|
|
const YY_REDUCE_USE_DFLT = -81;
|
2009-09-29 18:52:58 +00:00
|
|
|
const YY_REDUCE_MAX = 131;
|
2009-03-22 16:09:05 +00:00
|
|
|
static public $yy_reduce_ofst = array(
|
2009-10-04 18:12:30 +00:00
|
|
|
/* 0 */ -41, 293, 424, 502, 403, 329, 365, 384, 463, 530,
|
|
|
|
|
/* 10 */ 608, 589, 566, 695, 647, 718, 670, 744, 895, 916,
|
|
|
|
|
/* 20 */ 937, 876, 851, 790, 769, 809, 981, 830, 962, 1023,
|
|
|
|
|
/* 30 */ 1002, 434, 1048, 1067, -25, 114, 83, 137, 92, 171,
|
|
|
|
|
/* 40 */ 325, 347, 270, 318, 244, 120, 318, 321, 334, 382,
|
|
|
|
|
/* 50 */ 374, 382, 425, 418, 456, 453, 456, 442, 383, 313,
|
|
|
|
|
/* 60 */ 342, 167, 355, 409, 439, 385, 383, 479, 467, 444,
|
|
|
|
|
/* 70 */ 459, 476, 442, 498, 498, 498, 498, 498, 498, 498,
|
|
|
|
|
/* 80 */ 498, 498, 498, 498, 520, 520, 520, 506, 506, 506,
|
|
|
|
|
/* 90 */ 506, 520, 501, 501, 501, 376, 376, 376, 515, 514,
|
|
|
|
|
/* 100 */ 521, 521, 514, 521, 521, 514, 376, 521, 514, 514,
|
|
|
|
|
/* 110 */ 376, 376, 521, 524, 376, 376, 542, 330, 376, 523,
|
|
|
|
|
/* 120 */ 376, 376, 330, 315, 330, 376, 330, 301, 255, 113,
|
|
|
|
|
/* 130 */ 28, -80,
|
2009-03-22 16:09:05 +00:00
|
|
|
);
|
|
|
|
|
static public $yyExpectedTokens = array(
|
2009-09-29 16:23:35 +00:00
|
|
|
/* 0 */ array(1, 2, 3, 4, 5, 9, 11, 13, 14, 15, 16, ),
|
2009-09-26 23:06:57 +00:00
|
|
|
/* 1 */ array(10, 15, 16, 20, 21, 30, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 2 */ array(10, 15, 16, 20, 21, 30, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 3 */ array(10, 15, 16, 20, 21, 30, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 4 */ array(10, 15, 16, 20, 21, 30, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 5 */ array(10, 15, 16, 20, 21, 30, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 6 */ array(10, 15, 16, 20, 21, 30, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 7 */ array(10, 15, 16, 20, 21, 30, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 8 */ array(10, 15, 16, 20, 21, 30, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 9 */ array(10, 15, 16, 20, 21, 30, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 10 */ array(10, 15, 16, 20, 21, 30, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 11 */ array(10, 15, 16, 20, 21, 30, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 12 */ array(10, 15, 16, 20, 21, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 13 */ array(10, 15, 16, 20, 21, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 14 */ array(10, 15, 16, 20, 21, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 15 */ array(10, 15, 16, 20, 21, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 16 */ array(10, 15, 16, 20, 21, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 17 */ array(10, 15, 16, 20, 21, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 18 */ array(1, 10, 15, 16, 20, 21, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 19 */ array(10, 15, 16, 20, 21, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 20 */ array(10, 15, 16, 20, 21, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 21 */ array(10, 15, 16, 20, 21, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 22 */ array(10, 15, 16, 20, 21, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 23 */ array(10, 15, 16, 20, 21, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 24 */ array(10, 15, 16, 20, 21, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 25 */ array(10, 15, 16, 20, 21, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 26 */ array(10, 15, 16, 20, 21, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 27 */ array(10, 15, 16, 20, 21, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 28 */ array(10, 15, 16, 20, 21, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 29 */ array(10, 15, 16, 20, 21, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 30 */ array(10, 15, 16, 20, 21, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 31 */ array(10, 15, 16, 20, 21, 44, 46, 47, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 32 */ array(10, 15, 16, 20, 21, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 33 */ array(10, 15, 16, 20, 21, 44, 46, 51, 53, 55, 60, 61, 67, ),
|
|
|
|
|
/* 34 */ array(10, 15, 16, 20, 21, 44, 46, 51, 55, 60, 61, 67, ),
|
|
|
|
|
/* 35 */ array(10, 15, 16, 20, 21, 44, 51, 55, 60, 61, 67, ),
|
|
|
|
|
/* 36 */ array(10, 15, 16, 20, 21, 44, 51, 55, 60, 61, 67, ),
|
|
|
|
|
/* 37 */ array(10, 15, 16, 20, 21, 44, 51, 55, 60, 61, 67, ),
|
|
|
|
|
/* 38 */ array(16, 55, 60, 67, ),
|
|
|
|
|
/* 39 */ array(1, 15, 16, 55, 61, 62, ),
|
2009-10-04 18:12:30 +00:00
|
|
|
/* 40 */ array(44, 48, 57, 63, 68, ),
|
|
|
|
|
/* 41 */ array(16, 51, 55, 60, 67, ),
|
2009-09-26 23:06:57 +00:00
|
|
|
/* 42 */ array(1, 55, 60, 67, ),
|
2009-10-04 18:12:30 +00:00
|
|
|
/* 43 */ array(17, 63, 68, ),
|
|
|
|
|
/* 44 */ array(55, 60, 67, ),
|
|
|
|
|
/* 45 */ array(46, 48, 64, ),
|
2009-09-29 18:52:58 +00:00
|
|
|
/* 46 */ array(63, 68, ),
|
2009-10-04 18:12:30 +00:00
|
|
|
/* 47 */ array(63, 68, ),
|
|
|
|
|
/* 48 */ array(56, 68, ),
|
|
|
|
|
/* 49 */ array(18, 22, 23, 24, 25, 26, 27, 28, 29, 45, 63, ),
|
|
|
|
|
/* 50 */ array(1, 2, 3, 4, 5, 9, 11, 13, 14, 15, 16, ),
|
2009-09-29 16:23:35 +00:00
|
|
|
/* 51 */ array(18, 22, 23, 24, 25, 26, 27, 28, 29, 63, ),
|
|
|
|
|
/* 52 */ array(1, 15, 16, 55, 61, 62, ),
|
2009-09-29 18:52:58 +00:00
|
|
|
/* 53 */ array(16, 50, 52, 67, ),
|
|
|
|
|
/* 54 */ array(16, 50, 59, 67, ),
|
2009-10-04 18:12:30 +00:00
|
|
|
/* 55 */ array(1, 10, 16, ),
|
|
|
|
|
/* 56 */ array(16, 59, 67, ),
|
|
|
|
|
/* 57 */ array(48, 50, ),
|
|
|
|
|
/* 58 */ array(16, 67, ),
|
|
|
|
|
/* 59 */ array(48, 68, ),
|
|
|
|
|
/* 60 */ array(16, 67, ),
|
|
|
|
|
/* 61 */ array(1, 16, ),
|
|
|
|
|
/* 62 */ array(1, 16, ),
|
2009-09-29 16:23:35 +00:00
|
|
|
/* 63 */ array(16, 67, ),
|
2009-09-29 18:52:58 +00:00
|
|
|
/* 64 */ array(1, 16, ),
|
2009-09-27 17:58:33 +00:00
|
|
|
/* 65 */ array(16, 67, ),
|
2009-09-29 18:52:58 +00:00
|
|
|
/* 66 */ array(16, 67, ),
|
2009-10-04 18:12:30 +00:00
|
|
|
/* 67 */ array(16, 67, ),
|
2009-09-29 18:52:58 +00:00
|
|
|
/* 68 */ array(16, 67, ),
|
2009-09-29 16:23:35 +00:00
|
|
|
/* 69 */ array(48, ),
|
2009-09-29 18:52:58 +00:00
|
|
|
/* 70 */ array(68, ),
|
2009-09-29 16:23:35 +00:00
|
|
|
/* 71 */ array(48, ),
|
2009-09-29 18:52:58 +00:00
|
|
|
/* 72 */ array(48, ),
|
2009-10-04 18:12:30 +00:00
|
|
|
/* 73 */ array(31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 58, ),
|
|
|
|
|
/* 74 */ array(17, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, ),
|
|
|
|
|
/* 75 */ array(31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 45, ),
|
2009-09-29 16:23:35 +00:00
|
|
|
/* 76 */ array(31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, ),
|
2009-09-26 23:06:57 +00:00
|
|
|
/* 77 */ array(31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, ),
|
|
|
|
|
/* 78 */ array(31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, ),
|
|
|
|
|
/* 79 */ array(31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, ),
|
|
|
|
|
/* 80 */ array(31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, ),
|
|
|
|
|
/* 81 */ array(31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, ),
|
|
|
|
|
/* 82 */ array(31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, ),
|
2009-09-29 18:52:58 +00:00
|
|
|
/* 83 */ array(31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, ),
|
2009-10-04 18:12:30 +00:00
|
|
|
/* 84 */ array(17, 53, 54, 66, ),
|
|
|
|
|
/* 85 */ array(47, 53, 54, 66, ),
|
2009-09-29 18:52:58 +00:00
|
|
|
/* 86 */ array(53, 54, 66, ),
|
2009-10-04 18:12:30 +00:00
|
|
|
/* 87 */ array(1, 12, 16, ),
|
2009-09-29 18:52:58 +00:00
|
|
|
/* 88 */ array(1, 8, 16, ),
|
2009-10-04 18:12:30 +00:00
|
|
|
/* 89 */ array(1, 10, 16, ),
|
|
|
|
|
/* 90 */ array(1, 5, 16, ),
|
|
|
|
|
/* 91 */ array(53, 54, 66, ),
|
|
|
|
|
/* 92 */ array(16, 17, 67, ),
|
|
|
|
|
/* 93 */ array(16, 50, 67, ),
|
|
|
|
|
/* 94 */ array(16, 17, 67, ),
|
|
|
|
|
/* 95 */ array(17, 63, ),
|
|
|
|
|
/* 96 */ array(49, 63, ),
|
|
|
|
|
/* 97 */ array(17, 63, ),
|
|
|
|
|
/* 98 */ array(16, 44, ),
|
|
|
|
|
/* 99 */ array(46, 64, ),
|
|
|
|
|
/* 100 */ array(17, 68, ),
|
|
|
|
|
/* 101 */ array(17, 68, ),
|
|
|
|
|
/* 102 */ array(46, 64, ),
|
|
|
|
|
/* 103 */ array(17, 68, ),
|
2009-09-29 16:23:35 +00:00
|
|
|
/* 104 */ array(17, 68, ),
|
2009-10-04 18:12:30 +00:00
|
|
|
/* 105 */ array(46, 64, ),
|
|
|
|
|
/* 106 */ array(63, 65, ),
|
|
|
|
|
/* 107 */ array(17, 68, ),
|
2009-09-29 18:52:58 +00:00
|
|
|
/* 108 */ array(46, 64, ),
|
2009-10-04 18:12:30 +00:00
|
|
|
/* 109 */ array(46, 64, ),
|
|
|
|
|
/* 110 */ array(45, 63, ),
|
2009-09-29 18:52:58 +00:00
|
|
|
/* 111 */ array(17, 63, ),
|
|
|
|
|
/* 112 */ array(17, 68, ),
|
2009-10-04 18:12:30 +00:00
|
|
|
/* 113 */ array(55, 67, ),
|
|
|
|
|
/* 114 */ array(63, ),
|
|
|
|
|
/* 115 */ array(63, ),
|
|
|
|
|
/* 116 */ array(55, ),
|
|
|
|
|
/* 117 */ array(48, ),
|
|
|
|
|
/* 118 */ array(63, ),
|
2009-09-29 18:52:58 +00:00
|
|
|
/* 119 */ array(56, ),
|
|
|
|
|
/* 120 */ array(63, ),
|
2009-10-04 18:12:30 +00:00
|
|
|
/* 121 */ array(63, ),
|
|
|
|
|
/* 122 */ array(48, ),
|
|
|
|
|
/* 123 */ array(44, ),
|
2009-09-26 23:06:57 +00:00
|
|
|
/* 124 */ array(48, ),
|
2009-10-04 18:12:30 +00:00
|
|
|
/* 125 */ array(63, ),
|
|
|
|
|
/* 126 */ array(48, ),
|
2009-09-29 16:23:35 +00:00
|
|
|
/* 127 */ array(),
|
2009-08-29 16:29:52 +00:00
|
|
|
/* 128 */ array(),
|
|
|
|
|
/* 129 */ array(),
|
2009-09-29 18:52:58 +00:00
|
|
|
/* 130 */ array(),
|
|
|
|
|
/* 131 */ array(),
|
|
|
|
|
/* 132 */ array(17, 44, 50, 57, 68, ),
|
|
|
|
|
/* 133 */ array(44, 47, 57, 64, ),
|
|
|
|
|
/* 134 */ array(44, 49, 57, ),
|
2009-10-04 18:12:30 +00:00
|
|
|
/* 135 */ array(1, 67, ),
|
|
|
|
|
/* 136 */ array(59, 67, ),
|
|
|
|
|
/* 137 */ array(58, 65, ),
|
2009-09-29 18:52:58 +00:00
|
|
|
/* 138 */ array(44, 57, ),
|
2009-09-27 17:58:33 +00:00
|
|
|
/* 139 */ array(44, 57, ),
|
2009-10-04 18:12:30 +00:00
|
|
|
/* 140 */ array(44, 57, ),
|
|
|
|
|
/* 141 */ array(47, 65, ),
|
2009-09-29 18:52:58 +00:00
|
|
|
/* 142 */ array(67, ),
|
2009-10-04 18:12:30 +00:00
|
|
|
/* 143 */ array(51, ),
|
|
|
|
|
/* 144 */ array(67, ),
|
|
|
|
|
/* 145 */ array(44, ),
|
|
|
|
|
/* 146 */ array(60, ),
|
|
|
|
|
/* 147 */ array(62, ),
|
|
|
|
|
/* 148 */ array(19, ),
|
2009-09-29 18:52:58 +00:00
|
|
|
/* 149 */ array(55, ),
|
2009-10-04 18:12:30 +00:00
|
|
|
/* 150 */ array(45, ),
|
|
|
|
|
/* 151 */ array(56, ),
|
|
|
|
|
/* 152 */ array(45, ),
|
2009-09-29 16:23:35 +00:00
|
|
|
/* 153 */ array(67, ),
|
2009-10-04 18:12:30 +00:00
|
|
|
/* 154 */ array(67, ),
|
|
|
|
|
/* 155 */ array(50, ),
|
|
|
|
|
/* 156 */ array(67, ),
|
|
|
|
|
/* 157 */ array(62, ),
|
|
|
|
|
/* 158 */ array(55, ),
|
2009-09-29 18:52:58 +00:00
|
|
|
/* 159 */ array(17, ),
|
2009-10-04 18:12:30 +00:00
|
|
|
/* 160 */ array(67, ),
|
|
|
|
|
/* 161 */ array(47, ),
|
|
|
|
|
/* 162 */ array(45, ),
|
|
|
|
|
/* 163 */ array(5, ),
|
2009-09-29 18:52:58 +00:00
|
|
|
/* 164 */ array(55, ),
|
2009-10-04 18:12:30 +00:00
|
|
|
/* 165 */ array(67, ),
|
|
|
|
|
/* 166 */ array(19, ),
|
|
|
|
|
/* 167 */ array(67, ),
|
|
|
|
|
/* 168 */ array(17, ),
|
|
|
|
|
/* 169 */ array(55, ),
|
|
|
|
|
/* 170 */ array(64, ),
|
|
|
|
|
/* 171 */ array(60, ),
|
|
|
|
|
/* 172 */ array(17, ),
|
|
|
|
|
/* 173 */ array(67, ),
|
|
|
|
|
/* 174 */ array(67, ),
|
2009-08-21 14:50:34 +00:00
|
|
|
/* 175 */ array(),
|
|
|
|
|
/* 176 */ array(),
|
|
|
|
|
/* 177 */ array(),
|
|
|
|
|
/* 178 */ array(),
|
|
|
|
|
/* 179 */ array(),
|
2009-03-22 16:09:05 +00:00
|
|
|
/* 180 */ array(),
|
|
|
|
|
/* 181 */ array(),
|
|
|
|
|
/* 182 */ array(),
|
|
|
|
|
/* 183 */ array(),
|
|
|
|
|
/* 184 */ array(),
|
|
|
|
|
/* 185 */ array(),
|
|
|
|
|
/* 186 */ array(),
|
|
|
|
|
/* 187 */ array(),
|
|
|
|
|
/* 188 */ array(),
|
|
|
|
|
/* 189 */ array(),
|
|
|
|
|
/* 190 */ array(),
|
|
|
|
|
/* 191 */ array(),
|
|
|
|
|
/* 192 */ array(),
|
|
|
|
|
/* 193 */ array(),
|
|
|
|
|
/* 194 */ array(),
|
|
|
|
|
/* 195 */ array(),
|
|
|
|
|
/* 196 */ array(),
|
|
|
|
|
/* 197 */ array(),
|
|
|
|
|
/* 198 */ array(),
|
|
|
|
|
/* 199 */ array(),
|
|
|
|
|
/* 200 */ array(),
|
|
|
|
|
/* 201 */ array(),
|
|
|
|
|
/* 202 */ array(),
|
|
|
|
|
/* 203 */ array(),
|
|
|
|
|
/* 204 */ array(),
|
|
|
|
|
/* 205 */ array(),
|
|
|
|
|
/* 206 */ array(),
|
|
|
|
|
/* 207 */ array(),
|
|
|
|
|
/* 208 */ array(),
|
|
|
|
|
/* 209 */ array(),
|
|
|
|
|
/* 210 */ array(),
|
|
|
|
|
/* 211 */ array(),
|
|
|
|
|
/* 212 */ array(),
|
|
|
|
|
/* 213 */ array(),
|
|
|
|
|
/* 214 */ array(),
|
|
|
|
|
/* 215 */ array(),
|
|
|
|
|
/* 216 */ array(),
|
|
|
|
|
/* 217 */ array(),
|
|
|
|
|
/* 218 */ array(),
|
|
|
|
|
/* 219 */ array(),
|
|
|
|
|
/* 220 */ array(),
|
|
|
|
|
/* 221 */ array(),
|
|
|
|
|
/* 222 */ array(),
|
|
|
|
|
/* 223 */ array(),
|
|
|
|
|
/* 224 */ array(),
|
|
|
|
|
/* 225 */ array(),
|
|
|
|
|
/* 226 */ array(),
|
|
|
|
|
/* 227 */ array(),
|
|
|
|
|
/* 228 */ array(),
|
|
|
|
|
/* 229 */ array(),
|
|
|
|
|
/* 230 */ array(),
|
|
|
|
|
/* 231 */ array(),
|
|
|
|
|
/* 232 */ array(),
|
|
|
|
|
/* 233 */ array(),
|
|
|
|
|
/* 234 */ array(),
|
|
|
|
|
/* 235 */ array(),
|
|
|
|
|
/* 236 */ array(),
|
|
|
|
|
/* 237 */ array(),
|
2009-03-26 14:08:43 +00:00
|
|
|
/* 238 */ array(),
|
|
|
|
|
/* 239 */ array(),
|
2009-04-03 15:59:40 +00:00
|
|
|
/* 240 */ array(),
|
|
|
|
|
/* 241 */ array(),
|
2009-04-08 14:47:28 +00:00
|
|
|
/* 242 */ array(),
|
|
|
|
|
/* 243 */ array(),
|
|
|
|
|
/* 244 */ array(),
|
|
|
|
|
/* 245 */ array(),
|
|
|
|
|
/* 246 */ array(),
|
|
|
|
|
/* 247 */ array(),
|
|
|
|
|
/* 248 */ array(),
|
|
|
|
|
/* 249 */ array(),
|
|
|
|
|
/* 250 */ array(),
|
|
|
|
|
/* 251 */ array(),
|
|
|
|
|
/* 252 */ array(),
|
2009-04-09 15:53:52 +00:00
|
|
|
/* 253 */ array(),
|
2009-04-09 17:43:32 +00:00
|
|
|
/* 254 */ array(),
|
|
|
|
|
/* 255 */ array(),
|
|
|
|
|
/* 256 */ array(),
|
|
|
|
|
/* 257 */ array(),
|
2009-04-10 12:33:51 +00:00
|
|
|
/* 258 */ array(),
|
2009-04-14 09:04:15 +00:00
|
|
|
/* 259 */ array(),
|
|
|
|
|
/* 260 */ array(),
|
2009-04-14 12:41:07 +00:00
|
|
|
/* 261 */ array(),
|
2009-04-18 14:46:29 +00:00
|
|
|
/* 262 */ array(),
|
|
|
|
|
/* 263 */ array(),
|
|
|
|
|
/* 264 */ array(),
|
2009-04-20 20:33:14 +00:00
|
|
|
/* 265 */ array(),
|
2009-04-21 18:02:34 +00:00
|
|
|
/* 266 */ array(),
|
|
|
|
|
/* 267 */ array(),
|
|
|
|
|
/* 268 */ array(),
|
|
|
|
|
/* 269 */ array(),
|
|
|
|
|
/* 270 */ array(),
|
2009-05-14 10:53:28 +00:00
|
|
|
/* 271 */ array(),
|
|
|
|
|
/* 272 */ array(),
|
2009-06-14 13:08:13 +00:00
|
|
|
/* 273 */ array(),
|
2009-07-22 16:22:24 +00:00
|
|
|
/* 274 */ array(),
|
|
|
|
|
/* 275 */ array(),
|
|
|
|
|
/* 276 */ array(),
|
2009-07-29 16:43:54 +00:00
|
|
|
/* 277 */ array(),
|
|
|
|
|
/* 278 */ array(),
|
2009-08-11 18:53:23 +00:00
|
|
|
/* 279 */ array(),
|
|
|
|
|
/* 280 */ array(),
|
2009-09-19 13:22:32 +00:00
|
|
|
/* 281 */ array(),
|
2009-09-27 17:58:33 +00:00
|
|
|
/* 282 */ array(),
|
2009-09-29 18:52:58 +00:00
|
|
|
/* 283 */ array(),
|
|
|
|
|
/* 284 */ array(),
|
2009-03-22 16:09:05 +00:00
|
|
|
);
|
|
|
|
|
static public $yy_default = array(
|
2009-09-29 18:52:58 +00:00
|
|
|
/* 0 */ 440, 440, 440, 440, 440, 440, 440, 440, 440, 440,
|
|
|
|
|
/* 10 */ 440, 440, 421, 382, 382, 382, 382, 440, 440, 440,
|
|
|
|
|
/* 20 */ 440, 440, 440, 440, 440, 440, 440, 440, 440, 440,
|
|
|
|
|
/* 30 */ 440, 440, 440, 440, 440, 440, 440, 440, 440, 440,
|
2009-10-04 18:12:30 +00:00
|
|
|
/* 40 */ 314, 440, 440, 440, 440, 347, 314, 314, 314, 392,
|
|
|
|
|
/* 50 */ 285, 392, 440, 440, 357, 440, 357, 350, 440, 314,
|
|
|
|
|
/* 60 */ 440, 440, 440, 440, 440, 440, 440, 440, 440, 343,
|
|
|
|
|
/* 70 */ 314, 342, 350, 440, 440, 440, 402, 390, 397, 398,
|
|
|
|
|
/* 80 */ 401, 406, 396, 405, 440, 440, 321, 440, 440, 440,
|
|
|
|
|
/* 90 */ 440, 387, 440, 440, 440, 440, 424, 440, 357, 373,
|
|
|
|
|
/* 100 */ 440, 440, 355, 440, 440, 376, 381, 440, 375, 374,
|
|
|
|
|
/* 110 */ 440, 440, 440, 440, 422, 319, 440, 345, 315, 323,
|
|
|
|
|
/* 120 */ 393, 423, 344, 357, 370, 306, 348, 386, 357, 386,
|
|
|
|
|
/* 130 */ 357, 357, 320, 440, 320, 440, 440, 440, 388, 320,
|
|
|
|
|
/* 140 */ 440, 440, 440, 440, 440, 346, 440, 440, 328, 440,
|
|
|
|
|
/* 150 */ 440, 368, 440, 440, 440, 316, 440, 440, 440, 440,
|
|
|
|
|
/* 160 */ 440, 440, 440, 440, 440, 440, 324, 440, 317, 440,
|
|
|
|
|
/* 170 */ 332, 440, 440, 440, 440, 287, 293, 286, 318, 308,
|
|
|
|
|
/* 180 */ 292, 434, 361, 439, 426, 341, 435, 364, 362, 438,
|
|
|
|
|
/* 190 */ 436, 289, 365, 363, 377, 431, 433, 340, 290, 291,
|
|
|
|
|
/* 200 */ 309, 425, 437, 429, 432, 379, 428, 427, 288, 399,
|
|
|
|
|
/* 210 */ 369, 328, 349, 366, 322, 327, 334, 333, 331, 325,
|
|
|
|
|
/* 220 */ 385, 380, 378, 419, 420, 418, 324, 335, 299, 358,
|
|
|
|
|
/* 230 */ 359, 360, 354, 353, 356, 351, 352, 371, 326, 384,
|
|
|
|
|
/* 240 */ 430, 336, 383, 372, 338, 339, 329, 330, 297, 296,
|
|
|
|
|
/* 250 */ 415, 404, 403, 312, 400, 298, 416, 417, 305, 307,
|
|
|
|
|
/* 260 */ 367, 294, 295, 391, 304, 389, 337, 311, 310, 394,
|
|
|
|
|
/* 270 */ 303, 313, 300, 301, 302, 395, 407, 412, 413, 414,
|
|
|
|
|
/* 280 */ 411, 410, 408, 409, 368,
|
2009-03-22 16:09:05 +00:00
|
|
|
);
|
|
|
|
|
/* The next thing included is series of defines which control
|
|
|
|
|
** various aspects of the generated parser.
|
|
|
|
|
** self::YYNOCODE is a number which corresponds
|
|
|
|
|
** to no legal terminal or nonterminal number. This
|
|
|
|
|
** number is used to fill in empty slots of the hash
|
|
|
|
|
** table.
|
|
|
|
|
** self::YYFALLBACK If defined, this indicates that one or more tokens
|
|
|
|
|
** have fall-back values which should be used if the
|
|
|
|
|
** original value of the token will not parse.
|
|
|
|
|
** self::YYSTACKDEPTH is the maximum depth of the parser's stack.
|
|
|
|
|
** self::YYNSTATE the combined number of states.
|
|
|
|
|
** self::YYNRULE the number of rules in the grammar
|
|
|
|
|
** self::YYERRORSYMBOL is the code number of the error symbol. If not
|
|
|
|
|
** defined, then do no error processing.
|
|
|
|
|
*/
|
2009-09-19 13:22:32 +00:00
|
|
|
const YYNOCODE = 110;
|
2009-03-22 16:09:05 +00:00
|
|
|
const YYSTACKDEPTH = 100;
|
2009-09-29 18:52:58 +00:00
|
|
|
const YYNSTATE = 285;
|
2009-09-29 16:23:35 +00:00
|
|
|
const YYNRULE = 155;
|
2009-09-19 13:22:32 +00:00
|
|
|
const YYERRORSYMBOL = 69;
|
2009-03-22 16:09:05 +00:00
|
|
|
const YYERRSYMDT = 'yy0';
|
|
|
|
|
const YYFALLBACK = 1;
|
|
|
|
|
/** The next table maps tokens into fallback tokens. If a construct
|
|
|
|
|
* like the following:
|
|
|
|
|
*
|
|
|
|
|
* %fallback ID X Y Z.
|
|
|
|
|
*
|
|
|
|
|
* appears in the grammer, then ID becomes a fallback token for X, Y,
|
|
|
|
|
* and Z. Whenever one of the tokens X, Y, or Z is input to the parser
|
|
|
|
|
* but it does not parse, the type of the token is changed to ID and
|
|
|
|
|
* the parse is retried before an error is thrown.
|
|
|
|
|
*/
|
|
|
|
|
static public $yyFallback = array(
|
|
|
|
|
0, /* $ => nothing */
|
|
|
|
|
0, /* OTHER => nothing */
|
2009-09-26 23:06:57 +00:00
|
|
|
1, /* XML => OTHER */
|
2009-03-22 16:09:05 +00:00
|
|
|
1, /* PHP => OTHER */
|
|
|
|
|
1, /* SHORTTAGSTART => OTHER */
|
|
|
|
|
1, /* SHORTTAGEND => OTHER */
|
2009-09-26 23:06:57 +00:00
|
|
|
1, /* PHPSTART => OTHER */
|
|
|
|
|
1, /* PHPEND => OTHER */
|
2009-03-22 16:09:05 +00:00
|
|
|
1, /* COMMENTEND => OTHER */
|
|
|
|
|
1, /* COMMENTSTART => OTHER */
|
2009-09-26 23:06:57 +00:00
|
|
|
1, /* SINGLEQUOTE => OTHER */
|
|
|
|
|
1, /* LITERALSTART => OTHER */
|
|
|
|
|
1, /* LITERALEND => OTHER */
|
|
|
|
|
1, /* LDELIMTAG => OTHER */
|
|
|
|
|
1, /* RDELIMTAG => OTHER */
|
|
|
|
|
1, /* LDELSLASH => OTHER */
|
|
|
|
|
1, /* LDEL => OTHER */
|
|
|
|
|
1, /* RDEL => OTHER */
|
|
|
|
|
1, /* ISIN => OTHER */
|
|
|
|
|
1, /* AS => OTHER */
|
|
|
|
|
1, /* BOOLEAN => OTHER */
|
|
|
|
|
1, /* NULL => OTHER */
|
|
|
|
|
1, /* IDENTITY => OTHER */
|
|
|
|
|
1, /* NONEIDENTITY => OTHER */
|
2009-03-22 16:09:05 +00:00
|
|
|
1, /* EQUALS => OTHER */
|
|
|
|
|
1, /* NOTEQUALS => OTHER */
|
|
|
|
|
1, /* GREATEREQUAL => OTHER */
|
|
|
|
|
1, /* LESSEQUAL => OTHER */
|
2009-09-26 23:06:57 +00:00
|
|
|
1, /* GREATERTHAN => OTHER */
|
|
|
|
|
1, /* LESSTHAN => OTHER */
|
2009-03-22 16:09:05 +00:00
|
|
|
1, /* NOT => OTHER */
|
|
|
|
|
1, /* LAND => OTHER */
|
|
|
|
|
1, /* LOR => OTHER */
|
2009-09-19 13:22:32 +00:00
|
|
|
1, /* LXOR => OTHER */
|
2009-03-22 16:09:05 +00:00
|
|
|
1, /* ISODDBY => OTHER */
|
|
|
|
|
1, /* ISNOTODDBY => OTHER */
|
2009-09-26 23:06:57 +00:00
|
|
|
1, /* ISODD => OTHER */
|
|
|
|
|
1, /* ISNOTODD => OTHER */
|
2009-03-22 16:09:05 +00:00
|
|
|
1, /* ISEVENBY => OTHER */
|
|
|
|
|
1, /* ISNOTEVENBY => OTHER */
|
2009-09-26 23:06:57 +00:00
|
|
|
1, /* ISEVEN => OTHER */
|
|
|
|
|
1, /* ISNOTEVEN => OTHER */
|
2009-03-22 16:09:05 +00:00
|
|
|
1, /* ISDIVBY => OTHER */
|
|
|
|
|
1, /* ISNOTDIVBY => OTHER */
|
2009-09-26 23:06:57 +00:00
|
|
|
1, /* OPENP => OTHER */
|
|
|
|
|
1, /* CLOSEP => OTHER */
|
|
|
|
|
1, /* OPENB => OTHER */
|
|
|
|
|
1, /* CLOSEB => OTHER */
|
|
|
|
|
1, /* PTR => OTHER */
|
|
|
|
|
1, /* APTR => OTHER */
|
|
|
|
|
1, /* EQUAL => OTHER */
|
|
|
|
|
1, /* INTEGER => OTHER */
|
|
|
|
|
1, /* INCDEC => OTHER */
|
|
|
|
|
1, /* UNIMATH => OTHER */
|
|
|
|
|
1, /* MATH => OTHER */
|
|
|
|
|
1, /* DOLLAR => OTHER */
|
|
|
|
|
1, /* COLON => OTHER */
|
|
|
|
|
1, /* DOUBLECOLON => OTHER */
|
|
|
|
|
1, /* SEMICOLON => OTHER */
|
|
|
|
|
1, /* AT => OTHER */
|
|
|
|
|
1, /* HATCH => OTHER */
|
|
|
|
|
1, /* QUOTE => OTHER */
|
|
|
|
|
1, /* BACKTICK => OTHER */
|
|
|
|
|
1, /* VERT => OTHER */
|
|
|
|
|
1, /* DOT => OTHER */
|
|
|
|
|
1, /* COMMA => OTHER */
|
|
|
|
|
1, /* ANDSYM => OTHER */
|
|
|
|
|
1, /* ID => OTHER */
|
|
|
|
|
1, /* SPACE => OTHER */
|
2009-03-22 16:09:05 +00:00
|
|
|
);
|
|
|
|
|
/**
|
|
|
|
|
* Turn parser tracing on by giving a stream to which to write the trace
|
|
|
|
|
* and a prompt to preface each trace message. Tracing is turned off
|
|
|
|
|
* by making either argument NULL
|
|
|
|
|
*
|
|
|
|
|
* Inputs:
|
|
|
|
|
*
|
|
|
|
|
* - A stream resource to which trace output should be written.
|
|
|
|
|
* If NULL, then tracing is turned off.
|
|
|
|
|
* - A prefix string written at the beginning of every
|
|
|
|
|
* line of trace output. If NULL, then tracing is
|
|
|
|
|
* turned off.
|
|
|
|
|
*
|
|
|
|
|
* Outputs:
|
|
|
|
|
*
|
|
|
|
|
* - None.
|
|
|
|
|
* @param resource
|
|
|
|
|
* @param string
|
|
|
|
|
*/
|
|
|
|
|
static function Trace($TraceFILE, $zTracePrompt)
|
|
|
|
|
{
|
|
|
|
|
if (!$TraceFILE) {
|
|
|
|
|
$zTracePrompt = 0;
|
|
|
|
|
} elseif (!$zTracePrompt) {
|
|
|
|
|
$TraceFILE = 0;
|
|
|
|
|
}
|
|
|
|
|
self::$yyTraceFILE = $TraceFILE;
|
|
|
|
|
self::$yyTracePrompt = $zTracePrompt;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Output debug information to output (php://output stream)
|
|
|
|
|
*/
|
|
|
|
|
static function PrintTrace()
|
|
|
|
|
{
|
|
|
|
|
self::$yyTraceFILE = fopen('php://output', 'w');
|
|
|
|
|
self::$yyTracePrompt = '<br>';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @var resource|0
|
|
|
|
|
*/
|
|
|
|
|
static public $yyTraceFILE;
|
|
|
|
|
/**
|
|
|
|
|
* String to prepend to debug output
|
|
|
|
|
* @var string|0
|
|
|
|
|
*/
|
|
|
|
|
static public $yyTracePrompt;
|
|
|
|
|
/**
|
|
|
|
|
* @var int
|
|
|
|
|
*/
|
|
|
|
|
public $yyidx; /* Index of top element in stack */
|
|
|
|
|
/**
|
|
|
|
|
* @var int
|
|
|
|
|
*/
|
|
|
|
|
public $yyerrcnt; /* Shifts left before out of the error */
|
|
|
|
|
/**
|
|
|
|
|
* @var array
|
|
|
|
|
*/
|
|
|
|
|
public $yystack = array(); /* The parser's stack */
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* For tracing shifts, the names of all terminals and nonterminals
|
|
|
|
|
* are required. The following table supplies these names
|
|
|
|
|
* @var array
|
|
|
|
|
*/
|
|
|
|
|
public $yyTokenName = array(
|
2009-09-26 23:06:57 +00:00
|
|
|
'$', 'OTHER', 'XML', 'PHP',
|
|
|
|
|
'SHORTTAGSTART', 'SHORTTAGEND', 'PHPSTART', 'PHPEND',
|
|
|
|
|
'COMMENTEND', 'COMMENTSTART', 'SINGLEQUOTE', 'LITERALSTART',
|
|
|
|
|
'LITERALEND', 'LDELIMTAG', 'RDELIMTAG', 'LDELSLASH',
|
|
|
|
|
'LDEL', 'RDEL', 'ISIN', 'AS',
|
|
|
|
|
'BOOLEAN', 'NULL', 'IDENTITY', 'NONEIDENTITY',
|
|
|
|
|
'EQUALS', 'NOTEQUALS', 'GREATEREQUAL', 'LESSEQUAL',
|
|
|
|
|
'GREATERTHAN', 'LESSTHAN', 'NOT', 'LAND',
|
|
|
|
|
'LOR', 'LXOR', 'ISODDBY', 'ISNOTODDBY',
|
|
|
|
|
'ISODD', 'ISNOTODD', 'ISEVENBY', 'ISNOTEVENBY',
|
|
|
|
|
'ISEVEN', 'ISNOTEVEN', 'ISDIVBY', 'ISNOTDIVBY',
|
|
|
|
|
'OPENP', 'CLOSEP', 'OPENB', 'CLOSEB',
|
|
|
|
|
'PTR', 'APTR', 'EQUAL', 'INTEGER',
|
|
|
|
|
'INCDEC', 'UNIMATH', 'MATH', 'DOLLAR',
|
|
|
|
|
'COLON', 'DOUBLECOLON', 'SEMICOLON', 'AT',
|
|
|
|
|
'HATCH', 'QUOTE', 'BACKTICK', 'VERT',
|
|
|
|
|
'DOT', 'COMMA', 'ANDSYM', 'ID',
|
|
|
|
|
'SPACE', 'error', 'start', 'template',
|
2009-10-04 18:12:30 +00:00
|
|
|
'template_element', 'smartytag', 'text', 'expr',
|
|
|
|
|
'attributes', 'varindexed', 'modifier', 'modparameters',
|
2009-09-29 16:23:35 +00:00
|
|
|
'ifexprs', 'statement', 'statements', 'varvar',
|
|
|
|
|
'foraction', 'value', 'array', 'attribute',
|
|
|
|
|
'exprs', 'math', 'variable', 'function',
|
2009-09-19 13:22:32 +00:00
|
|
|
'doublequoted', 'method', 'params', 'objectchain',
|
|
|
|
|
'arrayindex', 'object', 'indexdef', 'varvarele',
|
|
|
|
|
'objectelement', 'modparameter', 'ifexpr', 'ifcond',
|
|
|
|
|
'lop', 'arrayelements', 'arrayelement', 'doublequotedcontent',
|
|
|
|
|
'textelement',
|
2009-03-22 16:09:05 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* For tracing reduce actions, the names of all rules are required.
|
|
|
|
|
* @var array
|
|
|
|
|
*/
|
|
|
|
|
static public $yyRuleName = array(
|
|
|
|
|
/* 0 */ "start ::= template",
|
|
|
|
|
/* 1 */ "template ::= template_element",
|
|
|
|
|
/* 2 */ "template ::= template template_element",
|
|
|
|
|
/* 3 */ "template_element ::= smartytag",
|
|
|
|
|
/* 4 */ "template_element ::= COMMENTSTART text COMMENTEND",
|
|
|
|
|
/* 5 */ "template_element ::= LITERALSTART text LITERALEND",
|
|
|
|
|
/* 6 */ "template_element ::= LDELIMTAG",
|
|
|
|
|
/* 7 */ "template_element ::= RDELIMTAG",
|
2009-09-29 18:52:58 +00:00
|
|
|
/* 8 */ "template_element ::= PHP text SHORTTAGEND",
|
2009-09-29 16:23:35 +00:00
|
|
|
/* 9 */ "template_element ::= SHORTTAGSTART DOLLAR ID SHORTTAGEND",
|
|
|
|
|
/* 10 */ "template_element ::= XML",
|
|
|
|
|
/* 11 */ "template_element ::= SHORTTAGEND",
|
|
|
|
|
/* 12 */ "template_element ::= OTHER",
|
2009-10-04 18:12:30 +00:00
|
|
|
/* 13 */ "smartytag ::= LDEL expr attributes RDEL",
|
|
|
|
|
/* 14 */ "smartytag ::= LDEL varindexed EQUAL expr attributes RDEL",
|
2009-09-29 16:23:35 +00:00
|
|
|
/* 15 */ "smartytag ::= LDEL ID attributes RDEL",
|
|
|
|
|
/* 16 */ "smartytag ::= LDEL ID PTR ID attributes RDEL",
|
|
|
|
|
/* 17 */ "smartytag ::= LDEL ID modifier modparameters attributes RDEL",
|
2009-10-04 18:12:30 +00:00
|
|
|
/* 18 */ "smartytag ::= LDEL ID SPACE ifexprs RDEL",
|
|
|
|
|
/* 19 */ "smartytag ::= LDEL ID SPACE statement RDEL",
|
|
|
|
|
/* 20 */ "smartytag ::= LDEL ID SPACE statements SEMICOLON ifexprs SEMICOLON DOLLAR varvar foraction RDEL",
|
|
|
|
|
/* 21 */ "foraction ::= EQUAL expr",
|
|
|
|
|
/* 22 */ "foraction ::= INCDEC",
|
|
|
|
|
/* 23 */ "smartytag ::= LDEL ID SPACE value AS DOLLAR varvar RDEL",
|
|
|
|
|
/* 24 */ "smartytag ::= LDEL ID SPACE array AS DOLLAR varvar RDEL",
|
|
|
|
|
/* 25 */ "smartytag ::= LDELSLASH ID attributes RDEL",
|
|
|
|
|
/* 26 */ "smartytag ::= LDELSLASH ID PTR ID RDEL",
|
2009-09-29 16:23:35 +00:00
|
|
|
/* 27 */ "attributes ::= attributes attribute",
|
|
|
|
|
/* 28 */ "attributes ::= attribute",
|
|
|
|
|
/* 29 */ "attributes ::=",
|
|
|
|
|
/* 30 */ "attribute ::= SPACE ID EQUAL expr",
|
|
|
|
|
/* 31 */ "attribute ::= SPACE ID",
|
|
|
|
|
/* 32 */ "statements ::= statement",
|
|
|
|
|
/* 33 */ "statements ::= statements COMMA statement",
|
|
|
|
|
/* 34 */ "statement ::= DOLLAR varvar EQUAL expr",
|
|
|
|
|
/* 35 */ "expr ::= ID",
|
|
|
|
|
/* 36 */ "expr ::= exprs",
|
|
|
|
|
/* 37 */ "expr ::= DOLLAR ID COLON ID",
|
|
|
|
|
/* 38 */ "expr ::= expr modifier modparameters",
|
|
|
|
|
/* 39 */ "exprs ::= value",
|
|
|
|
|
/* 40 */ "exprs ::= UNIMATH value",
|
|
|
|
|
/* 41 */ "exprs ::= exprs math value",
|
|
|
|
|
/* 42 */ "exprs ::= exprs ANDSYM value",
|
|
|
|
|
/* 43 */ "exprs ::= array",
|
|
|
|
|
/* 44 */ "math ::= UNIMATH",
|
|
|
|
|
/* 45 */ "math ::= MATH",
|
|
|
|
|
/* 46 */ "value ::= variable",
|
|
|
|
|
/* 47 */ "value ::= INTEGER",
|
|
|
|
|
/* 48 */ "value ::= INTEGER DOT INTEGER",
|
|
|
|
|
/* 49 */ "value ::= BOOLEAN",
|
|
|
|
|
/* 50 */ "value ::= NULL",
|
|
|
|
|
/* 51 */ "value ::= function",
|
|
|
|
|
/* 52 */ "value ::= OPENP expr CLOSEP",
|
|
|
|
|
/* 53 */ "value ::= SINGLEQUOTE text SINGLEQUOTE",
|
|
|
|
|
/* 54 */ "value ::= SINGLEQUOTE SINGLEQUOTE",
|
|
|
|
|
/* 55 */ "value ::= QUOTE doublequoted QUOTE",
|
|
|
|
|
/* 56 */ "value ::= QUOTE QUOTE",
|
|
|
|
|
/* 57 */ "value ::= ID DOUBLECOLON method",
|
|
|
|
|
/* 58 */ "value ::= ID DOUBLECOLON DOLLAR ID OPENP params CLOSEP",
|
|
|
|
|
/* 59 */ "value ::= ID DOUBLECOLON method objectchain",
|
|
|
|
|
/* 60 */ "value ::= ID DOUBLECOLON DOLLAR ID OPENP params CLOSEP objectchain",
|
|
|
|
|
/* 61 */ "value ::= ID DOUBLECOLON ID",
|
|
|
|
|
/* 62 */ "value ::= ID DOUBLECOLON DOLLAR ID arrayindex",
|
|
|
|
|
/* 63 */ "value ::= ID DOUBLECOLON DOLLAR ID arrayindex objectchain",
|
|
|
|
|
/* 64 */ "value ::= smartytag",
|
|
|
|
|
/* 65 */ "variable ::= varindexed",
|
|
|
|
|
/* 66 */ "variable ::= DOLLAR varvar AT ID",
|
|
|
|
|
/* 67 */ "variable ::= object",
|
|
|
|
|
/* 68 */ "variable ::= HATCH ID HATCH",
|
|
|
|
|
/* 69 */ "variable ::= HATCH variable HATCH",
|
|
|
|
|
/* 70 */ "varindexed ::= DOLLAR varvar arrayindex",
|
|
|
|
|
/* 71 */ "arrayindex ::= arrayindex indexdef",
|
|
|
|
|
/* 72 */ "arrayindex ::=",
|
|
|
|
|
/* 73 */ "indexdef ::= DOT ID",
|
|
|
|
|
/* 74 */ "indexdef ::= DOT INTEGER",
|
|
|
|
|
/* 75 */ "indexdef ::= DOT variable",
|
|
|
|
|
/* 76 */ "indexdef ::= DOT LDEL exprs RDEL",
|
|
|
|
|
/* 77 */ "indexdef ::= OPENB ID CLOSEB",
|
|
|
|
|
/* 78 */ "indexdef ::= OPENB ID DOT ID CLOSEB",
|
|
|
|
|
/* 79 */ "indexdef ::= OPENB exprs CLOSEB",
|
|
|
|
|
/* 80 */ "indexdef ::= OPENB CLOSEB",
|
|
|
|
|
/* 81 */ "varvar ::= varvarele",
|
|
|
|
|
/* 82 */ "varvar ::= varvar varvarele",
|
|
|
|
|
/* 83 */ "varvarele ::= ID",
|
|
|
|
|
/* 84 */ "varvarele ::= LDEL expr RDEL",
|
|
|
|
|
/* 85 */ "object ::= varindexed objectchain",
|
|
|
|
|
/* 86 */ "objectchain ::= objectelement",
|
|
|
|
|
/* 87 */ "objectchain ::= objectchain objectelement",
|
|
|
|
|
/* 88 */ "objectelement ::= PTR ID arrayindex",
|
|
|
|
|
/* 89 */ "objectelement ::= PTR variable arrayindex",
|
|
|
|
|
/* 90 */ "objectelement ::= PTR LDEL expr RDEL arrayindex",
|
|
|
|
|
/* 91 */ "objectelement ::= PTR ID LDEL expr RDEL arrayindex",
|
|
|
|
|
/* 92 */ "objectelement ::= PTR method",
|
|
|
|
|
/* 93 */ "function ::= ID OPENP params CLOSEP",
|
|
|
|
|
/* 94 */ "method ::= ID OPENP params CLOSEP",
|
|
|
|
|
/* 95 */ "params ::= expr COMMA params",
|
|
|
|
|
/* 96 */ "params ::= expr",
|
|
|
|
|
/* 97 */ "params ::=",
|
|
|
|
|
/* 98 */ "modifier ::= VERT AT ID",
|
|
|
|
|
/* 99 */ "modifier ::= VERT ID",
|
|
|
|
|
/* 100 */ "modparameters ::= modparameters modparameter",
|
|
|
|
|
/* 101 */ "modparameters ::=",
|
|
|
|
|
/* 102 */ "modparameter ::= COLON exprs",
|
|
|
|
|
/* 103 */ "modparameter ::= COLON ID",
|
|
|
|
|
/* 104 */ "ifexprs ::= ifexpr",
|
|
|
|
|
/* 105 */ "ifexprs ::= NOT ifexprs",
|
|
|
|
|
/* 106 */ "ifexprs ::= OPENP ifexprs CLOSEP",
|
|
|
|
|
/* 107 */ "ifexpr ::= expr",
|
|
|
|
|
/* 108 */ "ifexpr ::= expr ifcond expr",
|
|
|
|
|
/* 109 */ "ifexpr ::= expr ISIN array",
|
|
|
|
|
/* 110 */ "ifexpr ::= expr ISIN value",
|
|
|
|
|
/* 111 */ "ifexpr ::= ifexprs lop ifexprs",
|
|
|
|
|
/* 112 */ "ifexpr ::= ifexprs ISDIVBY ifexprs",
|
|
|
|
|
/* 113 */ "ifexpr ::= ifexprs ISNOTDIVBY ifexprs",
|
|
|
|
|
/* 114 */ "ifexpr ::= ifexprs ISEVEN",
|
|
|
|
|
/* 115 */ "ifexpr ::= ifexprs ISNOTEVEN",
|
|
|
|
|
/* 116 */ "ifexpr ::= ifexprs ISEVENBY ifexprs",
|
|
|
|
|
/* 117 */ "ifexpr ::= ifexprs ISNOTEVENBY ifexprs",
|
|
|
|
|
/* 118 */ "ifexpr ::= ifexprs ISODD",
|
|
|
|
|
/* 119 */ "ifexpr ::= ifexprs ISNOTODD",
|
|
|
|
|
/* 120 */ "ifexpr ::= ifexprs ISODDBY ifexprs",
|
|
|
|
|
/* 121 */ "ifexpr ::= ifexprs ISNOTODDBY ifexprs",
|
|
|
|
|
/* 122 */ "ifcond ::= EQUALS",
|
|
|
|
|
/* 123 */ "ifcond ::= NOTEQUALS",
|
|
|
|
|
/* 124 */ "ifcond ::= GREATERTHAN",
|
|
|
|
|
/* 125 */ "ifcond ::= LESSTHAN",
|
|
|
|
|
/* 126 */ "ifcond ::= GREATEREQUAL",
|
|
|
|
|
/* 127 */ "ifcond ::= LESSEQUAL",
|
|
|
|
|
/* 128 */ "ifcond ::= IDENTITY",
|
|
|
|
|
/* 129 */ "ifcond ::= NONEIDENTITY",
|
|
|
|
|
/* 130 */ "lop ::= LAND",
|
|
|
|
|
/* 131 */ "lop ::= LOR",
|
|
|
|
|
/* 132 */ "lop ::= LXOR",
|
|
|
|
|
/* 133 */ "array ::= OPENB arrayelements CLOSEB",
|
|
|
|
|
/* 134 */ "arrayelements ::= arrayelement",
|
|
|
|
|
/* 135 */ "arrayelements ::= arrayelements COMMA arrayelement",
|
|
|
|
|
/* 136 */ "arrayelements ::=",
|
|
|
|
|
/* 137 */ "arrayelement ::= expr APTR expr",
|
|
|
|
|
/* 138 */ "arrayelement ::= ID APTR expr",
|
|
|
|
|
/* 139 */ "arrayelement ::= expr",
|
|
|
|
|
/* 140 */ "doublequoted ::= doublequoted doublequotedcontent",
|
|
|
|
|
/* 141 */ "doublequoted ::= doublequotedcontent",
|
|
|
|
|
/* 142 */ "doublequotedcontent ::= BACKTICK ID BACKTICK",
|
|
|
|
|
/* 143 */ "doublequotedcontent ::= BACKTICK variable BACKTICK",
|
|
|
|
|
/* 144 */ "doublequotedcontent ::= DOLLAR ID",
|
|
|
|
|
/* 145 */ "doublequotedcontent ::= LDEL expr RDEL",
|
|
|
|
|
/* 146 */ "doublequotedcontent ::= smartytag",
|
|
|
|
|
/* 147 */ "doublequotedcontent ::= DOLLAR OTHER",
|
|
|
|
|
/* 148 */ "doublequotedcontent ::= LDEL OTHER",
|
|
|
|
|
/* 149 */ "doublequotedcontent ::= BACKTICK OTHER",
|
|
|
|
|
/* 150 */ "doublequotedcontent ::= OTHER",
|
|
|
|
|
/* 151 */ "text ::= text textelement",
|
|
|
|
|
/* 152 */ "text ::= textelement",
|
|
|
|
|
/* 153 */ "textelement ::= OTHER",
|
|
|
|
|
/* 154 */ "textelement ::= LDEL",
|
2009-03-22 16:09:05 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* This function returns the symbolic name associated with a token
|
|
|
|
|
* value.
|
|
|
|
|
* @param int
|
|
|
|
|
* @return string
|
|
|
|
|
*/
|
|
|
|
|
function tokenName($tokenType)
|
|
|
|
|
{
|
|
|
|
|
if ($tokenType === 0) {
|
|
|
|
|
return 'End of Input';
|
|
|
|
|
}
|
|
|
|
|
if ($tokenType > 0 && $tokenType < count($this->yyTokenName)) {
|
|
|
|
|
return $this->yyTokenName[$tokenType];
|
|
|
|
|
} else {
|
|
|
|
|
return "Unknown";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The following function deletes the value associated with a
|
|
|
|
|
* symbol. The symbol can be either a terminal or nonterminal.
|
|
|
|
|
* @param int the symbol code
|
|
|
|
|
* @param mixed the symbol's value
|
|
|
|
|
*/
|
|
|
|
|
static function yy_destructor($yymajor, $yypminor)
|
|
|
|
|
{
|
|
|
|
|
switch ($yymajor) {
|
|
|
|
|
/* Here is inserted the actions which take place when a
|
|
|
|
|
** terminal or non-terminal is destroyed. This can happen
|
|
|
|
|
** when the symbol is popped from the stack during a
|
|
|
|
|
** reduce or during error processing or when a parser is
|
|
|
|
|
** being destroyed before it is finished parsing.
|
|
|
|
|
**
|
|
|
|
|
** Note: during a reduce, the only symbols destroyed are those
|
|
|
|
|
** which appear on the RHS of the rule, but which are not used
|
|
|
|
|
** inside the C code.
|
|
|
|
|
*/
|
|
|
|
|
default: break; /* If no destructor action specified: do nothing */
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Pop the parser's stack once.
|
|
|
|
|
*
|
|
|
|
|
* If there is a destructor routine associated with the token which
|
|
|
|
|
* is popped from the stack, then call it.
|
|
|
|
|
*
|
|
|
|
|
* Return the major token number for the symbol popped.
|
|
|
|
|
* @param TP_yyParser
|
|
|
|
|
* @return int
|
|
|
|
|
*/
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Deallocate and destroy a parser. Destructors are all called for
|
|
|
|
|
* all stack elements before shutting the parser down.
|
|
|
|
|
*/
|
|
|
|
|
function __destruct()
|
|
|
|
|
{
|
|
|
|
|
while ($this->yyidx >= 0) {
|
|
|
|
|
$this->yy_pop_parser_stack();
|
|
|
|
|
}
|
|
|
|
|
if (is_resource(self::$yyTraceFILE)) {
|
|
|
|
|
fclose(self::$yyTraceFILE);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Based on the current state and parser stack, get a list of all
|
|
|
|
|
* possible lookahead tokens
|
|
|
|
|
* @param int
|
|
|
|
|
* @return array
|
|
|
|
|
*/
|
|
|
|
|
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);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Based on the parser state and current parser stack, determine whether
|
|
|
|
|
* the lookahead token is possible.
|
|
|
|
|
*
|
|
|
|
|
* The parser will convert the token value to an error token if not. This
|
|
|
|
|
* catches some unusual edge cases where the parser would fail.
|
|
|
|
|
* @param int
|
|
|
|
|
* @return bool
|
|
|
|
|
*/
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Find the appropriate action for a parser given the terminal
|
|
|
|
|
* look-ahead token iLookAhead.
|
|
|
|
|
*
|
|
|
|
|
* If the look-ahead token is YYNOCODE, then check to see if the action is
|
|
|
|
|
* independent of the look-ahead. If it is, return the action, otherwise
|
|
|
|
|
* return YY_NO_ACTION.
|
|
|
|
|
* @param int The look-ahead token
|
|
|
|
|
*/
|
|
|
|
|
function yy_find_shift_action($iLookAhead)
|
|
|
|
|
{
|
|
|
|
|
$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];
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Find the appropriate action for a parser given the non-terminal
|
|
|
|
|
* look-ahead token $iLookAhead.
|
|
|
|
|
*
|
|
|
|
|
* If the look-ahead token is self::YYNOCODE, then check to see if the action is
|
|
|
|
|
* independent of the look-ahead. If it is, return the action, otherwise
|
|
|
|
|
* return self::YY_NO_ACTION.
|
|
|
|
|
* @param int Current state number
|
|
|
|
|
* @param int The look-ahead token
|
|
|
|
|
*/
|
|
|
|
|
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];
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Perform a shift action.
|
|
|
|
|
* @param int The new state to shift in
|
|
|
|
|
* @param int The major token to shift in
|
|
|
|
|
* @param mixed the minor token to shift in
|
|
|
|
|
*/
|
|
|
|
|
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();
|
|
|
|
|
}
|
|
|
|
|
/* Here code is inserted which will execute if the parser
|
|
|
|
|
** stack ever overflows */
|
|
|
|
|
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");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The following table contains information about every rule that
|
|
|
|
|
* is used during the reduce.
|
|
|
|
|
*
|
|
|
|
|
* <pre>
|
|
|
|
|
* array(
|
|
|
|
|
* array(
|
|
|
|
|
* int $lhs; Symbol on the left-hand side of the rule
|
|
|
|
|
* int $nrhs; Number of right-hand side symbols in the rule
|
|
|
|
|
* ),...
|
|
|
|
|
* );
|
|
|
|
|
* </pre>
|
|
|
|
|
*/
|
|
|
|
|
static public $yyRuleInfo = array(
|
|
|
|
|
array( 'lhs' => 70, 'rhs' => 1 ),
|
2009-04-14 09:04:15 +00:00
|
|
|
array( 'lhs' => 71, 'rhs' => 1 ),
|
2009-09-19 13:22:32 +00:00
|
|
|
array( 'lhs' => 71, 'rhs' => 2 ),
|
|
|
|
|
array( 'lhs' => 72, 'rhs' => 1 ),
|
|
|
|
|
array( 'lhs' => 72, 'rhs' => 3 ),
|
|
|
|
|
array( 'lhs' => 72, 'rhs' => 3 ),
|
|
|
|
|
array( 'lhs' => 72, 'rhs' => 1 ),
|
|
|
|
|
array( 'lhs' => 72, 'rhs' => 1 ),
|
2009-09-29 18:52:58 +00:00
|
|
|
array( 'lhs' => 72, 'rhs' => 3 ),
|
2009-09-29 16:23:35 +00:00
|
|
|
array( 'lhs' => 72, 'rhs' => 4 ),
|
2009-09-19 13:22:32 +00:00
|
|
|
array( 'lhs' => 72, 'rhs' => 1 ),
|
|
|
|
|
array( 'lhs' => 72, 'rhs' => 1 ),
|
|
|
|
|
array( 'lhs' => 72, 'rhs' => 1 ),
|
|
|
|
|
array( 'lhs' => 73, 'rhs' => 4 ),
|
2009-10-04 18:12:30 +00:00
|
|
|
array( 'lhs' => 73, 'rhs' => 6 ),
|
2009-09-19 13:22:32 +00:00
|
|
|
array( 'lhs' => 73, 'rhs' => 4 ),
|
|
|
|
|
array( 'lhs' => 73, 'rhs' => 6 ),
|
|
|
|
|
array( 'lhs' => 73, 'rhs' => 6 ),
|
|
|
|
|
array( 'lhs' => 73, 'rhs' => 5 ),
|
|
|
|
|
array( 'lhs' => 73, 'rhs' => 5 ),
|
|
|
|
|
array( 'lhs' => 73, 'rhs' => 11 ),
|
2009-09-29 16:23:35 +00:00
|
|
|
array( 'lhs' => 84, 'rhs' => 2 ),
|
|
|
|
|
array( 'lhs' => 84, 'rhs' => 1 ),
|
2009-09-19 13:22:32 +00:00
|
|
|
array( 'lhs' => 73, 'rhs' => 8 ),
|
|
|
|
|
array( 'lhs' => 73, 'rhs' => 8 ),
|
2009-10-04 18:12:30 +00:00
|
|
|
array( 'lhs' => 73, 'rhs' => 4 ),
|
|
|
|
|
array( 'lhs' => 73, 'rhs' => 5 ),
|
|
|
|
|
array( 'lhs' => 76, 'rhs' => 2 ),
|
|
|
|
|
array( 'lhs' => 76, 'rhs' => 1 ),
|
|
|
|
|
array( 'lhs' => 76, 'rhs' => 0 ),
|
2009-09-29 16:23:35 +00:00
|
|
|
array( 'lhs' => 87, 'rhs' => 4 ),
|
|
|
|
|
array( 'lhs' => 87, 'rhs' => 2 ),
|
|
|
|
|
array( 'lhs' => 82, 'rhs' => 1 ),
|
|
|
|
|
array( 'lhs' => 82, 'rhs' => 3 ),
|
|
|
|
|
array( 'lhs' => 81, 'rhs' => 4 ),
|
2009-10-04 18:12:30 +00:00
|
|
|
array( 'lhs' => 75, 'rhs' => 1 ),
|
|
|
|
|
array( 'lhs' => 75, 'rhs' => 1 ),
|
|
|
|
|
array( 'lhs' => 75, 'rhs' => 4 ),
|
|
|
|
|
array( 'lhs' => 75, 'rhs' => 3 ),
|
2009-09-29 16:23:35 +00:00
|
|
|
array( 'lhs' => 88, 'rhs' => 1 ),
|
|
|
|
|
array( 'lhs' => 88, 'rhs' => 2 ),
|
|
|
|
|
array( 'lhs' => 88, 'rhs' => 3 ),
|
|
|
|
|
array( 'lhs' => 88, 'rhs' => 3 ),
|
|
|
|
|
array( 'lhs' => 88, 'rhs' => 1 ),
|
2009-04-14 09:04:15 +00:00
|
|
|
array( 'lhs' => 89, 'rhs' => 1 ),
|
|
|
|
|
array( 'lhs' => 89, 'rhs' => 1 ),
|
2009-09-29 16:23:35 +00:00
|
|
|
array( 'lhs' => 85, 'rhs' => 1 ),
|
|
|
|
|
array( 'lhs' => 85, 'rhs' => 1 ),
|
|
|
|
|
array( 'lhs' => 85, 'rhs' => 3 ),
|
|
|
|
|
array( 'lhs' => 85, 'rhs' => 1 ),
|
|
|
|
|
array( 'lhs' => 85, 'rhs' => 1 ),
|
|
|
|
|
array( 'lhs' => 85, 'rhs' => 1 ),
|
|
|
|
|
array( 'lhs' => 85, 'rhs' => 3 ),
|
|
|
|
|
array( 'lhs' => 85, 'rhs' => 3 ),
|
|
|
|
|
array( 'lhs' => 85, 'rhs' => 2 ),
|
|
|
|
|
array( 'lhs' => 85, 'rhs' => 3 ),
|
|
|
|
|
array( 'lhs' => 85, 'rhs' => 2 ),
|
|
|
|
|
array( 'lhs' => 85, 'rhs' => 3 ),
|
|
|
|
|
array( 'lhs' => 85, 'rhs' => 7 ),
|
|
|
|
|
array( 'lhs' => 85, 'rhs' => 4 ),
|
|
|
|
|
array( 'lhs' => 85, 'rhs' => 8 ),
|
|
|
|
|
array( 'lhs' => 85, 'rhs' => 3 ),
|
|
|
|
|
array( 'lhs' => 85, 'rhs' => 5 ),
|
|
|
|
|
array( 'lhs' => 85, 'rhs' => 6 ),
|
|
|
|
|
array( 'lhs' => 85, 'rhs' => 1 ),
|
2009-09-19 13:22:32 +00:00
|
|
|
array( 'lhs' => 90, 'rhs' => 1 ),
|
2009-09-29 16:23:35 +00:00
|
|
|
array( 'lhs' => 90, 'rhs' => 4 ),
|
2009-09-19 13:22:32 +00:00
|
|
|
array( 'lhs' => 90, 'rhs' => 1 ),
|
2009-09-29 16:23:35 +00:00
|
|
|
array( 'lhs' => 90, 'rhs' => 3 ),
|
|
|
|
|
array( 'lhs' => 90, 'rhs' => 3 ),
|
2009-10-04 18:12:30 +00:00
|
|
|
array( 'lhs' => 77, 'rhs' => 3 ),
|
2009-08-21 14:50:34 +00:00
|
|
|
array( 'lhs' => 96, 'rhs' => 2 ),
|
2009-09-19 13:22:32 +00:00
|
|
|
array( 'lhs' => 96, 'rhs' => 0 ),
|
|
|
|
|
array( 'lhs' => 98, 'rhs' => 2 ),
|
|
|
|
|
array( 'lhs' => 98, 'rhs' => 2 ),
|
|
|
|
|
array( 'lhs' => 98, 'rhs' => 2 ),
|
|
|
|
|
array( 'lhs' => 98, 'rhs' => 4 ),
|
|
|
|
|
array( 'lhs' => 98, 'rhs' => 3 ),
|
2009-09-27 17:58:33 +00:00
|
|
|
array( 'lhs' => 98, 'rhs' => 5 ),
|
2009-09-19 13:22:32 +00:00
|
|
|
array( 'lhs' => 98, 'rhs' => 3 ),
|
|
|
|
|
array( 'lhs' => 98, 'rhs' => 2 ),
|
2009-09-29 16:23:35 +00:00
|
|
|
array( 'lhs' => 83, 'rhs' => 1 ),
|
|
|
|
|
array( 'lhs' => 83, 'rhs' => 2 ),
|
2009-09-19 13:22:32 +00:00
|
|
|
array( 'lhs' => 99, 'rhs' => 1 ),
|
2009-08-21 14:50:34 +00:00
|
|
|
array( 'lhs' => 99, 'rhs' => 3 ),
|
2009-09-19 13:22:32 +00:00
|
|
|
array( 'lhs' => 97, 'rhs' => 2 ),
|
|
|
|
|
array( 'lhs' => 95, 'rhs' => 1 ),
|
|
|
|
|
array( 'lhs' => 95, 'rhs' => 2 ),
|
|
|
|
|
array( 'lhs' => 100, 'rhs' => 3 ),
|
|
|
|
|
array( 'lhs' => 100, 'rhs' => 3 ),
|
|
|
|
|
array( 'lhs' => 100, 'rhs' => 5 ),
|
|
|
|
|
array( 'lhs' => 100, 'rhs' => 6 ),
|
2009-08-21 14:50:34 +00:00
|
|
|
array( 'lhs' => 100, 'rhs' => 2 ),
|
2009-09-19 13:22:32 +00:00
|
|
|
array( 'lhs' => 91, 'rhs' => 4 ),
|
|
|
|
|
array( 'lhs' => 93, 'rhs' => 4 ),
|
|
|
|
|
array( 'lhs' => 94, 'rhs' => 3 ),
|
|
|
|
|
array( 'lhs' => 94, 'rhs' => 1 ),
|
|
|
|
|
array( 'lhs' => 94, 'rhs' => 0 ),
|
2009-09-29 16:23:35 +00:00
|
|
|
array( 'lhs' => 78, 'rhs' => 3 ),
|
|
|
|
|
array( 'lhs' => 78, 'rhs' => 2 ),
|
2009-09-19 13:22:32 +00:00
|
|
|
array( 'lhs' => 79, 'rhs' => 2 ),
|
2009-09-29 16:23:35 +00:00
|
|
|
array( 'lhs' => 79, 'rhs' => 0 ),
|
2009-08-21 14:50:34 +00:00
|
|
|
array( 'lhs' => 101, 'rhs' => 2 ),
|
|
|
|
|
array( 'lhs' => 101, 'rhs' => 2 ),
|
2009-09-29 16:23:35 +00:00
|
|
|
array( 'lhs' => 80, 'rhs' => 1 ),
|
|
|
|
|
array( 'lhs' => 80, 'rhs' => 2 ),
|
|
|
|
|
array( 'lhs' => 80, 'rhs' => 3 ),
|
2009-08-12 16:43:37 +00:00
|
|
|
array( 'lhs' => 102, 'rhs' => 1 ),
|
2009-09-19 13:22:32 +00:00
|
|
|
array( 'lhs' => 102, 'rhs' => 3 ),
|
|
|
|
|
array( 'lhs' => 102, 'rhs' => 3 ),
|
|
|
|
|
array( 'lhs' => 102, 'rhs' => 3 ),
|
|
|
|
|
array( 'lhs' => 102, 'rhs' => 3 ),
|
|
|
|
|
array( 'lhs' => 102, 'rhs' => 3 ),
|
|
|
|
|
array( 'lhs' => 102, 'rhs' => 3 ),
|
|
|
|
|
array( 'lhs' => 102, 'rhs' => 2 ),
|
|
|
|
|
array( 'lhs' => 102, 'rhs' => 2 ),
|
|
|
|
|
array( 'lhs' => 102, 'rhs' => 3 ),
|
|
|
|
|
array( 'lhs' => 102, 'rhs' => 3 ),
|
|
|
|
|
array( 'lhs' => 102, 'rhs' => 2 ),
|
|
|
|
|
array( 'lhs' => 102, 'rhs' => 2 ),
|
|
|
|
|
array( 'lhs' => 102, 'rhs' => 3 ),
|
|
|
|
|
array( 'lhs' => 102, 'rhs' => 3 ),
|
|
|
|
|
array( 'lhs' => 103, 'rhs' => 1 ),
|
|
|
|
|
array( 'lhs' => 103, 'rhs' => 1 ),
|
|
|
|
|
array( 'lhs' => 103, 'rhs' => 1 ),
|
|
|
|
|
array( 'lhs' => 103, 'rhs' => 1 ),
|
|
|
|
|
array( 'lhs' => 103, 'rhs' => 1 ),
|
|
|
|
|
array( 'lhs' => 103, 'rhs' => 1 ),
|
2009-08-11 18:53:23 +00:00
|
|
|
array( 'lhs' => 103, 'rhs' => 1 ),
|
|
|
|
|
array( 'lhs' => 103, 'rhs' => 1 ),
|
2009-08-21 14:50:34 +00:00
|
|
|
array( 'lhs' => 104, 'rhs' => 1 ),
|
2009-09-19 13:22:32 +00:00
|
|
|
array( 'lhs' => 104, 'rhs' => 1 ),
|
|
|
|
|
array( 'lhs' => 104, 'rhs' => 1 ),
|
2009-09-29 16:23:35 +00:00
|
|
|
array( 'lhs' => 86, 'rhs' => 3 ),
|
2009-08-21 14:50:34 +00:00
|
|
|
array( 'lhs' => 105, 'rhs' => 1 ),
|
2009-09-19 13:22:32 +00:00
|
|
|
array( 'lhs' => 105, 'rhs' => 3 ),
|
|
|
|
|
array( 'lhs' => 105, 'rhs' => 0 ),
|
2009-04-14 09:04:15 +00:00
|
|
|
array( 'lhs' => 106, 'rhs' => 3 ),
|
2009-08-21 14:50:34 +00:00
|
|
|
array( 'lhs' => 106, 'rhs' => 3 ),
|
|
|
|
|
array( 'lhs' => 106, 'rhs' => 1 ),
|
2009-09-19 13:22:32 +00:00
|
|
|
array( 'lhs' => 92, 'rhs' => 2 ),
|
|
|
|
|
array( 'lhs' => 92, 'rhs' => 1 ),
|
|
|
|
|
array( 'lhs' => 107, 'rhs' => 3 ),
|
|
|
|
|
array( 'lhs' => 107, 'rhs' => 3 ),
|
|
|
|
|
array( 'lhs' => 107, 'rhs' => 2 ),
|
|
|
|
|
array( 'lhs' => 107, 'rhs' => 3 ),
|
2009-08-21 14:50:34 +00:00
|
|
|
array( 'lhs' => 107, 'rhs' => 1 ),
|
2009-09-19 13:22:32 +00:00
|
|
|
array( 'lhs' => 107, 'rhs' => 2 ),
|
|
|
|
|
array( 'lhs' => 107, 'rhs' => 2 ),
|
|
|
|
|
array( 'lhs' => 107, 'rhs' => 2 ),
|
2009-08-21 14:50:34 +00:00
|
|
|
array( 'lhs' => 107, 'rhs' => 1 ),
|
2009-09-19 13:22:32 +00:00
|
|
|
array( 'lhs' => 74, 'rhs' => 2 ),
|
|
|
|
|
array( 'lhs' => 74, 'rhs' => 1 ),
|
|
|
|
|
array( 'lhs' => 108, 'rhs' => 1 ),
|
|
|
|
|
array( 'lhs' => 108, 'rhs' => 1 ),
|
2009-03-22 16:09:05 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The following table contains a mapping of reduce action to method name
|
|
|
|
|
* that handles the reduction.
|
|
|
|
|
*
|
|
|
|
|
* If a rule is not set, it has no handler.
|
|
|
|
|
*/
|
|
|
|
|
static public $yyReduceMap = array(
|
|
|
|
|
0 => 0,
|
2009-09-29 16:23:35 +00:00
|
|
|
39 => 0,
|
|
|
|
|
46 => 0,
|
2009-06-14 13:08:13 +00:00
|
|
|
47 => 0,
|
2009-09-29 16:23:35 +00:00
|
|
|
49 => 0,
|
2009-05-09 12:44:43 +00:00
|
|
|
50 => 0,
|
2009-06-14 13:08:13 +00:00
|
|
|
51 => 0,
|
2009-09-29 16:23:35 +00:00
|
|
|
67 => 0,
|
|
|
|
|
134 => 0,
|
2009-03-22 16:09:05 +00:00
|
|
|
1 => 1,
|
2009-09-29 16:23:35 +00:00
|
|
|
36 => 1,
|
|
|
|
|
43 => 1,
|
2009-05-09 12:44:43 +00:00
|
|
|
44 => 1,
|
2009-06-14 13:08:13 +00:00
|
|
|
45 => 1,
|
2009-09-29 16:23:35 +00:00
|
|
|
81 => 1,
|
|
|
|
|
104 => 1,
|
|
|
|
|
141 => 1,
|
|
|
|
|
150 => 1,
|
|
|
|
|
152 => 1,
|
2009-09-19 13:22:32 +00:00
|
|
|
153 => 1,
|
2009-09-27 17:58:33 +00:00
|
|
|
154 => 1,
|
2009-03-22 16:09:05 +00:00
|
|
|
2 => 2,
|
2009-09-29 16:23:35 +00:00
|
|
|
71 => 2,
|
|
|
|
|
140 => 2,
|
|
|
|
|
148 => 2,
|
|
|
|
|
151 => 2,
|
2009-03-22 16:09:05 +00:00
|
|
|
3 => 3,
|
|
|
|
|
4 => 4,
|
|
|
|
|
5 => 5,
|
|
|
|
|
6 => 6,
|
|
|
|
|
7 => 7,
|
|
|
|
|
8 => 8,
|
|
|
|
|
9 => 9,
|
|
|
|
|
10 => 10,
|
|
|
|
|
11 => 11,
|
|
|
|
|
12 => 12,
|
|
|
|
|
13 => 13,
|
|
|
|
|
14 => 14,
|
|
|
|
|
15 => 15,
|
|
|
|
|
16 => 16,
|
|
|
|
|
17 => 17,
|
|
|
|
|
18 => 18,
|
|
|
|
|
19 => 19,
|
|
|
|
|
20 => 20,
|
|
|
|
|
21 => 21,
|
2009-05-05 17:19:33 +00:00
|
|
|
22 => 22,
|
2009-10-04 18:12:30 +00:00
|
|
|
28 => 22,
|
|
|
|
|
96 => 22,
|
|
|
|
|
139 => 22,
|
2009-03-22 16:09:05 +00:00
|
|
|
23 => 23,
|
|
|
|
|
24 => 24,
|
2009-04-05 14:49:27 +00:00
|
|
|
25 => 25,
|
2009-04-28 15:37:13 +00:00
|
|
|
26 => 26,
|
2009-05-05 17:19:33 +00:00
|
|
|
27 => 27,
|
2009-09-29 16:23:35 +00:00
|
|
|
29 => 29,
|
2009-03-22 16:09:05 +00:00
|
|
|
30 => 30,
|
|
|
|
|
31 => 31,
|
|
|
|
|
32 => 32,
|
|
|
|
|
33 => 33,
|
2009-04-05 14:49:27 +00:00
|
|
|
34 => 34,
|
2009-06-14 13:08:13 +00:00
|
|
|
35 => 35,
|
2009-09-29 16:23:35 +00:00
|
|
|
37 => 37,
|
2009-06-14 13:08:13 +00:00
|
|
|
38 => 38,
|
2009-09-29 16:23:35 +00:00
|
|
|
40 => 40,
|
2009-04-05 14:49:27 +00:00
|
|
|
41 => 41,
|
2009-05-09 12:44:43 +00:00
|
|
|
42 => 42,
|
2009-09-29 16:23:35 +00:00
|
|
|
48 => 48,
|
|
|
|
|
52 => 52,
|
2009-04-05 14:49:27 +00:00
|
|
|
53 => 53,
|
2009-05-09 12:44:43 +00:00
|
|
|
54 => 54,
|
2009-09-29 16:23:35 +00:00
|
|
|
56 => 54,
|
2009-06-14 13:08:13 +00:00
|
|
|
55 => 55,
|
2009-09-29 16:23:35 +00:00
|
|
|
57 => 57,
|
2009-03-22 16:09:05 +00:00
|
|
|
58 => 58,
|
|
|
|
|
59 => 59,
|
|
|
|
|
60 => 60,
|
|
|
|
|
61 => 61,
|
|
|
|
|
62 => 62,
|
2009-04-05 14:49:27 +00:00
|
|
|
63 => 63,
|
2009-05-09 12:44:43 +00:00
|
|
|
64 => 64,
|
2009-06-14 13:08:13 +00:00
|
|
|
65 => 65,
|
2009-08-21 14:50:34 +00:00
|
|
|
66 => 66,
|
2009-09-29 16:23:35 +00:00
|
|
|
68 => 68,
|
2009-07-29 16:43:54 +00:00
|
|
|
69 => 69,
|
2009-08-21 14:50:34 +00:00
|
|
|
70 => 70,
|
2009-09-29 16:23:35 +00:00
|
|
|
72 => 72,
|
|
|
|
|
101 => 72,
|
2009-04-18 14:46:29 +00:00
|
|
|
73 => 73,
|
2009-04-28 15:37:13 +00:00
|
|
|
74 => 74,
|
2009-06-14 13:08:13 +00:00
|
|
|
75 => 75,
|
2009-07-29 16:43:54 +00:00
|
|
|
76 => 76,
|
2009-09-29 16:23:35 +00:00
|
|
|
79 => 76,
|
2009-08-21 14:50:34 +00:00
|
|
|
77 => 77,
|
2009-09-27 17:58:33 +00:00
|
|
|
78 => 78,
|
2009-09-29 16:23:35 +00:00
|
|
|
80 => 80,
|
|
|
|
|
82 => 82,
|
2009-04-05 14:49:27 +00:00
|
|
|
83 => 83,
|
2009-04-08 14:47:28 +00:00
|
|
|
84 => 84,
|
2009-09-29 16:23:35 +00:00
|
|
|
106 => 84,
|
2009-03-22 16:09:05 +00:00
|
|
|
85 => 85,
|
|
|
|
|
86 => 86,
|
2009-04-09 15:53:52 +00:00
|
|
|
87 => 87,
|
2009-04-05 14:49:27 +00:00
|
|
|
88 => 88,
|
2009-04-09 17:43:32 +00:00
|
|
|
89 => 89,
|
2009-04-18 14:46:29 +00:00
|
|
|
90 => 90,
|
2009-04-28 15:37:13 +00:00
|
|
|
91 => 91,
|
2009-06-14 13:08:13 +00:00
|
|
|
92 => 92,
|
2009-07-29 16:43:54 +00:00
|
|
|
93 => 93,
|
2009-08-21 14:50:34 +00:00
|
|
|
94 => 94,
|
2009-09-27 17:58:33 +00:00
|
|
|
95 => 95,
|
2009-09-29 16:23:35 +00:00
|
|
|
97 => 97,
|
2009-07-29 16:43:54 +00:00
|
|
|
98 => 98,
|
2009-08-21 14:50:34 +00:00
|
|
|
99 => 99,
|
2009-09-27 17:58:33 +00:00
|
|
|
100 => 100,
|
2009-09-29 16:23:35 +00:00
|
|
|
102 => 102,
|
2009-09-27 17:58:33 +00:00
|
|
|
103 => 103,
|
2009-09-29 16:23:35 +00:00
|
|
|
105 => 105,
|
|
|
|
|
107 => 107,
|
2009-07-29 16:43:54 +00:00
|
|
|
108 => 108,
|
2009-09-29 16:23:35 +00:00
|
|
|
111 => 108,
|
2009-08-12 16:43:37 +00:00
|
|
|
109 => 109,
|
2009-09-27 17:58:33 +00:00
|
|
|
110 => 110,
|
2009-09-29 16:23:35 +00:00
|
|
|
112 => 112,
|
2009-04-28 15:37:13 +00:00
|
|
|
113 => 113,
|
2009-06-14 13:08:13 +00:00
|
|
|
114 => 114,
|
2009-09-29 16:23:35 +00:00
|
|
|
119 => 114,
|
2009-07-29 16:43:54 +00:00
|
|
|
115 => 115,
|
2009-09-29 16:23:35 +00:00
|
|
|
118 => 115,
|
2009-08-12 16:43:37 +00:00
|
|
|
116 => 116,
|
2009-09-29 16:23:35 +00:00
|
|
|
121 => 116,
|
2009-09-27 17:58:33 +00:00
|
|
|
117 => 117,
|
2009-09-29 16:23:35 +00:00
|
|
|
120 => 117,
|
|
|
|
|
122 => 122,
|
2009-04-03 15:59:40 +00:00
|
|
|
123 => 123,
|
2009-04-09 17:43:32 +00:00
|
|
|
124 => 124,
|
2009-04-14 09:04:15 +00:00
|
|
|
125 => 125,
|
2009-04-14 12:41:07 +00:00
|
|
|
126 => 126,
|
2009-04-18 14:46:29 +00:00
|
|
|
127 => 127,
|
2009-04-28 15:37:13 +00:00
|
|
|
128 => 128,
|
2009-06-14 13:08:13 +00:00
|
|
|
129 => 129,
|
2009-08-12 16:43:37 +00:00
|
|
|
130 => 130,
|
2009-08-21 14:50:34 +00:00
|
|
|
131 => 131,
|
2009-09-19 13:22:32 +00:00
|
|
|
132 => 132,
|
2009-09-27 17:58:33 +00:00
|
|
|
133 => 133,
|
2009-09-29 16:23:35 +00:00
|
|
|
135 => 135,
|
2009-08-12 16:43:37 +00:00
|
|
|
136 => 136,
|
2009-09-19 13:22:32 +00:00
|
|
|
137 => 137,
|
2009-09-27 17:58:33 +00:00
|
|
|
138 => 138,
|
2009-09-29 16:23:35 +00:00
|
|
|
142 => 142,
|
2009-07-22 16:22:24 +00:00
|
|
|
143 => 143,
|
|
|
|
|
144 => 144,
|
|
|
|
|
145 => 145,
|
2009-09-19 13:22:32 +00:00
|
|
|
146 => 146,
|
2009-09-27 17:58:33 +00:00
|
|
|
147 => 147,
|
2009-09-29 16:23:35 +00:00
|
|
|
149 => 149,
|
2009-03-22 16:09:05 +00:00
|
|
|
);
|
|
|
|
|
/* Beginning here are the reduction cases. A typical example
|
|
|
|
|
** follows:
|
|
|
|
|
** #line <lineno> <grammarfile>
|
|
|
|
|
** function yy_r0($yymsp){ ... } // User supplied code
|
|
|
|
|
** #line <lineno> <thisfile>
|
|
|
|
|
*/
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 79 "internal.templateparser.y"
|
2009-03-22 16:09:05 +00:00
|
|
|
function yy_r0(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 1931 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 85 "internal.templateparser.y"
|
|
|
|
|
function yy_r1(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 1934 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 87 "internal.templateparser.y"
|
|
|
|
|
function yy_r2(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 1937 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 93 "internal.templateparser.y"
|
2009-03-22 16:09:05 +00:00
|
|
|
function yy_r3(){if ($this->compiler->has_code) {
|
|
|
|
|
$tmp =''; foreach ($this->prefix_code as $code) {$tmp.=$code;} $this->prefix_code=array();
|
|
|
|
|
$this->_retvalue = $this->cacher->processNocacheCode($tmp.$this->yystack[$this->yyidx + 0]->minor, $this->compiler,$this->nocache,true);
|
2009-08-21 14:50:34 +00:00
|
|
|
} else { $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;} $this->nocache=false; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 1943 "internal.templateparser.php"
|
2009-09-26 23:06:57 +00:00
|
|
|
#line 98 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r4(){ preg_match('/\s*/',$this->yystack[$this->yyidx + -2]->minor,$s); $this->_retvalue = $s[0]; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 1946 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 101 "internal.templateparser.y"
|
|
|
|
|
function yy_r5(){preg_match('/\s*/',$this->yystack[$this->yyidx + -2]->minor,$s); preg_match('/\s*/',$this->yystack[$this->yyidx + 0]->minor,$s2); $this->_retvalue = $s[0].$this->cacher->processNocacheCode($this->yystack[$this->yyidx + -1]->minor.$s2[0], $this->compiler,false,false); }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 1949 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 103 "internal.templateparser.y"
|
|
|
|
|
function yy_r6(){preg_match('/\s*/',$this->yystack[$this->yyidx + 0]->minor,$s); $this->_retvalue = $s[0].$this->cacher->processNocacheCode($this->smarty->left_delimiter, $this->compiler,false,false); }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 1952 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 105 "internal.templateparser.y"
|
|
|
|
|
function yy_r7(){preg_match('/\s*/',$this->yystack[$this->yyidx + 0]->minor,$s); $this->_retvalue = $s[0].$this->cacher->processNocacheCode($this->smarty->right_delimiter, $this->compiler,false,false); }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 1955 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 107 "internal.templateparser.y"
|
|
|
|
|
function yy_r8(){if ($this->sec_obj->php_handling == SMARTY_PHP_PASSTHRU) {
|
2009-09-29 18:52:58 +00:00
|
|
|
$this->_retvalue = $this->cacher->processNocacheCode("<?php echo '<?php".str_replace("'","\'",$this->yystack[$this->yyidx + -1]->minor)."?>';?>\n", $this->compiler, false, false);
|
2009-09-29 16:23:35 +00:00
|
|
|
} elseif ($this->sec_obj->php_handling == SMARTY_PHP_QUOTE) {
|
2009-09-29 18:52:58 +00:00
|
|
|
$this->_retvalue = $this->cacher->processNocacheCode(htmlspecialchars('<?php'.$this->yystack[$this->yyidx + -1]->minor.'?>', ENT_QUOTES), $this->compiler, false, false);
|
2009-09-29 16:23:35 +00:00
|
|
|
}elseif ($this->sec_obj->php_handling == SMARTY_PHP_ALLOW) {
|
2009-09-29 18:52:58 +00:00
|
|
|
$this->_retvalue = $this->cacher->processNocacheCode('<?php'.$this->yystack[$this->yyidx + -1]->minor.'?>', $this->compiler, false,true);
|
2009-09-29 16:23:35 +00:00
|
|
|
}elseif ($this->sec_obj->php_handling == SMARTY_PHP_REMOVE) {
|
2009-03-22 16:09:05 +00:00
|
|
|
$this->_retvalue = '';
|
2009-09-29 16:23:35 +00:00
|
|
|
}
|
|
|
|
|
}
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 1967 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 118 "internal.templateparser.y"
|
|
|
|
|
function yy_r9(){preg_match('/\s*/',$this->yystack[$this->yyidx + -3]->minor,$s); $this->_retvalue = $s[0];
|
|
|
|
|
if ($this->sec_obj->php_handling == SMARTY_PHP_PASSTHRU || $this->sec_obj->php_handling == SMARTY_PHP_ALLOW) {
|
|
|
|
|
$this->_retvalue .= $this->cacher->processNocacheCode("<?php echo '<?=$".$this->yystack[$this->yyidx + -1]->minor."?>'?>\n", $this->compiler, false, false);
|
|
|
|
|
} elseif ($this->sec_obj->php_handling == SMARTY_PHP_QUOTE) {
|
|
|
|
|
$this->_retvalue .= $this->cacher->processNocacheCode(htmlspecialchars('<?=$'.$this->yystack[$this->yyidx + -1]->minor.'?>', ENT_QUOTES), $this->compiler, false, false);
|
|
|
|
|
}elseif ($this->sec_obj == SMARTY_PHP_REMOVE) {
|
|
|
|
|
$this->_retvalue .= '';
|
|
|
|
|
}
|
|
|
|
|
}
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 1978 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 129 "internal.templateparser.y"
|
|
|
|
|
function yy_r10(){preg_match('/\s*/',$this->yystack[$this->yyidx + 0]->minor,$s); $this->_retvalue = $s[0].$this->cacher->processNocacheCode("<?php echo '<?xml';?>", $this->compiler, true, true); }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 1981 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 130 "internal.templateparser.y"
|
|
|
|
|
function yy_r11(){$this->_retvalue = $this->cacher->processNocacheCode("<?php echo '?>';?>\n", $this->compiler, true, true); }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 1984 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 132 "internal.templateparser.y"
|
|
|
|
|
function yy_r12(){$this->_retvalue = $this->cacher->processNocacheCode($this->yystack[$this->yyidx + 0]->minor, $this->compiler,false,false); }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 1987 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 139 "internal.templateparser.y"
|
2009-10-04 18:12:30 +00:00
|
|
|
function yy_r13(){ preg_match('/\s*/',$this->yystack[$this->yyidx + -3]->minor,$s); $this->_retvalue = $s[0].$this->compiler->compileTag('print_expression',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); }
|
|
|
|
|
#line 1990 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 141 "internal.templateparser.y"
|
2009-10-04 18:12:30 +00:00
|
|
|
function yy_r14(){ preg_match('/\s*/',$this->yystack[$this->yyidx + -5]->minor,$s); $this->_retvalue = $s[0].$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)); }
|
|
|
|
|
#line 1993 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 143 "internal.templateparser.y"
|
|
|
|
|
function yy_r15(){ preg_match('/\s*/',$this->yystack[$this->yyidx + -3]->minor,$s); $this->_retvalue = $s[0].$this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor,$this->yystack[$this->yyidx + -1]->minor); }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 1996 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 145 "internal.templateparser.y"
|
|
|
|
|
function yy_r16(){ preg_match('/\s*/',$this->yystack[$this->yyidx + -5]->minor,$s); $this->_retvalue = $s[0].$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)); }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 1999 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 147 "internal.templateparser.y"
|
|
|
|
|
function yy_r17(){ preg_match('/\s*/',$this->yystack[$this->yyidx + -5]->minor,$s); $this->_retvalue = $s[0].'<?php ob_start();?>'.$this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor,$this->yystack[$this->yyidx + -1]->minor).'<?php echo ';
|
2009-08-27 14:59:28 +00:00
|
|
|
if ($this->smarty->plugin_handler->loadSmartyPlugin($this->yystack[$this->yyidx + -3]->minor[0],'modifier')) {
|
|
|
|
|
$this->_retvalue .= "\$_smarty_tpl->smarty->plugin_handler->executeModifier('".$this->yystack[$this->yyidx + -3]->minor[0] . "',array(ob_get_clean()" . $this->yystack[$this->yyidx + -2]->minor. "),".$this->yystack[$this->yyidx + -3]->minor[1].");?>";
|
2009-03-22 16:09:05 +00:00
|
|
|
} else {
|
2009-08-27 14:59:28 +00:00
|
|
|
if (is_callable($this->yystack[$this->yyidx + -3]->minor[0])) {
|
2009-03-22 16:09:05 +00:00
|
|
|
if (!$this->template->security || $this->smarty->security_handler->isTrustedModifier($this->yystack[$this->yyidx + -3]->minor[0], $this->compiler)) {
|
2009-08-27 14:59:28 +00:00
|
|
|
$this->_retvalue .= "\$_smarty_tpl->smarty->plugin_handler->executeModifier('".$this->yystack[$this->yyidx + -3]->minor[0] . "',array(ob_get_clean()" . $this->yystack[$this->yyidx + -2]->minor. "),".$this->yystack[$this->yyidx + -3]->minor[1].");?>";
|
2009-03-22 16:09:05 +00:00
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
$this->compiler->trigger_template_error ("unknown modifier \"" . $this->yystack[$this->yyidx + -3]->minor[0] . "\"");
|
|
|
|
|
}
|
|
|
|
|
}
|
2009-08-27 14:59:28 +00:00
|
|
|
}
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2014 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 161 "internal.templateparser.y"
|
2009-10-04 18:12:30 +00:00
|
|
|
function yy_r18(){if (!in_array($this->yystack[$this->yyidx + -3]->minor,array('if','elseif','while'))) {
|
2009-05-05 17:19:33 +00:00
|
|
|
$this->compiler->trigger_template_error ("wrong syntax for tag \"" . $this->yystack[$this->yyidx + -3]->minor . "\"");
|
|
|
|
|
}
|
2009-08-21 14:50:34 +00:00
|
|
|
preg_match('/\s*/',$this->yystack[$this->yyidx + -4]->minor,$s); $this->_retvalue = $s[0].$this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor,array('if condition'=>$this->yystack[$this->yyidx + -1]->minor)); }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2020 "internal.templateparser.php"
|
|
|
|
|
#line 165 "internal.templateparser.y"
|
|
|
|
|
function yy_r19(){ if (!in_array($this->yystack[$this->yyidx + -3]->minor,array('if','elseif','while'))) {
|
2009-05-05 17:19:33 +00:00
|
|
|
$this->compiler->trigger_template_error ("wrong syntax for tag \"" . $this->yystack[$this->yyidx + -3]->minor . "\"");
|
|
|
|
|
}
|
2009-08-21 14:50:34 +00:00
|
|
|
preg_match('/\s*/',$this->yystack[$this->yyidx + -4]->minor,$s); $this->_retvalue = $s[0].$this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor,array('if condition'=>$this->yystack[$this->yyidx + -1]->minor)); }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2026 "internal.templateparser.php"
|
|
|
|
|
#line 170 "internal.templateparser.y"
|
|
|
|
|
function yy_r20(){
|
2009-05-05 17:19:33 +00:00
|
|
|
if ($this->yystack[$this->yyidx + -9]->minor != 'for') {
|
|
|
|
|
$this->compiler->trigger_template_error ("wrong syntax for tag \"" . $this->yystack[$this->yyidx + -9]->minor . "\"");
|
|
|
|
|
}
|
2009-08-21 14:50:34 +00:00
|
|
|
preg_match('/\s*/',$this->yystack[$this->yyidx + -10]->minor,$s); $this->_retvalue = $s[0].$this->compiler->compileTag($this->yystack[$this->yyidx + -9]->minor,array('start'=>$this->yystack[$this->yyidx + -7]->minor,'ifexp'=>$this->yystack[$this->yyidx + -5]->minor,'varloop'=>$this->yystack[$this->yyidx + -2]->minor,'loop'=>$this->yystack[$this->yyidx + -1]->minor)); }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2033 "internal.templateparser.php"
|
|
|
|
|
#line 175 "internal.templateparser.y"
|
|
|
|
|
function yy_r21(){ $this->_retvalue = '='.$this->yystack[$this->yyidx + 0]->minor; }
|
|
|
|
|
#line 2036 "internal.templateparser.php"
|
|
|
|
|
#line 176 "internal.templateparser.y"
|
|
|
|
|
function yy_r22(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; }
|
|
|
|
|
#line 2039 "internal.templateparser.php"
|
|
|
|
|
#line 178 "internal.templateparser.y"
|
|
|
|
|
function yy_r23(){
|
2009-05-05 17:19:33 +00:00
|
|
|
if ($this->yystack[$this->yyidx + -6]->minor != 'foreach') {
|
|
|
|
|
$this->compiler->trigger_template_error ("wrong syntax for tag \"" . $this->yystack[$this->yyidx + -6]->minor . "\"");
|
|
|
|
|
}
|
2009-08-21 14:50:34 +00:00
|
|
|
preg_match('/\s*/',$this->yystack[$this->yyidx + -7]->minor,$s); $this->_retvalue = $s[0].$this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array('from'=>$this->yystack[$this->yyidx + -4]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor)); }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2046 "internal.templateparser.php"
|
|
|
|
|
#line 183 "internal.templateparser.y"
|
|
|
|
|
function yy_r24(){
|
2009-05-05 17:19:33 +00:00
|
|
|
if ($this->yystack[$this->yyidx + -6]->minor != 'foreach') {
|
|
|
|
|
$this->compiler->trigger_template_error ("wrong syntax for tag \"" . $this->yystack[$this->yyidx + -6]->minor . "\"");
|
|
|
|
|
}
|
2009-08-21 14:50:34 +00:00
|
|
|
preg_match('/\s*/',$this->yystack[$this->yyidx + -7]->minor,$s); $this->_retvalue = $s[0].$this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array('from'=>$this->yystack[$this->yyidx + -4]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor)); }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2053 "internal.templateparser.php"
|
|
|
|
|
#line 190 "internal.templateparser.y"
|
|
|
|
|
function yy_r25(){ preg_match('/\s*/',$this->yystack[$this->yyidx + -3]->minor,$s); $this->_retvalue = $s[0].$this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor.'close',$this->yystack[$this->yyidx + -1]->minor); }
|
|
|
|
|
#line 2056 "internal.templateparser.php"
|
|
|
|
|
#line 192 "internal.templateparser.y"
|
|
|
|
|
function yy_r26(){ preg_match('/\s*/',$this->yystack[$this->yyidx + -4]->minor,$s); $this->_retvalue = $s[0].$this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor.'close',array('object_methode'=>$this->yystack[$this->yyidx + -1]->minor)); }
|
|
|
|
|
#line 2059 "internal.templateparser.php"
|
|
|
|
|
#line 199 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r27(){ $this->_retvalue = array_merge($this->yystack[$this->yyidx + -1]->minor,$this->yystack[$this->yyidx + 0]->minor); }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2062 "internal.templateparser.php"
|
|
|
|
|
#line 203 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r29(){ $this->_retvalue = array(); }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2065 "internal.templateparser.php"
|
|
|
|
|
#line 206 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r30(){ $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>$this->yystack[$this->yyidx + 0]->minor); }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2068 "internal.templateparser.php"
|
|
|
|
|
#line 207 "internal.templateparser.y"
|
2009-09-29 21:40:30 +00:00
|
|
|
function yy_r31(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor=>'true'); }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2071 "internal.templateparser.php"
|
|
|
|
|
#line 212 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r32(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor); }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2074 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 213 "internal.templateparser.y"
|
2009-10-04 18:12:30 +00:00
|
|
|
function yy_r33(){ $this->yystack[$this->yyidx + -2]->minor[]=$this->yystack[$this->yyidx + 0]->minor; $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor; }
|
|
|
|
|
#line 2077 "internal.templateparser.php"
|
|
|
|
|
#line 215 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r34(){ $this->_retvalue = array('var' => $this->yystack[$this->yyidx + -2]->minor, 'value'=>$this->yystack[$this->yyidx + 0]->minor); }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2080 "internal.templateparser.php"
|
|
|
|
|
#line 221 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r35(){ $this->_retvalue = '\''.$this->yystack[$this->yyidx + 0]->minor.'\''; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2083 "internal.templateparser.php"
|
|
|
|
|
#line 225 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r37(){$this->_retvalue = '$_smarty_tpl->getStreamVariable(\''. $this->yystack[$this->yyidx + -2]->minor .'://'. $this->yystack[$this->yyidx + 0]->minor . '\')'; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2086 "internal.templateparser.php"
|
|
|
|
|
#line 226 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r38(){
|
2009-03-22 16:09:05 +00:00
|
|
|
if ($this->smarty->plugin_handler->loadSmartyPlugin($this->yystack[$this->yyidx + -1]->minor[0],'modifier')) {
|
2009-08-27 14:59:28 +00:00
|
|
|
$this->_retvalue = "\$_smarty_tpl->smarty->plugin_handler->executeModifier('".$this->yystack[$this->yyidx + -1]->minor[0] . "',array(". $this->yystack[$this->yyidx + -2]->minor . $this->yystack[$this->yyidx + 0]->minor. "),".$this->yystack[$this->yyidx + -1]->minor[1].")";
|
2009-03-22 16:09:05 +00:00
|
|
|
} else {
|
2009-08-27 14:59:28 +00:00
|
|
|
if (is_callable($this->yystack[$this->yyidx + -1]->minor[0])) {
|
2009-03-22 16:09:05 +00:00
|
|
|
if (!$this->template->security || $this->smarty->security_handler->isTrustedModifier($this->yystack[$this->yyidx + -1]->minor[0], $this->compiler)) {
|
2009-08-27 14:59:28 +00:00
|
|
|
$this->_retvalue = "\$_smarty_tpl->smarty->plugin_handler->executeModifier('".$this->yystack[$this->yyidx + -1]->minor[0] . "',array(". $this->yystack[$this->yyidx + -2]->minor . $this->yystack[$this->yyidx + 0]->minor. "),".$this->yystack[$this->yyidx + -1]->minor[1].")";
|
2009-03-22 16:09:05 +00:00
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
$this->compiler->trigger_template_error ("unknown modifier \"" . $this->yystack[$this->yyidx + -1]->minor[0] . "\"");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2101 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 243 "internal.templateparser.y"
|
2009-10-04 18:12:30 +00:00
|
|
|
function yy_r40(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
|
|
|
|
|
#line 2104 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 245 "internal.templateparser.y"
|
2009-10-04 18:12:30 +00:00
|
|
|
function yy_r41(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor . $this->yystack[$this->yyidx + -1]->minor . $this->yystack[$this->yyidx + 0]->minor; }
|
|
|
|
|
#line 2107 "internal.templateparser.php"
|
|
|
|
|
#line 247 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r42(){ $this->_retvalue = '('. $this->yystack[$this->yyidx + -2]->minor . ').(' . $this->yystack[$this->yyidx + 0]->minor. ')'; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2110 "internal.templateparser.php"
|
|
|
|
|
#line 267 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r48(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2113 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 275 "internal.templateparser.y"
|
2009-10-04 18:12:30 +00:00
|
|
|
function yy_r52(){ $this->_retvalue = "(". $this->yystack[$this->yyidx + -1]->minor .")"; }
|
|
|
|
|
#line 2116 "internal.templateparser.php"
|
|
|
|
|
#line 277 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r53(){ $this->_retvalue = "'".$this->yystack[$this->yyidx + -1]->minor."'"; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2119 "internal.templateparser.php"
|
2009-09-27 17:58:33 +00:00
|
|
|
#line 278 "internal.templateparser.y"
|
2009-10-04 18:12:30 +00:00
|
|
|
function yy_r54(){ $this->_retvalue = "''"; }
|
|
|
|
|
#line 2122 "internal.templateparser.php"
|
|
|
|
|
#line 280 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r55(){ $this->_retvalue = '"'.$this->yystack[$this->yyidx + -1]->minor.'"'; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2125 "internal.templateparser.php"
|
|
|
|
|
#line 283 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r57(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'::'.$this->yystack[$this->yyidx + 0]->minor; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2128 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 284 "internal.templateparser.y"
|
2009-10-04 18:12:30 +00:00
|
|
|
function yy_r58(){ $this->prefix_number++; $this->prefix_code[] = '<?php $_tmp'.$this->prefix_number.'=$_smarty_tpl->getVariable(\''. $this->yystack[$this->yyidx + -3]->minor .'\')->value;?>'; $this->_retvalue = $this->yystack[$this->yyidx + -6]->minor.'::$_tmp'.$this->prefix_number.'('. $this->yystack[$this->yyidx + -1]->minor .')'; }
|
|
|
|
|
#line 2131 "internal.templateparser.php"
|
|
|
|
|
#line 286 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r59(){ $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor.'::'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2134 "internal.templateparser.php"
|
2009-09-27 17:58:33 +00:00
|
|
|
#line 287 "internal.templateparser.y"
|
2009-10-04 18:12:30 +00:00
|
|
|
function yy_r60(){ $this->prefix_number++; $this->prefix_code[] = '<?php $_tmp'.$this->prefix_number.'=$_smarty_tpl->getVariable(\''. $this->yystack[$this->yyidx + -4]->minor .'\')->value;?>'; $this->_retvalue = $this->yystack[$this->yyidx + -7]->minor.'::$_tmp'.$this->prefix_number.'('. $this->yystack[$this->yyidx + -2]->minor .')'.$this->yystack[$this->yyidx + 0]->minor; }
|
|
|
|
|
#line 2137 "internal.templateparser.php"
|
2009-09-26 23:06:57 +00:00
|
|
|
#line 289 "internal.templateparser.y"
|
2009-10-04 18:12:30 +00:00
|
|
|
function yy_r61(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'::'.$this->yystack[$this->yyidx + 0]->minor; }
|
|
|
|
|
#line 2140 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 291 "internal.templateparser.y"
|
2009-10-04 18:12:30 +00:00
|
|
|
function yy_r62(){ $this->_retvalue = $this->yystack[$this->yyidx + -4]->minor.'::$'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
|
|
|
|
|
#line 2143 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 293 "internal.templateparser.y"
|
2009-10-04 18:12:30 +00:00
|
|
|
function yy_r63(){ $this->_retvalue = $this->yystack[$this->yyidx + -5]->minor.'::$'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
|
|
|
|
|
#line 2146 "internal.templateparser.php"
|
|
|
|
|
#line 295 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r64(){ $this->prefix_number++; $this->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; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2149 "internal.templateparser.php"
|
|
|
|
|
#line 301 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r65(){if ($this->yystack[$this->yyidx + 0]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('internal_smarty_var',$this->yystack[$this->yyidx + 0]->minor['index']);} else {
|
2009-08-21 14:50:34 +00:00
|
|
|
$this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + 0]->minor['var'] .')->value'.$this->yystack[$this->yyidx + 0]->minor['index']; $this->nocache=$this->template->getVariable(trim($this->yystack[$this->yyidx + 0]->minor['var'],"'"))->nocache;} }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2153 "internal.templateparser.php"
|
|
|
|
|
#line 304 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r66(){ $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor .')->'.$this->yystack[$this->yyidx + 0]->minor; $this->nocache=$this->template->getVariable(trim($this->yystack[$this->yyidx + -2]->minor,"'"))->nocache; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2156 "internal.templateparser.php"
|
|
|
|
|
#line 308 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r68(){$this->_retvalue = '$_smarty_tpl->getConfigVariable(\''. $this->yystack[$this->yyidx + -1]->minor .'\')'; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2159 "internal.templateparser.php"
|
|
|
|
|
#line 309 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r69(){$this->_retvalue = '$_smarty_tpl->getConfigVariable('. $this->yystack[$this->yyidx + -1]->minor .')'; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2162 "internal.templateparser.php"
|
|
|
|
|
#line 312 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r70(){$this->_retvalue = array('var'=>$this->yystack[$this->yyidx + -1]->minor, 'index'=>$this->yystack[$this->yyidx + 0]->minor); }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2165 "internal.templateparser.php"
|
|
|
|
|
#line 320 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r72(){return; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2168 "internal.templateparser.php"
|
|
|
|
|
#line 324 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r73(){ $this->_retvalue = "['". $this->yystack[$this->yyidx + 0]->minor ."']"; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2171 "internal.templateparser.php"
|
|
|
|
|
#line 325 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r74(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + 0]->minor ."]"; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2174 "internal.templateparser.php"
|
|
|
|
|
#line 326 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r75(){ $this->_retvalue = "[".$this->yystack[$this->yyidx + 0]->minor."]"; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2177 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 327 "internal.templateparser.y"
|
2009-10-04 18:12:30 +00:00
|
|
|
function yy_r76(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + -1]->minor ."]"; }
|
|
|
|
|
#line 2180 "internal.templateparser.php"
|
|
|
|
|
#line 329 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r77(){ $this->_retvalue = '['.$this->compiler->compileTag('internal_smarty_var','[\'section\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\'][\'index\']').']'; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2183 "internal.templateparser.php"
|
|
|
|
|
#line 330 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r78(){ $this->_retvalue = '['.$this->compiler->compileTag('internal_smarty_var','[\'section\'][\''.$this->yystack[$this->yyidx + -3]->minor.'\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\']').']'; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2186 "internal.templateparser.php"
|
|
|
|
|
#line 334 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r80(){$this->_retvalue = ''; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2189 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 342 "internal.templateparser.y"
|
2009-10-04 18:12:30 +00:00
|
|
|
function yy_r82(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; }
|
|
|
|
|
#line 2192 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 344 "internal.templateparser.y"
|
2009-10-04 18:12:30 +00:00
|
|
|
function yy_r83(){$this->_retvalue = '\''.$this->yystack[$this->yyidx + 0]->minor.'\''; }
|
|
|
|
|
#line 2195 "internal.templateparser.php"
|
|
|
|
|
#line 346 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r84(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -1]->minor.')'; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2198 "internal.templateparser.php"
|
|
|
|
|
#line 351 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r85(){ if ($this->yystack[$this->yyidx + -1]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('internal_smarty_var',$this->yystack[$this->yyidx + -1]->minor['index']).$this->yystack[$this->yyidx + 0]->minor;} else {
|
2009-09-26 10:32:36 +00:00
|
|
|
$this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -1]->minor['var'] .')->value'.$this->yystack[$this->yyidx + -1]->minor['index'].$this->yystack[$this->yyidx + 0]->minor; $this->nocache=$this->template->getVariable(trim($this->yystack[$this->yyidx + -1]->minor['var'],"'"))->nocache;} }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2202 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 354 "internal.templateparser.y"
|
2009-10-04 18:12:30 +00:00
|
|
|
function yy_r86(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; }
|
|
|
|
|
#line 2205 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 356 "internal.templateparser.y"
|
2009-10-04 18:12:30 +00:00
|
|
|
function yy_r87(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
|
|
|
|
|
#line 2208 "internal.templateparser.php"
|
|
|
|
|
#line 358 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r88(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2211 "internal.templateparser.php"
|
|
|
|
|
#line 359 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r89(){ $this->_retvalue = '->{'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2214 "internal.templateparser.php"
|
|
|
|
|
#line 360 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r90(){ $this->_retvalue = '->{'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2217 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 361 "internal.templateparser.y"
|
2009-10-04 18:12:30 +00:00
|
|
|
function yy_r91(){ $this->_retvalue = '->{\''.$this->yystack[$this->yyidx + -4]->minor.'\'.'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; }
|
|
|
|
|
#line 2220 "internal.templateparser.php"
|
|
|
|
|
#line 363 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r92(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + 0]->minor; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2223 "internal.templateparser.php"
|
|
|
|
|
#line 369 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r93(){if (!$this->template->security || $this->smarty->security_handler->isTrustedPhpFunction($this->yystack[$this->yyidx + -3]->minor, $this->compiler)) {
|
2009-03-26 14:08:43 +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)) {
|
2009-03-22 16:09:05 +00:00
|
|
|
$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 . "\"");
|
|
|
|
|
}
|
|
|
|
|
} }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2232 "internal.templateparser.php"
|
|
|
|
|
#line 380 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r94(){ $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". $this->yystack[$this->yyidx + -1]->minor .")"; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2235 "internal.templateparser.php"
|
|
|
|
|
#line 384 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r95(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.",".$this->yystack[$this->yyidx + 0]->minor; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2238 "internal.templateparser.php"
|
|
|
|
|
#line 388 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r97(){ return; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2241 "internal.templateparser.php"
|
|
|
|
|
#line 393 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r98(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor,'false'); }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2244 "internal.templateparser.php"
|
|
|
|
|
#line 394 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r99(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor,'true'); }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2247 "internal.templateparser.php"
|
|
|
|
|
#line 401 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r100(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2250 "internal.templateparser.php"
|
|
|
|
|
#line 405 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r102(){$this->_retvalue = ','.$this->yystack[$this->yyidx + 0]->minor; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2253 "internal.templateparser.php"
|
|
|
|
|
#line 406 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r103(){$this->_retvalue = ',\''.$this->yystack[$this->yyidx + 0]->minor.'\''; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2256 "internal.templateparser.php"
|
|
|
|
|
#line 413 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r105(){$this->_retvalue = '!'.$this->yystack[$this->yyidx + 0]->minor; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2259 "internal.templateparser.php"
|
|
|
|
|
#line 418 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r107(){$this->_retvalue =$this->yystack[$this->yyidx + 0]->minor; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2262 "internal.templateparser.php"
|
|
|
|
|
#line 419 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r108(){$this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2265 "internal.templateparser.php"
|
|
|
|
|
#line 420 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r109(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor.')'; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2268 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 421 "internal.templateparser.y"
|
2009-10-04 18:12:30 +00:00
|
|
|
function yy_r110(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.',(array)'.$this->yystack[$this->yyidx + 0]->minor.')'; }
|
|
|
|
|
#line 2271 "internal.templateparser.php"
|
|
|
|
|
#line 423 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r112(){$this->_retvalue = '!('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')'; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2274 "internal.templateparser.php"
|
|
|
|
|
#line 424 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r113(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')'; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2277 "internal.templateparser.php"
|
|
|
|
|
#line 425 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r114(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -1]->minor.')'; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2280 "internal.templateparser.php"
|
|
|
|
|
#line 426 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r115(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -1]->minor.')'; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2283 "internal.templateparser.php"
|
|
|
|
|
#line 427 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r116(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')'; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2286 "internal.templateparser.php"
|
|
|
|
|
#line 428 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r117(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')'; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2289 "internal.templateparser.php"
|
|
|
|
|
#line 434 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r122(){$this->_retvalue = '=='; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2292 "internal.templateparser.php"
|
|
|
|
|
#line 435 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r123(){$this->_retvalue = '!='; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2295 "internal.templateparser.php"
|
|
|
|
|
#line 436 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r124(){$this->_retvalue = '>'; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2298 "internal.templateparser.php"
|
|
|
|
|
#line 437 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r125(){$this->_retvalue = '<'; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2301 "internal.templateparser.php"
|
|
|
|
|
#line 438 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r126(){$this->_retvalue = '>='; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2304 "internal.templateparser.php"
|
|
|
|
|
#line 439 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r127(){$this->_retvalue = '<='; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2307 "internal.templateparser.php"
|
|
|
|
|
#line 440 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r128(){$this->_retvalue = '==='; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2310 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 441 "internal.templateparser.y"
|
2009-10-04 18:12:30 +00:00
|
|
|
function yy_r129(){$this->_retvalue = '!=='; }
|
|
|
|
|
#line 2313 "internal.templateparser.php"
|
|
|
|
|
#line 443 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r130(){$this->_retvalue = '&&'; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2316 "internal.templateparser.php"
|
|
|
|
|
#line 444 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r131(){$this->_retvalue = '||'; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2319 "internal.templateparser.php"
|
|
|
|
|
#line 445 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r132(){$this->_retvalue = ' XOR '; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2322 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 450 "internal.templateparser.y"
|
2009-10-04 18:12:30 +00:00
|
|
|
function yy_r133(){ $this->_retvalue = 'array('.$this->yystack[$this->yyidx + -1]->minor.')'; }
|
|
|
|
|
#line 2325 "internal.templateparser.php"
|
|
|
|
|
#line 452 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r135(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2328 "internal.templateparser.php"
|
|
|
|
|
#line 453 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r136(){ return; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2331 "internal.templateparser.php"
|
|
|
|
|
#line 454 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r137(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'=>'.$this->yystack[$this->yyidx + 0]->minor; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2334 "internal.templateparser.php"
|
|
|
|
|
#line 455 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r138(){ $this->_retvalue = '\''.$this->yystack[$this->yyidx + -2]->minor.'\'=>'.$this->yystack[$this->yyidx + 0]->minor; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2337 "internal.templateparser.php"
|
|
|
|
|
#line 463 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r142(){$this->_retvalue = "`".$this->yystack[$this->yyidx + -1]->minor."`"; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2340 "internal.templateparser.php"
|
|
|
|
|
#line 464 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r143(){$this->_retvalue = '".'.$this->yystack[$this->yyidx + -1]->minor.'."'; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2343 "internal.templateparser.php"
|
|
|
|
|
#line 465 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r144(){$this->_retvalue = '".'.'$_smarty_tpl->getVariable(\''. $this->yystack[$this->yyidx + 0]->minor .'\')->value'.'."'; $this->nocache=$this->template->getVariable(trim($this->yystack[$this->yyidx + 0]->minor,"'"))->nocache; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2346 "internal.templateparser.php"
|
|
|
|
|
#line 466 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r145(){preg_match('/\s*/',$this->yystack[$this->yyidx + -2]->minor,$s); $this->_retvalue = $s[0].'".('.$this->yystack[$this->yyidx + -1]->minor.')."'; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2349 "internal.templateparser.php"
|
|
|
|
|
#line 467 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r146(){ $this->prefix_number++; $this->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.'."'; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2352 "internal.templateparser.php"
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 468 "internal.templateparser.y"
|
2009-10-04 18:12:30 +00:00
|
|
|
function yy_r147(){$this->_retvalue = '$'.$this->yystack[$this->yyidx + 0]->minor; }
|
|
|
|
|
#line 2355 "internal.templateparser.php"
|
|
|
|
|
#line 470 "internal.templateparser.y"
|
2009-09-29 16:23:35 +00:00
|
|
|
function yy_r149(){$this->_retvalue = '`'.$this->yystack[$this->yyidx + 0]->minor; }
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2358 "internal.templateparser.php"
|
2009-03-22 16:09:05 +00:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* placeholder for the left hand side in a reduce operation.
|
|
|
|
|
*
|
|
|
|
|
* For a parser with a rule like this:
|
|
|
|
|
* <pre>
|
|
|
|
|
* rule(A) ::= B. { A = 1; }
|
|
|
|
|
* </pre>
|
|
|
|
|
*
|
|
|
|
|
* The parser will translate to something like:
|
|
|
|
|
*
|
|
|
|
|
* <code>
|
|
|
|
|
* function yy_r0(){$this->_retvalue = 1;}
|
|
|
|
|
* </code>
|
|
|
|
|
*/
|
|
|
|
|
private $_retvalue;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Perform a reduce action and the shift that must immediately
|
|
|
|
|
* follow the reduce.
|
|
|
|
|
*
|
|
|
|
|
* For a rule such as:
|
|
|
|
|
*
|
|
|
|
|
* <pre>
|
|
|
|
|
* A ::= B blah C. { dosomething(); }
|
|
|
|
|
* </pre>
|
|
|
|
|
*
|
|
|
|
|
* This function will first call the action, if any, ("dosomething();" in our
|
|
|
|
|
* example), and then it will pop three states from the stack,
|
|
|
|
|
* one for each entry on the right-hand side of the expression
|
|
|
|
|
* (B, blah, and C in our example rule), and then push the result of the action
|
|
|
|
|
* back on to the stack with the resulting state reduced to (as described in the .out
|
|
|
|
|
* file)
|
|
|
|
|
* @param int Number of the rule by which to reduce
|
|
|
|
|
*/
|
|
|
|
|
function yy_reduce($yyruleno)
|
|
|
|
|
{
|
|
|
|
|
//int $yygoto; /* The next state */
|
|
|
|
|
//int $yyact; /* The next action */
|
|
|
|
|
//mixed $yygotominor; /* The LHS of the rule reduced */
|
|
|
|
|
//TP_yyStackEntry $yymsp; /* The top of the parser's stack */
|
|
|
|
|
//int $yysize; /* Amount to pop the stack */
|
|
|
|
|
$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 we are not debugging and the reduce action popped at least
|
|
|
|
|
** one element off the stack, then we can push the new element back
|
|
|
|
|
** onto the stack here, and skip the stack overflow test in yy_shift().
|
|
|
|
|
** That gives a significant speed improvement. */
|
|
|
|
|
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();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The following code executes when the parse fails
|
|
|
|
|
*
|
|
|
|
|
* Code from %parse_fail is inserted here
|
|
|
|
|
*/
|
|
|
|
|
function yy_parse_failed()
|
|
|
|
|
{
|
|
|
|
|
if (self::$yyTraceFILE) {
|
|
|
|
|
fprintf(self::$yyTraceFILE, "%sFail!\n", self::$yyTracePrompt);
|
|
|
|
|
}
|
|
|
|
|
while ($this->yyidx >= 0) {
|
|
|
|
|
$this->yy_pop_parser_stack();
|
|
|
|
|
}
|
|
|
|
|
/* Here code is inserted which will be executed whenever the
|
|
|
|
|
** parser fails */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The following code executes when a syntax error first occurs.
|
|
|
|
|
*
|
|
|
|
|
* %syntax_error code is inserted here
|
|
|
|
|
* @param int The major type of the error token
|
|
|
|
|
* @param mixed The minor type of the error token
|
|
|
|
|
*/
|
|
|
|
|
function yy_syntax_error($yymajor, $TOKEN)
|
|
|
|
|
{
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 60 "internal.templateparser.y"
|
2009-03-22 16:09:05 +00:00
|
|
|
|
|
|
|
|
$this->internalError = true;
|
|
|
|
|
$this->yymajor = $yymajor;
|
|
|
|
|
$this->compiler->trigger_template_error();
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2476 "internal.templateparser.php"
|
2009-03-22 16:09:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The following is executed when the parser accepts
|
|
|
|
|
*
|
|
|
|
|
* %parse_accept code is inserted here
|
|
|
|
|
*/
|
|
|
|
|
function yy_accept()
|
|
|
|
|
{
|
|
|
|
|
if (self::$yyTraceFILE) {
|
|
|
|
|
fprintf(self::$yyTraceFILE, "%sAccept!\n", self::$yyTracePrompt);
|
|
|
|
|
}
|
|
|
|
|
while ($this->yyidx >= 0) {
|
|
|
|
|
$stack = $this->yy_pop_parser_stack();
|
|
|
|
|
}
|
|
|
|
|
/* Here code is inserted which will be executed whenever the
|
|
|
|
|
** parser accepts */
|
2009-09-29 16:23:35 +00:00
|
|
|
#line 52 "internal.templateparser.y"
|
2009-03-22 16:09:05 +00:00
|
|
|
|
|
|
|
|
$this->successful = !$this->internalError;
|
|
|
|
|
$this->internalError = false;
|
|
|
|
|
$this->retvalue = $this->_retvalue;
|
|
|
|
|
//echo $this->retvalue."\n\n";
|
2009-10-04 18:12:30 +00:00
|
|
|
#line 2501 "internal.templateparser.php"
|
2009-03-22 16:09:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The main parser program.
|
|
|
|
|
*
|
|
|
|
|
* The first argument is the major token number. The second is
|
|
|
|
|
* the token value string as scanned from the input.
|
|
|
|
|
*
|
|
|
|
|
* @param int the token number
|
|
|
|
|
* @param mixed the token value
|
|
|
|
|
* @param mixed any extra arguments that should be passed to handlers
|
|
|
|
|
*/
|
|
|
|
|
function doParse($yymajor, $yytokenvalue)
|
|
|
|
|
{
|
|
|
|
|
// $yyact; /* The parser action. */
|
|
|
|
|
// $yyendofinput; /* True if we are at the end of input */
|
|
|
|
|
$yyerrorhit = 0; /* True if yymajor has invoked an error */
|
|
|
|
|
|
|
|
|
|
/* (re)initialize the parser, if necessary */
|
|
|
|
|
if ($this->yyidx === null || $this->yyidx < 0) {
|
|
|
|
|
/* if ($yymajor == 0) return; // not sure why this was here... */
|
|
|
|
|
$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) {
|
|
|
|
|
/* A syntax error has occurred.
|
|
|
|
|
** The response to an error depends upon whether or not the
|
|
|
|
|
** grammar defines an error token "ERROR".
|
|
|
|
|
**
|
|
|
|
|
** This is what we do if the grammar does define ERROR:
|
|
|
|
|
**
|
|
|
|
|
** * Call the %syntax_error function.
|
|
|
|
|
**
|
|
|
|
|
** * Begin popping the stack until we enter a state where
|
|
|
|
|
** it is legal to shift the error symbol, then shift
|
|
|
|
|
** the error symbol.
|
|
|
|
|
**
|
|
|
|
|
** * Set the error count to three.
|
|
|
|
|
**
|
|
|
|
|
** * Begin accepting and shifting new tokens. No new error
|
|
|
|
|
** processing will occur until three tokens have been
|
|
|
|
|
** shifted successfully.
|
|
|
|
|
**
|
|
|
|
|
*/
|
|
|
|
|
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 {
|
|
|
|
|
/* YYERRORSYMBOL is not defined */
|
|
|
|
|
/* This is what we do if the grammar does not define ERROR:
|
|
|
|
|
**
|
|
|
|
|
** * Report an error message, and throw away the input token.
|
|
|
|
|
**
|
|
|
|
|
** * If the input token is $, then fail the parse.
|
|
|
|
|
**
|
|
|
|
|
** As before, subsequent error messages are suppressed until
|
|
|
|
|
** three input tokens have been successfully shifted.
|
|
|
|
|
*/
|
|
|
|
|
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);
|
|
|
|
|
}
|
|
|
|
|
}
|