diff --git a/change_log.txt b/change_log.txt index 7b1b78fa..1c54451a 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,3 +1,7 @@ +24/02/2010 +- bugfix on expressions in doublequoted string enclosed in backticks +- added security property $static_classes for static class security + 18/02/2010 - bugfix on parsing Smarty tags inside - bugfix on truncate modifier diff --git a/libs/sysplugins/smarty_internal_security_handler.php b/libs/sysplugins/smarty_internal_security_handler.php index f433e9e9..1833d4f8 100644 --- a/libs/sysplugins/smarty_internal_security_handler.php +++ b/libs/sysplugins/smarty_internal_security_handler.php @@ -26,11 +26,27 @@ class Smarty_Internal_Security_Handler { if (empty($this->smarty->security_policy->php_functions) || in_array($function_name, $this->smarty->security_policy->php_functions)) { return true; } else { - $compiler->trigger_template_error ("PHP function \"" . $function_name . "\" not allowed by security setting"); + $compiler->trigger_template_error ("PHP function '{$function_name}' not allowed by security setting"); return false; } } + /** + * Check if static class is trusted. + * + * @param string $class_name + * @param object $compiler compiler object + * @return boolean true if class is trusted + */ + function isTrustedStaticClass($class_name, $compiler) + { + if (empty($this->smarty->security_policy->static_classes) || in_array($class_name, $this->smarty->security_policy->static_classes)) { + return true; + } else { + $compiler->trigger_template_error ("access to static class '{$class_name}' not allowed by security setting"); + return false; + } + } /** * Check if modifier is trusted. * @@ -43,7 +59,7 @@ class Smarty_Internal_Security_Handler { if (empty($this->smarty->security_policy->modifiers) || in_array($modifier_name, $this->smarty->security_policy->modifiers)) { return true; } else { - $compiler->trigger_template_error ("modifier \"" . $modifier_name . "\" not allowed by security setting"); + $compiler->trigger_template_error ("modifier '{$modifier_name}' not allowed by security setting"); return false; } } @@ -59,7 +75,7 @@ class Smarty_Internal_Security_Handler { if (empty($this->smarty->security_policy->streams) || in_array($stream_name, $this->smarty->security_policy->streams)) { return true; } else { - throw new Exception ("stream \"" . $stream_name . "\" not allowed by security setting"); + throw new Exception ("stream '{$stream_name}' not allowed by security setting"); return false; } } @@ -96,7 +112,7 @@ class Smarty_Internal_Security_Handler { } } - throw new Exception ("directory \"" . $_rp . "\" not allowed by security setting"); + throw new Exception ("directory '{$_rp}' not allowed by security setting"); return false; } /** @@ -122,9 +138,9 @@ class Smarty_Internal_Security_Handler { } } - throw new Exception ("directory \"" . $_rp . "\" not allowed by security setting"); + throw new Exception ("directory '{$_rp}' not allowed by security setting"); return false; } } -?> +?> \ No newline at end of file diff --git a/libs/sysplugins/smarty_internal_templatelexer.php b/libs/sysplugins/smarty_internal_templatelexer.php index 6ee66c1d..d7451b0b 100644 --- a/libs/sysplugins/smarty_internal_templatelexer.php +++ b/libs/sysplugins/smarty_internal_templatelexer.php @@ -143,15 +143,13 @@ class Smarty_Internal_Templatelexer 10 => 0, 11 => 0, 12 => 0, - 13 => 0, - 14 => 0, - 15 => 2, - 18 => 0, + 13 => 2, + 16 => 0, ); if ($this->counter >= strlen($this->data)) { return false; // end of input } - $yy_global_pattern = "/^(\\{\\})|^(".$this->ldel."\\*([\S\s]*?)\\*".$this->rdel.")|^(<\\?xml\\s)|^(<\\?(?:php\\w+|=|[a-zA-Z]+)?)|^(\\?>)|^([\t ]*[\r\n]+[\t ]*)|^(".$this->ldel."strip".$this->rdel.")|^(".$this->ldel."\/strip".$this->rdel.")|^(".$this->ldel."literal".$this->rdel.")|^(".$this->ldel."\\s{1,}\/)|^(".$this->ldel."\\s{1,})|^(".$this->ldel."\/)|^(".$this->ldel.")|^(([\S\s]*?)(?=([\t ]*[\r\n]+[\t ]*|".$this->ldel."|<\\?|\\?>)))|^([\S\s]+)/"; + $yy_global_pattern = "/^(\\{\\})|^(".$this->ldel."\\*([\S\s]*?)\\*".$this->rdel.")|^(<\\?(?:php\\w+|=|[a-zA-Z]+)?)|^([\t ]*[\r\n]+[\t ]*)|^(".$this->ldel."strip".$this->rdel.")|^(".$this->ldel."\/strip".$this->rdel.")|^(".$this->ldel."literal".$this->rdel.")|^(".$this->ldel."\\s{1,}\/)|^(".$this->ldel."\\s{1,})|^(".$this->ldel."\/)|^(".$this->ldel.")|^(([\S\s]*?)(?=([\t ]*[\r\n]+[\t ]*|".$this->ldel."|<\\?)))|^([\S\s]+)/"; do { if (preg_match($yy_global_pattern, substr($this->data, $this->counter), $yymatches)) { @@ -214,24 +212,17 @@ class Smarty_Internal_Templatelexer function yy_r1_4($yy_subpatterns) { - $this->token = Smarty_Internal_Templateparser::TP_XMLTAG; - } - function yy_r1_5($yy_subpatterns) - { - if (in_array($this->value, Array('token = Smarty_Internal_Templateparser::TP_PHPSTARTTAG; + $this->yypushstate(self::PHP); + } elseif ($this->value == 'token = Smarty_Internal_Templateparser::TP_XMLTAG; } else { $this->token = Smarty_Internal_Templateparser::TP_FAKEPHPSTARTTAG; $this->value = substr($this->value, 0, 2); } } - function yy_r1_6($yy_subpatterns) - { - - $this->token = Smarty_Internal_Templateparser::TP_PHPENDTAG; - } - function yy_r1_7($yy_subpatterns) + function yy_r1_5($yy_subpatterns) { if ($this->strip) { @@ -240,25 +231,25 @@ class Smarty_Internal_Templatelexer $this->token = Smarty_Internal_Templateparser::TP_OTHER; } } - function yy_r1_8($yy_subpatterns) + function yy_r1_6($yy_subpatterns) { $this->strip = true; return false; } - function yy_r1_9($yy_subpatterns) + function yy_r1_7($yy_subpatterns) { $this->strip = false; return false; } - function yy_r1_10($yy_subpatterns) + function yy_r1_8($yy_subpatterns) { $this->token = Smarty_Internal_Templateparser::TP_LITERALSTART; $this->yypushstate(self::LITERAL); } - function yy_r1_11($yy_subpatterns) + function yy_r1_9($yy_subpatterns) { if ($this->smarty->auto_literal) { @@ -269,7 +260,7 @@ class Smarty_Internal_Templatelexer $this->taglineno = $this->line; } } - function yy_r1_12($yy_subpatterns) + function yy_r1_10($yy_subpatterns) { if ($this->smarty->auto_literal) { @@ -280,26 +271,26 @@ class Smarty_Internal_Templatelexer $this->taglineno = $this->line; } } - function yy_r1_13($yy_subpatterns) + function yy_r1_11($yy_subpatterns) { $this->token = Smarty_Internal_Templateparser::TP_LDELSLASH; $this->yypushstate(self::SMARTY); $this->taglineno = $this->line; } - function yy_r1_14($yy_subpatterns) + function yy_r1_12($yy_subpatterns) { $this->token = Smarty_Internal_Templateparser::TP_LDEL; $this->yypushstate(self::SMARTY); $this->taglineno = $this->line; } - function yy_r1_15($yy_subpatterns) + function yy_r1_13($yy_subpatterns) { $this->token = Smarty_Internal_Templateparser::TP_OTHER; } - function yy_r1_18($yy_subpatterns) + function yy_r1_16($yy_subpatterns) { $this->token = Smarty_Internal_Templateparser::TP_OTHER; @@ -801,16 +792,13 @@ class Smarty_Internal_Templatelexer { $tokenMap = array ( 1 => 0, - 2 => 0, - 3 => 0, + 2 => 1, 4 => 0, - 5 => 2, - 8 => 0, ); if ($this->counter >= strlen($this->data)) { return false; // end of input } - $yy_global_pattern = "/^(".$this->ldel."literal".$this->rdel.")|^(".$this->ldel."\/literal".$this->rdel.")|^(<\\?(?:php\\w+|=|[a-zA-Z]+)?)|^(\\?>)|^(([\S\s]*?)(?=(".$this->ldel."\/?literal".$this->rdel."|<\\?)))|^([\S\s]+)/"; + $yy_global_pattern = "/^(\\?>)|^([\s\S]+?(\\?>|\/\\*|'|\"|<<<\\s*'?\\w+'?\r?\n|\/\/|#))|^([\S\s]+)/"; do { if (preg_match($yy_global_pattern, substr($this->data, $this->counter), $yymatches)) { @@ -819,7 +807,7 @@ class Smarty_Internal_Templatelexer if (!count($yymatches)) { throw new Exception('Error: lexing failed because a rule matched' . 'an empty string. Input "' . substr($this->data, - $this->counter, 5) . '... state LITERAL'); + $this->counter, 5) . '... state PHP'); } next($yymatches); // skip global match $this->token = key($yymatches); // token number @@ -859,43 +847,54 @@ class Smarty_Internal_Templatelexer } // end function - const LITERAL = 3; + const PHP = 3; function yy_r3_1($yy_subpatterns) { - $this->token = Smarty_Internal_Templateparser::TP_LITERALSTART; - $this->yypushstate(self::LITERAL); + $this->token = Smarty_Internal_Templateparser::TP_PHPENDTAG; + $this->yypopstate(); } function yy_r3_2($yy_subpatterns) { - $this->token = Smarty_Internal_Templateparser::TP_LITERALEND; - $this->yypopstate(); - } - function yy_r3_3($yy_subpatterns) - { - - if (in_array($this->value, Array('token = Smarty_Internal_Templateparser::TP_PHPSTARTTAG; - } else { - $this->token = Smarty_Internal_Templateparser::TP_FAKEPHPSTARTTAG; - $this->value = substr($this->value, 0, 2); + switch ($yy_subpatterns[0]) { + case '?>': + $this->token = Smarty_Internal_Templateparser::TP_PHP_CODE; + $this->value = substr($this->value, 0, -2); + break; + case "'": + $this->token = Smarty_Internal_Templateparser::TP_PHP_CODE; + $this->yypushstate(self::PHP_SINGLE_QUOTED_STRING); + break; + case '"': + $this->token = Smarty_Internal_Templateparser::TP_PHP_CODE_START_DOUBLEQUOTE; + $this->yypushstate(self::PHP_DOUBLE_QUOTED_STRING); + break; + case '/*': + $this->token = Smarty_Internal_Templateparser::TP_PHP_CODE; + $this->yypushstate(self::PHP_ML_COMMENT); + break; + case '//': + case '#': + $this->token = Smarty_Internal_Templateparser::TP_PHP_CODE; + $this->yypushstate(self::PHP_SL_COMMENT); + break; + default: + $res = preg_match('/\A<<<\s*\'?(\w+)(\'?)\r?\n\z/', $yy_subpatterns[0], $matches); + assert($res === 1); + $is_nowdoc = $matches[2] === "'"; + $this->token = $is_nowdoc + ? Smarty_Internal_Templateparser::TP_PHP_NOWDOC_START + : Smarty_Internal_Templateparser::TP_PHP_HEREDOC_START; + $this->heredoc_id_stack[] = $matches[1]; + $this->yypushstate($is_nowdoc ? self::PHP_NOWDOC : self::PHP_HEREDOC); + break; } } function yy_r3_4($yy_subpatterns) { - $this->token = Smarty_Internal_Templateparser::TP_PHPENDTAG; - } - function yy_r3_5($yy_subpatterns) - { - - $this->token = Smarty_Internal_Templateparser::TP_LITERAL; - } - function yy_r3_8($yy_subpatterns) - { - - $this->compiler->trigger_template_error ("missing or misspelled literal closing tag"); + $this->compiler->trigger_template_error ("missing PHP end tag"); } @@ -904,19 +903,11 @@ class Smarty_Internal_Templatelexer $tokenMap = array ( 1 => 0, 2 => 0, - 3 => 0, - 4 => 0, - 5 => 0, - 6 => 0, - 7 => 0, - 8 => 0, - 9 => 3, - 13 => 0, ); if ($this->counter >= strlen($this->data)) { return false; // end of input } - $yy_global_pattern = "/^(".$this->ldel."\\s{1,}\/)|^(".$this->ldel."\\s{1,})|^(".$this->ldel."\/)|^(".$this->ldel.")|^(\")|^(`\\$)|^(\\$\\w+)|^(\\$)|^(([^\"\\\\]*?)((?:\\\\.[^\"\\\\]*?)*?)(?=(".$this->ldel."|\\$|`\\$|\")))|^([\S\s]+)/"; + $yy_global_pattern = "/^([\s\S]*\\*\/)|^([\S\s]+)/"; do { if (preg_match($yy_global_pattern, substr($this->data, $this->counter), $yymatches)) { @@ -925,7 +916,7 @@ class Smarty_Internal_Templatelexer if (!count($yymatches)) { throw new Exception('Error: lexing failed because a rule matched' . 'an empty string. Input "' . substr($this->data, - $this->counter, 5) . '... state DOUBLEQUOTEDSTRING'); + $this->counter, 5) . '... state PHP_ML_COMMENT'); } next($yymatches); // skip global match $this->token = key($yymatches); // token number @@ -965,10 +956,781 @@ class Smarty_Internal_Templatelexer } // end function - const DOUBLEQUOTEDSTRING = 4; + const PHP_ML_COMMENT = 4; function yy_r4_1($yy_subpatterns) { + $this->token = Smarty_Internal_Templateparser::TP_PHP_CODE; + $this->yypopstate(); + } + function yy_r4_2($yy_subpatterns) + { + + $this->compiler->trigger_template_error("missing PHP comment end */"); + } + + + function yylex5() + { + $tokenMap = array ( + 1 => 0, + 2 => 0, + ); + if ($this->counter >= strlen($this->data)) { + return false; // end of input + } + $yy_global_pattern = "/^(.+?(?=\\?>|\n))|^([\S\s]+)/"; + + do { + if (preg_match($yy_global_pattern, substr($this->data, $this->counter), $yymatches)) { + $yysubmatches = $yymatches; + $yymatches = array_filter($yymatches, 'strlen'); // remove empty sub-patterns + if (!count($yymatches)) { + throw new Exception('Error: lexing failed because a rule matched' . + 'an empty string. Input "' . substr($this->data, + $this->counter, 5) . '... state PHP_SL_COMMENT'); + } + next($yymatches); // skip global match + $this->token = key($yymatches); // token number + if ($tokenMap[$this->token]) { + // extract sub-patterns for passing to lex function + $yysubmatches = array_slice($yysubmatches, $this->token + 1, + $tokenMap[$this->token]); + } else { + $yysubmatches = array(); + } + $this->value = current($yymatches); // token value + $r = $this->{'yy_r5_' . $this->token}($yysubmatches); + if ($r === null) { + $this->counter += strlen($this->value); + $this->line += substr_count($this->value, "\n"); + // accept this token + return true; + } elseif ($r === true) { + // we have changed state + // process this token in the new state + return $this->yylex(); + } elseif ($r === false) { + $this->counter += strlen($this->value); + $this->line += substr_count($this->value, "\n"); + if ($this->counter >= strlen($this->data)) { + return false; // end of input + } + // skip this token + continue; + } } else { + throw new Exception('Unexpected input at line' . $this->line . + ': ' . $this->data[$this->counter]); + } + break; + } while (true); + + } // end function + + + const PHP_SL_COMMENT = 5; + function yy_r5_1($yy_subpatterns) + { + + $this->token = Smarty_Internal_Templateparser::TP_PHP_CODE; + $this->yypopstate(); + } + function yy_r5_2($yy_subpatterns) + { + + /* this can happen for "//?>" */ + $this->yypopstate(); + return true; + } + + + function yylex6() + { + $tokenMap = array ( + 1 => 0, + 2 => 0, + ); + if ($this->counter >= strlen($this->data)) { + return false; // end of input + } + $yy_global_pattern = "/^([^\n]*\n)|^([\S\s]+)/"; + + do { + if (preg_match($yy_global_pattern, substr($this->data, $this->counter), $yymatches)) { + $yysubmatches = $yymatches; + $yymatches = array_filter($yymatches, 'strlen'); // remove empty sub-patterns + if (!count($yymatches)) { + throw new Exception('Error: lexing failed because a rule matched' . + 'an empty string. Input "' . substr($this->data, + $this->counter, 5) . '... state PHP_NOWDOC'); + } + next($yymatches); // skip global match + $this->token = key($yymatches); // token number + if ($tokenMap[$this->token]) { + // extract sub-patterns for passing to lex function + $yysubmatches = array_slice($yysubmatches, $this->token + 1, + $tokenMap[$this->token]); + } else { + $yysubmatches = array(); + } + $this->value = current($yymatches); // token value + $r = $this->{'yy_r6_' . $this->token}($yysubmatches); + if ($r === null) { + $this->counter += strlen($this->value); + $this->line += substr_count($this->value, "\n"); + // accept this token + return true; + } elseif ($r === true) { + // we have changed state + // process this token in the new state + return $this->yylex(); + } elseif ($r === false) { + $this->counter += strlen($this->value); + $this->line += substr_count($this->value, "\n"); + if ($this->counter >= strlen($this->data)) { + return false; // end of input + } + // skip this token + continue; + } } else { + throw new Exception('Unexpected input at line' . $this->line . + ': ' . $this->data[$this->counter]); + } + break; + } while (true); + + } // end function + + + const PHP_NOWDOC = 6; + function yy_r6_1($yy_subpatterns) + { + + $heredoc_id = $this->heredoc_id_stack[sizeof($this->heredoc_id_stack)-1]; + if ( $this->value === $heredoc_id."\n" + || $this->value === $heredoc_id."\r\n" + || $this->value === $heredoc_id.";\n" + || $this->value === $heredoc_id.";\r\n" + ) { + $this->token = Smarty_Internal_Templateparser::TP_PHP_NOWDOC_END; + array_pop($this->heredoc_id_stack); + $this->yypopstate(); + } else { + $this->token = Smarty_Internal_Templateparser::TP_PHP_DQ_CONTENT; + } + } + function yy_r6_2($yy_subpatterns) + { + + $this->compiler->trigger_template_error("missing PHP NOWDOC end"); + } + + + function yylex7() + { + $tokenMap = array ( + 1 => 0, + 2 => 0, + 3 => 0, + ); + if ($this->counter >= strlen($this->data)) { + return false; // end of input + } + $yy_global_pattern = "/^(\\{\\$|\\{\\$)|^([^\n]*\n)|^([\S\s]+)/"; + + do { + if (preg_match($yy_global_pattern, substr($this->data, $this->counter), $yymatches)) { + $yysubmatches = $yymatches; + $yymatches = array_filter($yymatches, 'strlen'); // remove empty sub-patterns + if (!count($yymatches)) { + throw new Exception('Error: lexing failed because a rule matched' . + 'an empty string. Input "' . substr($this->data, + $this->counter, 5) . '... state PHP_HEREDOC'); + } + next($yymatches); // skip global match + $this->token = key($yymatches); // token number + if ($tokenMap[$this->token]) { + // extract sub-patterns for passing to lex function + $yysubmatches = array_slice($yysubmatches, $this->token + 1, + $tokenMap[$this->token]); + } else { + $yysubmatches = array(); + } + $this->value = current($yymatches); // token value + $r = $this->{'yy_r7_' . $this->token}($yysubmatches); + if ($r === null) { + $this->counter += strlen($this->value); + $this->line += substr_count($this->value, "\n"); + // accept this token + return true; + } elseif ($r === true) { + // we have changed state + // process this token in the new state + return $this->yylex(); + } elseif ($r === false) { + $this->counter += strlen($this->value); + $this->line += substr_count($this->value, "\n"); + if ($this->counter >= strlen($this->data)) { + return false; // end of input + } + // skip this token + continue; + } } else { + throw new Exception('Unexpected input at line' . $this->line . + ': ' . $this->data[$this->counter]); + } + break; + } while (true); + + } // end function + + + const PHP_HEREDOC = 7; + function yy_r7_1($yy_subpatterns) + { + + $this->token = Smarty_Internal_Templateparser::TP_PHP_DQ_EMBED_START; + $this->yypushstate(self::PHP_RETURNING_TO_HEREDOC_FROM_EMBEDDED); + $this->yypushstate(self::PHP_DOUBLE_QUOTED_STRING_EMBEDDED); + } + function yy_r7_2($yy_subpatterns) + { + + $heredoc_id = $this->heredoc_id_stack[sizeof($this->heredoc_id_stack)-1]; + if ( $this->value === $heredoc_id."\n" + || $this->value === $heredoc_id."\r\n" + || $this->value === $heredoc_id.";\n" + || $this->value === $heredoc_id.";\r\n" + ) { + $this->token = Smarty_Internal_Templateparser::TP_PHP_HEREDOC_END; + array_pop($this->heredoc_id_stack); + $this->yypopstate(); + } else { + $this->token = Smarty_Internal_Templateparser::TP_PHP_DQ_CONTENT; + if (preg_match('/(.*?)(\{\$\|\$\{)/', $this->value, $matches)) { + $this->value = $matches[1]; + } + } + } + function yy_r7_3($yy_subpatterns) + { + + $this->compiler->trigger_template_error("missing PHP HEREDOC end"); + } + + + function yylex8() + { + $tokenMap = array ( + 1 => 0, + ); + if ($this->counter >= strlen($this->data)) { + return false; // end of input + } + $yy_global_pattern = "/^([^\n]*\n)/"; + + do { + if (preg_match($yy_global_pattern, substr($this->data, $this->counter), $yymatches)) { + $yysubmatches = $yymatches; + $yymatches = array_filter($yymatches, 'strlen'); // remove empty sub-patterns + if (!count($yymatches)) { + throw new Exception('Error: lexing failed because a rule matched' . + 'an empty string. Input "' . substr($this->data, + $this->counter, 5) . '... state PHP_RETURNING_TO_HEREDOC_FROM_EMBEDDED'); + } + next($yymatches); // skip global match + $this->token = key($yymatches); // token number + if ($tokenMap[$this->token]) { + // extract sub-patterns for passing to lex function + $yysubmatches = array_slice($yysubmatches, $this->token + 1, + $tokenMap[$this->token]); + } else { + $yysubmatches = array(); + } + $this->value = current($yymatches); // token value + $r = $this->{'yy_r8_' . $this->token}($yysubmatches); + if ($r === null) { + $this->counter += strlen($this->value); + $this->line += substr_count($this->value, "\n"); + // accept this token + return true; + } elseif ($r === true) { + // we have changed state + // process this token in the new state + return $this->yylex(); + } elseif ($r === false) { + $this->counter += strlen($this->value); + $this->line += substr_count($this->value, "\n"); + if ($this->counter >= strlen($this->data)) { + return false; // end of input + } + // skip this token + continue; + } } else { + throw new Exception('Unexpected input at line' . $this->line . + ': ' . $this->data[$this->counter]); + } + break; + } while (true); + + } // end function + + + const PHP_RETURNING_TO_HEREDOC_FROM_EMBEDDED = 8; + function yy_r8_1($yy_subpatterns) + { + + $this->yypopstate(); + $heredoc_id = $this->heredoc_id_stack[sizeof($this->heredoc_id_stack)-1]; + if ( $this->value === $heredoc_id."\n" + || $this->value === $heredoc_id."\r\n" + || $this->value === $heredoc_id.";\n" + || $this->value === $heredoc_id.";\r\n" + ) { + //Make sure it isn't interpreted as HEREDOC end. + $this->token = Smarty_Internal_Templateparser::TP_PHP_DQ_CONTENT; + } else { + return true; //retry in PHP_HEREDOC state + } + } + + + function yylex9() + { + $tokenMap = array ( + 1 => 0, + 2 => 0, + ); + if ($this->counter >= strlen($this->data)) { + return false; // end of input + } + $yy_global_pattern = "/^((?:[^\\\\']|\\\\.)*')|^([\S\s]+)/"; + + do { + if (preg_match($yy_global_pattern, substr($this->data, $this->counter), $yymatches)) { + $yysubmatches = $yymatches; + $yymatches = array_filter($yymatches, 'strlen'); // remove empty sub-patterns + if (!count($yymatches)) { + throw new Exception('Error: lexing failed because a rule matched' . + 'an empty string. Input "' . substr($this->data, + $this->counter, 5) . '... state PHP_SINGLE_QUOTED_STRING'); + } + next($yymatches); // skip global match + $this->token = key($yymatches); // token number + if ($tokenMap[$this->token]) { + // extract sub-patterns for passing to lex function + $yysubmatches = array_slice($yysubmatches, $this->token + 1, + $tokenMap[$this->token]); + } else { + $yysubmatches = array(); + } + $this->value = current($yymatches); // token value + $r = $this->{'yy_r9_' . $this->token}($yysubmatches); + if ($r === null) { + $this->counter += strlen($this->value); + $this->line += substr_count($this->value, "\n"); + // accept this token + return true; + } elseif ($r === true) { + // we have changed state + // process this token in the new state + return $this->yylex(); + } elseif ($r === false) { + $this->counter += strlen($this->value); + $this->line += substr_count($this->value, "\n"); + if ($this->counter >= strlen($this->data)) { + return false; // end of input + } + // skip this token + continue; + } } else { + throw new Exception('Unexpected input at line' . $this->line . + ': ' . $this->data[$this->counter]); + } + break; + } while (true); + + } // end function + + + const PHP_SINGLE_QUOTED_STRING = 9; + function yy_r9_1($yy_subpatterns) + { + + $this->token = Smarty_Internal_Templateparser::TP_PHP_CODE; + $this->yypopstate(); + } + function yy_r9_2($yy_subpatterns) + { + + $this->compiler->trigger_template_error("missing PHP single quoted string end"); + } + + + function yylex10() + { + $tokenMap = array ( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + ); + if ($this->counter >= strlen($this->data)) { + return false; // end of input + } + $yy_global_pattern = "/^(\\{\\$|\\{\\$)|^(\")|^((?:\\\\.|[^\"\\\\])+?(?=\"|\\{\\$|\\$\\{))|^([\S\s]+)/"; + + do { + if (preg_match($yy_global_pattern, substr($this->data, $this->counter), $yymatches)) { + $yysubmatches = $yymatches; + $yymatches = array_filter($yymatches, 'strlen'); // remove empty sub-patterns + if (!count($yymatches)) { + throw new Exception('Error: lexing failed because a rule matched' . + 'an empty string. Input "' . substr($this->data, + $this->counter, 5) . '... state PHP_DOUBLE_QUOTED_STRING'); + } + next($yymatches); // skip global match + $this->token = key($yymatches); // token number + if ($tokenMap[$this->token]) { + // extract sub-patterns for passing to lex function + $yysubmatches = array_slice($yysubmatches, $this->token + 1, + $tokenMap[$this->token]); + } else { + $yysubmatches = array(); + } + $this->value = current($yymatches); // token value + $r = $this->{'yy_r10_' . $this->token}($yysubmatches); + if ($r === null) { + $this->counter += strlen($this->value); + $this->line += substr_count($this->value, "\n"); + // accept this token + return true; + } elseif ($r === true) { + // we have changed state + // process this token in the new state + return $this->yylex(); + } elseif ($r === false) { + $this->counter += strlen($this->value); + $this->line += substr_count($this->value, "\n"); + if ($this->counter >= strlen($this->data)) { + return false; // end of input + } + // skip this token + continue; + } } else { + throw new Exception('Unexpected input at line' . $this->line . + ': ' . $this->data[$this->counter]); + } + break; + } while (true); + + } // end function + + + const PHP_DOUBLE_QUOTED_STRING = 10; + function yy_r10_1($yy_subpatterns) + { + + $this->token = Smarty_Internal_Templateparser::TP_PHP_DQ_EMBED_START; + $this->yypushstate(self::PHP_DOUBLE_QUOTED_STRING_EMBEDDED); + } + function yy_r10_2($yy_subpatterns) + { + + $this->token = Smarty_Internal_Templateparser::TP_PHP_CODE_DOUBLEQUOTE; + $this->yypopstate(); + } + function yy_r10_3($yy_subpatterns) + { + + $this->token = Smarty_Internal_Templateparser::TP_PHP_DQ_CONTENT; + } + function yy_r10_4($yy_subpatterns) + { + + $this->compiler->trigger_template_error("missing PHP double quoted string end"); + } + + + function yylex11() + { + $tokenMap = array ( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 0, + 6 => 0, + ); + if ($this->counter >= strlen($this->data)) { + return false; // end of input + } + $yy_global_pattern = "/^(\")|^(')|^(<<<\\s*\\w+\r?\n)|^(<<<\\s*'\\w+'\r?\n)|^(\\})|^([^'\"}]+?(?='|\"|\\}|<<<\\s*'?\\w+'?\r?\n))/"; + + do { + if (preg_match($yy_global_pattern, substr($this->data, $this->counter), $yymatches)) { + $yysubmatches = $yymatches; + $yymatches = array_filter($yymatches, 'strlen'); // remove empty sub-patterns + if (!count($yymatches)) { + throw new Exception('Error: lexing failed because a rule matched' . + 'an empty string. Input "' . substr($this->data, + $this->counter, 5) . '... state PHP_DOUBLE_QUOTED_STRING_EMBEDDED'); + } + next($yymatches); // skip global match + $this->token = key($yymatches); // token number + if ($tokenMap[$this->token]) { + // extract sub-patterns for passing to lex function + $yysubmatches = array_slice($yysubmatches, $this->token + 1, + $tokenMap[$this->token]); + } else { + $yysubmatches = array(); + } + $this->value = current($yymatches); // token value + $r = $this->{'yy_r11_' . $this->token}($yysubmatches); + if ($r === null) { + $this->counter += strlen($this->value); + $this->line += substr_count($this->value, "\n"); + // accept this token + return true; + } elseif ($r === true) { + // we have changed state + // process this token in the new state + return $this->yylex(); + } elseif ($r === false) { + $this->counter += strlen($this->value); + $this->line += substr_count($this->value, "\n"); + if ($this->counter >= strlen($this->data)) { + return false; // end of input + } + // skip this token + continue; + } } else { + throw new Exception('Unexpected input at line' . $this->line . + ': ' . $this->data[$this->counter]); + } + break; + } while (true); + + } // end function + + + const PHP_DOUBLE_QUOTED_STRING_EMBEDDED = 11; + function yy_r11_1($yy_subpatterns) + { + + $this->token = Smarty_Internal_Templateparser::TP_PHP_CODE_START_DOUBLEQUOTE; + $this->yypushstate(self::PHP_DOUBLE_QUOTED_STRING); + } + function yy_r11_2($yy_subpatterns) + { + + $this->token = Smarty_Internal_Templateparser::TP_PHP_CODE; + $this->yypushstate(self::PHP_SINGLE_QUOTED_STRING); + } + function yy_r11_3($yy_subpatterns) + { + + $this->token = Smarty_Internal_Templateparser::TP_PHP_HEREDOC_START; + $res = preg_match('/\A\<\<\<\s*(\w+)\r?\n\z/', $this->value, $matches); + assert($res === 1); + $this->heredoc_id_stack[] = $matches[1]; + $this->yypushstate(self::PHP_HEREDOC); + } + function yy_r11_4($yy_subpatterns) + { + + $this->token = Smarty_Internal_Templateparser::TP_PHP_NOWDOC_START; + $res = preg_match('/\A\<\<\<\s*\'(\w+)\'\r?\n\z/', $this->value, $matches); + assert($res === 1); + $this->heredoc_id_stack[] = $matches[1]; + $this->yypushstate(self::PHP_NOWDOC); + } + function yy_r11_5($yy_subpatterns) + { + + $this->token = Smarty_Internal_Templateparser::TP_PHP_DQ_EMBED_END; + $this->yypopstate(); + } + function yy_r11_6($yy_subpatterns) + { + + $this->token = Smarty_Internal_Templateparser::TP_PHP_CODE; + } + + + + function yylex12() + { + $tokenMap = array ( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 2, + 8 => 0, + ); + if ($this->counter >= strlen($this->data)) { + return false; // end of input + } + $yy_global_pattern = "/^(".$this->ldel."literal".$this->rdel.")|^(".$this->ldel."\/literal".$this->rdel.")|^(<\\?(?:php\\w+|=|[a-zA-Z]+)?)|^(\\?>)|^(([\S\s]*?)(?=(".$this->ldel."\/?literal".$this->rdel."|<\\?)))|^([\S\s]+)/"; + + do { + if (preg_match($yy_global_pattern, substr($this->data, $this->counter), $yymatches)) { + $yysubmatches = $yymatches; + $yymatches = array_filter($yymatches, 'strlen'); // remove empty sub-patterns + if (!count($yymatches)) { + throw new Exception('Error: lexing failed because a rule matched' . + 'an empty string. Input "' . substr($this->data, + $this->counter, 5) . '... state LITERAL'); + } + next($yymatches); // skip global match + $this->token = key($yymatches); // token number + if ($tokenMap[$this->token]) { + // extract sub-patterns for passing to lex function + $yysubmatches = array_slice($yysubmatches, $this->token + 1, + $tokenMap[$this->token]); + } else { + $yysubmatches = array(); + } + $this->value = current($yymatches); // token value + $r = $this->{'yy_r12_' . $this->token}($yysubmatches); + if ($r === null) { + $this->counter += strlen($this->value); + $this->line += substr_count($this->value, "\n"); + // accept this token + return true; + } elseif ($r === true) { + // we have changed state + // process this token in the new state + return $this->yylex(); + } elseif ($r === false) { + $this->counter += strlen($this->value); + $this->line += substr_count($this->value, "\n"); + if ($this->counter >= strlen($this->data)) { + return false; // end of input + } + // skip this token + continue; + } } else { + throw new Exception('Unexpected input at line' . $this->line . + ': ' . $this->data[$this->counter]); + } + break; + } while (true); + + } // end function + + + const LITERAL = 12; + function yy_r12_1($yy_subpatterns) + { + + $this->token = Smarty_Internal_Templateparser::TP_LITERALSTART; + $this->yypushstate(self::LITERAL); + } + function yy_r12_2($yy_subpatterns) + { + + $this->token = Smarty_Internal_Templateparser::TP_LITERALEND; + $this->yypopstate(); + } + function yy_r12_3($yy_subpatterns) + { + + if (in_array($this->value, Array('token = Smarty_Internal_Templateparser::TP_PHPSTARTTAG; + } else { + $this->token = Smarty_Internal_Templateparser::TP_FAKEPHPSTARTTAG; + $this->value = substr($this->value, 0, 2); + } + } + function yy_r12_4($yy_subpatterns) + { + + $this->token = Smarty_Internal_Templateparser::TP_LITERAL; + } + function yy_r12_5($yy_subpatterns) + { + + $this->token = Smarty_Internal_Templateparser::TP_LITERAL; + } + function yy_r12_8($yy_subpatterns) + { + + $this->compiler->trigger_template_error ("missing or misspelled literal closing tag"); + } + + + function yylex13() + { + $tokenMap = array ( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 0, + 6 => 0, + 7 => 0, + 8 => 0, + 9 => 3, + 13 => 0, + ); + if ($this->counter >= strlen($this->data)) { + return false; // end of input + } + $yy_global_pattern = "/^(".$this->ldel."\\s{1,}\/)|^(".$this->ldel."\\s{1,})|^(".$this->ldel."\/)|^(".$this->ldel.")|^(\")|^(`\\$)|^(\\$\\w+)|^(\\$)|^(([^\"\\\\]*?)((?:\\\\.[^\"\\\\]*?)*?)(?=(".$this->ldel."|\\$|`\\$|\")))|^([\S\s]+)/"; + + do { + if (preg_match($yy_global_pattern, substr($this->data, $this->counter), $yymatches)) { + $yysubmatches = $yymatches; + $yymatches = array_filter($yymatches, 'strlen'); // remove empty sub-patterns + if (!count($yymatches)) { + throw new Exception('Error: lexing failed because a rule matched' . + 'an empty string. Input "' . substr($this->data, + $this->counter, 5) . '... state DOUBLEQUOTEDSTRING'); + } + next($yymatches); // skip global match + $this->token = key($yymatches); // token number + if ($tokenMap[$this->token]) { + // extract sub-patterns for passing to lex function + $yysubmatches = array_slice($yysubmatches, $this->token + 1, + $tokenMap[$this->token]); + } else { + $yysubmatches = array(); + } + $this->value = current($yymatches); // token value + $r = $this->{'yy_r13_' . $this->token}($yysubmatches); + if ($r === null) { + $this->counter += strlen($this->value); + $this->line += substr_count($this->value, "\n"); + // accept this token + return true; + } elseif ($r === true) { + // we have changed state + // process this token in the new state + return $this->yylex(); + } elseif ($r === false) { + $this->counter += strlen($this->value); + $this->line += substr_count($this->value, "\n"); + if ($this->counter >= strlen($this->data)) { + return false; // end of input + } + // skip this token + continue; + } } else { + throw new Exception('Unexpected input at line' . $this->line . + ': ' . $this->data[$this->counter]); + } + break; + } while (true); + + } // end function + + + const DOUBLEQUOTEDSTRING = 13; + function yy_r13_1($yy_subpatterns) + { + if ($this->smarty->auto_literal) { $this->token = Smarty_Internal_Templateparser::TP_OTHER; } else { @@ -977,7 +1739,7 @@ class Smarty_Internal_Templatelexer $this->taglineno = $this->line; } } - function yy_r4_2($yy_subpatterns) + function yy_r13_2($yy_subpatterns) { if ($this->smarty->auto_literal) { @@ -988,27 +1750,27 @@ class Smarty_Internal_Templatelexer $this->taglineno = $this->line; } } - function yy_r4_3($yy_subpatterns) + function yy_r13_3($yy_subpatterns) { $this->token = Smarty_Internal_Templateparser::TP_LDELSLASH; $this->yypushstate(self::SMARTY); $this->taglineno = $this->line; } - function yy_r4_4($yy_subpatterns) + function yy_r13_4($yy_subpatterns) { $this->token = Smarty_Internal_Templateparser::TP_LDEL; $this->yypushstate(self::SMARTY); $this->taglineno = $this->line; } - function yy_r4_5($yy_subpatterns) + function yy_r13_5($yy_subpatterns) { $this->token = Smarty_Internal_Templateparser::TP_QUOTE; $this->yypopstate(); } - function yy_r4_6($yy_subpatterns) + function yy_r13_6($yy_subpatterns) { $this->token = Smarty_Internal_Templateparser::TP_BACKTICK; @@ -1016,22 +1778,22 @@ class Smarty_Internal_Templatelexer $this->yypushstate(self::SMARTY); $this->taglineno = $this->line; } - function yy_r4_7($yy_subpatterns) + function yy_r13_7($yy_subpatterns) { $this->token = Smarty_Internal_Templateparser::TP_DOLLARID; } - function yy_r4_8($yy_subpatterns) + function yy_r13_8($yy_subpatterns) { $this->token = Smarty_Internal_Templateparser::TP_OTHER; } - function yy_r4_9($yy_subpatterns) + function yy_r13_9($yy_subpatterns) { $this->token = Smarty_Internal_Templateparser::TP_OTHER; } - function yy_r4_13($yy_subpatterns) + function yy_r13_13($yy_subpatterns) { $this->token = Smarty_Internal_Templateparser::TP_OTHER; diff --git a/libs/sysplugins/smarty_internal_templateparser.php b/libs/sysplugins/smarty_internal_templateparser.php index efea66c5..34b11797 100644 --- a/libs/sysplugins/smarty_internal_templateparser.php +++ b/libs/sysplugins/smarty_internal_templateparser.php @@ -109,8 +109,6 @@ class Smarty_Internal_Templateparser#line 79 "smarty_internal_templateparser.php $this->compiler->has_variable_string = false; $this->compiler->prefix_code = array(); $this->prefix_number = 0; - $this->allowed_php = false; - $this->xml_tag = false; } public static function &instance($new_instance = null) { @@ -132,7 +130,7 @@ class Smarty_Internal_Templateparser#line 79 "smarty_internal_templateparser.php } -#line 128 "smarty_internal_templateparser.php" +#line 126 "smarty_internal_templateparser.php" const TP_VERT = 1; const TP_COLON = 2; @@ -142,738 +140,775 @@ class Smarty_Internal_Templateparser#line 79 "smarty_internal_templateparser.php const TP_FAKEPHPSTARTTAG = 6; const TP_XMLTAG = 7; const TP_OTHER = 8; - const TP_LITERALSTART = 9; - const TP_LITERALEND = 10; - const TP_LITERAL = 11; - const TP_LDEL = 12; - const TP_RDEL = 13; - const TP_DOLLAR = 14; - const TP_ID = 15; - const TP_EQUAL = 16; - const TP_FOREACH = 17; - const TP_PTR = 18; - const TP_IF = 19; - const TP_SPACE = 20; - const TP_UNIMATH = 21; - const TP_FOR = 22; - const TP_SEMICOLON = 23; - const TP_INCDEC = 24; - const TP_TO = 25; - const TP_STEP = 26; - const TP_AS = 27; - const TP_APTR = 28; - const TP_LDELSLASH = 29; - const TP_INTEGER = 30; - const TP_COMMA = 31; - const TP_MATH = 32; - const TP_ANDSYM = 33; - const TP_OPENP = 34; - const TP_CLOSEP = 35; - const TP_QMARK = 36; - const TP_NOT = 37; - const TP_TYPECAST = 38; - const TP_DOT = 39; - const TP_BOOLEAN = 40; - const TP_NULL = 41; - const TP_SINGLEQUOTESTRING = 42; - const TP_QUOTE = 43; - const TP_DOUBLECOLON = 44; - const TP_AT = 45; - const TP_HATCH = 46; - const TP_OPENB = 47; - const TP_CLOSEB = 48; - const TP_ISIN = 49; - const TP_ISDIVBY = 50; - const TP_ISNOTDIVBY = 51; - const TP_ISEVEN = 52; - const TP_ISNOTEVEN = 53; - const TP_ISEVENBY = 54; - const TP_ISNOTEVENBY = 55; - const TP_ISODD = 56; - const TP_ISNOTODD = 57; - const TP_ISODDBY = 58; - const TP_ISNOTODDBY = 59; - const TP_INSTANCEOF = 60; - const TP_EQUALS = 61; - const TP_NOTEQUALS = 62; - const TP_GREATERTHAN = 63; - const TP_LESSTHAN = 64; - const TP_GREATEREQUAL = 65; - const TP_LESSEQUAL = 66; - const TP_IDENTITY = 67; - const TP_NONEIDENTITY = 68; - const TP_MOD = 69; - const TP_LAND = 70; - const TP_LOR = 71; - const TP_LXOR = 72; - const TP_BACKTICK = 73; - const TP_DOLLARID = 74; - const YY_NO_ACTION = 590; - const YY_ACCEPT_ACTION = 589; - const YY_ERROR_ACTION = 588; + const TP_PHP_CODE = 9; + const TP_PHP_CODE_START_DOUBLEQUOTE = 10; + const TP_PHP_CODE_DOUBLEQUOTE = 11; + const TP_PHP_HEREDOC_START = 12; + const TP_PHP_HEREDOC_END = 13; + const TP_PHP_NOWDOC_START = 14; + const TP_PHP_NOWDOC_END = 15; + const TP_PHP_DQ_CONTENT = 16; + const TP_PHP_DQ_EMBED_START = 17; + const TP_PHP_DQ_EMBED_END = 18; + const TP_LITERALSTART = 19; + const TP_LITERALEND = 20; + const TP_LITERAL = 21; + const TP_LDEL = 22; + const TP_RDEL = 23; + const TP_DOLLAR = 24; + const TP_ID = 25; + const TP_EQUAL = 26; + const TP_FOREACH = 27; + const TP_PTR = 28; + const TP_IF = 29; + const TP_SPACE = 30; + const TP_UNIMATH = 31; + const TP_FOR = 32; + const TP_SEMICOLON = 33; + const TP_INCDEC = 34; + const TP_TO = 35; + const TP_STEP = 36; + const TP_AS = 37; + const TP_APTR = 38; + const TP_LDELSLASH = 39; + const TP_INTEGER = 40; + const TP_COMMA = 41; + const TP_MATH = 42; + const TP_ANDSYM = 43; + const TP_OPENP = 44; + const TP_CLOSEP = 45; + const TP_QMARK = 46; + const TP_NOT = 47; + const TP_TYPECAST = 48; + const TP_DOT = 49; + const TP_BOOLEAN = 50; + const TP_NULL = 51; + const TP_SINGLEQUOTESTRING = 52; + const TP_QUOTE = 53; + const TP_DOUBLECOLON = 54; + const TP_AT = 55; + const TP_HATCH = 56; + const TP_OPENB = 57; + const TP_CLOSEB = 58; + const TP_ISIN = 59; + const TP_ISDIVBY = 60; + const TP_ISNOTDIVBY = 61; + const TP_ISEVEN = 62; + const TP_ISNOTEVEN = 63; + const TP_ISEVENBY = 64; + const TP_ISNOTEVENBY = 65; + const TP_ISODD = 66; + const TP_ISNOTODD = 67; + const TP_ISODDBY = 68; + const TP_ISNOTODDBY = 69; + const TP_INSTANCEOF = 70; + const TP_EQUALS = 71; + const TP_NOTEQUALS = 72; + const TP_GREATERTHAN = 73; + const TP_LESSTHAN = 74; + const TP_GREATEREQUAL = 75; + const TP_LESSEQUAL = 76; + const TP_IDENTITY = 77; + const TP_NONEIDENTITY = 78; + const TP_MOD = 79; + const TP_LAND = 80; + const TP_LOR = 81; + const TP_LXOR = 82; + const TP_BACKTICK = 83; + const TP_DOLLARID = 84; + const YY_NO_ACTION = 620; + const YY_ACCEPT_ACTION = 619; + const YY_ERROR_ACTION = 618; - const YY_SZ_ACTTAB = 1702; + const YY_SZ_ACTTAB = 1824; static public $yy_action = array( - /* 0 */ 20, 176, 91, 62, 288, 98, 287, 203, 149, 50, - /* 10 */ 233, 589, 60, 263, 321, 323, 281, 120, 223, 283, - /* 20 */ 19, 136, 17, 23, 10, 47, 49, 183, 296, 297, - /* 30 */ 299, 61, 55, 151, 64, 16, 330, 120, 20, 283, - /* 40 */ 85, 188, 71, 334, 336, 335, 42, 50, 158, 317, - /* 50 */ 333, 270, 23, 185, 281, 120, 223, 278, 19, 54, - /* 60 */ 27, 43, 151, 47, 49, 183, 296, 297, 299, 61, - /* 70 */ 51, 52, 64, 16, 254, 120, 20, 271, 87, 196, - /* 80 */ 259, 37, 282, 2, 13, 50, 257, 33, 54, 280, - /* 90 */ 298, 31, 33, 120, 223, 298, 31, 145, 27, 51, - /* 100 */ 52, 47, 49, 178, 296, 297, 299, 61, 23, 195, - /* 110 */ 64, 16, 330, 220, 20, 195, 87, 190, 151, 37, - /* 120 */ 282, 305, 256, 50, 311, 228, 63, 332, 264, 30, - /* 130 */ 267, 120, 223, 265, 193, 129, 27, 195, 33, 47, - /* 140 */ 49, 298, 296, 297, 299, 61, 195, 168, 64, 16, - /* 150 */ 330, 24, 20, 382, 87, 196, 33, 363, 351, 298, - /* 160 */ 341, 50, 218, 208, 38, 193, 95, 193, 53, 120, - /* 170 */ 223, 222, 205, 276, 18, 261, 195, 7, 49, 23, - /* 180 */ 296, 297, 299, 61, 304, 140, 64, 16, 456, 151, - /* 190 */ 20, 177, 85, 194, 33, 456, 53, 298, 36, 50, - /* 200 */ 330, 33, 358, 308, 298, 179, 284, 120, 223, 95, - /* 210 */ 193, 147, 27, 35, 311, 47, 49, 235, 296, 297, - /* 220 */ 299, 61, 22, 260, 64, 16, 330, 304, 20, 277, - /* 230 */ 85, 191, 195, 156, 453, 53, 226, 50, 312, 33, - /* 240 */ 354, 453, 298, 195, 326, 120, 198, 216, 330, 246, - /* 250 */ 27, 193, 243, 47, 49, 23, 296, 297, 299, 61, - /* 260 */ 312, 4, 64, 16, 1, 151, 20, 209, 87, 186, - /* 270 */ 41, 26, 134, 85, 146, 50, 33, 359, 54, 298, - /* 280 */ 85, 219, 33, 120, 223, 298, 25, 330, 12, 51, - /* 290 */ 52, 7, 49, 139, 296, 297, 299, 61, 39, 181, - /* 300 */ 64, 16, 10, 372, 20, 64, 83, 196, 330, 452, - /* 310 */ 137, 185, 64, 50, 154, 228, 193, 290, 1, 43, - /* 320 */ 311, 120, 223, 128, 273, 330, 18, 227, 245, 7, - /* 330 */ 49, 193, 296, 297, 299, 61, 23, 300, 64, 16, - /* 340 */ 10, 3, 20, 55, 87, 196, 151, 320, 321, 323, - /* 350 */ 345, 50, 33, 195, 163, 298, 195, 193, 369, 120, - /* 360 */ 223, 293, 339, 133, 12, 193, 166, 7, 49, 193, - /* 370 */ 296, 297, 299, 61, 160, 193, 64, 16, 330, 210, - /* 380 */ 248, 8, 11, 364, 347, 5, 6, 346, 348, 9, - /* 390 */ 15, 225, 38, 290, 325, 20, 324, 85, 194, 69, - /* 400 */ 155, 349, 350, 285, 50, 322, 319, 318, 314, 313, - /* 410 */ 315, 158, 120, 223, 20, 330, 76, 27, 356, 236, - /* 420 */ 47, 49, 242, 296, 297, 299, 61, 312, 159, 64, - /* 430 */ 300, 120, 142, 287, 8, 11, 364, 347, 5, 6, - /* 440 */ 346, 348, 9, 15, 141, 360, 144, 330, 240, 24, - /* 450 */ 368, 55, 193, 361, 349, 350, 285, 193, 48, 330, - /* 460 */ 193, 330, 251, 8, 11, 364, 347, 5, 6, 346, - /* 470 */ 348, 9, 15, 365, 362, 310, 193, 355, 207, 197, - /* 480 */ 343, 193, 193, 349, 350, 285, 45, 193, 8, 11, - /* 490 */ 364, 347, 5, 6, 346, 348, 9, 15, 378, 386, - /* 500 */ 387, 388, 389, 385, 384, 380, 379, 152, 349, 350, - /* 510 */ 285, 193, 125, 73, 8, 11, 364, 347, 5, 6, - /* 520 */ 346, 348, 9, 15, 352, 381, 300, 300, 195, 291, - /* 530 */ 331, 193, 193, 309, 349, 350, 285, 193, 126, 131, - /* 540 */ 193, 8, 11, 364, 347, 5, 6, 346, 348, 9, - /* 550 */ 15, 70, 300, 33, 330, 20, 200, 85, 199, 390, - /* 560 */ 307, 349, 350, 285, 50, 303, 68, 193, 193, 165, - /* 570 */ 40, 230, 120, 223, 34, 95, 33, 27, 122, 213, - /* 580 */ 47, 49, 148, 296, 297, 299, 61, 292, 88, 64, - /* 590 */ 86, 130, 300, 304, 74, 124, 8, 11, 364, 347, - /* 600 */ 5, 6, 346, 348, 9, 15, 330, 329, 300, 300, - /* 610 */ 20, 123, 85, 202, 193, 328, 349, 350, 285, 50, - /* 620 */ 28, 253, 193, 338, 306, 300, 342, 120, 223, 173, - /* 630 */ 337, 193, 27, 193, 287, 47, 49, 164, 296, 297, - /* 640 */ 299, 61, 287, 132, 64, 153, 217, 8, 11, 364, - /* 650 */ 347, 5, 6, 346, 348, 9, 15, 66, 330, 67, - /* 660 */ 330, 35, 44, 216, 90, 252, 303, 349, 350, 285, - /* 670 */ 127, 301, 230, 58, 96, 56, 95, 279, 180, 303, - /* 680 */ 258, 78, 97, 172, 302, 230, 81, 192, 292, 95, - /* 690 */ 269, 268, 79, 373, 304, 289, 303, 377, 32, 383, - /* 700 */ 121, 292, 230, 116, 262, 108, 95, 304, 266, 255, - /* 710 */ 272, 311, 182, 294, 302, 226, 303, 192, 292, 100, - /* 720 */ 175, 295, 230, 286, 304, 169, 95, 303, 29, 383, - /* 730 */ 211, 138, 327, 230, 59, 94, 57, 95, 292, 193, - /* 740 */ 46, 290, 82, 452, 304, 302, 288, 303, 192, 292, - /* 750 */ 193, 161, 303, 230, 38, 304, 138, 95, 230, 119, - /* 760 */ 383, 105, 95, 21, 454, 244, 316, 234, 48, 292, - /* 770 */ 302, 454, 274, 192, 292, 304, 14, 221, 99, 45, - /* 780 */ 304, 72, 275, 143, 317, 383, 317, 317, 317, 317, - /* 790 */ 312, 378, 386, 387, 388, 389, 385, 384, 380, 379, - /* 800 */ 45, 317, 317, 317, 317, 317, 317, 317, 317, 317, - /* 810 */ 317, 317, 378, 386, 387, 388, 389, 385, 384, 380, - /* 820 */ 379, 317, 317, 303, 317, 317, 317, 157, 303, 230, - /* 830 */ 367, 317, 138, 95, 230, 119, 317, 102, 95, 317, - /* 840 */ 317, 302, 317, 317, 192, 292, 302, 317, 317, 192, - /* 850 */ 292, 304, 317, 317, 317, 317, 304, 317, 317, 201, - /* 860 */ 366, 383, 317, 317, 317, 303, 317, 317, 317, 138, - /* 870 */ 317, 230, 119, 317, 114, 95, 317, 317, 303, 317, - /* 880 */ 317, 317, 150, 302, 230, 317, 192, 292, 95, 317, - /* 890 */ 317, 317, 317, 304, 317, 303, 206, 317, 383, 138, - /* 900 */ 292, 230, 119, 317, 109, 95, 304, 317, 317, 317, - /* 910 */ 317, 317, 317, 302, 317, 303, 192, 292, 317, 138, - /* 920 */ 317, 230, 119, 304, 113, 95, 317, 317, 383, 317, - /* 930 */ 317, 317, 317, 302, 317, 317, 192, 292, 317, 317, - /* 940 */ 303, 317, 317, 304, 138, 317, 230, 119, 383, 107, - /* 950 */ 95, 317, 317, 317, 317, 317, 317, 317, 302, 317, - /* 960 */ 317, 192, 292, 317, 317, 317, 303, 317, 304, 317, - /* 970 */ 167, 317, 230, 383, 317, 303, 95, 317, 317, 138, - /* 980 */ 317, 230, 119, 317, 112, 95, 317, 317, 292, 317, - /* 990 */ 317, 317, 317, 302, 304, 303, 192, 292, 317, 138, - /* 1000 */ 317, 230, 117, 304, 104, 95, 317, 317, 383, 317, - /* 1010 */ 317, 382, 317, 302, 317, 317, 192, 292, 317, 317, - /* 1020 */ 317, 317, 317, 304, 317, 45, 317, 317, 383, 317, - /* 1030 */ 317, 317, 317, 317, 317, 317, 317, 378, 386, 387, - /* 1040 */ 388, 389, 385, 384, 380, 379, 317, 317, 303, 317, - /* 1050 */ 317, 317, 138, 317, 230, 119, 317, 111, 95, 317, - /* 1060 */ 317, 317, 317, 317, 317, 317, 302, 317, 303, 192, - /* 1070 */ 292, 317, 170, 303, 230, 317, 304, 138, 95, 230, - /* 1080 */ 118, 383, 106, 95, 317, 317, 317, 317, 317, 317, - /* 1090 */ 292, 302, 317, 303, 192, 292, 304, 138, 317, 230, - /* 1100 */ 119, 304, 115, 95, 317, 317, 383, 317, 317, 317, - /* 1110 */ 317, 302, 317, 317, 192, 292, 317, 317, 303, 317, - /* 1120 */ 317, 304, 138, 317, 230, 119, 383, 101, 95, 238, - /* 1130 */ 317, 317, 317, 317, 317, 317, 302, 317, 317, 192, - /* 1140 */ 292, 317, 317, 45, 317, 317, 304, 317, 317, 317, - /* 1150 */ 317, 383, 317, 317, 317, 378, 386, 387, 388, 389, - /* 1160 */ 385, 384, 380, 379, 317, 317, 317, 317, 317, 317, - /* 1170 */ 317, 303, 317, 317, 317, 135, 317, 230, 119, 317, - /* 1180 */ 110, 95, 317, 317, 317, 317, 317, 317, 317, 302, - /* 1190 */ 317, 303, 192, 292, 317, 138, 317, 230, 117, 304, - /* 1200 */ 103, 95, 317, 317, 383, 317, 317, 317, 317, 302, - /* 1210 */ 317, 317, 192, 292, 317, 317, 303, 317, 317, 304, - /* 1220 */ 157, 317, 230, 367, 383, 317, 95, 317, 317, 317, - /* 1230 */ 317, 317, 317, 317, 302, 317, 317, 192, 292, 303, - /* 1240 */ 317, 317, 317, 65, 304, 75, 92, 93, 317, 89, - /* 1250 */ 317, 317, 317, 371, 317, 317, 317, 302, 303, 317, - /* 1260 */ 192, 292, 65, 317, 77, 84, 93, 304, 89, 317, - /* 1270 */ 317, 303, 317, 317, 317, 174, 302, 230, 241, 192, - /* 1280 */ 292, 95, 317, 317, 303, 317, 304, 317, 174, 302, - /* 1290 */ 230, 241, 192, 292, 95, 317, 224, 317, 317, 304, - /* 1300 */ 317, 317, 302, 45, 303, 192, 292, 317, 162, 374, - /* 1310 */ 230, 317, 304, 317, 95, 378, 386, 387, 388, 389, - /* 1320 */ 385, 384, 380, 379, 303, 317, 292, 317, 174, 303, - /* 1330 */ 230, 241, 304, 174, 95, 230, 241, 317, 317, 95, - /* 1340 */ 317, 317, 302, 317, 317, 192, 292, 302, 317, 215, - /* 1350 */ 192, 292, 304, 317, 232, 303, 317, 304, 317, 174, - /* 1360 */ 303, 230, 250, 317, 174, 95, 230, 237, 317, 317, - /* 1370 */ 95, 317, 317, 302, 317, 317, 192, 292, 302, 317, - /* 1380 */ 317, 192, 292, 304, 317, 303, 317, 317, 304, 174, - /* 1390 */ 317, 230, 212, 317, 317, 95, 317, 317, 303, 317, - /* 1400 */ 317, 317, 174, 302, 204, 249, 192, 292, 95, 317, - /* 1410 */ 317, 303, 317, 304, 317, 174, 302, 230, 370, 192, - /* 1420 */ 292, 95, 317, 317, 317, 317, 304, 317, 317, 302, - /* 1430 */ 303, 317, 192, 292, 174, 317, 230, 239, 317, 304, - /* 1440 */ 95, 317, 317, 317, 317, 317, 317, 317, 302, 317, - /* 1450 */ 303, 192, 292, 317, 174, 317, 230, 340, 304, 317, - /* 1460 */ 95, 317, 317, 303, 317, 317, 317, 174, 302, 230, - /* 1470 */ 357, 192, 292, 95, 317, 317, 317, 317, 304, 317, - /* 1480 */ 317, 302, 303, 317, 192, 292, 174, 317, 230, 247, - /* 1490 */ 317, 304, 95, 317, 317, 303, 317, 317, 317, 174, - /* 1500 */ 302, 230, 229, 192, 292, 95, 317, 317, 317, 317, - /* 1510 */ 304, 317, 317, 302, 303, 317, 192, 292, 174, 317, - /* 1520 */ 230, 80, 317, 304, 95, 317, 317, 317, 317, 317, - /* 1530 */ 317, 317, 302, 317, 303, 192, 292, 317, 174, 317, - /* 1540 */ 230, 231, 304, 303, 95, 317, 317, 174, 317, 230, - /* 1550 */ 214, 317, 302, 95, 317, 192, 292, 317, 317, 317, - /* 1560 */ 317, 302, 304, 317, 192, 292, 303, 317, 317, 317, - /* 1570 */ 174, 304, 230, 344, 317, 303, 95, 317, 317, 174, - /* 1580 */ 317, 230, 353, 317, 302, 95, 317, 192, 292, 317, - /* 1590 */ 317, 317, 317, 302, 304, 317, 192, 292, 303, 317, - /* 1600 */ 317, 317, 174, 304, 230, 375, 317, 317, 95, 317, - /* 1610 */ 317, 317, 317, 317, 317, 317, 302, 317, 303, 192, - /* 1620 */ 292, 317, 174, 303, 230, 376, 304, 174, 95, 230, - /* 1630 */ 317, 317, 317, 95, 317, 317, 302, 317, 317, 192, - /* 1640 */ 292, 302, 317, 317, 189, 292, 304, 317, 317, 317, - /* 1650 */ 303, 304, 317, 303, 174, 317, 230, 171, 317, 230, - /* 1660 */ 95, 317, 317, 95, 317, 317, 317, 317, 302, 317, - /* 1670 */ 317, 187, 292, 303, 317, 292, 317, 184, 304, 230, - /* 1680 */ 317, 304, 317, 95, 317, 317, 317, 317, 317, 317, - /* 1690 */ 317, 317, 317, 317, 317, 292, 317, 317, 317, 317, - /* 1700 */ 317, 304, + /* 0 */ 20, 300, 85, 62, 210, 105, 232, 201, 103, 47, + /* 10 */ 249, 619, 60, 276, 334, 337, 482, 129, 225, 192, + /* 20 */ 188, 230, 9, 482, 107, 49, 48, 43, 298, 297, + /* 30 */ 302, 61, 210, 94, 64, 5, 404, 22, 315, 354, + /* 40 */ 20, 22, 93, 193, 54, 396, 169, 97, 222, 47, + /* 50 */ 210, 97, 107, 208, 485, 53, 51, 129, 225, 30, + /* 60 */ 314, 485, 28, 195, 299, 49, 48, 354, 298, 297, + /* 70 */ 302, 61, 325, 50, 64, 5, 390, 254, 315, 208, + /* 80 */ 20, 31, 83, 209, 312, 27, 169, 373, 222, 47, + /* 90 */ 210, 304, 107, 293, 208, 93, 229, 129, 225, 187, + /* 100 */ 314, 50, 28, 194, 299, 49, 48, 354, 298, 297, + /* 110 */ 302, 61, 372, 33, 64, 5, 171, 212, 315, 208, + /* 120 */ 20, 217, 83, 209, 181, 22, 159, 64, 222, 47, + /* 130 */ 261, 31, 107, 22, 312, 97, 234, 129, 225, 394, + /* 140 */ 213, 54, 6, 97, 299, 13, 48, 354, 298, 297, + /* 150 */ 302, 61, 53, 51, 64, 5, 332, 92, 315, 90, + /* 160 */ 20, 86, 83, 198, 221, 34, 167, 410, 222, 47, + /* 170 */ 210, 22, 107, 32, 208, 93, 162, 129, 225, 42, + /* 180 */ 401, 97, 28, 287, 299, 49, 48, 354, 298, 297, + /* 190 */ 302, 61, 343, 157, 64, 5, 346, 341, 342, 208, + /* 200 */ 20, 24, 93, 204, 144, 31, 288, 64, 312, 47, + /* 210 */ 187, 178, 350, 347, 335, 334, 337, 129, 225, 305, + /* 220 */ 31, 228, 28, 312, 39, 49, 48, 1, 298, 297, + /* 230 */ 302, 61, 259, 210, 64, 5, 107, 63, 315, 283, + /* 240 */ 20, 263, 93, 197, 292, 22, 190, 311, 222, 47, + /* 250 */ 210, 354, 107, 216, 208, 97, 265, 129, 200, 71, + /* 260 */ 31, 275, 28, 312, 299, 49, 48, 354, 298, 297, + /* 270 */ 302, 61, 321, 54, 64, 5, 258, 210, 315, 150, + /* 280 */ 20, 313, 81, 209, 53, 51, 179, 308, 222, 47, + /* 290 */ 176, 318, 107, 172, 397, 55, 272, 129, 225, 278, + /* 300 */ 393, 215, 6, 208, 299, 13, 48, 354, 298, 297, + /* 310 */ 302, 61, 139, 214, 64, 5, 192, 82, 315, 50, + /* 320 */ 20, 70, 83, 209, 43, 4, 175, 305, 222, 47, + /* 330 */ 31, 289, 107, 312, 324, 69, 291, 129, 225, 140, + /* 340 */ 307, 208, 14, 285, 299, 13, 48, 354, 298, 297, + /* 350 */ 302, 61, 148, 31, 64, 5, 312, 39, 315, 138, + /* 360 */ 20, 142, 83, 196, 152, 184, 174, 305, 222, 47, + /* 370 */ 31, 286, 107, 312, 305, 151, 305, 129, 225, 305, + /* 380 */ 307, 3, 14, 55, 299, 13, 48, 354, 298, 297, + /* 390 */ 302, 61, 8, 23, 64, 5, 265, 68, 315, 161, + /* 400 */ 20, 156, 93, 204, 481, 189, 165, 52, 222, 47, + /* 410 */ 384, 208, 107, 210, 305, 308, 305, 129, 225, 2, + /* 420 */ 11, 155, 28, 72, 299, 49, 48, 354, 298, 297, + /* 430 */ 302, 61, 8, 294, 64, 208, 305, 280, 315, 273, + /* 440 */ 20, 135, 93, 205, 31, 164, 182, 312, 222, 47, + /* 450 */ 41, 40, 107, 353, 239, 238, 319, 129, 225, 191, + /* 460 */ 305, 153, 28, 208, 299, 49, 48, 354, 298, 297, + /* 470 */ 302, 61, 147, 307, 64, 352, 305, 216, 185, 245, + /* 480 */ 20, 351, 93, 202, 268, 306, 371, 305, 310, 47, + /* 490 */ 313, 40, 208, 208, 370, 208, 375, 129, 225, 308, + /* 500 */ 344, 208, 28, 208, 237, 49, 48, 208, 298, 297, + /* 510 */ 302, 61, 227, 77, 64, 31, 248, 88, 312, 7, + /* 520 */ 12, 358, 360, 15, 18, 359, 368, 17, 16, 233, + /* 530 */ 361, 379, 251, 77, 331, 374, 320, 208, 208, 369, + /* 540 */ 378, 377, 208, 208, 7, 12, 358, 360, 15, 18, + /* 550 */ 359, 368, 17, 16, 357, 301, 173, 333, 77, 328, + /* 560 */ 75, 400, 208, 269, 369, 378, 377, 145, 208, 7, + /* 570 */ 12, 358, 360, 15, 18, 359, 368, 17, 16, 376, + /* 580 */ 208, 134, 305, 78, 128, 270, 208, 132, 329, 369, + /* 590 */ 378, 377, 208, 353, 26, 353, 353, 240, 203, 353, + /* 600 */ 7, 12, 358, 360, 15, 18, 359, 368, 17, 16, + /* 610 */ 7, 12, 358, 360, 15, 18, 359, 368, 17, 16, + /* 620 */ 369, 378, 377, 166, 24, 45, 170, 397, 177, 397, + /* 630 */ 369, 378, 377, 210, 76, 186, 279, 402, 383, 382, + /* 640 */ 364, 363, 365, 366, 367, 362, 353, 243, 88, 102, + /* 650 */ 7, 12, 358, 360, 15, 18, 359, 368, 17, 16, + /* 660 */ 483, 406, 208, 260, 88, 326, 88, 483, 168, 397, + /* 670 */ 369, 378, 377, 7, 12, 358, 360, 15, 18, 359, + /* 680 */ 368, 17, 16, 7, 12, 358, 360, 15, 18, 359, + /* 690 */ 368, 17, 16, 369, 378, 377, 45, 31, 91, 398, + /* 700 */ 207, 391, 143, 369, 378, 377, 208, 395, 402, 383, + /* 710 */ 382, 364, 363, 365, 366, 367, 362, 305, 133, 31, + /* 720 */ 336, 74, 224, 339, 340, 349, 130, 327, 8, 267, + /* 730 */ 353, 356, 315, 73, 89, 45, 178, 330, 353, 20, + /* 740 */ 180, 403, 222, 19, 158, 353, 107, 402, 383, 382, + /* 750 */ 364, 363, 365, 366, 367, 362, 129, 315, 299, 305, + /* 760 */ 129, 354, 244, 25, 35, 149, 317, 222, 59, 104, + /* 770 */ 57, 107, 295, 271, 281, 101, 308, 315, 267, 314, + /* 780 */ 264, 163, 199, 299, 348, 131, 354, 222, 124, 290, + /* 790 */ 117, 107, 19, 309, 322, 355, 305, 218, 99, 314, + /* 800 */ 315, 154, 199, 299, 29, 274, 354, 323, 149, 129, + /* 810 */ 222, 127, 137, 112, 107, 355, 305, 246, 215, 1, + /* 820 */ 234, 303, 314, 262, 37, 199, 299, 305, 33, 354, + /* 830 */ 38, 36, 481, 338, 95, 392, 67, 315, 355, 208, + /* 840 */ 257, 313, 345, 318, 208, 136, 55, 222, 58, 106, + /* 850 */ 56, 107, 242, 29, 274, 316, 46, 277, 255, 314, + /* 860 */ 52, 40, 199, 299, 315, 307, 354, 10, 45, 21, + /* 870 */ 65, 160, 183, 342, 222, 355, 342, 342, 107, 342, + /* 880 */ 402, 383, 382, 364, 363, 365, 366, 367, 362, 315, + /* 890 */ 299, 342, 342, 354, 342, 342, 342, 149, 342, 222, + /* 900 */ 127, 342, 113, 107, 342, 342, 342, 342, 342, 342, + /* 910 */ 342, 314, 315, 342, 199, 299, 342, 342, 354, 342, + /* 920 */ 149, 342, 222, 127, 342, 120, 107, 355, 231, 342, + /* 930 */ 342, 342, 342, 342, 314, 342, 342, 199, 299, 342, + /* 940 */ 342, 354, 45, 342, 342, 342, 342, 342, 342, 342, + /* 950 */ 355, 342, 342, 342, 402, 383, 382, 364, 363, 365, + /* 960 */ 366, 367, 362, 342, 44, 315, 96, 405, 342, 342, + /* 970 */ 342, 342, 342, 149, 342, 222, 127, 342, 119, 107, + /* 980 */ 342, 342, 409, 342, 342, 342, 342, 314, 342, 342, + /* 990 */ 199, 299, 407, 408, 354, 342, 342, 342, 342, 342, + /* 1000 */ 342, 315, 342, 355, 342, 342, 342, 342, 342, 149, + /* 1010 */ 342, 222, 127, 342, 123, 107, 342, 342, 342, 356, + /* 1020 */ 342, 342, 342, 314, 342, 342, 199, 299, 342, 342, + /* 1030 */ 354, 342, 342, 45, 342, 342, 342, 342, 342, 355, + /* 1040 */ 342, 342, 342, 342, 342, 402, 383, 382, 364, 363, + /* 1050 */ 365, 366, 367, 362, 342, 315, 342, 342, 342, 342, + /* 1060 */ 342, 342, 342, 149, 342, 222, 126, 342, 111, 107, + /* 1070 */ 342, 342, 342, 342, 342, 342, 342, 314, 342, 342, + /* 1080 */ 199, 299, 342, 342, 354, 342, 342, 342, 342, 342, + /* 1090 */ 342, 315, 342, 355, 342, 342, 342, 342, 342, 141, + /* 1100 */ 342, 222, 127, 342, 121, 107, 342, 342, 342, 342, + /* 1110 */ 342, 342, 342, 314, 342, 342, 199, 299, 342, 342, + /* 1120 */ 354, 342, 342, 315, 342, 342, 342, 342, 342, 355, + /* 1130 */ 342, 149, 342, 222, 127, 342, 122, 107, 342, 342, + /* 1140 */ 342, 342, 342, 315, 342, 314, 342, 342, 199, 299, + /* 1150 */ 342, 149, 354, 222, 127, 342, 110, 107, 342, 342, + /* 1160 */ 342, 355, 342, 342, 342, 314, 342, 342, 199, 299, + /* 1170 */ 342, 342, 354, 342, 315, 342, 342, 342, 342, 342, + /* 1180 */ 342, 355, 149, 342, 222, 126, 342, 114, 107, 342, + /* 1190 */ 342, 342, 342, 342, 315, 342, 314, 342, 342, 199, + /* 1200 */ 299, 342, 149, 354, 222, 127, 342, 115, 107, 342, + /* 1210 */ 342, 342, 355, 342, 342, 342, 314, 342, 342, 199, + /* 1220 */ 299, 342, 342, 354, 342, 342, 315, 342, 342, 342, + /* 1230 */ 342, 342, 355, 342, 149, 342, 222, 127, 342, 116, + /* 1240 */ 107, 342, 342, 342, 342, 342, 315, 342, 314, 342, + /* 1250 */ 342, 199, 299, 342, 146, 354, 222, 387, 342, 342, + /* 1260 */ 107, 342, 342, 342, 355, 342, 342, 342, 314, 342, + /* 1270 */ 342, 199, 299, 342, 342, 354, 342, 342, 342, 342, + /* 1280 */ 342, 342, 342, 342, 315, 342, 342, 206, 388, 342, + /* 1290 */ 342, 342, 149, 342, 222, 125, 342, 109, 107, 342, + /* 1300 */ 342, 342, 342, 342, 342, 342, 314, 342, 342, 199, + /* 1310 */ 299, 342, 342, 354, 342, 342, 315, 342, 342, 342, + /* 1320 */ 342, 342, 355, 342, 149, 342, 222, 127, 342, 118, + /* 1330 */ 107, 342, 342, 342, 342, 342, 315, 342, 314, 342, + /* 1340 */ 342, 199, 299, 342, 66, 354, 80, 84, 108, 342, + /* 1350 */ 98, 342, 342, 342, 355, 342, 342, 342, 314, 342, + /* 1360 */ 342, 199, 299, 342, 342, 354, 342, 342, 342, 342, + /* 1370 */ 342, 342, 342, 342, 315, 342, 342, 342, 342, 342, + /* 1380 */ 342, 342, 169, 342, 222, 253, 342, 315, 107, 342, + /* 1390 */ 342, 342, 342, 342, 342, 146, 314, 222, 387, 199, + /* 1400 */ 299, 107, 342, 354, 342, 342, 342, 342, 342, 314, + /* 1410 */ 252, 342, 199, 299, 315, 342, 354, 342, 342, 342, + /* 1420 */ 342, 342, 66, 342, 79, 100, 108, 342, 98, 386, + /* 1430 */ 342, 342, 342, 342, 315, 342, 314, 342, 342, 199, + /* 1440 */ 299, 342, 169, 354, 222, 253, 342, 342, 107, 342, + /* 1450 */ 342, 342, 342, 342, 342, 342, 314, 342, 342, 199, + /* 1460 */ 299, 342, 342, 354, 315, 342, 342, 342, 342, 342, + /* 1470 */ 219, 342, 169, 342, 222, 253, 342, 315, 107, 342, + /* 1480 */ 342, 342, 342, 342, 342, 169, 314, 222, 253, 199, + /* 1490 */ 299, 107, 342, 354, 342, 342, 342, 342, 342, 314, + /* 1500 */ 399, 342, 199, 299, 315, 342, 354, 342, 342, 342, + /* 1510 */ 342, 342, 169, 220, 222, 87, 342, 342, 107, 342, + /* 1520 */ 342, 342, 342, 342, 315, 342, 314, 342, 342, 199, + /* 1530 */ 299, 342, 169, 354, 222, 284, 342, 342, 107, 342, + /* 1540 */ 342, 342, 342, 342, 342, 342, 314, 342, 342, 199, + /* 1550 */ 299, 342, 342, 354, 315, 342, 342, 342, 342, 342, + /* 1560 */ 342, 342, 169, 342, 211, 236, 342, 315, 107, 342, + /* 1570 */ 342, 342, 342, 342, 342, 169, 314, 222, 226, 199, + /* 1580 */ 299, 107, 342, 354, 342, 342, 342, 342, 342, 314, + /* 1590 */ 315, 342, 199, 299, 342, 342, 354, 342, 169, 342, + /* 1600 */ 222, 380, 342, 315, 107, 342, 342, 342, 342, 342, + /* 1610 */ 342, 169, 314, 222, 381, 199, 299, 107, 342, 354, + /* 1620 */ 342, 342, 342, 315, 342, 314, 342, 342, 199, 299, + /* 1630 */ 342, 169, 354, 222, 235, 342, 315, 107, 342, 342, + /* 1640 */ 342, 342, 342, 342, 169, 314, 222, 389, 199, 299, + /* 1650 */ 107, 342, 354, 342, 342, 342, 342, 342, 314, 342, + /* 1660 */ 342, 199, 299, 342, 342, 354, 315, 342, 342, 342, + /* 1670 */ 342, 315, 342, 342, 169, 342, 222, 223, 342, 169, + /* 1680 */ 107, 222, 250, 342, 342, 107, 342, 342, 314, 342, + /* 1690 */ 342, 199, 299, 314, 315, 354, 199, 299, 342, 342, + /* 1700 */ 354, 342, 169, 315, 222, 247, 342, 342, 107, 342, + /* 1710 */ 342, 169, 342, 222, 282, 342, 314, 107, 342, 199, + /* 1720 */ 299, 342, 342, 354, 342, 314, 315, 342, 199, 299, + /* 1730 */ 342, 342, 354, 342, 169, 315, 222, 256, 342, 342, + /* 1740 */ 107, 342, 342, 169, 342, 222, 266, 342, 314, 107, + /* 1750 */ 342, 199, 299, 342, 342, 354, 342, 314, 342, 342, + /* 1760 */ 199, 299, 342, 342, 354, 342, 315, 342, 342, 342, + /* 1770 */ 342, 315, 342, 342, 169, 342, 222, 241, 342, 169, + /* 1780 */ 107, 222, 385, 342, 342, 107, 342, 342, 314, 342, + /* 1790 */ 342, 199, 299, 314, 315, 354, 199, 299, 342, 342, + /* 1800 */ 354, 342, 169, 342, 222, 296, 342, 342, 107, 342, + /* 1810 */ 342, 342, 342, 342, 342, 342, 314, 342, 342, 199, + /* 1820 */ 299, 342, 342, 354, ); static public $yy_lookahead = array( - /* 0 */ 12, 105, 14, 15, 108, 17, 110, 19, 106, 21, - /* 10 */ 22, 76, 77, 78, 79, 80, 8, 29, 30, 79, - /* 20 */ 12, 84, 34, 34, 114, 37, 38, 90, 40, 41, - /* 30 */ 42, 43, 18, 44, 46, 47, 99, 29, 12, 79, - /* 40 */ 14, 15, 102, 4, 5, 6, 28, 21, 9, 10, - /* 50 */ 11, 43, 34, 39, 8, 29, 30, 117, 12, 21, - /* 60 */ 34, 47, 44, 37, 38, 90, 40, 41, 42, 43, - /* 70 */ 32, 33, 46, 47, 48, 29, 12, 117, 14, 15, - /* 80 */ 13, 73, 74, 20, 21, 21, 48, 12, 21, 43, - /* 90 */ 15, 16, 12, 29, 30, 15, 16, 84, 34, 32, - /* 100 */ 33, 37, 38, 90, 40, 41, 42, 43, 34, 1, - /* 110 */ 46, 47, 99, 39, 12, 1, 14, 15, 44, 73, - /* 120 */ 74, 13, 48, 21, 24, 45, 15, 13, 17, 12, - /* 130 */ 19, 29, 30, 22, 20, 84, 34, 1, 12, 37, - /* 140 */ 38, 15, 40, 41, 42, 43, 1, 91, 46, 47, - /* 150 */ 99, 34, 12, 35, 14, 15, 12, 13, 13, 15, - /* 160 */ 13, 21, 85, 18, 113, 20, 89, 20, 60, 29, - /* 170 */ 30, 45, 28, 73, 34, 13, 1, 37, 38, 34, - /* 180 */ 40, 41, 42, 43, 107, 84, 46, 47, 13, 44, - /* 190 */ 12, 90, 14, 15, 12, 20, 60, 15, 16, 21, - /* 200 */ 99, 12, 13, 13, 15, 85, 24, 29, 30, 89, - /* 210 */ 20, 84, 34, 16, 24, 37, 38, 28, 40, 41, - /* 220 */ 42, 43, 31, 103, 46, 47, 99, 107, 12, 73, - /* 230 */ 14, 15, 1, 84, 13, 60, 39, 21, 111, 12, - /* 240 */ 13, 20, 15, 1, 13, 29, 30, 2, 99, 18, - /* 250 */ 34, 20, 15, 37, 38, 34, 40, 41, 42, 43, - /* 260 */ 111, 16, 46, 47, 16, 44, 12, 30, 14, 15, - /* 270 */ 28, 12, 84, 14, 15, 21, 12, 13, 21, 15, - /* 280 */ 14, 15, 12, 29, 30, 15, 31, 99, 34, 32, - /* 290 */ 33, 37, 38, 84, 40, 41, 42, 43, 36, 90, - /* 300 */ 46, 47, 114, 48, 12, 46, 14, 15, 99, 13, - /* 310 */ 84, 39, 46, 21, 106, 45, 20, 109, 16, 47, - /* 320 */ 24, 29, 30, 95, 13, 99, 34, 14, 15, 37, - /* 330 */ 38, 20, 40, 41, 42, 43, 34, 109, 46, 47, - /* 340 */ 114, 16, 12, 18, 14, 15, 44, 78, 79, 80, - /* 350 */ 13, 21, 12, 1, 23, 15, 1, 20, 13, 29, - /* 360 */ 30, 15, 13, 84, 34, 20, 23, 37, 38, 20, - /* 370 */ 40, 41, 42, 43, 31, 20, 46, 47, 99, 27, - /* 380 */ 96, 50, 51, 52, 53, 54, 55, 56, 57, 58, - /* 390 */ 59, 45, 113, 109, 80, 12, 82, 14, 15, 91, - /* 400 */ 84, 70, 71, 72, 21, 3, 4, 5, 6, 7, - /* 410 */ 8, 9, 29, 30, 12, 99, 95, 34, 13, 35, - /* 420 */ 37, 38, 15, 40, 41, 42, 43, 111, 105, 46, - /* 430 */ 109, 29, 84, 110, 50, 51, 52, 53, 54, 55, - /* 440 */ 56, 57, 58, 59, 84, 13, 84, 99, 35, 34, - /* 450 */ 13, 18, 20, 13, 70, 71, 72, 20, 2, 99, - /* 460 */ 20, 99, 13, 50, 51, 52, 53, 54, 55, 56, - /* 470 */ 57, 58, 59, 35, 13, 13, 20, 13, 92, 93, - /* 480 */ 13, 20, 20, 70, 71, 72, 49, 20, 50, 51, - /* 490 */ 52, 53, 54, 55, 56, 57, 58, 59, 61, 62, - /* 500 */ 63, 64, 65, 66, 67, 68, 69, 106, 70, 71, - /* 510 */ 72, 20, 95, 95, 50, 51, 52, 53, 54, 55, - /* 520 */ 56, 57, 58, 59, 13, 13, 109, 109, 1, 110, - /* 530 */ 13, 20, 20, 13, 70, 71, 72, 20, 95, 84, - /* 540 */ 20, 50, 51, 52, 53, 54, 55, 56, 57, 58, - /* 550 */ 59, 91, 109, 12, 99, 12, 15, 14, 15, 13, - /* 560 */ 13, 70, 71, 72, 21, 79, 91, 20, 20, 83, - /* 570 */ 2, 85, 29, 30, 26, 89, 12, 34, 95, 15, - /* 580 */ 37, 38, 106, 40, 41, 42, 43, 101, 14, 46, - /* 590 */ 14, 84, 109, 107, 95, 95, 50, 51, 52, 53, - /* 600 */ 54, 55, 56, 57, 58, 59, 99, 13, 109, 109, - /* 610 */ 12, 95, 14, 15, 20, 13, 70, 71, 72, 21, - /* 620 */ 25, 48, 20, 46, 13, 109, 13, 29, 30, 105, - /* 630 */ 46, 20, 34, 20, 110, 37, 38, 105, 40, 41, - /* 640 */ 42, 43, 110, 84, 46, 84, 15, 50, 51, 52, - /* 650 */ 53, 54, 55, 56, 57, 58, 59, 106, 99, 15, - /* 660 */ 99, 16, 12, 2, 14, 15, 79, 70, 71, 72, - /* 670 */ 83, 15, 85, 86, 87, 88, 89, 13, 13, 79, - /* 680 */ 30, 14, 20, 83, 97, 85, 14, 100, 101, 89, - /* 690 */ 40, 41, 14, 35, 107, 15, 79, 97, 2, 112, - /* 700 */ 83, 101, 85, 86, 87, 88, 89, 107, 13, 35, - /* 710 */ 13, 24, 13, 15, 97, 39, 79, 100, 101, 35, - /* 720 */ 83, 30, 85, 15, 107, 15, 89, 79, 36, 112, - /* 730 */ 27, 83, 99, 85, 86, 87, 88, 89, 101, 20, - /* 740 */ 20, 109, 14, 13, 107, 97, 108, 79, 100, 101, - /* 750 */ 20, 83, 79, 85, 113, 107, 83, 89, 85, 86, - /* 760 */ 112, 88, 89, 34, 13, 92, 10, 98, 2, 101, - /* 770 */ 97, 20, 20, 100, 101, 107, 94, 94, 103, 49, - /* 780 */ 107, 81, 92, 106, 118, 112, 118, 118, 118, 118, - /* 790 */ 111, 61, 62, 63, 64, 65, 66, 67, 68, 69, - /* 800 */ 49, 118, 118, 118, 118, 118, 118, 118, 118, 118, - /* 810 */ 118, 118, 61, 62, 63, 64, 65, 66, 67, 68, - /* 820 */ 69, 118, 118, 79, 118, 118, 118, 83, 79, 85, - /* 830 */ 86, 118, 83, 89, 85, 86, 118, 88, 89, 118, - /* 840 */ 118, 97, 118, 118, 100, 101, 97, 118, 118, 100, - /* 850 */ 101, 107, 118, 118, 118, 118, 107, 118, 118, 115, - /* 860 */ 116, 112, 118, 118, 118, 79, 118, 118, 118, 83, - /* 870 */ 118, 85, 86, 118, 88, 89, 118, 118, 79, 118, - /* 880 */ 118, 118, 83, 97, 85, 118, 100, 101, 89, 118, - /* 890 */ 118, 118, 118, 107, 118, 79, 97, 118, 112, 83, - /* 900 */ 101, 85, 86, 118, 88, 89, 107, 118, 118, 118, - /* 910 */ 118, 118, 118, 97, 118, 79, 100, 101, 118, 83, - /* 920 */ 118, 85, 86, 107, 88, 89, 118, 118, 112, 118, - /* 930 */ 118, 118, 118, 97, 118, 118, 100, 101, 118, 118, - /* 940 */ 79, 118, 118, 107, 83, 118, 85, 86, 112, 88, - /* 950 */ 89, 118, 118, 118, 118, 118, 118, 118, 97, 118, - /* 960 */ 118, 100, 101, 118, 118, 118, 79, 118, 107, 118, - /* 970 */ 83, 118, 85, 112, 118, 79, 89, 118, 118, 83, - /* 980 */ 118, 85, 86, 118, 88, 89, 118, 118, 101, 118, - /* 990 */ 118, 118, 118, 97, 107, 79, 100, 101, 118, 83, - /* 1000 */ 118, 85, 86, 107, 88, 89, 118, 118, 112, 118, - /* 1010 */ 118, 35, 118, 97, 118, 118, 100, 101, 118, 118, - /* 1020 */ 118, 118, 118, 107, 118, 49, 118, 118, 112, 118, - /* 1030 */ 118, 118, 118, 118, 118, 118, 118, 61, 62, 63, - /* 1040 */ 64, 65, 66, 67, 68, 69, 118, 118, 79, 118, - /* 1050 */ 118, 118, 83, 118, 85, 86, 118, 88, 89, 118, - /* 1060 */ 118, 118, 118, 118, 118, 118, 97, 118, 79, 100, - /* 1070 */ 101, 118, 83, 79, 85, 118, 107, 83, 89, 85, - /* 1080 */ 86, 112, 88, 89, 118, 118, 118, 118, 118, 118, - /* 1090 */ 101, 97, 118, 79, 100, 101, 107, 83, 118, 85, - /* 1100 */ 86, 107, 88, 89, 118, 118, 112, 118, 118, 118, - /* 1110 */ 118, 97, 118, 118, 100, 101, 118, 118, 79, 118, - /* 1120 */ 118, 107, 83, 118, 85, 86, 112, 88, 89, 35, - /* 1130 */ 118, 118, 118, 118, 118, 118, 97, 118, 118, 100, - /* 1140 */ 101, 118, 118, 49, 118, 118, 107, 118, 118, 118, - /* 1150 */ 118, 112, 118, 118, 118, 61, 62, 63, 64, 65, - /* 1160 */ 66, 67, 68, 69, 118, 118, 118, 118, 118, 118, - /* 1170 */ 118, 79, 118, 118, 118, 83, 118, 85, 86, 118, - /* 1180 */ 88, 89, 118, 118, 118, 118, 118, 118, 118, 97, - /* 1190 */ 118, 79, 100, 101, 118, 83, 118, 85, 86, 107, - /* 1200 */ 88, 89, 118, 118, 112, 118, 118, 118, 118, 97, - /* 1210 */ 118, 118, 100, 101, 118, 118, 79, 118, 118, 107, - /* 1220 */ 83, 118, 85, 86, 112, 118, 89, 118, 118, 118, - /* 1230 */ 118, 118, 118, 118, 97, 118, 118, 100, 101, 79, - /* 1240 */ 118, 118, 118, 83, 107, 85, 86, 87, 118, 89, - /* 1250 */ 118, 118, 118, 116, 118, 118, 118, 97, 79, 118, - /* 1260 */ 100, 101, 83, 118, 85, 86, 87, 107, 89, 118, - /* 1270 */ 118, 79, 118, 118, 118, 83, 97, 85, 86, 100, - /* 1280 */ 101, 89, 118, 118, 79, 118, 107, 118, 83, 97, - /* 1290 */ 85, 86, 100, 101, 89, 118, 104, 118, 118, 107, - /* 1300 */ 118, 118, 97, 49, 79, 100, 101, 118, 83, 104, - /* 1310 */ 85, 118, 107, 118, 89, 61, 62, 63, 64, 65, - /* 1320 */ 66, 67, 68, 69, 79, 118, 101, 118, 83, 79, - /* 1330 */ 85, 86, 107, 83, 89, 85, 86, 118, 118, 89, - /* 1340 */ 118, 118, 97, 118, 118, 100, 101, 97, 118, 104, - /* 1350 */ 100, 101, 107, 118, 104, 79, 118, 107, 118, 83, - /* 1360 */ 79, 85, 86, 118, 83, 89, 85, 86, 118, 118, - /* 1370 */ 89, 118, 118, 97, 118, 118, 100, 101, 97, 118, - /* 1380 */ 118, 100, 101, 107, 118, 79, 118, 118, 107, 83, - /* 1390 */ 118, 85, 86, 118, 118, 89, 118, 118, 79, 118, - /* 1400 */ 118, 118, 83, 97, 85, 86, 100, 101, 89, 118, - /* 1410 */ 118, 79, 118, 107, 118, 83, 97, 85, 86, 100, - /* 1420 */ 101, 89, 118, 118, 118, 118, 107, 118, 118, 97, - /* 1430 */ 79, 118, 100, 101, 83, 118, 85, 86, 118, 107, - /* 1440 */ 89, 118, 118, 118, 118, 118, 118, 118, 97, 118, - /* 1450 */ 79, 100, 101, 118, 83, 118, 85, 86, 107, 118, - /* 1460 */ 89, 118, 118, 79, 118, 118, 118, 83, 97, 85, - /* 1470 */ 86, 100, 101, 89, 118, 118, 118, 118, 107, 118, - /* 1480 */ 118, 97, 79, 118, 100, 101, 83, 118, 85, 86, - /* 1490 */ 118, 107, 89, 118, 118, 79, 118, 118, 118, 83, - /* 1500 */ 97, 85, 86, 100, 101, 89, 118, 118, 118, 118, - /* 1510 */ 107, 118, 118, 97, 79, 118, 100, 101, 83, 118, - /* 1520 */ 85, 86, 118, 107, 89, 118, 118, 118, 118, 118, - /* 1530 */ 118, 118, 97, 118, 79, 100, 101, 118, 83, 118, - /* 1540 */ 85, 86, 107, 79, 89, 118, 118, 83, 118, 85, - /* 1550 */ 86, 118, 97, 89, 118, 100, 101, 118, 118, 118, - /* 1560 */ 118, 97, 107, 118, 100, 101, 79, 118, 118, 118, - /* 1570 */ 83, 107, 85, 86, 118, 79, 89, 118, 118, 83, - /* 1580 */ 118, 85, 86, 118, 97, 89, 118, 100, 101, 118, - /* 1590 */ 118, 118, 118, 97, 107, 118, 100, 101, 79, 118, - /* 1600 */ 118, 118, 83, 107, 85, 86, 118, 118, 89, 118, - /* 1610 */ 118, 118, 118, 118, 118, 118, 97, 118, 79, 100, - /* 1620 */ 101, 118, 83, 79, 85, 86, 107, 83, 89, 85, - /* 1630 */ 118, 118, 118, 89, 118, 118, 97, 118, 118, 100, - /* 1640 */ 101, 97, 118, 118, 100, 101, 107, 118, 118, 118, - /* 1650 */ 79, 107, 118, 79, 83, 118, 85, 83, 118, 85, - /* 1660 */ 89, 118, 118, 89, 118, 118, 118, 118, 97, 118, - /* 1670 */ 118, 100, 101, 79, 118, 101, 118, 83, 107, 85, - /* 1680 */ 118, 107, 118, 89, 118, 118, 118, 118, 118, 118, - /* 1690 */ 118, 118, 118, 118, 118, 101, 118, 118, 118, 118, - /* 1700 */ 118, 107, + /* 0 */ 22, 117, 24, 25, 1, 27, 25, 29, 124, 31, + /* 10 */ 32, 86, 87, 88, 89, 90, 23, 39, 40, 49, + /* 20 */ 99, 40, 44, 30, 103, 47, 48, 57, 50, 51, + /* 30 */ 52, 53, 1, 24, 56, 57, 23, 44, 89, 118, + /* 40 */ 22, 44, 24, 25, 31, 124, 97, 54, 99, 31, + /* 50 */ 1, 54, 103, 30, 23, 42, 43, 39, 40, 36, + /* 60 */ 111, 30, 44, 114, 115, 47, 48, 118, 50, 51, + /* 70 */ 52, 53, 23, 70, 56, 57, 58, 28, 89, 30, + /* 80 */ 22, 22, 24, 25, 25, 26, 97, 23, 99, 31, + /* 90 */ 1, 25, 103, 34, 30, 24, 25, 39, 40, 104, + /* 100 */ 111, 70, 44, 114, 115, 47, 48, 118, 50, 51, + /* 110 */ 52, 53, 23, 26, 56, 57, 33, 28, 89, 30, + /* 120 */ 22, 55, 24, 25, 41, 44, 97, 56, 99, 31, + /* 130 */ 49, 22, 103, 44, 25, 54, 49, 39, 40, 58, + /* 140 */ 111, 31, 44, 54, 115, 47, 48, 118, 50, 51, + /* 150 */ 52, 53, 42, 43, 56, 57, 9, 10, 89, 12, + /* 160 */ 22, 14, 24, 25, 55, 38, 97, 23, 99, 31, + /* 170 */ 1, 44, 103, 22, 30, 24, 25, 39, 40, 22, + /* 180 */ 111, 54, 44, 106, 115, 47, 48, 118, 50, 51, + /* 190 */ 52, 53, 23, 119, 56, 57, 4, 5, 6, 30, + /* 200 */ 22, 44, 24, 25, 98, 22, 23, 56, 25, 31, + /* 210 */ 104, 19, 20, 21, 88, 89, 90, 39, 40, 113, + /* 220 */ 22, 38, 44, 25, 26, 47, 48, 26, 50, 51, + /* 230 */ 52, 53, 99, 1, 56, 57, 103, 25, 89, 27, + /* 240 */ 22, 29, 24, 25, 32, 44, 97, 23, 99, 31, + /* 250 */ 1, 118, 103, 55, 30, 54, 89, 39, 40, 95, + /* 260 */ 22, 23, 44, 25, 115, 47, 48, 118, 50, 51, + /* 270 */ 52, 53, 23, 31, 56, 57, 38, 1, 89, 119, + /* 280 */ 22, 121, 24, 25, 42, 43, 97, 34, 99, 31, + /* 290 */ 105, 120, 103, 122, 123, 28, 23, 39, 40, 132, + /* 300 */ 58, 2, 44, 30, 115, 47, 48, 118, 50, 51, + /* 310 */ 52, 53, 98, 37, 56, 57, 49, 24, 89, 70, + /* 320 */ 22, 105, 24, 25, 57, 26, 97, 113, 99, 31, + /* 330 */ 22, 23, 103, 25, 23, 105, 83, 39, 40, 119, + /* 340 */ 126, 30, 44, 23, 115, 47, 48, 118, 50, 51, + /* 350 */ 52, 53, 98, 22, 56, 57, 25, 26, 89, 98, + /* 360 */ 22, 98, 24, 25, 98, 104, 97, 113, 99, 31, + /* 370 */ 22, 23, 103, 25, 113, 119, 113, 39, 40, 113, + /* 380 */ 126, 26, 44, 28, 115, 47, 48, 118, 50, 51, + /* 390 */ 52, 53, 129, 41, 56, 57, 89, 105, 89, 98, + /* 400 */ 22, 98, 24, 25, 23, 104, 97, 2, 99, 31, + /* 410 */ 58, 30, 103, 1, 113, 34, 113, 39, 40, 30, + /* 420 */ 31, 98, 44, 116, 115, 47, 48, 118, 50, 51, + /* 430 */ 52, 53, 129, 23, 56, 30, 113, 23, 89, 132, + /* 440 */ 22, 109, 24, 25, 22, 98, 97, 25, 99, 31, + /* 450 */ 38, 128, 103, 121, 24, 25, 23, 39, 40, 23, + /* 460 */ 113, 98, 44, 30, 115, 47, 48, 118, 50, 51, + /* 470 */ 52, 53, 98, 126, 56, 90, 113, 55, 104, 110, + /* 480 */ 22, 96, 24, 25, 23, 23, 23, 113, 23, 31, + /* 490 */ 121, 128, 30, 30, 23, 30, 23, 39, 40, 34, + /* 500 */ 23, 30, 44, 30, 45, 47, 48, 30, 50, 51, + /* 510 */ 52, 53, 91, 92, 56, 22, 93, 94, 25, 60, + /* 520 */ 61, 62, 63, 64, 65, 66, 67, 68, 69, 45, + /* 530 */ 23, 23, 91, 92, 15, 23, 23, 30, 30, 80, + /* 540 */ 81, 82, 30, 30, 60, 61, 62, 63, 64, 65, + /* 550 */ 66, 67, 68, 69, 45, 23, 25, 91, 92, 16, + /* 560 */ 17, 23, 30, 23, 80, 81, 82, 98, 30, 60, + /* 570 */ 61, 62, 63, 64, 65, 66, 67, 68, 69, 23, + /* 580 */ 30, 109, 113, 109, 109, 23, 30, 109, 13, 80, + /* 590 */ 81, 82, 30, 121, 35, 121, 121, 106, 107, 121, + /* 600 */ 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, + /* 610 */ 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, + /* 620 */ 80, 81, 82, 33, 44, 59, 122, 123, 122, 123, + /* 630 */ 80, 81, 82, 1, 109, 23, 23, 71, 72, 73, + /* 640 */ 74, 75, 76, 77, 78, 79, 121, 93, 94, 30, + /* 650 */ 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, + /* 660 */ 23, 23, 30, 93, 94, 93, 94, 30, 122, 123, + /* 670 */ 80, 81, 82, 60, 61, 62, 63, 64, 65, 66, + /* 680 */ 67, 68, 69, 60, 61, 62, 63, 64, 65, 66, + /* 690 */ 67, 68, 69, 80, 81, 82, 59, 22, 24, 23, + /* 700 */ 25, 56, 98, 80, 81, 82, 30, 58, 71, 72, + /* 710 */ 73, 74, 75, 76, 77, 78, 79, 113, 109, 22, + /* 720 */ 3, 4, 25, 6, 7, 8, 109, 11, 129, 8, + /* 730 */ 121, 45, 89, 109, 24, 59, 19, 18, 121, 22, + /* 740 */ 97, 45, 99, 22, 98, 121, 103, 71, 72, 73, + /* 750 */ 74, 75, 76, 77, 78, 79, 39, 89, 115, 113, + /* 760 */ 39, 118, 25, 41, 46, 97, 25, 99, 100, 101, + /* 770 */ 102, 103, 83, 45, 53, 45, 34, 89, 8, 111, + /* 780 */ 23, 98, 114, 115, 20, 97, 118, 99, 100, 101, + /* 790 */ 102, 103, 22, 25, 25, 127, 113, 37, 24, 111, + /* 800 */ 89, 98, 114, 115, 83, 84, 118, 25, 97, 39, + /* 810 */ 99, 100, 98, 102, 103, 127, 113, 106, 2, 26, + /* 820 */ 49, 40, 111, 53, 2, 114, 115, 113, 26, 118, + /* 830 */ 46, 2, 23, 5, 24, 56, 25, 89, 127, 30, + /* 840 */ 25, 121, 113, 120, 30, 97, 28, 99, 100, 101, + /* 850 */ 102, 103, 112, 83, 84, 123, 30, 30, 108, 111, + /* 860 */ 2, 128, 114, 115, 89, 126, 118, 108, 59, 44, + /* 870 */ 119, 119, 97, 133, 99, 127, 133, 133, 103, 133, + /* 880 */ 71, 72, 73, 74, 75, 76, 77, 78, 79, 89, + /* 890 */ 115, 133, 133, 118, 133, 133, 133, 97, 133, 99, + /* 900 */ 100, 133, 102, 103, 133, 133, 133, 133, 133, 133, + /* 910 */ 133, 111, 89, 133, 114, 115, 133, 133, 118, 133, + /* 920 */ 97, 133, 99, 100, 133, 102, 103, 127, 45, 133, + /* 930 */ 133, 133, 133, 133, 111, 133, 133, 114, 115, 133, + /* 940 */ 133, 118, 59, 133, 133, 133, 133, 133, 133, 133, + /* 950 */ 127, 133, 133, 133, 71, 72, 73, 74, 75, 76, + /* 960 */ 77, 78, 79, 133, 22, 89, 24, 25, 133, 133, + /* 970 */ 133, 133, 133, 97, 133, 99, 100, 133, 102, 103, + /* 980 */ 133, 133, 40, 133, 133, 133, 133, 111, 133, 133, + /* 990 */ 114, 115, 50, 51, 118, 133, 133, 133, 133, 133, + /* 1000 */ 133, 89, 133, 127, 133, 133, 133, 133, 133, 97, + /* 1010 */ 133, 99, 100, 133, 102, 103, 133, 133, 133, 45, + /* 1020 */ 133, 133, 133, 111, 133, 133, 114, 115, 133, 133, + /* 1030 */ 118, 133, 133, 59, 133, 133, 133, 133, 133, 127, + /* 1040 */ 133, 133, 133, 133, 133, 71, 72, 73, 74, 75, + /* 1050 */ 76, 77, 78, 79, 133, 89, 133, 133, 133, 133, + /* 1060 */ 133, 133, 133, 97, 133, 99, 100, 133, 102, 103, + /* 1070 */ 133, 133, 133, 133, 133, 133, 133, 111, 133, 133, + /* 1080 */ 114, 115, 133, 133, 118, 133, 133, 133, 133, 133, + /* 1090 */ 133, 89, 133, 127, 133, 133, 133, 133, 133, 97, + /* 1100 */ 133, 99, 100, 133, 102, 103, 133, 133, 133, 133, + /* 1110 */ 133, 133, 133, 111, 133, 133, 114, 115, 133, 133, + /* 1120 */ 118, 133, 133, 89, 133, 133, 133, 133, 133, 127, + /* 1130 */ 133, 97, 133, 99, 100, 133, 102, 103, 133, 133, + /* 1140 */ 133, 133, 133, 89, 133, 111, 133, 133, 114, 115, + /* 1150 */ 133, 97, 118, 99, 100, 133, 102, 103, 133, 133, + /* 1160 */ 133, 127, 133, 133, 133, 111, 133, 133, 114, 115, + /* 1170 */ 133, 133, 118, 133, 89, 133, 133, 133, 133, 133, + /* 1180 */ 133, 127, 97, 133, 99, 100, 133, 102, 103, 133, + /* 1190 */ 133, 133, 133, 133, 89, 133, 111, 133, 133, 114, + /* 1200 */ 115, 133, 97, 118, 99, 100, 133, 102, 103, 133, + /* 1210 */ 133, 133, 127, 133, 133, 133, 111, 133, 133, 114, + /* 1220 */ 115, 133, 133, 118, 133, 133, 89, 133, 133, 133, + /* 1230 */ 133, 133, 127, 133, 97, 133, 99, 100, 133, 102, + /* 1240 */ 103, 133, 133, 133, 133, 133, 89, 133, 111, 133, + /* 1250 */ 133, 114, 115, 133, 97, 118, 99, 100, 133, 133, + /* 1260 */ 103, 133, 133, 133, 127, 133, 133, 133, 111, 133, + /* 1270 */ 133, 114, 115, 133, 133, 118, 133, 133, 133, 133, + /* 1280 */ 133, 133, 133, 133, 89, 133, 133, 130, 131, 133, + /* 1290 */ 133, 133, 97, 133, 99, 100, 133, 102, 103, 133, + /* 1300 */ 133, 133, 133, 133, 133, 133, 111, 133, 133, 114, + /* 1310 */ 115, 133, 133, 118, 133, 133, 89, 133, 133, 133, + /* 1320 */ 133, 133, 127, 133, 97, 133, 99, 100, 133, 102, + /* 1330 */ 103, 133, 133, 133, 133, 133, 89, 133, 111, 133, + /* 1340 */ 133, 114, 115, 133, 97, 118, 99, 100, 101, 133, + /* 1350 */ 103, 133, 133, 133, 127, 133, 133, 133, 111, 133, + /* 1360 */ 133, 114, 115, 133, 133, 118, 133, 133, 133, 133, + /* 1370 */ 133, 133, 133, 133, 89, 133, 133, 133, 133, 133, + /* 1380 */ 133, 133, 97, 133, 99, 100, 133, 89, 103, 133, + /* 1390 */ 133, 133, 133, 133, 133, 97, 111, 99, 100, 114, + /* 1400 */ 115, 103, 133, 118, 133, 133, 133, 133, 133, 111, + /* 1410 */ 125, 133, 114, 115, 89, 133, 118, 133, 133, 133, + /* 1420 */ 133, 133, 97, 133, 99, 100, 101, 133, 103, 131, + /* 1430 */ 133, 133, 133, 133, 89, 133, 111, 133, 133, 114, + /* 1440 */ 115, 133, 97, 118, 99, 100, 133, 133, 103, 133, + /* 1450 */ 133, 133, 133, 133, 133, 133, 111, 133, 133, 114, + /* 1460 */ 115, 133, 133, 118, 89, 133, 133, 133, 133, 133, + /* 1470 */ 125, 133, 97, 133, 99, 100, 133, 89, 103, 133, + /* 1480 */ 133, 133, 133, 133, 133, 97, 111, 99, 100, 114, + /* 1490 */ 115, 103, 133, 118, 133, 133, 133, 133, 133, 111, + /* 1500 */ 125, 133, 114, 115, 89, 133, 118, 133, 133, 133, + /* 1510 */ 133, 133, 97, 125, 99, 100, 133, 133, 103, 133, + /* 1520 */ 133, 133, 133, 133, 89, 133, 111, 133, 133, 114, + /* 1530 */ 115, 133, 97, 118, 99, 100, 133, 133, 103, 133, + /* 1540 */ 133, 133, 133, 133, 133, 133, 111, 133, 133, 114, + /* 1550 */ 115, 133, 133, 118, 89, 133, 133, 133, 133, 133, + /* 1560 */ 133, 133, 97, 133, 99, 100, 133, 89, 103, 133, + /* 1570 */ 133, 133, 133, 133, 133, 97, 111, 99, 100, 114, + /* 1580 */ 115, 103, 133, 118, 133, 133, 133, 133, 133, 111, + /* 1590 */ 89, 133, 114, 115, 133, 133, 118, 133, 97, 133, + /* 1600 */ 99, 100, 133, 89, 103, 133, 133, 133, 133, 133, + /* 1610 */ 133, 97, 111, 99, 100, 114, 115, 103, 133, 118, + /* 1620 */ 133, 133, 133, 89, 133, 111, 133, 133, 114, 115, + /* 1630 */ 133, 97, 118, 99, 100, 133, 89, 103, 133, 133, + /* 1640 */ 133, 133, 133, 133, 97, 111, 99, 100, 114, 115, + /* 1650 */ 103, 133, 118, 133, 133, 133, 133, 133, 111, 133, + /* 1660 */ 133, 114, 115, 133, 133, 118, 89, 133, 133, 133, + /* 1670 */ 133, 89, 133, 133, 97, 133, 99, 100, 133, 97, + /* 1680 */ 103, 99, 100, 133, 133, 103, 133, 133, 111, 133, + /* 1690 */ 133, 114, 115, 111, 89, 118, 114, 115, 133, 133, + /* 1700 */ 118, 133, 97, 89, 99, 100, 133, 133, 103, 133, + /* 1710 */ 133, 97, 133, 99, 100, 133, 111, 103, 133, 114, + /* 1720 */ 115, 133, 133, 118, 133, 111, 89, 133, 114, 115, + /* 1730 */ 133, 133, 118, 133, 97, 89, 99, 100, 133, 133, + /* 1740 */ 103, 133, 133, 97, 133, 99, 100, 133, 111, 103, + /* 1750 */ 133, 114, 115, 133, 133, 118, 133, 111, 133, 133, + /* 1760 */ 114, 115, 133, 133, 118, 133, 89, 133, 133, 133, + /* 1770 */ 133, 89, 133, 133, 97, 133, 99, 100, 133, 97, + /* 1780 */ 103, 99, 100, 133, 133, 103, 133, 133, 111, 133, + /* 1790 */ 133, 114, 115, 111, 89, 118, 114, 115, 133, 133, + /* 1800 */ 118, 133, 97, 133, 99, 100, 133, 133, 103, 133, + /* 1810 */ 133, 133, 133, 133, 133, 133, 111, 133, 133, 114, + /* 1820 */ 115, 133, 133, 118, ); - const YY_SHIFT_USE_DFLT = -13; - const YY_SHIFT_MAX = 249; + const YY_SHIFT_USE_DFLT = -31; + const YY_SHIFT_MAX = 261; static public $yy_shift_ofst = array( - /* 0 */ 402, 254, 292, 330, 330, 140, 140, 140, 140, 140, - /* 10 */ 140, 140, 140, 140, 140, 140, 102, 140, 140, -12, - /* 20 */ -12, 64, 64, 64, 64, 102, 64, 64, 64, 64, - /* 30 */ 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, - /* 40 */ 64, 64, 64, 26, 178, 178, 216, 383, 543, 383, - /* 50 */ 383, 383, 383, 598, 383, 259, 491, 491, 437, 730, - /* 60 */ 402, 46, 145, 231, 266, 114, 14, 355, 456, 456, - /* 70 */ 456, 8, 39, 80, 182, 296, 270, 190, 340, 340, - /* 80 */ 548, 340, 340, 564, 462, 340, 340, 564, 340, 325, - /* 90 */ 340, 541, 719, 719, 719, 433, 719, 728, 720, 433, - /* 100 */ 433, 546, 331, 384, 413, 464, 438, 597, 597, 597, - /* 110 */ 597, 597, 597, 597, 597, 597, 751, 1094, 976, 1254, - /* 120 */ 111, 175, 189, 144, 264, 126, 75, 108, 227, 345, - /* 130 */ 147, 311, 337, 349, 613, 136, 517, 512, 136, 467, - /* 140 */ 511, 520, 547, 272, 611, 602, 117, 594, 272, 272, - /* 150 */ 352, 313, 272, 461, 272, 432, 440, 242, 756, 433, - /* 160 */ 728, 527, 527, 752, 433, 527, 752, 527, 766, 729, - /* 170 */ 527, 527, 527, 433, 527, 527, 433, -13, -13, -13, - /* 180 */ -13, -13, -13, -13, -13, 650, 221, 67, 74, 38, - /* 190 */ 18, 302, 257, 237, -11, 346, -11, 343, 197, -11, - /* 200 */ 245, 255, -11, 63, 100, 576, 703, 595, 644, 645, - /* 210 */ 667, 672, 664, 661, 665, 674, 656, 573, 577, 584, - /* 220 */ 631, 678, 680, 676, 684, 698, 691, 710, 708, 699, - /* 230 */ 687, 696, 658, 662, 695, 574, 262, 697, 692, 568, - /* 240 */ 262, 191, 162, 248, 405, 415, 407, 118, 449, 156, + /* 0 */ 717, 338, 258, 298, 298, 138, 98, 98, 98, 98, + /* 10 */ 98, 98, 98, 98, 98, 98, 98, 98, 98, -22, + /* 20 */ -22, 58, 58, 138, 58, 58, 58, 58, 58, 58, + /* 30 */ 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, + /* 40 */ 58, 58, 58, 18, 178, 178, 218, 378, 378, 378, + /* 50 */ 458, 378, 418, 378, 378, 151, 550, 550, 676, 809, + /* 60 */ 717, 770, 89, 49, 71, 267, 169, 632, 405, 405, + /* 70 */ 405, 192, 721, 198, 147, 147, 59, 147, 422, 381, + /* 80 */ 465, 697, 493, 697, 513, 675, 543, 23, 543, 493, + /* 90 */ 543, 493, 543, 493, 493, 493, 493, 430, 355, 493, + /* 100 */ 814, 818, 9, 818, 814, 826, 814, 818, 814, 509, + /* 110 */ 540, 459, 613, 590, 484, 623, 623, 623, 623, 623, + /* 120 */ 623, 623, 623, 623, 637, 974, 883, 566, 183, 212, + /* 130 */ 238, 31, 348, 331, 308, 109, 249, 224, 64, 144, + /* 140 */ -30, 3, 507, 508, 477, 473, 412, 471, 512, 3, + /* 150 */ -30, -30, 562, 556, 532, 538, 463, -30, 433, 276, + /* 160 */ -30, 311, 157, 273, 462, 232, 827, 232, 818, 232, + /* 170 */ 818, 827, 818, 825, 232, 232, 858, 818, 764, 232, + /* 180 */ 232, 9, 232, 232, -31, -31, -31, -31, -31, -31, + /* 190 */ -31, -31, 942, 81, 242, 13, -7, 201, 127, 110, + /* 200 */ 87, 389, -3, 83, -3, -3, 352, 299, -19, -3, + /* 210 */ 66, 253, 811, 760, 774, 769, 782, 768, 293, 730, + /* 220 */ 728, 741, 742, 757, 816, 771, 829, 828, 810, 779, + /* 230 */ 802, 784, 793, 718, 781, 822, 689, 718, 580, 531, + /* 240 */ 559, 612, 461, 575, 410, 320, 414, 436, 519, 619, + /* 250 */ 638, 719, 696, 722, 737, 710, 686, 649, 674, 645, + /* 260 */ 716, 815, ); - const YY_REDUCE_USE_DFLT = -105; - const YY_REDUCE_MAX = 184; + const YY_REDUCE_USE_DFLT = -117; + const YY_REDUCE_MAX = 191; static public $yy_reduce_ofst = array( - /* 0 */ -65, 617, 673, 648, 587, 1014, 786, 1092, 836, 816, - /* 10 */ 861, 896, 916, 1039, 749, 969, 744, 1112, 994, 1179, - /* 20 */ 1160, 1192, 1205, 1250, 1245, 1137, 1416, 1403, 1435, 1455, - /* 30 */ 1464, 1384, 1371, 1306, 1281, 1496, 1276, 1319, 1332, 1351, - /* 40 */ 1487, 1539, 1519, 1544, 1571, 600, 799, 1574, 1594, 989, - /* 50 */ 887, 668, 1225, 486, 637, 120, 226, 188, 51, 279, - /* 60 */ 269, -60, 209, 13, 77, -63, -104, 101, 127, 149, - /* 70 */ 316, -40, 314, 208, 284, 348, 208, 348, 516, 499, - /* 80 */ 455, 483, 443, 418, 360, 321, 500, 321, 228, 323, - /* 90 */ 417, 321, 360, 362, 507, 323, 559, 386, 561, 532, - /* 100 */ 524, -90, -90, -90, -90, -90, -90, -90, -90, -90, - /* 110 */ -90, -90, -90, -90, -90, -90, 641, 641, 641, 641, - /* 120 */ 669, -25, 632, 632, 632, 632, 632, -25, 632, 633, - /* 130 */ 633, 633, 633, 633, 633, -25, 633, 633, -25, 633, - /* 140 */ 633, 633, 633, 638, 633, 633, 677, 633, 638, 638, - /* 150 */ -25, 675, 638, 633, 638, 633, 633, -25, 700, 419, - /* 160 */ 690, -25, -25, 683, 419, -25, 682, -25, 679, 551, - /* 170 */ -25, -25, -25, 419, -25, -25, 419, 460, 475, 401, - /* 180 */ 476, 308, -98, 56, -25, + /* 0 */ -75, 688, 711, 668, 748, 1157, 1195, 823, 912, 966, + /* 10 */ 800, 1054, 1137, 1002, 1085, 876, 1034, 1105, 1227, 1247, + /* 20 */ 1325, 1345, 1285, 1298, 1388, 1375, 1415, 1435, 1637, 1465, + /* 30 */ 1577, 1582, 1605, 1614, 1547, 1478, 1501, 1514, 1534, 1646, + /* 40 */ 1705, 1682, 1677, -11, -51, 69, 29, 189, 229, 269, + /* 50 */ 309, 643, 149, 775, 349, -79, 263, 303, 323, 363, + /* 60 */ 126, 307, 374, 301, 133, 171, 106, 261, 254, 214, + /* 70 */ 347, 385, 167, 160, 421, 441, 369, 466, 160, 703, + /* 80 */ 703, 624, 617, 474, 714, 474, 423, 266, 572, 525, + /* 90 */ 554, 478, 570, 474, 609, 472, 332, -116, 504, 475, + /* 100 */ 714, 546, 491, 506, 469, 683, 604, 504, 646, 599, + /* 110 */ 599, 599, 599, 599, 599, 599, 599, 599, 599, 599, + /* 120 */ 599, 599, 599, 599, 733, 733, 733, 733, 720, 740, + /* 130 */ 720, -5, 720, 720, 720, 720, -5, 729, 729, 729, + /* 140 */ 723, -5, 729, 729, 729, 729, -5, 729, 729, -5, + /* 150 */ 723, 723, 729, 729, 729, 729, 729, 723, 729, -5, + /* 160 */ 723, 729, 752, 729, 729, -5, 750, -5, 732, -5, + /* 170 */ 732, 759, 732, 751, -5, -5, 739, 732, 164, -5, + /* 180 */ -5, 77, -5, -5, 292, 230, 256, 185, 74, 216, + /* 190 */ -5, 220, ); static public $yyExpectedTokens = array( - /* 0 */ array(3, 4, 5, 6, 7, 8, 9, 12, 29, ), - /* 1 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 2 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 3 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 4 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 5 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 6 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 7 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 8 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 9 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 10 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 11 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 12 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 13 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 14 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 15 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 16 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 17 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 18 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 19 */ array(12, 14, 15, 17, 19, 21, 22, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 20 */ array(12, 14, 15, 17, 19, 21, 22, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 21 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 22 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 23 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 24 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 25 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 26 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 27 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 28 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 29 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 30 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 31 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 32 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 33 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 34 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 35 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 36 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 37 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 38 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 39 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 40 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 41 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 42 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 43 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, 48, ), - /* 44 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 45 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 46 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, 47, ), - /* 47 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, ), - /* 48 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, ), - /* 49 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, ), - /* 50 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, ), - /* 51 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, ), - /* 52 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, ), - /* 53 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, ), - /* 54 */ array(12, 14, 15, 21, 29, 30, 34, 37, 38, 40, 41, 42, 43, 46, ), - /* 55 */ array(12, 14, 15, 46, ), - /* 56 */ array(20, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 70, 71, 72, ), - /* 57 */ array(20, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 70, 71, 72, ), - /* 58 */ array(13, 20, 49, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), - /* 59 */ array(13, 20, 49, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), - /* 60 */ array(3, 4, 5, 6, 7, 8, 9, 12, 29, ), - /* 61 */ array(8, 12, 29, 43, 73, 74, ), - /* 62 */ array(1, 13, 18, 20, 34, 44, ), - /* 63 */ array(1, 13, 18, 20, ), - /* 64 */ array(14, 15, 46, ), - /* 65 */ array(1, 13, 20, ), - /* 66 */ array(18, 39, 47, ), - /* 67 */ array(1, 20, ), - /* 68 */ array(2, 20, ), - /* 69 */ array(2, 20, ), - /* 70 */ array(2, 20, ), - /* 71 */ array(8, 12, 29, 43, 73, 74, ), - /* 72 */ array(4, 5, 6, 9, 10, 11, ), - /* 73 */ array(12, 15, 16, 45, ), - /* 74 */ array(12, 15, 16, 24, ), - /* 75 */ array(13, 20, 24, ), - /* 76 */ array(12, 15, 45, ), - /* 77 */ array(13, 20, 24, ), - /* 78 */ array(12, 15, ), - /* 79 */ array(12, 15, ), - /* 80 */ array(20, 26, ), - /* 81 */ array(12, 15, ), - /* 82 */ array(12, 15, ), - /* 83 */ array(12, 15, ), - /* 84 */ array(13, 20, ), - /* 85 */ array(12, 15, ), - /* 86 */ array(12, 15, ), - /* 87 */ array(12, 15, ), - /* 88 */ array(12, 15, ), - /* 89 */ array(16, 18, ), - /* 90 */ array(12, 15, ), - /* 91 */ array(12, 15, ), - /* 92 */ array(20, ), - /* 93 */ array(20, ), - /* 94 */ array(20, ), - /* 95 */ array(18, ), - /* 96 */ array(20, ), - /* 97 */ array(14, ), - /* 98 */ array(20, ), - /* 99 */ array(18, ), - /* 100 */ array(18, ), - /* 101 */ array(13, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 70, 71, 72, ), - /* 102 */ array(23, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 70, 71, 72, ), - /* 103 */ array(35, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 70, 71, 72, ), - /* 104 */ array(35, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 70, 71, 72, ), - /* 105 */ array(13, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 70, 71, 72, ), - /* 106 */ array(35, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 70, 71, 72, ), - /* 107 */ array(50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 70, 71, 72, ), - /* 108 */ array(50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 70, 71, 72, ), - /* 109 */ array(50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 70, 71, 72, ), - /* 110 */ array(50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 70, 71, 72, ), - /* 111 */ array(50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 70, 71, 72, ), - /* 112 */ array(50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 70, 71, 72, ), - /* 113 */ array(50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 70, 71, 72, ), - /* 114 */ array(50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 70, 71, 72, ), - /* 115 */ array(50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 70, 71, 72, ), - /* 116 */ array(13, 20, 49, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), - /* 117 */ array(35, 49, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), - /* 118 */ array(35, 49, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), - /* 119 */ array(49, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), - /* 120 */ array(15, 17, 19, 22, ), - /* 121 */ array(1, 13, 20, 60, ), - /* 122 */ array(12, 13, 15, 28, ), - /* 123 */ array(12, 13, 15, 28, ), - /* 124 */ array(12, 13, 15, ), - /* 125 */ array(12, 15, 45, ), - /* 126 */ array(12, 15, 16, ), - /* 127 */ array(1, 13, 60, ), - /* 128 */ array(12, 13, 15, ), - /* 129 */ array(13, 20, ), - /* 130 */ array(13, 20, ), - /* 131 */ array(13, 20, ), - /* 132 */ array(13, 20, ), - /* 133 */ array(13, 20, ), - /* 134 */ array(13, 20, ), - /* 135 */ array(1, 60, ), - /* 136 */ array(13, 20, ), - /* 137 */ array(13, 20, ), - /* 138 */ array(1, 60, ), - /* 139 */ array(13, 20, ), - /* 140 */ array(13, 20, ), - /* 141 */ array(13, 20, ), - /* 142 */ array(13, 20, ), - /* 143 */ array(39, 47, ), - /* 144 */ array(13, 20, ), - /* 145 */ array(13, 20, ), - /* 146 */ array(12, 34, ), - /* 147 */ array(13, 20, ), - /* 148 */ array(39, 47, ), - /* 149 */ array(39, 47, ), - /* 150 */ array(1, 27, ), - /* 151 */ array(14, 15, ), - /* 152 */ array(39, 47, ), - /* 153 */ array(13, 20, ), - /* 154 */ array(39, 47, ), - /* 155 */ array(13, 20, ), - /* 156 */ array(13, 20, ), - /* 157 */ array(1, 28, ), - /* 158 */ array(10, ), - /* 159 */ array(18, ), - /* 160 */ array(14, ), - /* 161 */ array(1, ), - /* 162 */ array(1, ), - /* 163 */ array(20, ), - /* 164 */ array(18, ), + /* 0 */ array(3, 4, 6, 7, 8, 19, 22, 39, ), + /* 1 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 2 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 3 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 4 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 5 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 6 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 7 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 8 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 9 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 10 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 11 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 12 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 13 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 14 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 15 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 16 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 17 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 18 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 19 */ array(22, 24, 25, 27, 29, 31, 32, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 20 */ array(22, 24, 25, 27, 29, 31, 32, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 21 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 22 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 23 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 24 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 25 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 26 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 27 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 28 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 29 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 30 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 31 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 32 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 33 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 34 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 35 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 36 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 37 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 38 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 39 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 40 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 41 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 42 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 43 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, 58, ), + /* 44 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 45 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 46 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, 57, ), + /* 47 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, ), + /* 48 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, ), + /* 49 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, ), + /* 50 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, ), + /* 51 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, ), + /* 52 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, ), + /* 53 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, ), + /* 54 */ array(22, 24, 25, 31, 39, 40, 44, 47, 48, 50, 51, 52, 53, 56, ), + /* 55 */ array(22, 24, 25, 56, ), + /* 56 */ array(30, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ), + /* 57 */ array(30, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ), + /* 58 */ array(23, 30, 59, 71, 72, 73, 74, 75, 76, 77, 78, 79, ), + /* 59 */ array(23, 30, 59, 71, 72, 73, 74, 75, 76, 77, 78, 79, ), + /* 60 */ array(3, 4, 6, 7, 8, 19, 22, 39, ), + /* 61 */ array(8, 22, 39, 53, 83, 84, ), + /* 62 */ array(1, 23, 28, 30, 44, 54, ), + /* 63 */ array(1, 23, 28, 30, ), + /* 64 */ array(24, 25, 56, ), + /* 65 */ array(28, 49, 57, ), + /* 66 */ array(1, 23, 30, ), + /* 67 */ array(1, 30, ), + /* 68 */ array(2, 30, ), + /* 69 */ array(2, 30, ), + /* 70 */ array(2, 30, ), + /* 71 */ array(4, 5, 6, 19, 20, 21, ), + /* 72 */ array(8, 22, 39, 53, 83, 84, ), + /* 73 */ array(22, 25, 26, 55, ), + /* 74 */ array(9, 10, 12, 14, ), + /* 75 */ array(9, 10, 12, 14, ), + /* 76 */ array(22, 25, 26, 34, ), + /* 77 */ array(9, 10, 12, 14, ), + /* 78 */ array(22, 25, 55, ), + /* 79 */ array(23, 30, 34, ), + /* 80 */ array(23, 30, 34, ), + /* 81 */ array(22, 25, ), + /* 82 */ array(22, 25, ), + /* 83 */ array(22, 25, ), + /* 84 */ array(23, 30, ), + /* 85 */ array(22, 25, ), + /* 86 */ array(16, 17, ), + /* 87 */ array(30, 36, ), + /* 88 */ array(16, 17, ), + /* 89 */ array(22, 25, ), + /* 90 */ array(16, 17, ), + /* 91 */ array(22, 25, ), + /* 92 */ array(16, 17, ), + /* 93 */ array(22, 25, ), + /* 94 */ array(22, 25, ), + /* 95 */ array(22, 25, ), + /* 96 */ array(22, 25, ), + /* 97 */ array(24, 25, ), + /* 98 */ array(26, 28, ), + /* 99 */ array(22, 25, ), + /* 100 */ array(30, ), + /* 101 */ array(28, ), + /* 102 */ array(24, ), + /* 103 */ array(28, ), + /* 104 */ array(30, ), + /* 105 */ array(30, ), + /* 106 */ array(30, ), + /* 107 */ array(28, ), + /* 108 */ array(30, ), + /* 109 */ array(45, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ), + /* 110 */ array(23, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ), + /* 111 */ array(45, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ), + /* 112 */ array(23, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ), + /* 113 */ array(33, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ), + /* 114 */ array(45, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ), + /* 115 */ array(60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ), + /* 116 */ array(60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ), + /* 117 */ array(60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ), + /* 118 */ array(60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ), + /* 119 */ array(60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ), + /* 120 */ array(60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ), + /* 121 */ array(60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ), + /* 122 */ array(60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ), + /* 123 */ array(60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, ), + /* 124 */ array(23, 30, 59, 71, 72, 73, 74, 75, 76, 77, 78, 79, ), + /* 125 */ array(45, 59, 71, 72, 73, 74, 75, 76, 77, 78, 79, ), + /* 126 */ array(45, 59, 71, 72, 73, 74, 75, 76, 77, 78, 79, ), + /* 127 */ array(59, 71, 72, 73, 74, 75, 76, 77, 78, 79, ), + /* 128 */ array(22, 23, 25, 38, ), + /* 129 */ array(25, 27, 29, 32, ), + /* 130 */ array(22, 23, 25, 38, ), + /* 131 */ array(1, 23, 30, 70, ), + /* 132 */ array(22, 23, 25, ), + /* 133 */ array(22, 25, 26, ), + /* 134 */ array(22, 23, 25, ), + /* 135 */ array(22, 25, 55, ), + /* 136 */ array(1, 23, 70, ), + /* 137 */ array(23, 30, ), + /* 138 */ array(23, 30, ), + /* 139 */ array(23, 30, ), + /* 140 */ array(49, 57, ), + /* 141 */ array(1, 70, ), + /* 142 */ array(23, 30, ), + /* 143 */ array(23, 30, ), + /* 144 */ array(23, 30, ), + /* 145 */ array(23, 30, ), + /* 146 */ array(1, 38, ), + /* 147 */ array(23, 30, ), + /* 148 */ array(23, 30, ), + /* 149 */ array(1, 70, ), + /* 150 */ array(49, 57, ), + /* 151 */ array(49, 57, ), + /* 152 */ array(23, 30, ), + /* 153 */ array(23, 30, ), + /* 154 */ array(23, 30, ), + /* 155 */ array(23, 30, ), + /* 156 */ array(23, 30, ), + /* 157 */ array(49, 57, ), + /* 158 */ array(23, 30, ), + /* 159 */ array(1, 37, ), + /* 160 */ array(49, 57, ), + /* 161 */ array(23, 30, ), + /* 162 */ array(22, 44, ), + /* 163 */ array(23, 30, ), + /* 164 */ array(23, 30, ), /* 165 */ array(1, ), - /* 166 */ array(20, ), + /* 166 */ array(30, ), /* 167 */ array(1, ), - /* 168 */ array(2, ), - /* 169 */ array(34, ), - /* 170 */ array(1, ), - /* 171 */ array(1, ), - /* 172 */ array(1, ), - /* 173 */ array(18, ), + /* 168 */ array(28, ), + /* 169 */ array(1, ), + /* 170 */ array(28, ), + /* 171 */ array(30, ), + /* 172 */ array(28, ), + /* 173 */ array(44, ), /* 174 */ array(1, ), /* 175 */ array(1, ), - /* 176 */ array(18, ), - /* 177 */ array(), - /* 178 */ array(), - /* 179 */ array(), - /* 180 */ array(), - /* 181 */ array(), - /* 182 */ array(), - /* 183 */ array(), + /* 176 */ array(2, ), + /* 177 */ array(28, ), + /* 178 */ array(20, ), + /* 179 */ array(1, ), + /* 180 */ array(1, ), + /* 181 */ array(24, ), + /* 182 */ array(1, ), + /* 183 */ array(1, ), /* 184 */ array(), - /* 185 */ array(12, 14, 15, 30, 40, 41, ), - /* 186 */ array(13, 20, 34, 44, ), - /* 187 */ array(13, 21, 32, 33, ), - /* 188 */ array(34, 39, 44, 48, ), - /* 189 */ array(21, 32, 33, 48, ), - /* 190 */ array(28, 34, 44, ), - /* 191 */ array(16, 34, 44, ), - /* 192 */ array(21, 32, 33, ), - /* 193 */ array(15, 30, ), - /* 194 */ array(34, 44, ), - /* 195 */ array(15, 45, ), - /* 196 */ array(34, 44, ), - /* 197 */ array(23, 31, ), - /* 198 */ array(16, 39, ), - /* 199 */ array(34, 44, ), - /* 200 */ array(2, 16, ), - /* 201 */ array(31, 48, ), - /* 202 */ array(34, 44, ), - /* 203 */ array(20, 21, ), - /* 204 */ array(24, 73, ), - /* 205 */ array(14, ), - /* 206 */ array(27, ), - /* 207 */ array(25, ), - /* 208 */ array(15, ), - /* 209 */ array(16, ), - /* 210 */ array(14, ), - /* 211 */ array(14, ), - /* 212 */ array(13, ), - /* 213 */ array(2, ), - /* 214 */ array(13, ), - /* 215 */ array(35, ), - /* 216 */ array(15, ), - /* 217 */ array(48, ), - /* 218 */ array(46, ), - /* 219 */ array(46, ), - /* 220 */ array(15, ), - /* 221 */ array(14, ), - /* 222 */ array(15, ), - /* 223 */ array(39, ), - /* 224 */ array(35, ), - /* 225 */ array(15, ), - /* 226 */ array(30, ), - /* 227 */ array(15, ), - /* 228 */ array(15, ), - /* 229 */ array(13, ), - /* 230 */ array(24, ), - /* 231 */ array(2, ), - /* 232 */ array(35, ), - /* 233 */ array(20, ), - /* 234 */ array(13, ), - /* 235 */ array(14, ), - /* 236 */ array(36, ), - /* 237 */ array(13, ), - /* 238 */ array(36, ), - /* 239 */ array(2, ), - /* 240 */ array(36, ), - /* 241 */ array(31, ), - /* 242 */ array(13, ), - /* 243 */ array(16, ), - /* 244 */ array(13, ), - /* 245 */ array(34, ), - /* 246 */ array(15, ), - /* 247 */ array(35, ), - /* 248 */ array(13, ), - /* 249 */ array(73, ), - /* 250 */ array(), - /* 251 */ array(), - /* 252 */ array(), - /* 253 */ array(), - /* 254 */ array(), - /* 255 */ array(), - /* 256 */ array(), - /* 257 */ array(), - /* 258 */ array(), - /* 259 */ array(), - /* 260 */ array(), - /* 261 */ array(), + /* 185 */ array(), + /* 186 */ array(), + /* 187 */ array(), + /* 188 */ array(), + /* 189 */ array(), + /* 190 */ array(), + /* 191 */ array(), + /* 192 */ array(22, 24, 25, 40, 50, 51, ), + /* 193 */ array(44, 49, 54, 58, ), + /* 194 */ array(31, 42, 43, 58, ), + /* 195 */ array(23, 31, 42, 43, ), + /* 196 */ array(23, 30, 44, 54, ), + /* 197 */ array(26, 44, 54, ), + /* 198 */ array(38, 44, 54, ), + /* 199 */ array(31, 42, 43, ), + /* 200 */ array(26, 49, ), + /* 201 */ array(30, 31, ), + /* 202 */ array(44, 54, ), + /* 203 */ array(33, 41, ), + /* 204 */ array(44, 54, ), + /* 205 */ array(44, 54, ), + /* 206 */ array(41, 58, ), + /* 207 */ array(2, 26, ), + /* 208 */ array(25, 40, ), + /* 209 */ array(44, 54, ), + /* 210 */ array(25, 55, ), + /* 211 */ array(34, 83, ), + /* 212 */ array(25, ), + /* 213 */ array(37, ), + /* 214 */ array(24, ), + /* 215 */ array(25, ), + /* 216 */ array(25, ), + /* 217 */ array(25, ), + /* 218 */ array(24, ), + /* 219 */ array(45, ), + /* 220 */ array(45, ), + /* 221 */ array(25, ), + /* 222 */ array(34, ), + /* 223 */ array(23, ), + /* 224 */ array(2, ), + /* 225 */ array(49, ), + /* 226 */ array(2, ), + /* 227 */ array(5, ), + /* 228 */ array(24, ), + /* 229 */ array(56, ), + /* 230 */ array(26, ), + /* 231 */ array(46, ), + /* 232 */ array(26, ), + /* 233 */ array(46, ), + /* 234 */ array(40, ), + /* 235 */ array(2, ), + /* 236 */ array(83, ), + /* 237 */ array(46, ), + /* 238 */ array(44, ), + /* 239 */ array(25, ), + /* 240 */ array(35, ), + /* 241 */ array(23, ), + /* 242 */ array(23, ), + /* 243 */ array(13, ), + /* 244 */ array(23, ), + /* 245 */ array(23, ), + /* 246 */ array(23, ), + /* 247 */ array(23, ), + /* 248 */ array(15, ), + /* 249 */ array(30, ), + /* 250 */ array(23, ), + /* 251 */ array(18, ), + /* 252 */ array(45, ), + /* 253 */ array(41, ), + /* 254 */ array(25, ), + /* 255 */ array(24, ), + /* 256 */ array(45, ), + /* 257 */ array(58, ), + /* 258 */ array(24, ), + /* 259 */ array(56, ), + /* 260 */ array(11, ), + /* 261 */ array(25, ), /* 262 */ array(), /* 263 */ array(), /* 264 */ array(), @@ -1003,54 +1038,76 @@ static public $yy_action = array( /* 388 */ array(), /* 389 */ array(), /* 390 */ array(), + /* 391 */ array(), + /* 392 */ array(), + /* 393 */ array(), + /* 394 */ array(), + /* 395 */ array(), + /* 396 */ array(), + /* 397 */ array(), + /* 398 */ array(), + /* 399 */ array(), + /* 400 */ array(), + /* 401 */ array(), + /* 402 */ array(), + /* 403 */ array(), + /* 404 */ array(), + /* 405 */ array(), + /* 406 */ array(), + /* 407 */ array(), + /* 408 */ array(), + /* 409 */ array(), + /* 410 */ array(), ); static public $yy_default = array( - /* 0 */ 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, - /* 10 */ 588, 588, 588, 588, 588, 588, 573, 588, 588, 588, - /* 20 */ 588, 531, 531, 531, 531, 588, 588, 588, 588, 588, - /* 30 */ 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, - /* 40 */ 588, 588, 588, 588, 588, 588, 588, 588, 588, 588, - /* 50 */ 588, 588, 588, 588, 588, 588, 452, 452, 541, 541, - /* 60 */ 391, 588, 588, 588, 588, 466, 492, 452, 452, 452, - /* 70 */ 452, 588, 588, 503, 588, 473, 503, 473, 588, 588, - /* 80 */ 452, 588, 588, 588, 588, 588, 588, 588, 588, 496, - /* 90 */ 588, 588, 452, 452, 452, 496, 452, 588, 452, 487, - /* 100 */ 488, 588, 588, 588, 588, 588, 588, 545, 455, 554, - /* 110 */ 539, 555, 547, 546, 551, 550, 541, 541, 541, 541, - /* 120 */ 588, 466, 588, 588, 588, 504, 588, 466, 588, 588, - /* 130 */ 588, 588, 588, 588, 588, 466, 588, 588, 466, 588, - /* 140 */ 588, 588, 588, 522, 588, 588, 503, 588, 525, 524, - /* 150 */ 588, 588, 523, 588, 501, 588, 588, 466, 405, 519, - /* 160 */ 588, 467, 469, 587, 489, 557, 587, 474, 495, 503, - /* 170 */ 476, 475, 544, 490, 466, 468, 493, 535, 535, 503, - /* 180 */ 503, 535, 503, 535, 536, 588, 463, 588, 588, 588, - /* 190 */ 463, 458, 464, 588, 588, 588, 463, 588, 478, 537, - /* 200 */ 517, 588, 556, 588, 473, 588, 588, 460, 588, 588, - /* 210 */ 588, 588, 588, 517, 588, 588, 588, 588, 588, 588, - /* 220 */ 588, 588, 588, 478, 588, 588, 588, 588, 588, 588, - /* 230 */ 473, 588, 588, 588, 588, 588, 588, 588, 483, 588, - /* 240 */ 540, 530, 588, 458, 588, 491, 588, 588, 588, 588, - /* 250 */ 434, 433, 506, 512, 514, 528, 511, 513, 509, 510, - /* 260 */ 526, 449, 457, 392, 446, 445, 443, 444, 508, 507, - /* 270 */ 485, 577, 437, 436, 586, 461, 579, 580, 578, 518, - /* 280 */ 486, 585, 581, 584, 435, 569, 497, 520, 502, 505, - /* 290 */ 516, 521, 482, 533, 532, 479, 480, 481, 517, 484, - /* 300 */ 515, 465, 470, 494, 498, 416, 415, 413, 582, 414, - /* 310 */ 583, 477, 534, 400, 399, 401, 402, 403, 398, 397, - /* 320 */ 393, 394, 395, 396, 404, 406, 442, 450, 447, 448, - /* 330 */ 451, 412, 411, 407, 408, 409, 410, 499, 500, 421, - /* 340 */ 472, 422, 423, 424, 471, 420, 552, 549, 553, 567, - /* 350 */ 568, 426, 427, 459, 441, 430, 432, 462, 440, 439, - /* 360 */ 429, 428, 425, 438, 548, 540, 571, 576, 417, 418, - /* 370 */ 542, 572, 570, 527, 529, 575, 574, 543, 558, 566, - /* 380 */ 565, 419, 483, 538, 564, 563, 559, 560, 561, 562, - /* 390 */ 431, + /* 0 */ 618, 618, 618, 618, 618, 603, 618, 618, 618, 618, + /* 10 */ 618, 618, 618, 618, 618, 618, 618, 618, 618, 618, + /* 20 */ 618, 554, 554, 618, 554, 554, 618, 618, 618, 618, + /* 30 */ 618, 618, 618, 618, 618, 618, 618, 618, 618, 618, + /* 40 */ 618, 618, 618, 618, 618, 618, 618, 618, 618, 618, + /* 50 */ 618, 618, 618, 618, 618, 618, 481, 481, 571, 571, + /* 60 */ 411, 618, 618, 618, 618, 562, 495, 481, 481, 481, + /* 70 */ 481, 618, 618, 526, 422, 422, 618, 422, 526, 502, + /* 80 */ 502, 618, 618, 618, 618, 618, 428, 481, 428, 618, + /* 90 */ 428, 618, 428, 618, 618, 618, 618, 618, 519, 618, + /* 100 */ 481, 558, 618, 557, 481, 481, 481, 519, 481, 618, + /* 110 */ 618, 618, 618, 618, 618, 584, 577, 484, 581, 580, + /* 120 */ 576, 569, 585, 575, 571, 571, 571, 571, 618, 618, + /* 130 */ 618, 495, 618, 618, 618, 527, 495, 618, 618, 618, + /* 140 */ 547, 495, 618, 618, 618, 618, 495, 618, 618, 495, + /* 150 */ 524, 548, 618, 618, 618, 618, 618, 546, 618, 618, + /* 160 */ 545, 618, 526, 618, 618, 587, 617, 574, 560, 495, + /* 170 */ 542, 617, 563, 526, 504, 505, 518, 559, 434, 503, + /* 180 */ 498, 618, 497, 496, 565, 565, 526, 565, 526, 565, + /* 190 */ 566, 526, 618, 618, 618, 618, 492, 487, 492, 493, + /* 200 */ 507, 618, 586, 618, 618, 567, 618, 540, 618, 492, + /* 210 */ 618, 502, 618, 618, 618, 618, 618, 618, 618, 618, + /* 220 */ 618, 618, 502, 618, 540, 507, 618, 618, 618, 618, + /* 230 */ 618, 512, 487, 570, 618, 618, 618, 618, 561, 618, + /* 240 */ 489, 618, 618, 618, 618, 618, 618, 618, 618, 618, + /* 250 */ 618, 618, 618, 553, 618, 618, 618, 618, 618, 618, + /* 260 */ 618, 618, 515, 473, 466, 614, 491, 615, 472, 460, + /* 270 */ 465, 551, 454, 608, 611, 469, 412, 616, 607, 459, + /* 280 */ 461, 514, 488, 475, 463, 462, 470, 490, 467, 468, + /* 290 */ 486, 609, 474, 464, 478, 610, 572, 510, 509, 511, + /* 300 */ 516, 442, 513, 508, 556, 480, 477, 564, 506, 555, + /* 310 */ 612, 443, 540, 539, 499, 517, 544, 528, 525, 444, + /* 320 */ 613, 445, 494, 520, 476, 471, 427, 424, 429, 425, + /* 330 */ 430, 426, 423, 421, 414, 413, 415, 416, 417, 418, + /* 340 */ 419, 439, 438, 440, 441, 479, 437, 436, 431, 420, + /* 350 */ 432, 433, 435, 538, 521, 568, 512, 570, 578, 582, + /* 360 */ 579, 448, 596, 592, 591, 593, 594, 595, 583, 597, + /* 370 */ 453, 452, 455, 456, 458, 451, 450, 599, 598, 449, + /* 380 */ 500, 501, 590, 589, 600, 604, 602, 606, 601, 605, + /* 390 */ 537, 523, 522, 536, 534, 535, 549, 543, 446, 552, + /* 400 */ 447, 573, 588, 550, 533, 529, 541, 530, 531, 532, + /* 410 */ 457, ); - const YYNOCODE = 119; + const YYNOCODE = 134; const YYSTACKDEPTH = 100; - const YYNSTATE = 391; - const YYNRULE = 197; - const YYERRORSYMBOL = 75; + const YYNSTATE = 411; + const YYNRULE = 207; + const YYERRORSYMBOL = 85; const YYERRSYMDT = 'yy0'; const YYFALLBACK = 0; static public $yyFallback = array( @@ -1081,34 +1138,38 @@ static public $yy_action = array( public $yyTokenName = array( '$', 'VERT', 'COLON', 'COMMENT', 'PHPSTARTTAG', 'PHPENDTAG', 'FAKEPHPSTARTTAG', 'XMLTAG', - 'OTHER', 'LITERALSTART', 'LITERALEND', 'LITERAL', - 'LDEL', 'RDEL', 'DOLLAR', 'ID', - 'EQUAL', 'FOREACH', 'PTR', 'IF', - 'SPACE', 'UNIMATH', 'FOR', 'SEMICOLON', - 'INCDEC', 'TO', 'STEP', 'AS', - 'APTR', 'LDELSLASH', 'INTEGER', 'COMMA', - 'MATH', 'ANDSYM', 'OPENP', 'CLOSEP', - 'QMARK', 'NOT', 'TYPECAST', 'DOT', - 'BOOLEAN', 'NULL', 'SINGLEQUOTESTRING', 'QUOTE', - 'DOUBLECOLON', 'AT', 'HATCH', 'OPENB', - 'CLOSEB', 'ISIN', 'ISDIVBY', 'ISNOTDIVBY', - 'ISEVEN', 'ISNOTEVEN', 'ISEVENBY', 'ISNOTEVENBY', - 'ISODD', 'ISNOTODD', 'ISODDBY', 'ISNOTODDBY', - 'INSTANCEOF', 'EQUALS', 'NOTEQUALS', 'GREATERTHAN', - 'LESSTHAN', 'GREATEREQUAL', 'LESSEQUAL', 'IDENTITY', - 'NONEIDENTITY', 'MOD', 'LAND', 'LOR', - 'LXOR', 'BACKTICK', 'DOLLARID', 'error', - 'start', 'template', 'template_element', 'smartytag', - 'literal', 'literal_elements', 'literal_element', 'value', - 'attributes', 'variable', 'expr', 'ternary', - 'ifexprs', 'varindexed', 'modifier', 'modparameters', - 'statement', 'statements', 'optspace', 'varvar', - 'foraction', 'array', 'specialclose', 'attribute', - 'exprs', 'function', 'doublequoted', 'method', - 'params', 'objectchain', 'arrayindex', 'object', - 'indexdef', 'varvarele', 'objectelement', 'modparameter', - 'ifexpr', 'ifcond', 'lop', 'arrayelements', - 'arrayelement', 'doublequotedcontent', + 'OTHER', 'PHP_CODE', 'PHP_CODE_START_DOUBLEQUOTE', 'PHP_CODE_DOUBLEQUOTE', + 'PHP_HEREDOC_START', 'PHP_HEREDOC_END', 'PHP_NOWDOC_START', 'PHP_NOWDOC_END', + 'PHP_DQ_CONTENT', 'PHP_DQ_EMBED_START', 'PHP_DQ_EMBED_END', 'LITERALSTART', + 'LITERALEND', 'LITERAL', 'LDEL', 'RDEL', + 'DOLLAR', 'ID', 'EQUAL', 'FOREACH', + 'PTR', 'IF', 'SPACE', 'UNIMATH', + 'FOR', 'SEMICOLON', 'INCDEC', 'TO', + 'STEP', 'AS', 'APTR', 'LDELSLASH', + 'INTEGER', 'COMMA', 'MATH', 'ANDSYM', + 'OPENP', 'CLOSEP', 'QMARK', 'NOT', + 'TYPECAST', 'DOT', 'BOOLEAN', 'NULL', + 'SINGLEQUOTESTRING', 'QUOTE', 'DOUBLECOLON', 'AT', + 'HATCH', 'OPENB', 'CLOSEB', 'ISIN', + 'ISDIVBY', 'ISNOTDIVBY', 'ISEVEN', 'ISNOTEVEN', + 'ISEVENBY', 'ISNOTEVENBY', 'ISODD', 'ISNOTODD', + 'ISODDBY', 'ISNOTODDBY', 'INSTANCEOF', 'EQUALS', + 'NOTEQUALS', 'GREATERTHAN', 'LESSTHAN', 'GREATEREQUAL', + 'LESSEQUAL', 'IDENTITY', 'NONEIDENTITY', 'MOD', + 'LAND', 'LOR', 'LXOR', 'BACKTICK', + 'DOLLARID', 'error', 'start', 'template', + 'template_element', 'smartytag', 'literal', 'php_code', + 'php_code_element', 'php_dq_contents', 'php_dq_content', 'literal_elements', + 'literal_element', 'value', 'attributes', 'variable', + 'expr', 'ternary', 'ifexprs', 'varindexed', + 'modifier', 'modparameters', 'statement', 'statements', + 'optspace', 'varvar', 'foraction', 'array', + 'specialclose', 'attribute', 'exprs', 'function', + 'doublequoted', 'static_class_access', 'object', 'arrayindex', + 'indexdef', 'varvarele', 'objectchain', 'objectelement', + 'method', 'params', 'modparameter', 'ifexpr', + 'ifcond', 'lop', 'arrayelements', 'arrayelement', + 'doublequotedcontent', ); static public $yyRuleName = array( @@ -1118,197 +1179,207 @@ static public $yy_action = array( /* 3 */ "template_element ::= smartytag", /* 4 */ "template_element ::= COMMENT", /* 5 */ "template_element ::= literal", - /* 6 */ "template_element ::= PHPSTARTTAG", - /* 7 */ "template_element ::= PHPENDTAG", - /* 8 */ "template_element ::= FAKEPHPSTARTTAG", - /* 9 */ "template_element ::= XMLTAG", - /* 10 */ "template_element ::= OTHER", - /* 11 */ "literal ::= LITERALSTART LITERALEND", - /* 12 */ "literal ::= LITERALSTART literal_elements LITERALEND", - /* 13 */ "literal_elements ::= literal_elements literal_element", - /* 14 */ "literal_elements ::=", - /* 15 */ "literal_element ::= literal", - /* 16 */ "literal_element ::= LITERAL", - /* 17 */ "literal_element ::= PHPSTARTTAG", - /* 18 */ "literal_element ::= FAKEPHPSTARTTAG", - /* 19 */ "literal_element ::= PHPENDTAG", - /* 20 */ "smartytag ::= LDEL value RDEL", - /* 21 */ "smartytag ::= LDEL value attributes RDEL", - /* 22 */ "smartytag ::= LDEL variable attributes RDEL", - /* 23 */ "smartytag ::= LDEL expr attributes RDEL", - /* 24 */ "smartytag ::= LDEL ternary attributes RDEL", - /* 25 */ "smartytag ::= LDEL DOLLAR ID EQUAL value RDEL", - /* 26 */ "smartytag ::= LDEL DOLLAR ID EQUAL expr RDEL", - /* 27 */ "smartytag ::= LDEL DOLLAR ID EQUAL expr attributes RDEL", - /* 28 */ "smartytag ::= LDEL DOLLAR ID EQUAL ifexprs attributes RDEL", - /* 29 */ "smartytag ::= LDEL DOLLAR ID EQUAL ternary attributes RDEL", - /* 30 */ "smartytag ::= LDEL varindexed EQUAL expr attributes RDEL", - /* 31 */ "smartytag ::= LDEL varindexed EQUAL ternary attributes RDEL", - /* 32 */ "smartytag ::= LDEL varindexed EQUAL ifexprs attributes RDEL", - /* 33 */ "smartytag ::= LDEL ID attributes RDEL", - /* 34 */ "smartytag ::= LDEL FOREACH attributes RDEL", - /* 35 */ "smartytag ::= LDEL ID RDEL", - /* 36 */ "smartytag ::= LDEL ID PTR ID attributes RDEL", - /* 37 */ "smartytag ::= LDEL ID modifier modparameters attributes RDEL", - /* 38 */ "smartytag ::= LDEL ID PTR ID modifier modparameters attributes RDEL", - /* 39 */ "smartytag ::= LDEL IF SPACE ifexprs RDEL", - /* 40 */ "smartytag ::= LDEL IF UNIMATH ifexprs RDEL", - /* 41 */ "smartytag ::= LDEL IF SPACE statement RDEL", - /* 42 */ "smartytag ::= LDEL FOR SPACE statements SEMICOLON optspace ifexprs SEMICOLON optspace DOLLAR varvar foraction RDEL", - /* 43 */ "foraction ::= EQUAL expr", - /* 44 */ "foraction ::= INCDEC", - /* 45 */ "smartytag ::= LDEL FOR SPACE statement TO expr attributes RDEL", - /* 46 */ "smartytag ::= LDEL FOR SPACE statement TO expr STEP expr RDEL", - /* 47 */ "smartytag ::= LDEL FOREACH SPACE value AS DOLLAR varvar RDEL", - /* 48 */ "smartytag ::= LDEL FOREACH SPACE value AS DOLLAR varvar APTR DOLLAR varvar RDEL", - /* 49 */ "smartytag ::= LDEL FOREACH SPACE array AS DOLLAR varvar RDEL", - /* 50 */ "smartytag ::= LDEL FOREACH SPACE array AS DOLLAR varvar APTR DOLLAR varvar RDEL", - /* 51 */ "smartytag ::= LDELSLASH ID RDEL", - /* 52 */ "smartytag ::= LDELSLASH specialclose RDEL", - /* 53 */ "specialclose ::= IF", - /* 54 */ "specialclose ::= FOR", - /* 55 */ "specialclose ::= FOREACH", - /* 56 */ "smartytag ::= LDELSLASH ID attributes RDEL", - /* 57 */ "smartytag ::= LDELSLASH ID modifier modparameters attributes RDEL", - /* 58 */ "smartytag ::= LDELSLASH ID PTR ID RDEL", - /* 59 */ "attributes ::= attributes attribute", - /* 60 */ "attributes ::= attribute", - /* 61 */ "attributes ::=", - /* 62 */ "attribute ::= SPACE ID EQUAL ID", - /* 63 */ "attribute ::= SPACE ID EQUAL expr", - /* 64 */ "attribute ::= SPACE ID EQUAL ifexprs", - /* 65 */ "attribute ::= SPACE ID EQUAL value", - /* 66 */ "attribute ::= SPACE ID EQUAL ternary", - /* 67 */ "attribute ::= SPACE ID", - /* 68 */ "attribute ::= SPACE INTEGER EQUAL expr", - /* 69 */ "statements ::= statement", - /* 70 */ "statements ::= statements COMMA statement", - /* 71 */ "statement ::= DOLLAR varvar EQUAL expr", - /* 72 */ "expr ::= ID", - /* 73 */ "expr ::= exprs", - /* 74 */ "expr ::= DOLLAR ID COLON ID", - /* 75 */ "exprs ::= value", - /* 76 */ "exprs ::= exprs MATH value", - /* 77 */ "exprs ::= exprs UNIMATH value", - /* 78 */ "exprs ::= exprs ANDSYM value", - /* 79 */ "exprs ::= array", - /* 80 */ "ternary ::= OPENP ifexprs CLOSEP QMARK expr COLON expr", - /* 81 */ "ternary ::= OPENP expr CLOSEP QMARK expr COLON expr", - /* 82 */ "value ::= variable", - /* 83 */ "value ::= UNIMATH value", - /* 84 */ "value ::= NOT value", - /* 85 */ "value ::= TYPECAST value", - /* 86 */ "value ::= variable INCDEC", - /* 87 */ "value ::= INTEGER", - /* 88 */ "value ::= INTEGER DOT INTEGER", - /* 89 */ "value ::= BOOLEAN", - /* 90 */ "value ::= NULL", - /* 91 */ "value ::= function", - /* 92 */ "value ::= OPENP expr CLOSEP", - /* 93 */ "value ::= SINGLEQUOTESTRING", - /* 94 */ "value ::= QUOTE doublequoted QUOTE", - /* 95 */ "value ::= QUOTE QUOTE", - /* 96 */ "value ::= ID DOUBLECOLON method", - /* 97 */ "value ::= ID DOUBLECOLON DOLLAR ID OPENP params CLOSEP", - /* 98 */ "value ::= ID DOUBLECOLON method objectchain", - /* 99 */ "value ::= ID DOUBLECOLON DOLLAR ID OPENP params CLOSEP objectchain", - /* 100 */ "value ::= ID DOUBLECOLON ID", - /* 101 */ "value ::= ID DOUBLECOLON DOLLAR ID arrayindex", - /* 102 */ "value ::= ID DOUBLECOLON DOLLAR ID arrayindex objectchain", - /* 103 */ "value ::= smartytag", - /* 104 */ "value ::= value modifier modparameters", - /* 105 */ "variable ::= varindexed", - /* 106 */ "variable ::= DOLLAR varvar AT ID", - /* 107 */ "variable ::= object", - /* 108 */ "variable ::= HATCH ID HATCH", - /* 109 */ "variable ::= HATCH variable HATCH", - /* 110 */ "varindexed ::= DOLLAR varvar arrayindex", - /* 111 */ "arrayindex ::= arrayindex indexdef", - /* 112 */ "arrayindex ::=", - /* 113 */ "indexdef ::= DOT DOLLAR varvar", - /* 114 */ "indexdef ::= DOT DOLLAR varvar AT ID", - /* 115 */ "indexdef ::= DOT ID", - /* 116 */ "indexdef ::= DOT BOOLEAN", - /* 117 */ "indexdef ::= DOT NULL", - /* 118 */ "indexdef ::= DOT INTEGER", - /* 119 */ "indexdef ::= DOT LDEL exprs RDEL", - /* 120 */ "indexdef ::= OPENB ID CLOSEB", - /* 121 */ "indexdef ::= OPENB ID DOT ID CLOSEB", - /* 122 */ "indexdef ::= OPENB exprs CLOSEB", - /* 123 */ "indexdef ::= OPENB CLOSEB", - /* 124 */ "varvar ::= varvarele", - /* 125 */ "varvar ::= varvar varvarele", - /* 126 */ "varvarele ::= ID", - /* 127 */ "varvarele ::= LDEL expr RDEL", - /* 128 */ "object ::= varindexed objectchain", - /* 129 */ "objectchain ::= objectelement", - /* 130 */ "objectchain ::= objectchain objectelement", - /* 131 */ "objectelement ::= PTR ID arrayindex", - /* 132 */ "objectelement ::= PTR variable arrayindex", - /* 133 */ "objectelement ::= PTR LDEL expr RDEL arrayindex", - /* 134 */ "objectelement ::= PTR ID LDEL expr RDEL arrayindex", - /* 135 */ "objectelement ::= PTR method", - /* 136 */ "function ::= ID OPENP params CLOSEP", - /* 137 */ "method ::= ID OPENP params CLOSEP", - /* 138 */ "params ::= expr COMMA params", - /* 139 */ "params ::= expr", - /* 140 */ "params ::=", - /* 141 */ "modifier ::= VERT AT ID", - /* 142 */ "modifier ::= VERT ID", - /* 143 */ "modparameters ::= modparameters modparameter", - /* 144 */ "modparameters ::=", - /* 145 */ "modparameter ::= COLON value", - /* 146 */ "modparameter ::= COLON ID", - /* 147 */ "ifexprs ::= ifexpr", - /* 148 */ "ifexprs ::= NOT ifexprs", - /* 149 */ "ifexprs ::= OPENP ifexprs CLOSEP", - /* 150 */ "ifexpr ::= expr", - /* 151 */ "ifexpr ::= expr ifcond expr", - /* 152 */ "ifexpr ::= expr ISIN array", - /* 153 */ "ifexpr ::= expr ISIN value", - /* 154 */ "ifexpr ::= ifexprs lop ifexprs", - /* 155 */ "ifexpr ::= ifexprs ISDIVBY ifexprs", - /* 156 */ "ifexpr ::= ifexprs ISNOTDIVBY ifexprs", - /* 157 */ "ifexpr ::= ifexprs ISEVEN", - /* 158 */ "ifexpr ::= ifexprs ISNOTEVEN", - /* 159 */ "ifexpr ::= ifexprs ISEVENBY ifexprs", - /* 160 */ "ifexpr ::= ifexprs ISNOTEVENBY ifexprs", - /* 161 */ "ifexpr ::= ifexprs ISODD", - /* 162 */ "ifexpr ::= ifexprs ISNOTODD", - /* 163 */ "ifexpr ::= ifexprs ISODDBY ifexprs", - /* 164 */ "ifexpr ::= ifexprs ISNOTODDBY ifexprs", - /* 165 */ "ifexpr ::= value INSTANCEOF ID", - /* 166 */ "ifexpr ::= value INSTANCEOF value", - /* 167 */ "ifcond ::= EQUALS", - /* 168 */ "ifcond ::= NOTEQUALS", - /* 169 */ "ifcond ::= GREATERTHAN", - /* 170 */ "ifcond ::= LESSTHAN", - /* 171 */ "ifcond ::= GREATEREQUAL", - /* 172 */ "ifcond ::= LESSEQUAL", - /* 173 */ "ifcond ::= IDENTITY", - /* 174 */ "ifcond ::= NONEIDENTITY", - /* 175 */ "ifcond ::= MOD", - /* 176 */ "lop ::= LAND", - /* 177 */ "lop ::= LOR", - /* 178 */ "lop ::= LXOR", - /* 179 */ "array ::= OPENB arrayelements CLOSEB", - /* 180 */ "arrayelements ::= arrayelement", - /* 181 */ "arrayelements ::= arrayelements COMMA arrayelement", - /* 182 */ "arrayelements ::=", - /* 183 */ "arrayelement ::= value APTR expr", - /* 184 */ "arrayelement ::= ID APTR expr", - /* 185 */ "arrayelement ::= expr", - /* 186 */ "doublequoted ::= doublequoted doublequotedcontent", - /* 187 */ "doublequoted ::= doublequotedcontent", - /* 188 */ "doublequotedcontent ::= BACKTICK variable BACKTICK", - /* 189 */ "doublequotedcontent ::= BACKTICK expr BACKTICK", - /* 190 */ "doublequotedcontent ::= DOLLARID", - /* 191 */ "doublequotedcontent ::= LDEL variable RDEL", - /* 192 */ "doublequotedcontent ::= LDEL expr RDEL", - /* 193 */ "doublequotedcontent ::= smartytag", - /* 194 */ "doublequotedcontent ::= OTHER", - /* 195 */ "optspace ::= SPACE", - /* 196 */ "optspace ::=", + /* 6 */ "template_element ::= PHPSTARTTAG php_code PHPENDTAG", + /* 7 */ "template_element ::= FAKEPHPSTARTTAG", + /* 8 */ "template_element ::= XMLTAG", + /* 9 */ "template_element ::= OTHER", + /* 10 */ "php_code ::= php_code_element php_code", + /* 11 */ "php_code ::=", + /* 12 */ "php_code_element ::= PHP_CODE", + /* 13 */ "php_code_element ::= PHP_CODE_START_DOUBLEQUOTE php_dq_contents PHP_CODE_DOUBLEQUOTE", + /* 14 */ "php_code_element ::= PHP_HEREDOC_START php_dq_contents PHP_HEREDOC_END", + /* 15 */ "php_code_element ::= PHP_NOWDOC_START php_dq_contents PHP_NOWDOC_END", + /* 16 */ "php_dq_contents ::= php_dq_content php_dq_contents", + /* 17 */ "php_dq_contents ::=", + /* 18 */ "php_dq_content ::= PHP_DQ_CONTENT", + /* 19 */ "php_dq_content ::= PHP_DQ_EMBED_START php_code PHP_DQ_EMBED_END", + /* 20 */ "literal ::= LITERALSTART LITERALEND", + /* 21 */ "literal ::= LITERALSTART literal_elements LITERALEND", + /* 22 */ "literal_elements ::= literal_elements literal_element", + /* 23 */ "literal_elements ::=", + /* 24 */ "literal_element ::= literal", + /* 25 */ "literal_element ::= LITERAL", + /* 26 */ "literal_element ::= PHPSTARTTAG", + /* 27 */ "literal_element ::= FAKEPHPSTARTTAG", + /* 28 */ "literal_element ::= PHPENDTAG", + /* 29 */ "smartytag ::= LDEL value RDEL", + /* 30 */ "smartytag ::= LDEL value attributes RDEL", + /* 31 */ "smartytag ::= LDEL variable attributes RDEL", + /* 32 */ "smartytag ::= LDEL expr attributes RDEL", + /* 33 */ "smartytag ::= LDEL ternary attributes RDEL", + /* 34 */ "smartytag ::= LDEL DOLLAR ID EQUAL value RDEL", + /* 35 */ "smartytag ::= LDEL DOLLAR ID EQUAL expr RDEL", + /* 36 */ "smartytag ::= LDEL DOLLAR ID EQUAL expr attributes RDEL", + /* 37 */ "smartytag ::= LDEL DOLLAR ID EQUAL ifexprs attributes RDEL", + /* 38 */ "smartytag ::= LDEL DOLLAR ID EQUAL ternary attributes RDEL", + /* 39 */ "smartytag ::= LDEL varindexed EQUAL expr attributes RDEL", + /* 40 */ "smartytag ::= LDEL varindexed EQUAL ternary attributes RDEL", + /* 41 */ "smartytag ::= LDEL varindexed EQUAL ifexprs attributes RDEL", + /* 42 */ "smartytag ::= LDEL ID attributes RDEL", + /* 43 */ "smartytag ::= LDEL FOREACH attributes RDEL", + /* 44 */ "smartytag ::= LDEL ID RDEL", + /* 45 */ "smartytag ::= LDEL ID PTR ID attributes RDEL", + /* 46 */ "smartytag ::= LDEL ID modifier modparameters attributes RDEL", + /* 47 */ "smartytag ::= LDEL ID PTR ID modifier modparameters attributes RDEL", + /* 48 */ "smartytag ::= LDEL IF SPACE ifexprs RDEL", + /* 49 */ "smartytag ::= LDEL IF UNIMATH ifexprs RDEL", + /* 50 */ "smartytag ::= LDEL IF SPACE statement RDEL", + /* 51 */ "smartytag ::= LDEL FOR SPACE statements SEMICOLON optspace ifexprs SEMICOLON optspace DOLLAR varvar foraction RDEL", + /* 52 */ "foraction ::= EQUAL expr", + /* 53 */ "foraction ::= INCDEC", + /* 54 */ "smartytag ::= LDEL FOR SPACE statement TO expr attributes RDEL", + /* 55 */ "smartytag ::= LDEL FOR SPACE statement TO expr STEP expr RDEL", + /* 56 */ "smartytag ::= LDEL FOREACH SPACE value AS DOLLAR varvar RDEL", + /* 57 */ "smartytag ::= LDEL FOREACH SPACE value AS DOLLAR varvar APTR DOLLAR varvar RDEL", + /* 58 */ "smartytag ::= LDEL FOREACH SPACE array AS DOLLAR varvar RDEL", + /* 59 */ "smartytag ::= LDEL FOREACH SPACE array AS DOLLAR varvar APTR DOLLAR varvar RDEL", + /* 60 */ "smartytag ::= LDELSLASH ID RDEL", + /* 61 */ "smartytag ::= LDELSLASH specialclose RDEL", + /* 62 */ "specialclose ::= IF", + /* 63 */ "specialclose ::= FOR", + /* 64 */ "specialclose ::= FOREACH", + /* 65 */ "smartytag ::= LDELSLASH ID attributes RDEL", + /* 66 */ "smartytag ::= LDELSLASH ID modifier modparameters attributes RDEL", + /* 67 */ "smartytag ::= LDELSLASH ID PTR ID RDEL", + /* 68 */ "attributes ::= attributes attribute", + /* 69 */ "attributes ::= attribute", + /* 70 */ "attributes ::=", + /* 71 */ "attribute ::= SPACE ID EQUAL ID", + /* 72 */ "attribute ::= SPACE ID EQUAL expr", + /* 73 */ "attribute ::= SPACE ID EQUAL ifexprs", + /* 74 */ "attribute ::= SPACE ID EQUAL value", + /* 75 */ "attribute ::= SPACE ID EQUAL ternary", + /* 76 */ "attribute ::= SPACE ID", + /* 77 */ "attribute ::= SPACE INTEGER EQUAL expr", + /* 78 */ "statements ::= statement", + /* 79 */ "statements ::= statements COMMA statement", + /* 80 */ "statement ::= DOLLAR varvar EQUAL expr", + /* 81 */ "expr ::= ID", + /* 82 */ "expr ::= exprs", + /* 83 */ "expr ::= DOLLAR ID COLON ID", + /* 84 */ "exprs ::= value", + /* 85 */ "exprs ::= exprs MATH value", + /* 86 */ "exprs ::= exprs UNIMATH value", + /* 87 */ "exprs ::= exprs ANDSYM value", + /* 88 */ "exprs ::= array", + /* 89 */ "ternary ::= OPENP ifexprs CLOSEP QMARK expr COLON expr", + /* 90 */ "ternary ::= OPENP expr CLOSEP QMARK expr COLON expr", + /* 91 */ "value ::= variable", + /* 92 */ "value ::= UNIMATH value", + /* 93 */ "value ::= NOT value", + /* 94 */ "value ::= TYPECAST value", + /* 95 */ "value ::= variable INCDEC", + /* 96 */ "value ::= INTEGER", + /* 97 */ "value ::= INTEGER DOT INTEGER", + /* 98 */ "value ::= BOOLEAN", + /* 99 */ "value ::= NULL", + /* 100 */ "value ::= function", + /* 101 */ "value ::= OPENP expr CLOSEP", + /* 102 */ "value ::= SINGLEQUOTESTRING", + /* 103 */ "value ::= QUOTE doublequoted QUOTE", + /* 104 */ "value ::= QUOTE QUOTE", + /* 105 */ "value ::= ID DOUBLECOLON static_class_access", + /* 106 */ "value ::= smartytag", + /* 107 */ "value ::= value modifier modparameters", + /* 108 */ "variable ::= varindexed", + /* 109 */ "variable ::= DOLLAR varvar AT ID", + /* 110 */ "variable ::= object", + /* 111 */ "variable ::= HATCH ID HATCH", + /* 112 */ "variable ::= HATCH variable HATCH", + /* 113 */ "varindexed ::= DOLLAR varvar arrayindex", + /* 114 */ "arrayindex ::= arrayindex indexdef", + /* 115 */ "arrayindex ::=", + /* 116 */ "indexdef ::= DOT DOLLAR varvar", + /* 117 */ "indexdef ::= DOT DOLLAR varvar AT ID", + /* 118 */ "indexdef ::= DOT ID", + /* 119 */ "indexdef ::= DOT BOOLEAN", + /* 120 */ "indexdef ::= DOT NULL", + /* 121 */ "indexdef ::= DOT INTEGER", + /* 122 */ "indexdef ::= DOT LDEL exprs RDEL", + /* 123 */ "indexdef ::= OPENB ID CLOSEB", + /* 124 */ "indexdef ::= OPENB ID DOT ID CLOSEB", + /* 125 */ "indexdef ::= OPENB exprs CLOSEB", + /* 126 */ "indexdef ::= OPENB CLOSEB", + /* 127 */ "varvar ::= varvarele", + /* 128 */ "varvar ::= varvar varvarele", + /* 129 */ "varvarele ::= ID", + /* 130 */ "varvarele ::= LDEL expr RDEL", + /* 131 */ "object ::= varindexed objectchain", + /* 132 */ "objectchain ::= objectelement", + /* 133 */ "objectchain ::= objectchain objectelement", + /* 134 */ "objectelement ::= PTR ID arrayindex", + /* 135 */ "objectelement ::= PTR variable arrayindex", + /* 136 */ "objectelement ::= PTR LDEL expr RDEL arrayindex", + /* 137 */ "objectelement ::= PTR ID LDEL expr RDEL arrayindex", + /* 138 */ "objectelement ::= PTR method", + /* 139 */ "function ::= ID OPENP params CLOSEP", + /* 140 */ "method ::= ID OPENP params CLOSEP", + /* 141 */ "params ::= expr COMMA params", + /* 142 */ "params ::= expr", + /* 143 */ "params ::=", + /* 144 */ "modifier ::= VERT AT ID", + /* 145 */ "modifier ::= VERT ID", + /* 146 */ "static_class_access ::= method", + /* 147 */ "static_class_access ::= DOLLAR ID OPENP params CLOSEP", + /* 148 */ "static_class_access ::= method objectchain", + /* 149 */ "static_class_access ::= DOLLAR ID OPENP params CLOSEP objectchain", + /* 150 */ "static_class_access ::= ID", + /* 151 */ "static_class_access ::= DOLLAR ID arrayindex", + /* 152 */ "static_class_access ::= DOLLAR ID arrayindex objectchain", + /* 153 */ "modparameters ::= modparameters modparameter", + /* 154 */ "modparameters ::=", + /* 155 */ "modparameter ::= COLON value", + /* 156 */ "modparameter ::= COLON ID", + /* 157 */ "ifexprs ::= ifexpr", + /* 158 */ "ifexprs ::= NOT ifexprs", + /* 159 */ "ifexprs ::= OPENP ifexprs CLOSEP", + /* 160 */ "ifexpr ::= expr", + /* 161 */ "ifexpr ::= expr ifcond expr", + /* 162 */ "ifexpr ::= expr ISIN array", + /* 163 */ "ifexpr ::= expr ISIN value", + /* 164 */ "ifexpr ::= ifexprs lop ifexprs", + /* 165 */ "ifexpr ::= ifexprs ISDIVBY ifexprs", + /* 166 */ "ifexpr ::= ifexprs ISNOTDIVBY ifexprs", + /* 167 */ "ifexpr ::= ifexprs ISEVEN", + /* 168 */ "ifexpr ::= ifexprs ISNOTEVEN", + /* 169 */ "ifexpr ::= ifexprs ISEVENBY ifexprs", + /* 170 */ "ifexpr ::= ifexprs ISNOTEVENBY ifexprs", + /* 171 */ "ifexpr ::= ifexprs ISODD", + /* 172 */ "ifexpr ::= ifexprs ISNOTODD", + /* 173 */ "ifexpr ::= ifexprs ISODDBY ifexprs", + /* 174 */ "ifexpr ::= ifexprs ISNOTODDBY ifexprs", + /* 175 */ "ifexpr ::= value INSTANCEOF ID", + /* 176 */ "ifexpr ::= value INSTANCEOF value", + /* 177 */ "ifcond ::= EQUALS", + /* 178 */ "ifcond ::= NOTEQUALS", + /* 179 */ "ifcond ::= GREATERTHAN", + /* 180 */ "ifcond ::= LESSTHAN", + /* 181 */ "ifcond ::= GREATEREQUAL", + /* 182 */ "ifcond ::= LESSEQUAL", + /* 183 */ "ifcond ::= IDENTITY", + /* 184 */ "ifcond ::= NONEIDENTITY", + /* 185 */ "ifcond ::= MOD", + /* 186 */ "lop ::= LAND", + /* 187 */ "lop ::= LOR", + /* 188 */ "lop ::= LXOR", + /* 189 */ "array ::= OPENB arrayelements CLOSEB", + /* 190 */ "arrayelements ::= arrayelement", + /* 191 */ "arrayelements ::= arrayelements COMMA arrayelement", + /* 192 */ "arrayelements ::=", + /* 193 */ "arrayelement ::= value APTR expr", + /* 194 */ "arrayelement ::= ID APTR expr", + /* 195 */ "arrayelement ::= expr", + /* 196 */ "doublequoted ::= doublequoted doublequotedcontent", + /* 197 */ "doublequoted ::= doublequotedcontent", + /* 198 */ "doublequotedcontent ::= BACKTICK variable BACKTICK", + /* 199 */ "doublequotedcontent ::= BACKTICK expr BACKTICK", + /* 200 */ "doublequotedcontent ::= DOLLARID", + /* 201 */ "doublequotedcontent ::= LDEL variable RDEL", + /* 202 */ "doublequotedcontent ::= LDEL expr RDEL", + /* 203 */ "doublequotedcontent ::= smartytag", + /* 204 */ "doublequotedcontent ::= OTHER", + /* 205 */ "optspace ::= SPACE", + /* 206 */ "optspace ::=", ); function tokenName($tokenType) @@ -1582,222 +1653,235 @@ static public $yy_action = array( } static public $yyRuleInfo = array( - array( 'lhs' => 76, 'rhs' => 1 ), - array( 'lhs' => 77, 'rhs' => 1 ), - array( 'lhs' => 77, 'rhs' => 2 ), - array( 'lhs' => 78, 'rhs' => 1 ), - array( 'lhs' => 78, 'rhs' => 1 ), - array( 'lhs' => 78, 'rhs' => 1 ), - array( 'lhs' => 78, 'rhs' => 1 ), - array( 'lhs' => 78, 'rhs' => 1 ), - array( 'lhs' => 78, 'rhs' => 1 ), - array( 'lhs' => 78, 'rhs' => 1 ), - array( 'lhs' => 78, 'rhs' => 1 ), - array( 'lhs' => 80, 'rhs' => 2 ), - array( 'lhs' => 80, 'rhs' => 3 ), - array( 'lhs' => 81, 'rhs' => 2 ), - array( 'lhs' => 81, 'rhs' => 0 ), - array( 'lhs' => 82, 'rhs' => 1 ), - array( 'lhs' => 82, 'rhs' => 1 ), - array( 'lhs' => 82, 'rhs' => 1 ), - array( 'lhs' => 82, 'rhs' => 1 ), - array( 'lhs' => 82, 'rhs' => 1 ), - array( 'lhs' => 79, 'rhs' => 3 ), - array( 'lhs' => 79, 'rhs' => 4 ), - array( 'lhs' => 79, 'rhs' => 4 ), - array( 'lhs' => 79, 'rhs' => 4 ), - array( 'lhs' => 79, 'rhs' => 4 ), - array( 'lhs' => 79, 'rhs' => 6 ), - array( 'lhs' => 79, 'rhs' => 6 ), - array( 'lhs' => 79, 'rhs' => 7 ), - array( 'lhs' => 79, 'rhs' => 7 ), - array( 'lhs' => 79, 'rhs' => 7 ), - array( 'lhs' => 79, 'rhs' => 6 ), - array( 'lhs' => 79, 'rhs' => 6 ), - array( 'lhs' => 79, 'rhs' => 6 ), - array( 'lhs' => 79, 'rhs' => 4 ), - array( 'lhs' => 79, 'rhs' => 4 ), - array( 'lhs' => 79, 'rhs' => 3 ), - array( 'lhs' => 79, 'rhs' => 6 ), - array( 'lhs' => 79, 'rhs' => 6 ), - array( 'lhs' => 79, 'rhs' => 8 ), - array( 'lhs' => 79, 'rhs' => 5 ), - array( 'lhs' => 79, 'rhs' => 5 ), - array( 'lhs' => 79, 'rhs' => 5 ), - array( 'lhs' => 79, 'rhs' => 13 ), - array( 'lhs' => 96, 'rhs' => 2 ), - array( 'lhs' => 96, 'rhs' => 1 ), - array( 'lhs' => 79, 'rhs' => 8 ), - array( 'lhs' => 79, 'rhs' => 9 ), - array( 'lhs' => 79, 'rhs' => 8 ), - array( 'lhs' => 79, 'rhs' => 11 ), - array( 'lhs' => 79, 'rhs' => 8 ), - array( 'lhs' => 79, 'rhs' => 11 ), - array( 'lhs' => 79, 'rhs' => 3 ), - array( 'lhs' => 79, 'rhs' => 3 ), - array( 'lhs' => 98, 'rhs' => 1 ), - array( 'lhs' => 98, 'rhs' => 1 ), - array( 'lhs' => 98, 'rhs' => 1 ), - array( 'lhs' => 79, 'rhs' => 4 ), - array( 'lhs' => 79, 'rhs' => 6 ), - array( 'lhs' => 79, 'rhs' => 5 ), - array( 'lhs' => 84, 'rhs' => 2 ), - array( 'lhs' => 84, 'rhs' => 1 ), - array( 'lhs' => 84, 'rhs' => 0 ), - array( 'lhs' => 99, 'rhs' => 4 ), - array( 'lhs' => 99, 'rhs' => 4 ), - array( 'lhs' => 99, 'rhs' => 4 ), - array( 'lhs' => 99, 'rhs' => 4 ), - array( 'lhs' => 99, 'rhs' => 4 ), - array( 'lhs' => 99, 'rhs' => 2 ), - array( 'lhs' => 99, 'rhs' => 4 ), - array( 'lhs' => 93, 'rhs' => 1 ), - array( 'lhs' => 93, 'rhs' => 3 ), - array( 'lhs' => 92, 'rhs' => 4 ), array( 'lhs' => 86, 'rhs' => 1 ), - array( 'lhs' => 86, 'rhs' => 1 ), - array( 'lhs' => 86, 'rhs' => 4 ), - array( 'lhs' => 100, 'rhs' => 1 ), - array( 'lhs' => 100, 'rhs' => 3 ), - array( 'lhs' => 100, 'rhs' => 3 ), - array( 'lhs' => 100, 'rhs' => 3 ), - array( 'lhs' => 100, 'rhs' => 1 ), - array( 'lhs' => 87, 'rhs' => 7 ), - array( 'lhs' => 87, 'rhs' => 7 ), - array( 'lhs' => 83, 'rhs' => 1 ), - array( 'lhs' => 83, 'rhs' => 2 ), - array( 'lhs' => 83, 'rhs' => 2 ), - array( 'lhs' => 83, 'rhs' => 2 ), - array( 'lhs' => 83, 'rhs' => 2 ), - array( 'lhs' => 83, 'rhs' => 1 ), - array( 'lhs' => 83, 'rhs' => 3 ), - array( 'lhs' => 83, 'rhs' => 1 ), - array( 'lhs' => 83, 'rhs' => 1 ), - array( 'lhs' => 83, 'rhs' => 1 ), - array( 'lhs' => 83, 'rhs' => 3 ), - array( 'lhs' => 83, 'rhs' => 1 ), - array( 'lhs' => 83, 'rhs' => 3 ), - array( 'lhs' => 83, 'rhs' => 2 ), - array( 'lhs' => 83, 'rhs' => 3 ), - array( 'lhs' => 83, 'rhs' => 7 ), - array( 'lhs' => 83, 'rhs' => 4 ), - array( 'lhs' => 83, 'rhs' => 8 ), - array( 'lhs' => 83, 'rhs' => 3 ), - array( 'lhs' => 83, 'rhs' => 5 ), - array( 'lhs' => 83, 'rhs' => 6 ), - array( 'lhs' => 83, 'rhs' => 1 ), - array( 'lhs' => 83, 'rhs' => 3 ), - array( 'lhs' => 85, 'rhs' => 1 ), - array( 'lhs' => 85, 'rhs' => 4 ), - array( 'lhs' => 85, 'rhs' => 1 ), - array( 'lhs' => 85, 'rhs' => 3 ), - array( 'lhs' => 85, 'rhs' => 3 ), - array( 'lhs' => 89, 'rhs' => 3 ), - array( 'lhs' => 106, 'rhs' => 2 ), - array( 'lhs' => 106, 'rhs' => 0 ), - array( 'lhs' => 108, 'rhs' => 3 ), - array( 'lhs' => 108, 'rhs' => 5 ), - array( 'lhs' => 108, 'rhs' => 2 ), - array( 'lhs' => 108, 'rhs' => 2 ), - array( 'lhs' => 108, 'rhs' => 2 ), - array( 'lhs' => 108, 'rhs' => 2 ), - array( 'lhs' => 108, 'rhs' => 4 ), - array( 'lhs' => 108, 'rhs' => 3 ), - array( 'lhs' => 108, 'rhs' => 5 ), - array( 'lhs' => 108, 'rhs' => 3 ), - array( 'lhs' => 108, 'rhs' => 2 ), - array( 'lhs' => 95, 'rhs' => 1 ), - array( 'lhs' => 95, 'rhs' => 2 ), - array( 'lhs' => 109, 'rhs' => 1 ), - array( 'lhs' => 109, 'rhs' => 3 ), - array( 'lhs' => 107, 'rhs' => 2 ), - array( 'lhs' => 105, 'rhs' => 1 ), - array( 'lhs' => 105, 'rhs' => 2 ), - array( 'lhs' => 110, 'rhs' => 3 ), - array( 'lhs' => 110, 'rhs' => 3 ), - array( 'lhs' => 110, 'rhs' => 5 ), - array( 'lhs' => 110, 'rhs' => 6 ), - array( 'lhs' => 110, 'rhs' => 2 ), - array( 'lhs' => 101, 'rhs' => 4 ), - array( 'lhs' => 103, 'rhs' => 4 ), - array( 'lhs' => 104, 'rhs' => 3 ), - array( 'lhs' => 104, 'rhs' => 1 ), - array( 'lhs' => 104, 'rhs' => 0 ), - array( 'lhs' => 90, 'rhs' => 3 ), - array( 'lhs' => 90, 'rhs' => 2 ), + array( 'lhs' => 87, 'rhs' => 1 ), + array( 'lhs' => 87, 'rhs' => 2 ), + array( 'lhs' => 88, 'rhs' => 1 ), + array( 'lhs' => 88, 'rhs' => 1 ), + array( 'lhs' => 88, 'rhs' => 1 ), + array( 'lhs' => 88, 'rhs' => 3 ), + array( 'lhs' => 88, 'rhs' => 1 ), + array( 'lhs' => 88, 'rhs' => 1 ), + array( 'lhs' => 88, 'rhs' => 1 ), array( 'lhs' => 91, 'rhs' => 2 ), array( 'lhs' => 91, 'rhs' => 0 ), - array( 'lhs' => 111, 'rhs' => 2 ), - array( 'lhs' => 111, 'rhs' => 2 ), - array( 'lhs' => 88, 'rhs' => 1 ), - array( 'lhs' => 88, 'rhs' => 2 ), - array( 'lhs' => 88, 'rhs' => 3 ), - array( 'lhs' => 112, 'rhs' => 1 ), - array( 'lhs' => 112, 'rhs' => 3 ), - array( 'lhs' => 112, 'rhs' => 3 ), - array( 'lhs' => 112, 'rhs' => 3 ), - array( 'lhs' => 112, 'rhs' => 3 ), - array( 'lhs' => 112, 'rhs' => 3 ), - array( 'lhs' => 112, 'rhs' => 3 ), - array( 'lhs' => 112, 'rhs' => 2 ), - array( 'lhs' => 112, 'rhs' => 2 ), - array( 'lhs' => 112, 'rhs' => 3 ), - array( 'lhs' => 112, 'rhs' => 3 ), - array( 'lhs' => 112, 'rhs' => 2 ), - array( 'lhs' => 112, 'rhs' => 2 ), - array( 'lhs' => 112, 'rhs' => 3 ), - array( 'lhs' => 112, 'rhs' => 3 ), - array( 'lhs' => 112, 'rhs' => 3 ), - array( 'lhs' => 112, 'rhs' => 3 ), - array( 'lhs' => 113, 'rhs' => 1 ), - array( 'lhs' => 113, 'rhs' => 1 ), - array( 'lhs' => 113, 'rhs' => 1 ), - array( 'lhs' => 113, 'rhs' => 1 ), - array( 'lhs' => 113, 'rhs' => 1 ), - array( 'lhs' => 113, 'rhs' => 1 ), - array( 'lhs' => 113, 'rhs' => 1 ), - array( 'lhs' => 113, 'rhs' => 1 ), - array( 'lhs' => 113, 'rhs' => 1 ), - array( 'lhs' => 114, 'rhs' => 1 ), - array( 'lhs' => 114, 'rhs' => 1 ), - array( 'lhs' => 114, 'rhs' => 1 ), - array( 'lhs' => 97, 'rhs' => 3 ), - array( 'lhs' => 115, 'rhs' => 1 ), - array( 'lhs' => 115, 'rhs' => 3 ), - array( 'lhs' => 115, 'rhs' => 0 ), - array( 'lhs' => 116, 'rhs' => 3 ), - array( 'lhs' => 116, 'rhs' => 3 ), - array( 'lhs' => 116, 'rhs' => 1 ), - array( 'lhs' => 102, 'rhs' => 2 ), - array( 'lhs' => 102, 'rhs' => 1 ), - array( 'lhs' => 117, 'rhs' => 3 ), - array( 'lhs' => 117, 'rhs' => 3 ), - array( 'lhs' => 117, 'rhs' => 1 ), - array( 'lhs' => 117, 'rhs' => 3 ), - array( 'lhs' => 117, 'rhs' => 3 ), - array( 'lhs' => 117, 'rhs' => 1 ), - array( 'lhs' => 117, 'rhs' => 1 ), + array( 'lhs' => 92, 'rhs' => 1 ), + array( 'lhs' => 92, 'rhs' => 3 ), + array( 'lhs' => 92, 'rhs' => 3 ), + array( 'lhs' => 92, 'rhs' => 3 ), + array( 'lhs' => 93, 'rhs' => 2 ), + array( 'lhs' => 93, 'rhs' => 0 ), array( 'lhs' => 94, 'rhs' => 1 ), - array( 'lhs' => 94, 'rhs' => 0 ), + array( 'lhs' => 94, 'rhs' => 3 ), + array( 'lhs' => 90, 'rhs' => 2 ), + array( 'lhs' => 90, 'rhs' => 3 ), + array( 'lhs' => 95, 'rhs' => 2 ), + array( 'lhs' => 95, 'rhs' => 0 ), + array( 'lhs' => 96, 'rhs' => 1 ), + array( 'lhs' => 96, 'rhs' => 1 ), + array( 'lhs' => 96, 'rhs' => 1 ), + array( 'lhs' => 96, 'rhs' => 1 ), + array( 'lhs' => 96, 'rhs' => 1 ), + array( 'lhs' => 89, 'rhs' => 3 ), + array( 'lhs' => 89, 'rhs' => 4 ), + array( 'lhs' => 89, 'rhs' => 4 ), + array( 'lhs' => 89, 'rhs' => 4 ), + array( 'lhs' => 89, 'rhs' => 4 ), + array( 'lhs' => 89, 'rhs' => 6 ), + array( 'lhs' => 89, 'rhs' => 6 ), + array( 'lhs' => 89, 'rhs' => 7 ), + array( 'lhs' => 89, 'rhs' => 7 ), + array( 'lhs' => 89, 'rhs' => 7 ), + array( 'lhs' => 89, 'rhs' => 6 ), + array( 'lhs' => 89, 'rhs' => 6 ), + array( 'lhs' => 89, 'rhs' => 6 ), + array( 'lhs' => 89, 'rhs' => 4 ), + array( 'lhs' => 89, 'rhs' => 4 ), + array( 'lhs' => 89, 'rhs' => 3 ), + array( 'lhs' => 89, 'rhs' => 6 ), + array( 'lhs' => 89, 'rhs' => 6 ), + array( 'lhs' => 89, 'rhs' => 8 ), + array( 'lhs' => 89, 'rhs' => 5 ), + array( 'lhs' => 89, 'rhs' => 5 ), + array( 'lhs' => 89, 'rhs' => 5 ), + array( 'lhs' => 89, 'rhs' => 13 ), + array( 'lhs' => 110, 'rhs' => 2 ), + array( 'lhs' => 110, 'rhs' => 1 ), + array( 'lhs' => 89, 'rhs' => 8 ), + array( 'lhs' => 89, 'rhs' => 9 ), + array( 'lhs' => 89, 'rhs' => 8 ), + array( 'lhs' => 89, 'rhs' => 11 ), + array( 'lhs' => 89, 'rhs' => 8 ), + array( 'lhs' => 89, 'rhs' => 11 ), + array( 'lhs' => 89, 'rhs' => 3 ), + array( 'lhs' => 89, 'rhs' => 3 ), + array( 'lhs' => 112, 'rhs' => 1 ), + array( 'lhs' => 112, 'rhs' => 1 ), + array( 'lhs' => 112, 'rhs' => 1 ), + array( 'lhs' => 89, 'rhs' => 4 ), + array( 'lhs' => 89, 'rhs' => 6 ), + array( 'lhs' => 89, 'rhs' => 5 ), + array( 'lhs' => 98, 'rhs' => 2 ), + array( 'lhs' => 98, 'rhs' => 1 ), + array( 'lhs' => 98, 'rhs' => 0 ), + array( 'lhs' => 113, 'rhs' => 4 ), + array( 'lhs' => 113, 'rhs' => 4 ), + array( 'lhs' => 113, 'rhs' => 4 ), + array( 'lhs' => 113, 'rhs' => 4 ), + array( 'lhs' => 113, 'rhs' => 4 ), + array( 'lhs' => 113, 'rhs' => 2 ), + array( 'lhs' => 113, 'rhs' => 4 ), + array( 'lhs' => 107, 'rhs' => 1 ), + array( 'lhs' => 107, 'rhs' => 3 ), + array( 'lhs' => 106, 'rhs' => 4 ), + array( 'lhs' => 100, 'rhs' => 1 ), + array( 'lhs' => 100, 'rhs' => 1 ), + array( 'lhs' => 100, 'rhs' => 4 ), + array( 'lhs' => 114, 'rhs' => 1 ), + array( 'lhs' => 114, 'rhs' => 3 ), + array( 'lhs' => 114, 'rhs' => 3 ), + array( 'lhs' => 114, 'rhs' => 3 ), + array( 'lhs' => 114, 'rhs' => 1 ), + array( 'lhs' => 101, 'rhs' => 7 ), + array( 'lhs' => 101, 'rhs' => 7 ), + array( 'lhs' => 97, 'rhs' => 1 ), + array( 'lhs' => 97, 'rhs' => 2 ), + array( 'lhs' => 97, 'rhs' => 2 ), + array( 'lhs' => 97, 'rhs' => 2 ), + array( 'lhs' => 97, 'rhs' => 2 ), + array( 'lhs' => 97, 'rhs' => 1 ), + array( 'lhs' => 97, 'rhs' => 3 ), + array( 'lhs' => 97, 'rhs' => 1 ), + array( 'lhs' => 97, 'rhs' => 1 ), + array( 'lhs' => 97, 'rhs' => 1 ), + array( 'lhs' => 97, 'rhs' => 3 ), + array( 'lhs' => 97, 'rhs' => 1 ), + array( 'lhs' => 97, 'rhs' => 3 ), + array( 'lhs' => 97, 'rhs' => 2 ), + array( 'lhs' => 97, 'rhs' => 3 ), + array( 'lhs' => 97, 'rhs' => 1 ), + array( 'lhs' => 97, 'rhs' => 3 ), + array( 'lhs' => 99, 'rhs' => 1 ), + array( 'lhs' => 99, 'rhs' => 4 ), + array( 'lhs' => 99, 'rhs' => 1 ), + array( 'lhs' => 99, 'rhs' => 3 ), + array( 'lhs' => 99, 'rhs' => 3 ), + array( 'lhs' => 103, 'rhs' => 3 ), + array( 'lhs' => 119, 'rhs' => 2 ), + array( 'lhs' => 119, 'rhs' => 0 ), + array( 'lhs' => 120, 'rhs' => 3 ), + array( 'lhs' => 120, 'rhs' => 5 ), + array( 'lhs' => 120, 'rhs' => 2 ), + array( 'lhs' => 120, 'rhs' => 2 ), + array( 'lhs' => 120, 'rhs' => 2 ), + array( 'lhs' => 120, 'rhs' => 2 ), + array( 'lhs' => 120, 'rhs' => 4 ), + array( 'lhs' => 120, 'rhs' => 3 ), + array( 'lhs' => 120, 'rhs' => 5 ), + array( 'lhs' => 120, 'rhs' => 3 ), + array( 'lhs' => 120, 'rhs' => 2 ), + array( 'lhs' => 109, 'rhs' => 1 ), + array( 'lhs' => 109, 'rhs' => 2 ), + array( 'lhs' => 121, 'rhs' => 1 ), + array( 'lhs' => 121, 'rhs' => 3 ), + array( 'lhs' => 118, 'rhs' => 2 ), + array( 'lhs' => 122, 'rhs' => 1 ), + array( 'lhs' => 122, 'rhs' => 2 ), + array( 'lhs' => 123, 'rhs' => 3 ), + array( 'lhs' => 123, 'rhs' => 3 ), + array( 'lhs' => 123, 'rhs' => 5 ), + array( 'lhs' => 123, 'rhs' => 6 ), + array( 'lhs' => 123, 'rhs' => 2 ), + array( 'lhs' => 115, 'rhs' => 4 ), + array( 'lhs' => 124, 'rhs' => 4 ), + array( 'lhs' => 125, 'rhs' => 3 ), + array( 'lhs' => 125, 'rhs' => 1 ), + array( 'lhs' => 125, 'rhs' => 0 ), + array( 'lhs' => 104, 'rhs' => 3 ), + array( 'lhs' => 104, 'rhs' => 2 ), + array( 'lhs' => 117, 'rhs' => 1 ), + array( 'lhs' => 117, 'rhs' => 5 ), + array( 'lhs' => 117, 'rhs' => 2 ), + array( 'lhs' => 117, 'rhs' => 6 ), + array( 'lhs' => 117, 'rhs' => 1 ), + array( 'lhs' => 117, 'rhs' => 3 ), + array( 'lhs' => 117, 'rhs' => 4 ), + array( 'lhs' => 105, 'rhs' => 2 ), + array( 'lhs' => 105, 'rhs' => 0 ), + array( 'lhs' => 126, 'rhs' => 2 ), + array( 'lhs' => 126, 'rhs' => 2 ), + array( 'lhs' => 102, 'rhs' => 1 ), + array( 'lhs' => 102, 'rhs' => 2 ), + array( 'lhs' => 102, 'rhs' => 3 ), + array( 'lhs' => 127, 'rhs' => 1 ), + array( 'lhs' => 127, 'rhs' => 3 ), + array( 'lhs' => 127, 'rhs' => 3 ), + array( 'lhs' => 127, 'rhs' => 3 ), + array( 'lhs' => 127, 'rhs' => 3 ), + array( 'lhs' => 127, 'rhs' => 3 ), + array( 'lhs' => 127, 'rhs' => 3 ), + array( 'lhs' => 127, 'rhs' => 2 ), + array( 'lhs' => 127, 'rhs' => 2 ), + array( 'lhs' => 127, 'rhs' => 3 ), + array( 'lhs' => 127, 'rhs' => 3 ), + array( 'lhs' => 127, 'rhs' => 2 ), + array( 'lhs' => 127, 'rhs' => 2 ), + array( 'lhs' => 127, 'rhs' => 3 ), + array( 'lhs' => 127, 'rhs' => 3 ), + array( 'lhs' => 127, 'rhs' => 3 ), + array( 'lhs' => 127, 'rhs' => 3 ), + array( 'lhs' => 128, 'rhs' => 1 ), + array( 'lhs' => 128, 'rhs' => 1 ), + array( 'lhs' => 128, 'rhs' => 1 ), + array( 'lhs' => 128, 'rhs' => 1 ), + array( 'lhs' => 128, 'rhs' => 1 ), + array( 'lhs' => 128, 'rhs' => 1 ), + array( 'lhs' => 128, 'rhs' => 1 ), + array( 'lhs' => 128, 'rhs' => 1 ), + array( 'lhs' => 128, 'rhs' => 1 ), + array( 'lhs' => 129, 'rhs' => 1 ), + array( 'lhs' => 129, 'rhs' => 1 ), + array( 'lhs' => 129, 'rhs' => 1 ), + array( 'lhs' => 111, 'rhs' => 3 ), + array( 'lhs' => 130, 'rhs' => 1 ), + array( 'lhs' => 130, 'rhs' => 3 ), + array( 'lhs' => 130, 'rhs' => 0 ), + array( 'lhs' => 131, 'rhs' => 3 ), + array( 'lhs' => 131, 'rhs' => 3 ), + array( 'lhs' => 131, 'rhs' => 1 ), + array( 'lhs' => 116, 'rhs' => 2 ), + array( 'lhs' => 116, 'rhs' => 1 ), + array( 'lhs' => 132, 'rhs' => 3 ), + array( 'lhs' => 132, 'rhs' => 3 ), + array( 'lhs' => 132, 'rhs' => 1 ), + array( 'lhs' => 132, 'rhs' => 3 ), + array( 'lhs' => 132, 'rhs' => 3 ), + array( 'lhs' => 132, 'rhs' => 1 ), + array( 'lhs' => 132, 'rhs' => 1 ), + array( 'lhs' => 108, 'rhs' => 1 ), + array( 'lhs' => 108, 'rhs' => 0 ), ); static public $yyReduceMap = array( 0 => 0, 5 => 0, - 15 => 0, - 16 => 0, - 53 => 0, - 54 => 0, - 55 => 0, - 75 => 0, - 82 => 0, - 87 => 0, - 89 => 0, - 90 => 0, + 12 => 0, + 18 => 0, + 24 => 0, + 25 => 0, + 62 => 0, + 63 => 0, + 64 => 0, + 84 => 0, 91 => 0, - 93 => 0, - 107 => 0, - 180 => 0, + 96 => 0, + 98 => 0, + 99 => 0, + 100 => 0, + 102 => 0, + 110 => 0, + 146 => 0, + 190 => 0, 1 => 1, 2 => 2, 3 => 3, @@ -1807,123 +1891,122 @@ static public $yy_action = array( 8 => 8, 9 => 9, 10 => 10, + 16 => 10, + 22 => 10, + 92 => 10, + 94 => 10, + 95 => 10, 11 => 11, - 14 => 11, - 12 => 12, + 17 => 11, + 20 => 11, + 23 => 11, 13 => 13, - 83 => 13, - 85 => 13, - 86 => 13, - 17 => 17, - 18 => 17, - 19 => 19, - 20 => 20, + 14 => 13, + 15 => 13, + 19 => 13, 21 => 21, - 22 => 21, - 23 => 21, - 24 => 21, - 25 => 25, - 26 => 25, - 27 => 27, - 28 => 27, - 29 => 27, + 26 => 26, + 27 => 26, + 28 => 28, + 29 => 29, 30 => 30, 31 => 30, 32 => 30, - 33 => 33, - 34 => 33, - 35 => 35, + 33 => 30, + 34 => 34, + 35 => 34, 36 => 36, - 37 => 37, - 38 => 38, + 37 => 36, + 38 => 36, 39 => 39, + 40 => 39, 41 => 39, - 40 => 40, 42 => 42, - 43 => 43, + 43 => 42, 44 => 44, - 60 => 44, - 139 => 44, - 185 => 44, 45 => 45, 46 => 46, 47 => 47, 48 => 48, + 50 => 48, 49 => 49, - 50 => 50, 51 => 51, - 52 => 51, + 52 => 52, + 53 => 53, + 69 => 53, + 142 => 53, + 150 => 53, + 195 => 53, + 54 => 54, + 55 => 55, 56 => 56, 57 => 57, 58 => 58, 59 => 59, - 61 => 61, - 62 => 62, - 63 => 63, - 64 => 63, - 65 => 63, - 66 => 63, - 68 => 63, + 60 => 60, + 61 => 60, + 65 => 65, + 66 => 66, 67 => 67, - 69 => 69, + 68 => 68, 70 => 70, 71 => 71, 72 => 72, - 73 => 73, - 79 => 73, - 124 => 73, - 147 => 73, - 187 => 73, - 194 => 73, - 195 => 73, - 74 => 74, + 73 => 72, + 74 => 72, + 75 => 72, + 77 => 72, 76 => 76, - 77 => 76, - 78 => 76, + 78 => 78, + 79 => 79, 80 => 80, - 81 => 80, - 84 => 84, - 88 => 88, - 92 => 92, - 94 => 94, - 95 => 95, - 96 => 96, + 81 => 81, + 82 => 82, + 88 => 82, + 127 => 82, + 157 => 82, + 197 => 82, + 204 => 82, + 205 => 82, + 83 => 83, + 85 => 85, + 86 => 85, + 87 => 85, + 89 => 89, + 90 => 89, + 93 => 93, 97 => 97, - 98 => 98, - 99 => 99, - 100 => 100, 101 => 101, - 102 => 102, 103 => 103, 104 => 104, 105 => 105, 106 => 106, + 107 => 107, 108 => 108, 109 => 109, - 110 => 110, 111 => 111, - 186 => 111, 112 => 112, - 144 => 112, 113 => 113, 114 => 114, + 196 => 114, 115 => 115, - 116 => 115, - 117 => 115, + 154 => 115, + 116 => 116, + 117 => 117, 118 => 118, - 119 => 119, - 122 => 119, - 120 => 120, + 119 => 118, + 120 => 118, 121 => 121, + 122 => 122, + 125 => 122, 123 => 123, - 196 => 123, - 125 => 125, + 124 => 124, 126 => 126, - 127 => 127, - 149 => 127, + 206 => 126, 128 => 128, 129 => 129, 130 => 130, + 159 => 130, 131 => 131, 132 => 132, 133 => 133, @@ -1932,58 +2015,66 @@ static public $yy_action = array( 136 => 136, 137 => 137, 138 => 138, + 139 => 139, 140 => 140, 141 => 141, - 142 => 141, 143 => 143, - 145 => 145, - 146 => 146, + 144 => 144, + 145 => 144, + 147 => 147, 148 => 148, - 150 => 150, + 149 => 149, 151 => 151, - 154 => 151, - 165 => 151, 152 => 152, 153 => 153, 155 => 155, 156 => 156, - 157 => 157, - 162 => 157, 158 => 158, - 161 => 158, - 159 => 159, - 164 => 159, 160 => 160, - 163 => 160, + 161 => 161, + 164 => 161, + 175 => 161, + 162 => 162, + 163 => 163, + 165 => 165, 166 => 166, 167 => 167, + 172 => 167, 168 => 168, + 171 => 168, 169 => 169, + 174 => 169, 170 => 170, - 171 => 171, - 172 => 172, - 173 => 173, - 174 => 174, - 175 => 175, + 173 => 170, 176 => 176, 177 => 177, 178 => 178, 179 => 179, + 180 => 180, 181 => 181, 182 => 182, 183 => 183, 184 => 184, + 185 => 185, + 186 => 186, + 187 => 187, 188 => 188, 189 => 189, - 190 => 190, 191 => 191, 192 => 192, 193 => 193, + 194 => 194, + 198 => 198, + 199 => 199, + 200 => 200, + 201 => 201, + 202 => 202, + 203 => 203, ); -#line 85 "smarty_internal_templateparser.y" +#line 83 "smarty_internal_templateparser.y" function yy_r0(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } -#line 1980 "smarty_internal_templateparser.php" -#line 91 "smarty_internal_templateparser.y" +#line 2071 "smarty_internal_templateparser.php" +#line 89 "smarty_internal_templateparser.y" function yy_r1(){if ($this->template->extract_code == false) { $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } else { @@ -1991,8 +2082,8 @@ static public $yy_action = array( $this->template->extracted_compiled_code .= $this->yystack[$this->yyidx + 0]->minor; } } -#line 1989 "smarty_internal_templateparser.php" -#line 99 "smarty_internal_templateparser.y" +#line 2080 "smarty_internal_templateparser.php" +#line 97 "smarty_internal_templateparser.y" function yy_r2(){if ($this->template->extract_code == false) { $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } else { @@ -2001,488 +2092,466 @@ static public $yy_action = array( $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; } } -#line 1999 "smarty_internal_templateparser.php" -#line 112 "smarty_internal_templateparser.y" +#line 2090 "smarty_internal_templateparser.php" +#line 110 "smarty_internal_templateparser.y" function yy_r3(){ - if ($this->allowed_php) { - $this->compiler->trigger_template_error ('Smarty tags are not allowed inside <?php ?> tags'); - } if ($this->compiler->has_code) { $tmp =''; foreach ($this->compiler->prefix_code as $code) {$tmp.=$code;} $this->compiler->prefix_code=array(); $this->_retvalue = $this->compiler->processNocacheCode($tmp.$this->yystack[$this->yyidx + 0]->minor,true); } else { $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;} $this->compiler->has_variable_string = false; } -#line 2009 "smarty_internal_templateparser.php" -#line 122 "smarty_internal_templateparser.y" +#line 2097 "smarty_internal_templateparser.php" +#line 117 "smarty_internal_templateparser.y" function yy_r4(){ $this->_retvalue = ''; } -#line 2012 "smarty_internal_templateparser.php" -#line 128 "smarty_internal_templateparser.y" +#line 2100 "smarty_internal_templateparser.php" +#line 123 "smarty_internal_templateparser.y" function yy_r6(){ - $this->xml_tag = false; if ($this->sec_obj->php_handling == SMARTY_PHP_PASSTHRU) { - $this->_retvalue = self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor); + $this->_retvalue = self::escape_start_tag($this->yystack[$this->yyidx + -2]->minor) . str_replace('yystack[$this->yyidx + -1]->minor) . '?>'; } elseif ($this->sec_obj->php_handling == SMARTY_PHP_QUOTE) { - $this->_retvalue = $this->compiler->processNocacheCode(htmlspecialchars($this->yystack[$this->yyidx + 0]->minor, ENT_QUOTES), false); + $this->_retvalue = $this->compiler->processNocacheCode(htmlspecialchars($this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.'?>', ENT_QUOTES), false); }elseif ($this->sec_obj->php_handling == SMARTY_PHP_ALLOW) { - if ($this->allowed_php) { - $this->compiler->trigger_template_error ('<?php ?> tags can not be nested'); - } - $this->allowed_php = true; - $this->_retvalue = $this->compiler->processNocacheCode($this->yystack[$this->yyidx + 0]->minor, true); + $this->_retvalue = $this->compiler->processNocacheCode('yystack[$this->yyidx + -1]->minor.'?>', true); }elseif ($this->sec_obj->php_handling == SMARTY_PHP_REMOVE) { $this->_retvalue = ''; } } -#line 2030 "smarty_internal_templateparser.php" -#line 145 "smarty_internal_templateparser.y" - function yy_r7(){ - if ($this->sec_obj->php_handling == SMARTY_PHP_ALLOW || $this->xml_tag == true) { - $this->xml_tag = false; - $this->allowed_php = false; - $this->_retvalue = $this->compiler->processNocacheCode('?>', true); - }elseif ($this->sec_obj->php_handling == SMARTY_PHP_PASSTHRU) { - $this->_retvalue = '?>'; - } elseif ($this->sec_obj->php_handling == SMARTY_PHP_QUOTE) { - $this->_retvalue = $this->compiler->processNocacheCode(htmlspecialchars($this->yystack[$this->yyidx + 0]->minor, ENT_QUOTES), false); - }elseif ($this->sec_obj->php_handling == SMARTY_PHP_REMOVE) { - $this->_retvalue = ''; - } - } -#line 2045 "smarty_internal_templateparser.php" -#line 159 "smarty_internal_templateparser.y" - function yy_r8(){$this->xml_tag = false; - if ($this->lex->strip) { +#line 2113 "smarty_internal_templateparser.php" +#line 135 "smarty_internal_templateparser.y" + function yy_r7(){if ($this->lex->strip) { $this->_retvalue = preg_replace('![\$this->yystack[$this->yyidx + 0]->minor ]*[\r\n]+[\$this->yystack[$this->yyidx + 0]->minor ]*!', '', self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor)); } else { $this->_retvalue = self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor); } } -#line 2054 "smarty_internal_templateparser.php" -#line 169 "smarty_internal_templateparser.y" - function yy_r9(){ $this->xml_tag = true; $this->compiler->tag_nocache = true; $this->_retvalue = $this->compiler->processNocacheCode("", $this->compiler, true); } -#line 2057 "smarty_internal_templateparser.php" -#line 172 "smarty_internal_templateparser.y" - function yy_r10(){if ($this->lex->strip) { +#line 2121 "smarty_internal_templateparser.php" +#line 143 "smarty_internal_templateparser.y" + function yy_r8(){ $this->compiler->tag_nocache = true; $this->_retvalue = $this->compiler->processNocacheCode("", $this->compiler, true); } +#line 2124 "smarty_internal_templateparser.php" +#line 146 "smarty_internal_templateparser.y" + function yy_r9(){if ($this->lex->strip) { $this->_retvalue = preg_replace('![\t ]*[\r\n]+[\t ]*!', '', $this->yystack[$this->yyidx + 0]->minor); } else { $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } } -#line 2065 "smarty_internal_templateparser.php" -#line 183 "smarty_internal_templateparser.y" +#line 2132 "smarty_internal_templateparser.php" +#line 154 "smarty_internal_templateparser.y" + function yy_r10(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } +#line 2135 "smarty_internal_templateparser.php" +#line 155 "smarty_internal_templateparser.y" function yy_r11(){ $this->_retvalue = ''; } -#line 2068 "smarty_internal_templateparser.php" -#line 184 "smarty_internal_templateparser.y" - function yy_r12(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; } -#line 2071 "smarty_internal_templateparser.php" -#line 186 "smarty_internal_templateparser.y" - function yy_r13(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } -#line 2074 "smarty_internal_templateparser.php" -#line 191 "smarty_internal_templateparser.y" - function yy_r17(){ $this->_retvalue = self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor); } -#line 2077 "smarty_internal_templateparser.php" -#line 193 "smarty_internal_templateparser.y" - function yy_r19(){ $this->_retvalue = self::escape_end_tag($this->yystack[$this->yyidx + 0]->minor); } -#line 2080 "smarty_internal_templateparser.php" -#line 201 "smarty_internal_templateparser.y" - function yy_r20(){ $this->_retvalue = $this->compiler->compileTag('private_print_expression',array('value'=>$this->yystack[$this->yyidx + -1]->minor)); } -#line 2083 "smarty_internal_templateparser.php" +#line 2138 "smarty_internal_templateparser.php" +#line 158 "smarty_internal_templateparser.y" + function yy_r13(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } +#line 2141 "smarty_internal_templateparser.php" +#line 171 "smarty_internal_templateparser.y" + function yy_r21(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; } +#line 2144 "smarty_internal_templateparser.php" +#line 178 "smarty_internal_templateparser.y" + function yy_r26(){ $this->_retvalue = self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor); } +#line 2147 "smarty_internal_templateparser.php" +#line 180 "smarty_internal_templateparser.y" + function yy_r28(){ $this->_retvalue = self::escape_end_tag($this->yystack[$this->yyidx + 0]->minor); } +#line 2150 "smarty_internal_templateparser.php" +#line 188 "smarty_internal_templateparser.y" + function yy_r29(){ $this->_retvalue = $this->compiler->compileTag('private_print_expression',array('value'=>$this->yystack[$this->yyidx + -1]->minor)); } +#line 2153 "smarty_internal_templateparser.php" +#line 189 "smarty_internal_templateparser.y" + function yy_r30(){ $this->_retvalue = $this->compiler->compileTag('private_print_expression',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); } +#line 2156 "smarty_internal_templateparser.php" +#line 200 "smarty_internal_templateparser.y" + function yy_r34(){ $this->_retvalue = $this->compiler->compileTag('assign',array('value'=>$this->yystack[$this->yyidx + -1]->minor,'var'=>"'".$this->yystack[$this->yyidx + -3]->minor."'")); } +#line 2159 "smarty_internal_templateparser.php" #line 202 "smarty_internal_templateparser.y" - function yy_r21(){ $this->_retvalue = $this->compiler->compileTag('private_print_expression',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); } -#line 2086 "smarty_internal_templateparser.php" + function yy_r36(){ $this->_retvalue = $this->compiler->compileTag('assign',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor,'var'=>"'".$this->yystack[$this->yyidx + -4]->minor."'"),$this->yystack[$this->yyidx + -1]->minor)); } +#line 2162 "smarty_internal_templateparser.php" +#line 205 "smarty_internal_templateparser.y" + function yy_r39(){ $this->_retvalue = $this->compiler->compileTag('assign',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -4]->minor,$this->yystack[$this->yyidx + -1]->minor)); } +#line 2165 "smarty_internal_templateparser.php" +#line 209 "smarty_internal_templateparser.y" + function yy_r42(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor,$this->yystack[$this->yyidx + -1]->minor); } +#line 2168 "smarty_internal_templateparser.php" +#line 211 "smarty_internal_templateparser.y" + function yy_r44(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor,array()); } +#line 2171 "smarty_internal_templateparser.php" #line 213 "smarty_internal_templateparser.y" - function yy_r25(){ $this->_retvalue = $this->compiler->compileTag('assign',array('value'=>$this->yystack[$this->yyidx + -1]->minor,'var'=>"'".$this->yystack[$this->yyidx + -3]->minor."'")); } -#line 2089 "smarty_internal_templateparser.php" + function yy_r45(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor,array_merge(array('object_methode'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); } +#line 2174 "smarty_internal_templateparser.php" #line 215 "smarty_internal_templateparser.y" - function yy_r27(){ $this->_retvalue = $this->compiler->compileTag('assign',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor,'var'=>"'".$this->yystack[$this->yyidx + -4]->minor."'"),$this->yystack[$this->yyidx + -1]->minor)); } -#line 2092 "smarty_internal_templateparser.php" -#line 218 "smarty_internal_templateparser.y" - function yy_r30(){ $this->_retvalue = $this->compiler->compileTag('assign',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -4]->minor,$this->yystack[$this->yyidx + -1]->minor)); } -#line 2095 "smarty_internal_templateparser.php" -#line 222 "smarty_internal_templateparser.y" - function yy_r33(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor,$this->yystack[$this->yyidx + -1]->minor); } -#line 2098 "smarty_internal_templateparser.php" -#line 224 "smarty_internal_templateparser.y" - function yy_r35(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor,array()); } -#line 2101 "smarty_internal_templateparser.php" -#line 226 "smarty_internal_templateparser.y" - function yy_r36(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor,array_merge(array('object_methode'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); } -#line 2104 "smarty_internal_templateparser.php" -#line 228 "smarty_internal_templateparser.y" - function yy_r37(){ $this->_retvalue = ''.$this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor,$this->yystack[$this->yyidx + -1]->minor).'_retvalue = ''.$this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor,$this->yystack[$this->yyidx + -1]->minor).'_retvalue .= $this->compiler->compileTag('private_modifier',array('modifier'=>$this->yystack[$this->yyidx + -3]->minor,'params'=>'ob_get_clean()'.$this->yystack[$this->yyidx + -2]->minor)).'?>'; } -#line 2109 "smarty_internal_templateparser.php" -#line 232 "smarty_internal_templateparser.y" - function yy_r38(){ $this->_retvalue = ''.$this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array_merge(array('object_methode'=>$this->yystack[$this->yyidx + -4]->minor),$this->yystack[$this->yyidx + -1]->minor)).'_retvalue = ''.$this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array_merge(array('object_methode'=>$this->yystack[$this->yyidx + -4]->minor),$this->yystack[$this->yyidx + -1]->minor)).'_retvalue .= $this->compiler->compileTag('private_modifier',array('modifier'=>$this->yystack[$this->yyidx + -3]->minor,'params'=>'ob_get_clean()'.$this->yystack[$this->yyidx + -2]->minor)).'?>'; } -#line 2114 "smarty_internal_templateparser.php" -#line 236 "smarty_internal_templateparser.y" - function yy_r39(){ $this->_retvalue = $this->compiler->compileTag(($this->yystack[$this->yyidx + -3]->minor == 'else if')? 'elseif' : $this->yystack[$this->yyidx + -3]->minor,array('if condition'=>$this->yystack[$this->yyidx + -1]->minor)); } -#line 2117 "smarty_internal_templateparser.php" -#line 237 "smarty_internal_templateparser.y" - function yy_r40(){ $this->_retvalue = $this->compiler->compileTag(($this->yystack[$this->yyidx + -3]->minor == 'else if')? 'elseif' : $this->yystack[$this->yyidx + -3]->minor,array('if condition'=>trim($this->yystack[$this->yyidx + -2]->minor).$this->yystack[$this->yyidx + -1]->minor)); } -#line 2120 "smarty_internal_templateparser.php" -#line 240 "smarty_internal_templateparser.y" - function yy_r42(){ +#line 2184 "smarty_internal_templateparser.php" +#line 223 "smarty_internal_templateparser.y" + function yy_r48(){ $this->_retvalue = $this->compiler->compileTag(($this->yystack[$this->yyidx + -3]->minor == 'else if')? 'elseif' : $this->yystack[$this->yyidx + -3]->minor,array('if condition'=>$this->yystack[$this->yyidx + -1]->minor)); } +#line 2187 "smarty_internal_templateparser.php" +#line 224 "smarty_internal_templateparser.y" + function yy_r49(){ $this->_retvalue = $this->compiler->compileTag(($this->yystack[$this->yyidx + -3]->minor == 'else if')? 'elseif' : $this->yystack[$this->yyidx + -3]->minor,array('if condition'=>trim($this->yystack[$this->yyidx + -2]->minor).$this->yystack[$this->yyidx + -1]->minor)); } +#line 2190 "smarty_internal_templateparser.php" +#line 227 "smarty_internal_templateparser.y" + function yy_r51(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -11]->minor,array('start'=>$this->yystack[$this->yyidx + -9]->minor,'ifexp'=>$this->yystack[$this->yyidx + -6]->minor,'varloop'=>$this->yystack[$this->yyidx + -2]->minor,'loop'=>$this->yystack[$this->yyidx + -1]->minor)); } -#line 2124 "smarty_internal_templateparser.php" -#line 242 "smarty_internal_templateparser.y" - function yy_r43(){ $this->_retvalue = '='.$this->yystack[$this->yyidx + 0]->minor; } -#line 2127 "smarty_internal_templateparser.php" -#line 243 "smarty_internal_templateparser.y" - function yy_r44(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } -#line 2130 "smarty_internal_templateparser.php" +#line 2194 "smarty_internal_templateparser.php" +#line 229 "smarty_internal_templateparser.y" + function yy_r52(){ $this->_retvalue = '='.$this->yystack[$this->yyidx + 0]->minor; } +#line 2197 "smarty_internal_templateparser.php" +#line 230 "smarty_internal_templateparser.y" + function yy_r53(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } +#line 2200 "smarty_internal_templateparser.php" +#line 231 "smarty_internal_templateparser.y" + function yy_r54(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array_merge(array('start'=>$this->yystack[$this->yyidx + -4]->minor,'to'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); } +#line 2203 "smarty_internal_templateparser.php" +#line 232 "smarty_internal_templateparser.y" + function yy_r55(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -7]->minor,array('start'=>$this->yystack[$this->yyidx + -5]->minor,'to'=>$this->yystack[$this->yyidx + -3]->minor,'step'=>$this->yystack[$this->yyidx + -1]->minor)); } +#line 2206 "smarty_internal_templateparser.php" +#line 234 "smarty_internal_templateparser.y" + function yy_r56(){ + $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array('from'=>$this->yystack[$this->yyidx + -4]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor)); } +#line 2210 "smarty_internal_templateparser.php" +#line 236 "smarty_internal_templateparser.y" + function yy_r57(){ + $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -9]->minor,array('from'=>$this->yystack[$this->yyidx + -7]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor,'key'=>$this->yystack[$this->yyidx + -4]->minor)); } +#line 2214 "smarty_internal_templateparser.php" +#line 238 "smarty_internal_templateparser.y" + function yy_r58(){ + $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array('from'=>$this->yystack[$this->yyidx + -4]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor)); } +#line 2218 "smarty_internal_templateparser.php" +#line 240 "smarty_internal_templateparser.y" + function yy_r59(){ + $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -9]->minor,array('from'=>$this->yystack[$this->yyidx + -7]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor,'key'=>$this->yystack[$this->yyidx + -4]->minor)); } +#line 2222 "smarty_internal_templateparser.php" #line 244 "smarty_internal_templateparser.y" - function yy_r45(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array_merge(array('start'=>$this->yystack[$this->yyidx + -4]->minor,'to'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); } -#line 2133 "smarty_internal_templateparser.php" -#line 245 "smarty_internal_templateparser.y" - function yy_r46(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -7]->minor,array('start'=>$this->yystack[$this->yyidx + -5]->minor,'to'=>$this->yystack[$this->yyidx + -3]->minor,'step'=>$this->yystack[$this->yyidx + -1]->minor)); } -#line 2136 "smarty_internal_templateparser.php" -#line 247 "smarty_internal_templateparser.y" - function yy_r47(){ - $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array('from'=>$this->yystack[$this->yyidx + -4]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor)); } -#line 2140 "smarty_internal_templateparser.php" + function yy_r60(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor.'close',array()); } +#line 2225 "smarty_internal_templateparser.php" #line 249 "smarty_internal_templateparser.y" - function yy_r48(){ - $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -9]->minor,array('from'=>$this->yystack[$this->yyidx + -7]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor,'key'=>$this->yystack[$this->yyidx + -4]->minor)); } -#line 2144 "smarty_internal_templateparser.php" -#line 251 "smarty_internal_templateparser.y" - function yy_r49(){ - $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array('from'=>$this->yystack[$this->yyidx + -4]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor)); } -#line 2148 "smarty_internal_templateparser.php" -#line 253 "smarty_internal_templateparser.y" - function yy_r50(){ - $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -9]->minor,array('from'=>$this->yystack[$this->yyidx + -7]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor,'key'=>$this->yystack[$this->yyidx + -4]->minor)); } -#line 2152 "smarty_internal_templateparser.php" -#line 257 "smarty_internal_templateparser.y" - function yy_r51(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor.'close',array()); } -#line 2155 "smarty_internal_templateparser.php" -#line 262 "smarty_internal_templateparser.y" - function yy_r56(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor.'close',$this->yystack[$this->yyidx + -1]->minor); } -#line 2158 "smarty_internal_templateparser.php" -#line 263 "smarty_internal_templateparser.y" - function yy_r57(){ $this->_retvalue = ''.$this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor.'close',$this->yystack[$this->yyidx + -1]->minor).'_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor.'close',$this->yystack[$this->yyidx + -1]->minor); } +#line 2228 "smarty_internal_templateparser.php" +#line 250 "smarty_internal_templateparser.y" + function yy_r66(){ $this->_retvalue = ''.$this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor.'close',$this->yystack[$this->yyidx + -1]->minor).'_retvalue .= $this->compiler->compileTag('private_modifier',array('modifier'=>$this->yystack[$this->yyidx + -3]->minor,'params'=>'ob_get_clean()'.$this->yystack[$this->yyidx + -2]->minor)).'?>'; } -#line 2163 "smarty_internal_templateparser.php" -#line 267 "smarty_internal_templateparser.y" - function yy_r58(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor.'close',array('object_methode'=>$this->yystack[$this->yyidx + -1]->minor)); } -#line 2166 "smarty_internal_templateparser.php" -#line 274 "smarty_internal_templateparser.y" - function yy_r59(){ $this->_retvalue = array_merge($this->yystack[$this->yyidx + -1]->minor,$this->yystack[$this->yyidx + 0]->minor); } -#line 2169 "smarty_internal_templateparser.php" -#line 278 "smarty_internal_templateparser.y" - function yy_r61(){ $this->_retvalue = array(); } -#line 2172 "smarty_internal_templateparser.php" +#line 2233 "smarty_internal_templateparser.php" +#line 254 "smarty_internal_templateparser.y" + function yy_r67(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor.'close',array('object_methode'=>$this->yystack[$this->yyidx + -1]->minor)); } +#line 2236 "smarty_internal_templateparser.php" +#line 261 "smarty_internal_templateparser.y" + function yy_r68(){ $this->_retvalue = array_merge($this->yystack[$this->yyidx + -1]->minor,$this->yystack[$this->yyidx + 0]->minor); } +#line 2239 "smarty_internal_templateparser.php" +#line 265 "smarty_internal_templateparser.y" + function yy_r70(){ $this->_retvalue = array(); } +#line 2242 "smarty_internal_templateparser.php" +#line 268 "smarty_internal_templateparser.y" + function yy_r71(){ $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>"'".$this->yystack[$this->yyidx + 0]->minor."'"); } +#line 2245 "smarty_internal_templateparser.php" +#line 269 "smarty_internal_templateparser.y" + function yy_r72(){ $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>$this->yystack[$this->yyidx + 0]->minor); } +#line 2248 "smarty_internal_templateparser.php" +#line 273 "smarty_internal_templateparser.y" + function yy_r76(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor=>'true'); } +#line 2251 "smarty_internal_templateparser.php" +#line 280 "smarty_internal_templateparser.y" + function yy_r78(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor); } +#line 2254 "smarty_internal_templateparser.php" #line 281 "smarty_internal_templateparser.y" - function yy_r62(){ $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>"'".$this->yystack[$this->yyidx + 0]->minor."'"); } -#line 2175 "smarty_internal_templateparser.php" -#line 282 "smarty_internal_templateparser.y" - function yy_r63(){ $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>$this->yystack[$this->yyidx + 0]->minor); } -#line 2178 "smarty_internal_templateparser.php" -#line 286 "smarty_internal_templateparser.y" - function yy_r67(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor=>'true'); } -#line 2181 "smarty_internal_templateparser.php" -#line 293 "smarty_internal_templateparser.y" - function yy_r69(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor); } -#line 2184 "smarty_internal_templateparser.php" -#line 294 "smarty_internal_templateparser.y" - function yy_r70(){ $this->yystack[$this->yyidx + -2]->minor[]=$this->yystack[$this->yyidx + 0]->minor; $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor; } -#line 2187 "smarty_internal_templateparser.php" -#line 296 "smarty_internal_templateparser.y" - function yy_r71(){ $this->_retvalue = array('var' => $this->yystack[$this->yyidx + -2]->minor, 'value'=>$this->yystack[$this->yyidx + 0]->minor); } -#line 2190 "smarty_internal_templateparser.php" -#line 302 "smarty_internal_templateparser.y" - function yy_r72(){ $this->_retvalue = '\''.$this->yystack[$this->yyidx + 0]->minor.'\''; } -#line 2193 "smarty_internal_templateparser.php" -#line 303 "smarty_internal_templateparser.y" - function yy_r73(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } -#line 2196 "smarty_internal_templateparser.php" -#line 305 "smarty_internal_templateparser.y" - function yy_r74(){$this->_retvalue = '$_smarty_tpl->getStreamVariable(\''. $this->yystack[$this->yyidx + -2]->minor .'://'. $this->yystack[$this->yyidx + 0]->minor . '\')'; } -#line 2199 "smarty_internal_templateparser.php" -#line 311 "smarty_internal_templateparser.y" - function yy_r76(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor . trim($this->yystack[$this->yyidx + -1]->minor) . $this->yystack[$this->yyidx + 0]->minor; } -#line 2202 "smarty_internal_templateparser.php" + function yy_r79(){ $this->yystack[$this->yyidx + -2]->minor[]=$this->yystack[$this->yyidx + 0]->minor; $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor; } +#line 2257 "smarty_internal_templateparser.php" +#line 283 "smarty_internal_templateparser.y" + function yy_r80(){ $this->_retvalue = array('var' => $this->yystack[$this->yyidx + -2]->minor, 'value'=>$this->yystack[$this->yyidx + 0]->minor); } +#line 2260 "smarty_internal_templateparser.php" +#line 289 "smarty_internal_templateparser.y" + function yy_r81(){ $this->_retvalue = '\''.$this->yystack[$this->yyidx + 0]->minor.'\''; } +#line 2263 "smarty_internal_templateparser.php" +#line 290 "smarty_internal_templateparser.y" + function yy_r82(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } +#line 2266 "smarty_internal_templateparser.php" +#line 292 "smarty_internal_templateparser.y" + function yy_r83(){$this->_retvalue = '$_smarty_tpl->getStreamVariable(\''. $this->yystack[$this->yyidx + -2]->minor .'://'. $this->yystack[$this->yyidx + 0]->minor . '\')'; } +#line 2269 "smarty_internal_templateparser.php" +#line 297 "smarty_internal_templateparser.y" + function yy_r85(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor . trim($this->yystack[$this->yyidx + -1]->minor) . $this->yystack[$this->yyidx + 0]->minor; } +#line 2272 "smarty_internal_templateparser.php" +#line 310 "smarty_internal_templateparser.y" + function yy_r89(){ $this->_retvalue = $this->yystack[$this->yyidx + -5]->minor.' ? '.$this->yystack[$this->yyidx + -2]->minor.' : '.$this->yystack[$this->yyidx + 0]->minor; } +#line 2275 "smarty_internal_templateparser.php" +#line 319 "smarty_internal_templateparser.y" + function yy_r93(){ $this->_retvalue = '!'.$this->yystack[$this->yyidx + 0]->minor; } +#line 2278 "smarty_internal_templateparser.php" #line 324 "smarty_internal_templateparser.y" - function yy_r80(){ $this->_retvalue = $this->yystack[$this->yyidx + -5]->minor.' ? '.$this->yystack[$this->yyidx + -2]->minor.' : '.$this->yystack[$this->yyidx + 0]->minor; } -#line 2205 "smarty_internal_templateparser.php" -#line 333 "smarty_internal_templateparser.y" - function yy_r84(){ $this->_retvalue = '!'.$this->yystack[$this->yyidx + 0]->minor; } -#line 2208 "smarty_internal_templateparser.php" + function yy_r97(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; } +#line 2281 "smarty_internal_templateparser.php" +#line 334 "smarty_internal_templateparser.y" + function yy_r101(){ $this->_retvalue = "(". $this->yystack[$this->yyidx + -1]->minor .")"; } +#line 2284 "smarty_internal_templateparser.php" #line 338 "smarty_internal_templateparser.y" - function yy_r88(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; } -#line 2211 "smarty_internal_templateparser.php" -#line 348 "smarty_internal_templateparser.y" - function yy_r92(){ $this->_retvalue = "(". $this->yystack[$this->yyidx + -1]->minor .")"; } -#line 2214 "smarty_internal_templateparser.php" -#line 352 "smarty_internal_templateparser.y" - function yy_r94(){ $_s = str_replace(array('."".','.""'),array('.',''),'"'.$this->yystack[$this->yyidx + -1]->minor.'"'); + function yy_r103(){ $_s = str_replace(array('."".','.""'),array('.',''),'"'.$this->yystack[$this->yyidx + -1]->minor.'"'); if (substr($_s,0,3) == '"".') { $this->_retvalue = substr($_s,3); } else { $this->_retvalue = $_s; } } -#line 2223 "smarty_internal_templateparser.php" -#line 359 "smarty_internal_templateparser.y" - function yy_r95(){ $this->_retvalue = "''"; } -#line 2226 "smarty_internal_templateparser.php" -#line 361 "smarty_internal_templateparser.y" - function yy_r96(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'::'.$this->yystack[$this->yyidx + 0]->minor; } -#line 2229 "smarty_internal_templateparser.php" -#line 362 "smarty_internal_templateparser.y" - function yy_r97(){ $this->prefix_number++; $this->compiler->prefix_code[] = '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 2232 "smarty_internal_templateparser.php" -#line 364 "smarty_internal_templateparser.y" - function yy_r98(){ $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor.'::'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } -#line 2235 "smarty_internal_templateparser.php" -#line 365 "smarty_internal_templateparser.y" - function yy_r99(){ $this->prefix_number++; $this->compiler->prefix_code[] = '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 2238 "smarty_internal_templateparser.php" -#line 367 "smarty_internal_templateparser.y" - function yy_r100(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'::'.$this->yystack[$this->yyidx + 0]->minor; } -#line 2241 "smarty_internal_templateparser.php" -#line 369 "smarty_internal_templateparser.y" - function yy_r101(){ $this->_retvalue = $this->yystack[$this->yyidx + -4]->minor.'::$'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } -#line 2244 "smarty_internal_templateparser.php" -#line 371 "smarty_internal_templateparser.y" - function yy_r102(){ $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 2247 "smarty_internal_templateparser.php" -#line 373 "smarty_internal_templateparser.y" - function yy_r103(){ $this->prefix_number++; $this->compiler->prefix_code[] = ''.$this->yystack[$this->yyidx + 0]->minor.'prefix_number.'=ob_get_clean();?>'; $this->_retvalue = '$_tmp'.$this->prefix_number; } -#line 2250 "smarty_internal_templateparser.php" -#line 374 "smarty_internal_templateparser.y" - function yy_r104(){ $this->_retvalue = $this->compiler->compileTag('private_modifier',array('modifier'=>$this->yystack[$this->yyidx + -1]->minor,'params'=>$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor)); } -#line 2253 "smarty_internal_templateparser.php" -#line 383 "smarty_internal_templateparser.y" - function yy_r105(){if ($this->yystack[$this->yyidx + 0]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable',$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index']);} else { - $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + 0]->minor['var'] .')->value'.$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index']; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + 0]->minor['var'],"'"), null, true, false)->nocache;} } -#line 2257 "smarty_internal_templateparser.php" -#line 386 "smarty_internal_templateparser.y" - function yy_r106(){ $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor .')->'.$this->yystack[$this->yyidx + 0]->minor; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -2]->minor,"'"), null, true, false)->nocache; } -#line 2260 "smarty_internal_templateparser.php" -#line 390 "smarty_internal_templateparser.y" - function yy_r108(){$this->_retvalue = '$_smarty_tpl->getConfigVariable(\''. $this->yystack[$this->yyidx + -1]->minor .'\')'; } -#line 2263 "smarty_internal_templateparser.php" -#line 391 "smarty_internal_templateparser.y" - function yy_r109(){$this->_retvalue = '$_smarty_tpl->getConfigVariable('. $this->yystack[$this->yyidx + -1]->minor .')'; } -#line 2266 "smarty_internal_templateparser.php" -#line 394 "smarty_internal_templateparser.y" - function yy_r110(){$this->_retvalue = array('var'=>$this->yystack[$this->yyidx + -1]->minor, 'smarty_internal_index'=>$this->yystack[$this->yyidx + 0]->minor); } -#line 2269 "smarty_internal_templateparser.php" -#line 400 "smarty_internal_templateparser.y" - function yy_r111(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } -#line 2272 "smarty_internal_templateparser.php" -#line 402 "smarty_internal_templateparser.y" - function yy_r112(){return; } -#line 2275 "smarty_internal_templateparser.php" -#line 406 "smarty_internal_templateparser.y" - function yy_r113(){ $this->_retvalue = '[$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + 0]->minor .')->value]'; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable('$this->yystack[$this->yyidx + 0]->minor', null, true, false)->nocache; } -#line 2278 "smarty_internal_templateparser.php" -#line 407 "smarty_internal_templateparser.y" - function yy_r114(){ $this->_retvalue = '[$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor .')->'.$this->yystack[$this->yyidx + 0]->minor.']'; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -2]->minor,"'"), null, true, false)->nocache; } -#line 2281 "smarty_internal_templateparser.php" -#line 410 "smarty_internal_templateparser.y" - function yy_r115(){ $this->_retvalue = "['". $this->yystack[$this->yyidx + 0]->minor ."']"; } -#line 2284 "smarty_internal_templateparser.php" -#line 414 "smarty_internal_templateparser.y" - function yy_r118(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + 0]->minor ."]"; } -#line 2287 "smarty_internal_templateparser.php" -#line 415 "smarty_internal_templateparser.y" - function yy_r119(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + -1]->minor ."]"; } -#line 2290 "smarty_internal_templateparser.php" -#line 417 "smarty_internal_templateparser.y" - function yy_r120(){ $this->_retvalue = '['.$this->compiler->compileTag('private_special_variable','[\'section\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\'][\'index\']').']'; } #line 2293 "smarty_internal_templateparser.php" -#line 418 "smarty_internal_templateparser.y" - function yy_r121(){ $this->_retvalue = '['.$this->compiler->compileTag('private_special_variable','[\'section\'][\''.$this->yystack[$this->yyidx + -3]->minor.'\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\']').']'; } +#line 345 "smarty_internal_templateparser.y" + function yy_r104(){ $this->_retvalue = "''"; } #line 2296 "smarty_internal_templateparser.php" -#line 422 "smarty_internal_templateparser.y" - function yy_r123(){$this->_retvalue = ''; } -#line 2299 "smarty_internal_templateparser.php" -#line 430 "smarty_internal_templateparser.y" - function yy_r125(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; } -#line 2302 "smarty_internal_templateparser.php" -#line 432 "smarty_internal_templateparser.y" - function yy_r126(){$this->_retvalue = '\''.$this->yystack[$this->yyidx + 0]->minor.'\''; } -#line 2305 "smarty_internal_templateparser.php" -#line 435 "smarty_internal_templateparser.y" - function yy_r127(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -1]->minor.')'; } -#line 2308 "smarty_internal_templateparser.php" -#line 440 "smarty_internal_templateparser.y" - function yy_r128(){ if ($this->yystack[$this->yyidx + -1]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable',$this->yystack[$this->yyidx + -1]->minor['smarty_internal_index']).$this->yystack[$this->yyidx + 0]->minor;} else { +#line 347 "smarty_internal_templateparser.y" + function yy_r105(){if (!$this->template->security || $this->smarty->security_handler->isTrustedStaticClass($this->yystack[$this->yyidx + -2]->minor, $this->compiler)) { + $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'::'.$this->yystack[$this->yyidx + 0]->minor; + } } +#line 2301 "smarty_internal_templateparser.php" +#line 351 "smarty_internal_templateparser.y" + function yy_r106(){ $this->prefix_number++; $this->compiler->prefix_code[] = ''.$this->yystack[$this->yyidx + 0]->minor.'prefix_number.'=ob_get_clean();?>'; $this->_retvalue = '$_tmp'.$this->prefix_number; } +#line 2304 "smarty_internal_templateparser.php" +#line 353 "smarty_internal_templateparser.y" + function yy_r107(){ $this->_retvalue = $this->compiler->compileTag('private_modifier',array('modifier'=>$this->yystack[$this->yyidx + -1]->minor,'params'=>$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor)); } +#line 2307 "smarty_internal_templateparser.php" +#line 362 "smarty_internal_templateparser.y" + function yy_r108(){if ($this->yystack[$this->yyidx + 0]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable',$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index']);} else { + $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + 0]->minor['var'] .')->value'.$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index']; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + 0]->minor['var'],"'"), null, true, false)->nocache;} } +#line 2311 "smarty_internal_templateparser.php" +#line 365 "smarty_internal_templateparser.y" + function yy_r109(){ $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor .')->'.$this->yystack[$this->yyidx + 0]->minor; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -2]->minor,"'"), null, true, false)->nocache; } +#line 2314 "smarty_internal_templateparser.php" +#line 369 "smarty_internal_templateparser.y" + function yy_r111(){$this->_retvalue = '$_smarty_tpl->getConfigVariable(\''. $this->yystack[$this->yyidx + -1]->minor .'\')'; } +#line 2317 "smarty_internal_templateparser.php" +#line 370 "smarty_internal_templateparser.y" + function yy_r112(){$this->_retvalue = '$_smarty_tpl->getConfigVariable('. $this->yystack[$this->yyidx + -1]->minor .')'; } +#line 2320 "smarty_internal_templateparser.php" +#line 373 "smarty_internal_templateparser.y" + function yy_r113(){$this->_retvalue = array('var'=>$this->yystack[$this->yyidx + -1]->minor, 'smarty_internal_index'=>$this->yystack[$this->yyidx + 0]->minor); } +#line 2323 "smarty_internal_templateparser.php" +#line 379 "smarty_internal_templateparser.y" + function yy_r114(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } +#line 2326 "smarty_internal_templateparser.php" +#line 381 "smarty_internal_templateparser.y" + function yy_r115(){return; } +#line 2329 "smarty_internal_templateparser.php" +#line 385 "smarty_internal_templateparser.y" + function yy_r116(){ $this->_retvalue = '[$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + 0]->minor .')->value]'; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable('$this->yystack[$this->yyidx + 0]->minor', null, true, false)->nocache; } +#line 2332 "smarty_internal_templateparser.php" +#line 386 "smarty_internal_templateparser.y" + function yy_r117(){ $this->_retvalue = '[$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor .')->'.$this->yystack[$this->yyidx + 0]->minor.']'; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -2]->minor,"'"), null, true, false)->nocache; } +#line 2335 "smarty_internal_templateparser.php" +#line 389 "smarty_internal_templateparser.y" + function yy_r118(){ $this->_retvalue = "['". $this->yystack[$this->yyidx + 0]->minor ."']"; } +#line 2338 "smarty_internal_templateparser.php" +#line 393 "smarty_internal_templateparser.y" + function yy_r121(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + 0]->minor ."]"; } +#line 2341 "smarty_internal_templateparser.php" +#line 394 "smarty_internal_templateparser.y" + function yy_r122(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + -1]->minor ."]"; } +#line 2344 "smarty_internal_templateparser.php" +#line 396 "smarty_internal_templateparser.y" + function yy_r123(){ $this->_retvalue = '['.$this->compiler->compileTag('private_special_variable','[\'section\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\'][\'index\']').']'; } +#line 2347 "smarty_internal_templateparser.php" +#line 397 "smarty_internal_templateparser.y" + function yy_r124(){ $this->_retvalue = '['.$this->compiler->compileTag('private_special_variable','[\'section\'][\''.$this->yystack[$this->yyidx + -3]->minor.'\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\']').']'; } +#line 2350 "smarty_internal_templateparser.php" +#line 401 "smarty_internal_templateparser.y" + function yy_r126(){$this->_retvalue = ''; } +#line 2353 "smarty_internal_templateparser.php" +#line 409 "smarty_internal_templateparser.y" + function yy_r128(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; } +#line 2356 "smarty_internal_templateparser.php" +#line 411 "smarty_internal_templateparser.y" + function yy_r129(){$this->_retvalue = '\''.$this->yystack[$this->yyidx + 0]->minor.'\''; } +#line 2359 "smarty_internal_templateparser.php" +#line 414 "smarty_internal_templateparser.y" + function yy_r130(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -1]->minor.')'; } +#line 2362 "smarty_internal_templateparser.php" +#line 419 "smarty_internal_templateparser.y" + function yy_r131(){ if ($this->yystack[$this->yyidx + -1]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable',$this->yystack[$this->yyidx + -1]->minor['smarty_internal_index']).$this->yystack[$this->yyidx + 0]->minor;} else { $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -1]->minor['var'] .')->value'.$this->yystack[$this->yyidx + -1]->minor['smarty_internal_index'].$this->yystack[$this->yyidx + 0]->minor; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -1]->minor['var'],"'"), null, true, false)->nocache;} } -#line 2312 "smarty_internal_templateparser.php" -#line 443 "smarty_internal_templateparser.y" - function yy_r129(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } -#line 2315 "smarty_internal_templateparser.php" -#line 445 "smarty_internal_templateparser.y" - function yy_r130(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } -#line 2318 "smarty_internal_templateparser.php" -#line 447 "smarty_internal_templateparser.y" - function yy_r131(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } -#line 2321 "smarty_internal_templateparser.php" -#line 448 "smarty_internal_templateparser.y" - function yy_r132(){ $this->_retvalue = '->{'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; } -#line 2324 "smarty_internal_templateparser.php" -#line 449 "smarty_internal_templateparser.y" - function yy_r133(){ $this->_retvalue = '->{'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; } -#line 2327 "smarty_internal_templateparser.php" -#line 450 "smarty_internal_templateparser.y" - function yy_r134(){ $this->_retvalue = '->{\''.$this->yystack[$this->yyidx + -4]->minor.'\'.'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; } -#line 2330 "smarty_internal_templateparser.php" -#line 452 "smarty_internal_templateparser.y" - function yy_r135(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + 0]->minor; } -#line 2333 "smarty_internal_templateparser.php" -#line 458 "smarty_internal_templateparser.y" - function yy_r136(){if (!$this->template->security || $this->smarty->security_handler->isTrustedPhpFunction($this->yystack[$this->yyidx + -3]->minor, $this->compiler)) { +#line 2366 "smarty_internal_templateparser.php" +#line 422 "smarty_internal_templateparser.y" + function yy_r132(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } +#line 2369 "smarty_internal_templateparser.php" +#line 424 "smarty_internal_templateparser.y" + function yy_r133(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } +#line 2372 "smarty_internal_templateparser.php" +#line 426 "smarty_internal_templateparser.y" + function yy_r134(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } +#line 2375 "smarty_internal_templateparser.php" +#line 427 "smarty_internal_templateparser.y" + function yy_r135(){ $this->_retvalue = '->{'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; } +#line 2378 "smarty_internal_templateparser.php" +#line 428 "smarty_internal_templateparser.y" + function yy_r136(){ $this->_retvalue = '->{'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; } +#line 2381 "smarty_internal_templateparser.php" +#line 429 "smarty_internal_templateparser.y" + function yy_r137(){ $this->_retvalue = '->{\''.$this->yystack[$this->yyidx + -4]->minor.'\'.'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; } +#line 2384 "smarty_internal_templateparser.php" +#line 431 "smarty_internal_templateparser.y" + function yy_r138(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + 0]->minor; } +#line 2387 "smarty_internal_templateparser.php" +#line 437 "smarty_internal_templateparser.y" + function yy_r139(){if (!$this->template->security || $this->smarty->security_handler->isTrustedPhpFunction($this->yystack[$this->yyidx + -3]->minor, $this->compiler)) { if ($this->yystack[$this->yyidx + -3]->minor == 'isset' || $this->yystack[$this->yyidx + -3]->minor == 'empty' || $this->yystack[$this->yyidx + -3]->minor == 'array' || is_callable($this->yystack[$this->yyidx + -3]->minor)) { $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". $this->yystack[$this->yyidx + -1]->minor .")"; } else { $this->compiler->trigger_template_error ("unknown function \"" . $this->yystack[$this->yyidx + -3]->minor . "\""); } } } -#line 2342 "smarty_internal_templateparser.php" -#line 469 "smarty_internal_templateparser.y" - function yy_r137(){ $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". $this->yystack[$this->yyidx + -1]->minor .")"; } -#line 2345 "smarty_internal_templateparser.php" -#line 473 "smarty_internal_templateparser.y" - function yy_r138(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.",".$this->yystack[$this->yyidx + 0]->minor; } -#line 2348 "smarty_internal_templateparser.php" -#line 477 "smarty_internal_templateparser.y" - function yy_r140(){ return; } -#line 2351 "smarty_internal_templateparser.php" -#line 482 "smarty_internal_templateparser.y" - function yy_r141(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } -#line 2354 "smarty_internal_templateparser.php" -#line 495 "smarty_internal_templateparser.y" - function yy_r143(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } -#line 2357 "smarty_internal_templateparser.php" -#line 499 "smarty_internal_templateparser.y" - function yy_r145(){$this->_retvalue = ','.$this->yystack[$this->yyidx + 0]->minor; } -#line 2360 "smarty_internal_templateparser.php" -#line 501 "smarty_internal_templateparser.y" - function yy_r146(){$this->_retvalue = ',\''.$this->yystack[$this->yyidx + 0]->minor.'\''; } -#line 2363 "smarty_internal_templateparser.php" -#line 508 "smarty_internal_templateparser.y" - function yy_r148(){$this->_retvalue = '!'.$this->yystack[$this->yyidx + 0]->minor; } -#line 2366 "smarty_internal_templateparser.php" -#line 513 "smarty_internal_templateparser.y" - function yy_r150(){$this->_retvalue =$this->yystack[$this->yyidx + 0]->minor; } -#line 2369 "smarty_internal_templateparser.php" -#line 514 "smarty_internal_templateparser.y" - function yy_r151(){$this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } -#line 2372 "smarty_internal_templateparser.php" -#line 515 "smarty_internal_templateparser.y" - function yy_r152(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor.')'; } -#line 2375 "smarty_internal_templateparser.php" -#line 516 "smarty_internal_templateparser.y" - function yy_r153(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.',(array)'.$this->yystack[$this->yyidx + 0]->minor.')'; } -#line 2378 "smarty_internal_templateparser.php" -#line 518 "smarty_internal_templateparser.y" - function yy_r155(){$this->_retvalue = '!('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')'; } -#line 2381 "smarty_internal_templateparser.php" -#line 519 "smarty_internal_templateparser.y" - function yy_r156(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')'; } -#line 2384 "smarty_internal_templateparser.php" -#line 520 "smarty_internal_templateparser.y" - function yy_r157(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -1]->minor.')'; } -#line 2387 "smarty_internal_templateparser.php" -#line 521 "smarty_internal_templateparser.y" - function yy_r158(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -1]->minor.')'; } -#line 2390 "smarty_internal_templateparser.php" -#line 522 "smarty_internal_templateparser.y" - function yy_r159(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')'; } -#line 2393 "smarty_internal_templateparser.php" -#line 523 "smarty_internal_templateparser.y" - function yy_r160(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')'; } #line 2396 "smarty_internal_templateparser.php" -#line 529 "smarty_internal_templateparser.y" - function yy_r166(){$this->prefix_number++; $this->compiler->prefix_code[] = 'prefix_number.'='.$this->yystack[$this->yyidx + 0]->minor.';?>'; $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.'$_tmp'.$this->prefix_number; } +#line 448 "smarty_internal_templateparser.y" + function yy_r140(){ $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". $this->yystack[$this->yyidx + -1]->minor .")"; } #line 2399 "smarty_internal_templateparser.php" -#line 531 "smarty_internal_templateparser.y" - function yy_r167(){$this->_retvalue = '=='; } +#line 452 "smarty_internal_templateparser.y" + function yy_r141(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.",".$this->yystack[$this->yyidx + 0]->minor; } #line 2402 "smarty_internal_templateparser.php" -#line 532 "smarty_internal_templateparser.y" - function yy_r168(){$this->_retvalue = '!='; } +#line 456 "smarty_internal_templateparser.y" + function yy_r143(){ return; } #line 2405 "smarty_internal_templateparser.php" -#line 533 "smarty_internal_templateparser.y" - function yy_r169(){$this->_retvalue = '>'; } +#line 461 "smarty_internal_templateparser.y" + function yy_r144(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } #line 2408 "smarty_internal_templateparser.php" -#line 534 "smarty_internal_templateparser.y" - function yy_r170(){$this->_retvalue = '<'; } +#line 466 "smarty_internal_templateparser.y" + function yy_r147(){ $this->prefix_number++; $this->compiler->prefix_code[] = 'prefix_number.'=$_smarty_tpl->getVariable(\''. $this->yystack[$this->yyidx + -3]->minor .'\')->value;?>'; $this->_retvalue = '$_tmp'.$this->prefix_number.'('. $this->yystack[$this->yyidx + -1]->minor .')'; } #line 2411 "smarty_internal_templateparser.php" -#line 535 "smarty_internal_templateparser.y" - function yy_r171(){$this->_retvalue = '>='; } +#line 468 "smarty_internal_templateparser.y" + function yy_r148(){ $this->_retvalue = c.'::'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2414 "smarty_internal_templateparser.php" -#line 536 "smarty_internal_templateparser.y" - function yy_r172(){$this->_retvalue = '<='; } +#line 469 "smarty_internal_templateparser.y" + function yy_r149(){ $this->prefix_number++; $this->compiler->prefix_code[] = 'prefix_number.'=$_smarty_tpl->getVariable(\''. $this->yystack[$this->yyidx + -4]->minor .'\')->value;?>'; $this->_retvalue = '$_tmp'.$this->prefix_number.'('. $this->yystack[$this->yyidx + -2]->minor .')'.$this->yystack[$this->yyidx + 0]->minor; } #line 2417 "smarty_internal_templateparser.php" -#line 537 "smarty_internal_templateparser.y" - function yy_r173(){$this->_retvalue = '==='; } +#line 473 "smarty_internal_templateparser.y" + function yy_r151(){ $this->_retvalue = '$'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2420 "smarty_internal_templateparser.php" -#line 538 "smarty_internal_templateparser.y" - function yy_r174(){$this->_retvalue = '!=='; } +#line 475 "smarty_internal_templateparser.y" + function yy_r152(){ $this->_retvalue = '$'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2423 "smarty_internal_templateparser.php" -#line 539 "smarty_internal_templateparser.y" - function yy_r175(){$this->_retvalue = '%'; } +#line 486 "smarty_internal_templateparser.y" + function yy_r153(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2426 "smarty_internal_templateparser.php" -#line 541 "smarty_internal_templateparser.y" - function yy_r176(){$this->_retvalue = '&&'; } +#line 490 "smarty_internal_templateparser.y" + function yy_r155(){$this->_retvalue = ','.$this->yystack[$this->yyidx + 0]->minor; } #line 2429 "smarty_internal_templateparser.php" -#line 542 "smarty_internal_templateparser.y" - function yy_r177(){$this->_retvalue = '||'; } +#line 491 "smarty_internal_templateparser.y" + function yy_r156(){$this->_retvalue = ',\''.$this->yystack[$this->yyidx + 0]->minor.'\''; } #line 2432 "smarty_internal_templateparser.php" -#line 543 "smarty_internal_templateparser.y" - function yy_r178(){$this->_retvalue = ' XOR '; } +#line 498 "smarty_internal_templateparser.y" + function yy_r158(){$this->_retvalue = '!'.$this->yystack[$this->yyidx + 0]->minor; } #line 2435 "smarty_internal_templateparser.php" -#line 548 "smarty_internal_templateparser.y" - function yy_r179(){ $this->_retvalue = 'array('.$this->yystack[$this->yyidx + -1]->minor.')'; } +#line 503 "smarty_internal_templateparser.y" + function yy_r160(){$this->_retvalue =$this->yystack[$this->yyidx + 0]->minor; } #line 2438 "smarty_internal_templateparser.php" -#line 550 "smarty_internal_templateparser.y" - function yy_r181(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor; } +#line 504 "smarty_internal_templateparser.y" + function yy_r161(){$this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2441 "smarty_internal_templateparser.php" -#line 551 "smarty_internal_templateparser.y" - function yy_r182(){ return; } +#line 505 "smarty_internal_templateparser.y" + function yy_r162(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor.')'; } #line 2444 "smarty_internal_templateparser.php" -#line 552 "smarty_internal_templateparser.y" - function yy_r183(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'=>'.$this->yystack[$this->yyidx + 0]->minor; } +#line 506 "smarty_internal_templateparser.y" + function yy_r163(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.',(array)'.$this->yystack[$this->yyidx + 0]->minor.')'; } #line 2447 "smarty_internal_templateparser.php" -#line 553 "smarty_internal_templateparser.y" - function yy_r184(){ $this->_retvalue = '\''.$this->yystack[$this->yyidx + -2]->minor.'\'=>'.$this->yystack[$this->yyidx + 0]->minor; } +#line 508 "smarty_internal_templateparser.y" + function yy_r165(){$this->_retvalue = '!('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')'; } #line 2450 "smarty_internal_templateparser.php" -#line 562 "smarty_internal_templateparser.y" - function yy_r188(){if (substr($this->yystack[$this->yyidx + -1]->minor,0,1) == '\'' || substr($this->yystack[$this->yyidx + -1]->minor,0,1) == '@') { +#line 509 "smarty_internal_templateparser.y" + function yy_r166(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')'; } +#line 2453 "smarty_internal_templateparser.php" +#line 510 "smarty_internal_templateparser.y" + function yy_r167(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -1]->minor.')'; } +#line 2456 "smarty_internal_templateparser.php" +#line 511 "smarty_internal_templateparser.y" + function yy_r168(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -1]->minor.')'; } +#line 2459 "smarty_internal_templateparser.php" +#line 512 "smarty_internal_templateparser.y" + function yy_r169(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')'; } +#line 2462 "smarty_internal_templateparser.php" +#line 513 "smarty_internal_templateparser.y" + function yy_r170(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')'; } +#line 2465 "smarty_internal_templateparser.php" +#line 519 "smarty_internal_templateparser.y" + function yy_r176(){$this->prefix_number++; $this->compiler->prefix_code[] = 'prefix_number.'='.$this->yystack[$this->yyidx + 0]->minor.';?>'; $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.'$_tmp'.$this->prefix_number; } +#line 2468 "smarty_internal_templateparser.php" +#line 521 "smarty_internal_templateparser.y" + function yy_r177(){$this->_retvalue = '=='; } +#line 2471 "smarty_internal_templateparser.php" +#line 522 "smarty_internal_templateparser.y" + function yy_r178(){$this->_retvalue = '!='; } +#line 2474 "smarty_internal_templateparser.php" +#line 523 "smarty_internal_templateparser.y" + function yy_r179(){$this->_retvalue = '>'; } +#line 2477 "smarty_internal_templateparser.php" +#line 524 "smarty_internal_templateparser.y" + function yy_r180(){$this->_retvalue = '<'; } +#line 2480 "smarty_internal_templateparser.php" +#line 525 "smarty_internal_templateparser.y" + function yy_r181(){$this->_retvalue = '>='; } +#line 2483 "smarty_internal_templateparser.php" +#line 526 "smarty_internal_templateparser.y" + function yy_r182(){$this->_retvalue = '<='; } +#line 2486 "smarty_internal_templateparser.php" +#line 527 "smarty_internal_templateparser.y" + function yy_r183(){$this->_retvalue = '==='; } +#line 2489 "smarty_internal_templateparser.php" +#line 528 "smarty_internal_templateparser.y" + function yy_r184(){$this->_retvalue = '!=='; } +#line 2492 "smarty_internal_templateparser.php" +#line 529 "smarty_internal_templateparser.y" + function yy_r185(){$this->_retvalue = '%'; } +#line 2495 "smarty_internal_templateparser.php" +#line 531 "smarty_internal_templateparser.y" + function yy_r186(){$this->_retvalue = '&&'; } +#line 2498 "smarty_internal_templateparser.php" +#line 532 "smarty_internal_templateparser.y" + function yy_r187(){$this->_retvalue = '||'; } +#line 2501 "smarty_internal_templateparser.php" +#line 533 "smarty_internal_templateparser.y" + function yy_r188(){$this->_retvalue = ' XOR '; } +#line 2504 "smarty_internal_templateparser.php" +#line 538 "smarty_internal_templateparser.y" + function yy_r189(){ $this->_retvalue = 'array('.$this->yystack[$this->yyidx + -1]->minor.')'; } +#line 2507 "smarty_internal_templateparser.php" +#line 540 "smarty_internal_templateparser.y" + function yy_r191(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor; } +#line 2510 "smarty_internal_templateparser.php" +#line 541 "smarty_internal_templateparser.y" + function yy_r192(){ return; } +#line 2513 "smarty_internal_templateparser.php" +#line 542 "smarty_internal_templateparser.y" + function yy_r193(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'=>'.$this->yystack[$this->yyidx + 0]->minor; } +#line 2516 "smarty_internal_templateparser.php" +#line 543 "smarty_internal_templateparser.y" + function yy_r194(){ $this->_retvalue = '\''.$this->yystack[$this->yyidx + -2]->minor.'\'=>'.$this->yystack[$this->yyidx + 0]->minor; } +#line 2519 "smarty_internal_templateparser.php" +#line 552 "smarty_internal_templateparser.y" + function yy_r198(){if (substr($this->yystack[$this->yyidx + -1]->minor,0,1) == '\'' || substr($this->yystack[$this->yyidx + -1]->minor,0,1) == '@') { $this->_retvalue = '".'.$this->yystack[$this->yyidx + -1]->minor.'."'; } else { $this->_retvalue = '{'.$this->yystack[$this->yyidx + -1]->minor.'}'; } $this->compiler->has_variable_string = true; } -#line 2459 "smarty_internal_templateparser.php" -#line 569 "smarty_internal_templateparser.y" - function yy_r189(){$this->_retvalue = '{'.$this->yystack[$this->yyidx + -1]->minor.'}'; $this->compiler->has_variable_string = true; } -#line 2462 "smarty_internal_templateparser.php" -#line 570 "smarty_internal_templateparser.y" - function yy_r190(){$this->_retvalue = '{$_smarty_tpl->getVariable(\''. substr($this->yystack[$this->yyidx + 0]->minor,1) .'\')->value}'; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + 0]->minor,"'"), null, true, false)->nocache; $this->compiler->has_variable_string = true; } -#line 2465 "smarty_internal_templateparser.php" -#line 571 "smarty_internal_templateparser.y" - function yy_r191(){if (substr($this->yystack[$this->yyidx + -1]->minor,0,1) == '\'') { +#line 2528 "smarty_internal_templateparser.php" +#line 559 "smarty_internal_templateparser.y" + function yy_r199(){$this->_retvalue = '".('.$this->yystack[$this->yyidx + -1]->minor.')."'; $this->compiler->has_variable_string = true; } +#line 2531 "smarty_internal_templateparser.php" +#line 560 "smarty_internal_templateparser.y" + function yy_r200(){$this->_retvalue = '{$_smarty_tpl->getVariable(\''. substr($this->yystack[$this->yyidx + 0]->minor,1) .'\')->value}'; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + 0]->minor,"'"), null, true, false)->nocache; $this->compiler->has_variable_string = true; } +#line 2534 "smarty_internal_templateparser.php" +#line 561 "smarty_internal_templateparser.y" + function yy_r201(){if (substr($this->yystack[$this->yyidx + -1]->minor,0,1) == '\'') { $this->_retvalue = '".'.$this->yystack[$this->yyidx + -1]->minor.'."'; } else { $this->_retvalue = '{'.$this->yystack[$this->yyidx + -1]->minor.'}'; } $this->compiler->has_variable_string = true; } -#line 2474 "smarty_internal_templateparser.php" -#line 578 "smarty_internal_templateparser.y" - function yy_r192(){ $this->_retvalue = '".('.$this->yystack[$this->yyidx + -1]->minor.')."'; $this->compiler->has_variable_string = true; } -#line 2477 "smarty_internal_templateparser.php" -#line 579 "smarty_internal_templateparser.y" - function yy_r193(){ $this->prefix_number++; $this->compiler->prefix_code[] = ''.$this->yystack[$this->yyidx + 0]->minor.'prefix_number.'=ob_get_clean();?>'; $this->_retvalue = '{$_tmp'.$this->prefix_number.'}'; $this->compiler->has_variable_string = true; } -#line 2480 "smarty_internal_templateparser.php" +#line 2543 "smarty_internal_templateparser.php" +#line 568 "smarty_internal_templateparser.y" + function yy_r202(){ $this->_retvalue = '".('.$this->yystack[$this->yyidx + -1]->minor.')."'; $this->compiler->has_variable_string = true; } +#line 2546 "smarty_internal_templateparser.php" +#line 569 "smarty_internal_templateparser.y" + function yy_r203(){ $this->prefix_number++; $this->compiler->prefix_code[] = ''.$this->yystack[$this->yyidx + 0]->minor.'prefix_number.'=ob_get_clean();?>'; $this->_retvalue = '{$_tmp'.$this->prefix_number.'}'; $this->compiler->has_variable_string = true; } +#line 2549 "smarty_internal_templateparser.php" private $_retvalue; @@ -2539,12 +2608,12 @@ static public $yy_action = array( function yy_syntax_error($yymajor, $TOKEN) { -#line 73 "smarty_internal_templateparser.y" +#line 71 "smarty_internal_templateparser.y" $this->internalError = true; $this->yymajor = $yymajor; $this->compiler->trigger_template_error(); -#line 2543 "smarty_internal_templateparser.php" +#line 2612 "smarty_internal_templateparser.php" } function yy_accept() @@ -2555,13 +2624,13 @@ static public $yy_action = array( while ($this->yyidx >= 0) { $stack = $this->yy_pop_parser_stack(); } -#line 65 "smarty_internal_templateparser.y" +#line 63 "smarty_internal_templateparser.y" $this->successful = !$this->internalError; $this->internalError = false; $this->retvalue = $this->_retvalue; //echo $this->retvalue."\n\n"; -#line 2561 "smarty_internal_templateparser.php" +#line 2630 "smarty_internal_templateparser.php" } function doParse($yymajor, $yytokenvalue) diff --git a/libs/sysplugins/smarty_security.php b/libs/sysplugins/smarty_security.php index 2c99fbc3..9fb85a9f 100644 --- a/libs/sysplugins/smarty_security.php +++ b/libs/sysplugins/smarty_security.php @@ -44,6 +44,15 @@ class Smarty_Security { public $trusted_dir = array(); + /** + * This is an array of trusted static classes. + * + * If empty access to all static classes is allowed. + * If set to 'none' none is allowed. + * @var array + */ + public $static_classes = array(); + /** * This is an array of trusted PHP functions. * @@ -85,4 +94,4 @@ class Smarty_Security { public $allow_php_tag = false; } -?> +?> \ No newline at end of file