smarty_internal_templateparser.php 154 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218
  1. <?php
  2. /**
  3. * Smarty Internal Plugin Templateparser
  4. *
  5. * This is the template parser.
  6. * It is generated from the internal.templateparser.y file
  7. * @package Smarty
  8. * @subpackage Compiler
  9. * @author Uwe Tews
  10. */
  11. class TP_yyToken implements ArrayAccess
  12. {
  13. public $string = '';
  14. public $metadata = array();
  15. function __construct($s, $m = array())
  16. {
  17. if ($s instanceof TP_yyToken) {
  18. $this->string = $s->string;
  19. $this->metadata = $s->metadata;
  20. } else {
  21. $this->string = (string) $s;
  22. if ($m instanceof TP_yyToken) {
  23. $this->metadata = $m->metadata;
  24. } elseif (is_array($m)) {
  25. $this->metadata = $m;
  26. }
  27. }
  28. }
  29. function __toString()
  30. {
  31. return $this->_string;
  32. }
  33. function offsetExists($offset)
  34. {
  35. return isset($this->metadata[$offset]);
  36. }
  37. function offsetGet($offset)
  38. {
  39. return $this->metadata[$offset];
  40. }
  41. function offsetSet($offset, $value)
  42. {
  43. if ($offset === null) {
  44. if (isset($value[0])) {
  45. $x = ($value instanceof TP_yyToken) ?
  46. $value->metadata : $value;
  47. $this->metadata = array_merge($this->metadata, $x);
  48. return;
  49. }
  50. $offset = count($this->metadata);
  51. }
  52. if ($value === null) {
  53. return;
  54. }
  55. if ($value instanceof TP_yyToken) {
  56. if ($value->metadata) {
  57. $this->metadata[$offset] = $value->metadata;
  58. }
  59. } elseif ($value) {
  60. $this->metadata[$offset] = $value;
  61. }
  62. }
  63. function offsetUnset($offset)
  64. {
  65. unset($this->metadata[$offset]);
  66. }
  67. }
  68. class TP_yyStackEntry
  69. {
  70. public $stateno; /* The state-number */
  71. public $major; /* The major token value. This is the code
  72. ** number for the token at this stack level */
  73. public $minor; /* The user-supplied minor token value. This
  74. ** is the value of the token */
  75. };
  76. #line 12 "smarty_internal_templateparser.y"
  77. class Smarty_Internal_Templateparser#line 79 "smarty_internal_templateparser.php"
  78. {
  79. #line 14 "smarty_internal_templateparser.y"
  80. const Err1 = "Security error: Call to private object member not allowed";
  81. const Err2 = "Security error: Call to dynamic object member not allowed";
  82. const Err3 = "PHP in template not allowed. Use SmartyBC to enable it";
  83. // states whether the parse was successful or not
  84. public $successful = true;
  85. public $retvalue = 0;
  86. private $lex;
  87. private $internalError = false;
  88. function __construct($lex, $compiler) {
  89. $this->lex = $lex;
  90. $this->compiler = $compiler;
  91. $this->smarty = $this->compiler->smarty;
  92. $this->template = $this->compiler->template;
  93. $this->compiler->has_variable_string = false;
  94. $this->compiler->prefix_code = array();
  95. $this->prefix_number = 0;
  96. $this->block_nesting_level = 0;
  97. if ($this->security = isset($this->smarty->security_policy)) {
  98. $this->php_handling = $this->smarty->security_policy->php_handling;
  99. } else {
  100. $this->php_handling = $this->smarty->php_handling;
  101. }
  102. $this->is_xml = false;
  103. $this->asp_tags = (ini_get('asp_tags') != '0');
  104. $this->current_buffer = $this->root_buffer = new _smarty_template_buffer($this);
  105. }
  106. public static function escape_start_tag($tag_text) {
  107. $tag = preg_replace('/\A<\?(.*)\z/', '<<?php ?>?\1', $tag_text, -1 , $count); //Escape tag
  108. return $tag;
  109. }
  110. public static function escape_end_tag($tag_text) {
  111. return '?<?php ?>>';
  112. }
  113. public function compileVariable($variable) {
  114. if (strpos($variable,'(') == 0) {
  115. // not a variable variable
  116. $var = trim($variable,'\'');
  117. $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable($var, null, true, false)->nocache;
  118. $this->template->properties['variables'][$var] = $this->compiler->tag_nocache|$this->compiler->nocache;
  119. }
  120. // return '(isset($_smarty_tpl->tpl_vars['. $variable .'])?$_smarty_tpl->tpl_vars['. $variable .']->value:$_smarty_tpl->getVariable('. $variable .')->value)';
  121. return '$_smarty_tpl->tpl_vars['. $variable .']->value';
  122. }
  123. #line 131 "smarty_internal_templateparser.php"
  124. const TP_VERT = 1;
  125. const TP_COLON = 2;
  126. const TP_COMMENT = 3;
  127. const TP_PHPSTARTTAG = 4;
  128. const TP_PHPENDTAG = 5;
  129. const TP_ASPSTARTTAG = 6;
  130. const TP_ASPENDTAG = 7;
  131. const TP_FAKEPHPSTARTTAG = 8;
  132. const TP_XMLTAG = 9;
  133. const TP_OTHER = 10;
  134. const TP_LINEBREAK = 11;
  135. const TP_LITERALSTART = 12;
  136. const TP_LITERALEND = 13;
  137. const TP_LITERAL = 14;
  138. const TP_LDEL = 15;
  139. const TP_RDEL = 16;
  140. const TP_DOLLAR = 17;
  141. const TP_ID = 18;
  142. const TP_EQUAL = 19;
  143. const TP_PTR = 20;
  144. const TP_LDELIF = 21;
  145. const TP_LDELFOR = 22;
  146. const TP_SEMICOLON = 23;
  147. const TP_INCDEC = 24;
  148. const TP_TO = 25;
  149. const TP_STEP = 26;
  150. const TP_LDELFOREACH = 27;
  151. const TP_SPACE = 28;
  152. const TP_AS = 29;
  153. const TP_APTR = 30;
  154. const TP_LDELSETFILTER = 31;
  155. const TP_SMARTYBLOCKCHILD = 32;
  156. const TP_LDELSLASH = 33;
  157. const TP_INTEGER = 34;
  158. const TP_COMMA = 35;
  159. const TP_OPENP = 36;
  160. const TP_CLOSEP = 37;
  161. const TP_MATH = 38;
  162. const TP_UNIMATH = 39;
  163. const TP_ANDSYM = 40;
  164. const TP_ISIN = 41;
  165. const TP_ISDIVBY = 42;
  166. const TP_ISNOTDIVBY = 43;
  167. const TP_ISEVEN = 44;
  168. const TP_ISNOTEVEN = 45;
  169. const TP_ISEVENBY = 46;
  170. const TP_ISNOTEVENBY = 47;
  171. const TP_ISODD = 48;
  172. const TP_ISNOTODD = 49;
  173. const TP_ISODDBY = 50;
  174. const TP_ISNOTODDBY = 51;
  175. const TP_INSTANCEOF = 52;
  176. const TP_QMARK = 53;
  177. const TP_NOT = 54;
  178. const TP_TYPECAST = 55;
  179. const TP_HEX = 56;
  180. const TP_DOT = 57;
  181. const TP_SINGLEQUOTESTRING = 58;
  182. const TP_DOUBLECOLON = 59;
  183. const TP_AT = 60;
  184. const TP_HATCH = 61;
  185. const TP_OPENB = 62;
  186. const TP_CLOSEB = 63;
  187. const TP_EQUALS = 64;
  188. const TP_NOTEQUALS = 65;
  189. const TP_GREATERTHAN = 66;
  190. const TP_LESSTHAN = 67;
  191. const TP_GREATEREQUAL = 68;
  192. const TP_LESSEQUAL = 69;
  193. const TP_IDENTITY = 70;
  194. const TP_NONEIDENTITY = 71;
  195. const TP_MOD = 72;
  196. const TP_LAND = 73;
  197. const TP_LOR = 74;
  198. const TP_LXOR = 75;
  199. const TP_QUOTE = 76;
  200. const TP_BACKTICK = 77;
  201. const TP_DOLLARID = 78;
  202. const YY_NO_ACTION = 590;
  203. const YY_ACCEPT_ACTION = 589;
  204. const YY_ERROR_ACTION = 588;
  205. const YY_SZ_ACTTAB = 2393;
  206. static public $yy_action = array(
  207. /* 0 */ 211, 316, 317, 319, 318, 315, 314, 310, 309, 311,
  208. /* 10 */ 312, 313, 320, 189, 304, 161, 38, 589, 95, 265,
  209. /* 20 */ 317, 319, 7, 106, 289, 37, 26, 30, 146, 283,
  210. /* 30 */ 10, 285, 250, 286, 238, 280, 287, 49, 48, 46,
  211. /* 40 */ 45, 20, 29, 365, 366, 28, 32, 373, 374, 15,
  212. /* 50 */ 11, 328, 323, 322, 324, 327, 231, 211, 4, 189,
  213. /* 60 */ 329, 332, 211, 382, 383, 384, 385, 381, 380, 376,
  214. /* 70 */ 375, 377, 281, 378, 379, 211, 360, 450, 180, 251,
  215. /* 80 */ 117, 144, 196, 74, 135, 260, 17, 451, 26, 30,
  216. /* 90 */ 307, 283, 299, 361, 35, 158, 225, 368, 362, 451,
  217. /* 100 */ 343, 30, 30, 226, 44, 203, 285, 4, 47, 203,
  218. /* 110 */ 218, 259, 49, 48, 46, 45, 20, 29, 365, 366,
  219. /* 120 */ 28, 32, 373, 374, 15, 11, 351, 108, 176, 334,
  220. /* 130 */ 144, 193, 337, 23, 129, 134, 371, 289, 382, 383,
  221. /* 140 */ 384, 385, 381, 380, 376, 375, 377, 281, 378, 379,
  222. /* 150 */ 211, 360, 372, 26, 203, 142, 283, 31, 68, 122,
  223. /* 160 */ 242, 26, 109, 353, 283, 346, 454, 299, 361, 25,
  224. /* 170 */ 185, 225, 368, 362, 30, 343, 239, 30, 454, 289,
  225. /* 180 */ 4, 41, 26, 143, 165, 283, 4, 49, 48, 46,
  226. /* 190 */ 45, 20, 29, 365, 366, 28, 32, 373, 374, 15,
  227. /* 200 */ 11, 101, 160, 144, 26, 208, 34, 283, 31, 144,
  228. /* 210 */ 8, 289, 4, 382, 383, 384, 385, 381, 380, 376,
  229. /* 220 */ 375, 377, 281, 378, 379, 211, 360, 227, 203, 357,
  230. /* 230 */ 142, 197, 19, 73, 135, 144, 211, 302, 9, 158,
  231. /* 240 */ 340, 26, 299, 361, 283, 158, 225, 368, 362, 228,
  232. /* 250 */ 343, 294, 30, 6, 331, 235, 330, 221, 195, 337,
  233. /* 260 */ 126, 240, 49, 48, 46, 45, 20, 29, 365, 366,
  234. /* 270 */ 28, 32, 373, 374, 15, 11, 211, 16, 129, 244,
  235. /* 280 */ 249, 219, 208, 192, 337, 302, 228, 8, 382, 383,
  236. /* 290 */ 384, 385, 381, 380, 376, 375, 377, 281, 378, 379,
  237. /* 300 */ 163, 211, 107, 188, 105, 40, 40, 266, 277, 289,
  238. /* 310 */ 241, 232, 289, 49, 48, 46, 45, 20, 29, 365,
  239. /* 320 */ 366, 28, 32, 373, 374, 15, 11, 211, 168, 203,
  240. /* 330 */ 40, 2, 278, 167, 175, 244, 242, 289, 350, 382,
  241. /* 340 */ 383, 384, 385, 381, 380, 376, 375, 377, 281, 378,
  242. /* 350 */ 379, 191, 47, 184, 204, 234, 169, 198, 287, 386,
  243. /* 360 */ 203, 203, 289, 124, 49, 48, 46, 45, 20, 29,
  244. /* 370 */ 365, 366, 28, 32, 373, 374, 15, 11, 211, 204,
  245. /* 380 */ 182, 26, 26, 26, 283, 212, 224, 118, 131, 289,
  246. /* 390 */ 382, 383, 384, 385, 381, 380, 376, 375, 377, 281,
  247. /* 400 */ 378, 379, 370, 172, 244, 270, 204, 130, 211, 164,
  248. /* 410 */ 26, 287, 289, 229, 178, 49, 48, 46, 45, 20,
  249. /* 420 */ 29, 365, 366, 28, 32, 373, 374, 15, 11, 204,
  250. /* 430 */ 364, 298, 5, 26, 100, 30, 247, 148, 148, 99,
  251. /* 440 */ 159, 382, 383, 384, 385, 381, 380, 376, 375, 377,
  252. /* 450 */ 281, 378, 379, 211, 354, 370, 360, 174, 26, 369,
  253. /* 460 */ 142, 283, 360, 73, 135, 158, 157, 123, 24, 155,
  254. /* 470 */ 135, 30, 299, 361, 211, 190, 225, 368, 362, 272,
  255. /* 480 */ 343, 252, 225, 368, 362, 343, 343, 222, 223, 306,
  256. /* 490 */ 49, 48, 46, 45, 20, 29, 365, 366, 28, 32,
  257. /* 500 */ 373, 374, 15, 11, 129, 43, 236, 9, 269, 258,
  258. /* 510 */ 199, 133, 33, 14, 202, 103, 382, 383, 384, 385,
  259. /* 520 */ 381, 380, 376, 375, 377, 281, 378, 379, 211, 360,
  260. /* 530 */ 370, 170, 262, 142, 360, 36, 73, 135, 151, 141,
  261. /* 540 */ 289, 245, 135, 276, 211, 299, 361, 211, 44, 225,
  262. /* 550 */ 368, 362, 287, 343, 225, 368, 362, 119, 343, 295,
  263. /* 560 */ 216, 267, 282, 296, 211, 49, 48, 46, 45, 20,
  264. /* 570 */ 29, 365, 366, 28, 32, 373, 374, 15, 11, 284,
  265. /* 580 */ 181, 223, 333, 138, 302, 236, 297, 6, 127, 289,
  266. /* 590 */ 116, 382, 383, 384, 385, 381, 380, 376, 375, 377,
  267. /* 600 */ 281, 378, 379, 211, 360, 370, 177, 94, 142, 303,
  268. /* 610 */ 292, 54, 122, 139, 162, 289, 150, 261, 264, 293,
  269. /* 620 */ 299, 361, 30, 289, 225, 368, 362, 287, 343, 30,
  270. /* 630 */ 287, 30, 132, 300, 308, 287, 158, 211, 30, 334,
  271. /* 640 */ 49, 48, 46, 45, 20, 29, 365, 366, 28, 32,
  272. /* 650 */ 373, 374, 15, 11, 211, 204, 166, 12, 275, 287,
  273. /* 660 */ 273, 248, 342, 98, 97, 113, 382, 383, 384, 385,
  274. /* 670 */ 381, 380, 376, 375, 377, 281, 378, 379, 370, 370,
  275. /* 680 */ 370, 110, 18, 321, 324, 324, 324, 324, 324, 324,
  276. /* 690 */ 246, 49, 48, 46, 45, 20, 29, 365, 366, 28,
  277. /* 700 */ 32, 373, 374, 15, 11, 211, 324, 324, 324, 324,
  278. /* 710 */ 324, 324, 324, 324, 112, 136, 104, 382, 383, 384,
  279. /* 720 */ 385, 381, 380, 376, 375, 377, 281, 378, 379, 370,
  280. /* 730 */ 370, 370, 324, 324, 324, 324, 324, 324, 324, 324,
  281. /* 740 */ 324, 256, 49, 48, 46, 45, 20, 29, 365, 366,
  282. /* 750 */ 28, 32, 373, 374, 15, 11, 211, 324, 324, 324,
  283. /* 760 */ 324, 324, 324, 324, 324, 324, 324, 324, 382, 383,
  284. /* 770 */ 384, 385, 381, 380, 376, 375, 377, 281, 378, 379,
  285. /* 780 */ 351, 324, 324, 30, 324, 324, 324, 324, 324, 324,
  286. /* 790 */ 324, 324, 324, 49, 48, 46, 45, 20, 29, 365,
  287. /* 800 */ 366, 28, 32, 373, 374, 15, 11, 211, 324, 324,
  288. /* 810 */ 324, 324, 324, 324, 324, 324, 324, 355, 324, 382,
  289. /* 820 */ 383, 384, 385, 381, 380, 376, 375, 377, 281, 378,
  290. /* 830 */ 379, 324, 324, 324, 324, 324, 324, 324, 324, 324,
  291. /* 840 */ 324, 324, 324, 324, 49, 48, 46, 45, 20, 29,
  292. /* 850 */ 365, 366, 28, 32, 373, 374, 15, 11, 324, 324,
  293. /* 860 */ 324, 324, 324, 324, 324, 324, 324, 324, 324, 257,
  294. /* 870 */ 382, 383, 384, 385, 381, 380, 376, 375, 377, 281,
  295. /* 880 */ 378, 379, 211, 324, 324, 324, 194, 360, 211, 288,
  296. /* 890 */ 255, 145, 324, 352, 336, 135, 324, 200, 42, 22,
  297. /* 900 */ 27, 30, 30, 341, 7, 106, 30, 225, 368, 362,
  298. /* 910 */ 146, 343, 324, 203, 250, 286, 238, 324, 211, 49,
  299. /* 920 */ 48, 46, 45, 20, 29, 365, 366, 28, 32, 373,
  300. /* 930 */ 374, 15, 11, 305, 324, 324, 324, 324, 324, 47,
  301. /* 940 */ 324, 324, 324, 324, 324, 382, 383, 384, 385, 381,
  302. /* 950 */ 380, 376, 375, 377, 281, 378, 379, 211, 324, 359,
  303. /* 960 */ 39, 349, 360, 326, 348, 291, 156, 324, 352, 344,
  304. /* 970 */ 135, 324, 201, 42, 324, 30, 30, 30, 324, 7,
  305. /* 980 */ 106, 30, 225, 368, 362, 146, 343, 324, 324, 250,
  306. /* 990 */ 286, 238, 324, 324, 49, 48, 46, 45, 20, 29,
  307. /* 1000 */ 365, 366, 28, 32, 373, 374, 15, 11, 211, 324,
  308. /* 1010 */ 324, 324, 324, 324, 324, 324, 324, 324, 324, 324,
  309. /* 1020 */ 382, 383, 384, 385, 381, 380, 376, 375, 377, 281,
  310. /* 1030 */ 378, 379, 324, 324, 358, 39, 349, 324, 324, 324,
  311. /* 1040 */ 324, 324, 324, 324, 324, 49, 48, 46, 45, 20,
  312. /* 1050 */ 29, 365, 366, 28, 32, 373, 374, 15, 11, 324,
  313. /* 1060 */ 324, 324, 324, 324, 324, 324, 324, 324, 324, 324,
  314. /* 1070 */ 324, 382, 383, 384, 385, 381, 380, 376, 375, 377,
  315. /* 1080 */ 281, 378, 379, 324, 49, 48, 46, 45, 20, 29,
  316. /* 1090 */ 365, 366, 28, 32, 373, 374, 15, 11, 324, 324,
  317. /* 1100 */ 324, 324, 324, 324, 324, 324, 324, 324, 324, 324,
  318. /* 1110 */ 382, 383, 384, 385, 381, 380, 376, 375, 377, 281,
  319. /* 1120 */ 378, 379, 324, 324, 324, 324, 38, 324, 140, 207,
  320. /* 1130 */ 324, 360, 7, 106, 290, 147, 324, 356, 146, 135,
  321. /* 1140 */ 324, 324, 250, 286, 238, 230, 30, 13, 367, 30,
  322. /* 1150 */ 51, 225, 368, 362, 324, 343, 360, 324, 324, 324,
  323. /* 1160 */ 152, 324, 324, 324, 135, 50, 52, 301, 237, 363,
  324. /* 1170 */ 324, 360, 105, 1, 254, 154, 225, 368, 362, 135,
  325. /* 1180 */ 343, 324, 38, 324, 140, 214, 324, 96, 7, 106,
  326. /* 1190 */ 279, 225, 368, 362, 146, 343, 347, 345, 250, 286,
  327. /* 1200 */ 238, 230, 30, 13, 274, 324, 51, 338, 30, 30,
  328. /* 1210 */ 360, 324, 324, 324, 121, 324, 30, 53, 135, 30,
  329. /* 1220 */ 211, 50, 52, 301, 237, 363, 299, 361, 105, 1,
  330. /* 1230 */ 225, 368, 362, 211, 343, 453, 324, 268, 38, 324,
  331. /* 1240 */ 128, 214, 324, 96, 7, 106, 253, 453, 339, 30,
  332. /* 1250 */ 146, 335, 233, 324, 250, 286, 238, 230, 30, 3,
  333. /* 1260 */ 30, 324, 51, 30, 271, 324, 360, 324, 4, 324,
  334. /* 1270 */ 142, 47, 324, 84, 135, 324, 30, 50, 52, 301,
  335. /* 1280 */ 237, 363, 299, 361, 105, 1, 225, 368, 362, 324,
  336. /* 1290 */ 343, 144, 324, 324, 38, 324, 125, 92, 324, 96,
  337. /* 1300 */ 7, 106, 324, 324, 324, 324, 146, 324, 324, 324,
  338. /* 1310 */ 250, 286, 238, 230, 324, 13, 324, 324, 51, 324,
  339. /* 1320 */ 324, 324, 360, 324, 324, 324, 142, 324, 324, 89,
  340. /* 1330 */ 135, 324, 211, 50, 52, 301, 237, 363, 299, 361,
  341. /* 1340 */ 105, 1, 225, 368, 362, 324, 343, 456, 324, 324,
  342. /* 1350 */ 38, 324, 126, 214, 324, 96, 7, 106, 324, 456,
  343. /* 1360 */ 243, 324, 146, 324, 324, 324, 250, 286, 238, 230,
  344. /* 1370 */ 324, 21, 324, 324, 51, 324, 324, 324, 360, 324,
  345. /* 1380 */ 324, 324, 142, 47, 324, 87, 135, 324, 211, 50,
  346. /* 1390 */ 52, 301, 237, 363, 299, 361, 105, 1, 225, 368,
  347. /* 1400 */ 362, 324, 343, 456, 324, 324, 38, 324, 140, 210,
  348. /* 1410 */ 324, 96, 7, 106, 324, 456, 324, 324, 146, 324,
  349. /* 1420 */ 324, 324, 250, 286, 238, 230, 324, 13, 324, 324,
  350. /* 1430 */ 51, 324, 324, 324, 360, 324, 324, 324, 142, 47,
  351. /* 1440 */ 324, 63, 135, 324, 211, 50, 52, 301, 237, 363,
  352. /* 1450 */ 299, 361, 105, 1, 225, 368, 362, 324, 343, 325,
  353. /* 1460 */ 324, 324, 38, 324, 137, 214, 324, 96, 7, 106,
  354. /* 1470 */ 324, 30, 324, 324, 146, 324, 324, 324, 250, 286,
  355. /* 1480 */ 238, 230, 324, 13, 324, 324, 51, 324, 324, 324,
  356. /* 1490 */ 360, 324, 324, 324, 142, 47, 324, 80, 135, 324,
  357. /* 1500 */ 324, 50, 52, 301, 237, 363, 299, 361, 105, 1,
  358. /* 1510 */ 225, 368, 362, 324, 343, 324, 324, 324, 38, 324,
  359. /* 1520 */ 140, 206, 324, 96, 7, 106, 324, 324, 324, 324,
  360. /* 1530 */ 146, 324, 324, 324, 250, 286, 238, 220, 324, 13,
  361. /* 1540 */ 324, 324, 51, 324, 324, 324, 360, 324, 324, 324,
  362. /* 1550 */ 114, 324, 324, 75, 135, 324, 324, 50, 52, 301,
  363. /* 1560 */ 237, 363, 299, 361, 105, 1, 225, 368, 362, 324,
  364. /* 1570 */ 343, 324, 324, 324, 38, 324, 140, 205, 324, 96,
  365. /* 1580 */ 7, 106, 324, 324, 324, 324, 146, 324, 324, 324,
  366. /* 1590 */ 250, 286, 238, 230, 324, 13, 324, 324, 51, 324,
  367. /* 1600 */ 324, 324, 360, 324, 324, 324, 142, 324, 324, 77,
  368. /* 1610 */ 135, 324, 324, 50, 52, 301, 237, 363, 299, 361,
  369. /* 1620 */ 105, 1, 225, 368, 362, 324, 343, 324, 324, 324,
  370. /* 1630 */ 38, 324, 140, 209, 324, 96, 7, 106, 324, 324,
  371. /* 1640 */ 324, 324, 146, 324, 324, 324, 250, 286, 238, 230,
  372. /* 1650 */ 324, 13, 324, 324, 51, 324, 324, 324, 360, 324,
  373. /* 1660 */ 324, 324, 142, 324, 324, 85, 135, 324, 324, 50,
  374. /* 1670 */ 52, 301, 237, 363, 299, 361, 105, 1, 225, 368,
  375. /* 1680 */ 362, 324, 343, 324, 324, 324, 38, 324, 126, 213,
  376. /* 1690 */ 324, 96, 7, 106, 324, 324, 324, 324, 146, 324,
  377. /* 1700 */ 324, 324, 250, 286, 238, 230, 324, 21, 324, 324,
  378. /* 1710 */ 51, 324, 324, 324, 360, 324, 324, 324, 142, 324,
  379. /* 1720 */ 324, 71, 135, 324, 324, 50, 52, 301, 237, 363,
  380. /* 1730 */ 299, 361, 105, 324, 225, 368, 362, 324, 343, 324,
  381. /* 1740 */ 324, 324, 38, 324, 126, 214, 324, 96, 7, 106,
  382. /* 1750 */ 324, 324, 324, 324, 146, 324, 324, 324, 250, 286,
  383. /* 1760 */ 238, 230, 324, 21, 102, 186, 51, 324, 324, 324,
  384. /* 1770 */ 324, 324, 324, 324, 289, 324, 324, 22, 27, 324,
  385. /* 1780 */ 499, 50, 52, 301, 237, 363, 324, 499, 105, 499,
  386. /* 1790 */ 499, 203, 499, 499, 324, 324, 324, 324, 324, 499,
  387. /* 1800 */ 4, 499, 324, 96, 324, 324, 324, 324, 324, 324,
  388. /* 1810 */ 324, 324, 324, 360, 324, 324, 499, 117, 324, 324,
  389. /* 1820 */ 74, 135, 324, 144, 324, 324, 324, 499, 324, 299,
  390. /* 1830 */ 361, 324, 324, 225, 368, 362, 324, 343, 360, 324,
  391. /* 1840 */ 324, 499, 142, 324, 324, 66, 135, 324, 263, 324,
  392. /* 1850 */ 324, 324, 324, 324, 299, 361, 324, 324, 225, 368,
  393. /* 1860 */ 362, 324, 343, 324, 360, 324, 324, 324, 142, 324,
  394. /* 1870 */ 324, 79, 135, 324, 360, 324, 324, 324, 149, 324,
  395. /* 1880 */ 299, 361, 135, 360, 225, 368, 362, 142, 343, 324,
  396. /* 1890 */ 81, 135, 324, 324, 225, 368, 362, 324, 343, 299,
  397. /* 1900 */ 361, 324, 324, 225, 368, 362, 324, 343, 324, 324,
  398. /* 1910 */ 324, 360, 324, 324, 324, 115, 324, 324, 83, 135,
  399. /* 1920 */ 324, 324, 360, 324, 324, 324, 142, 299, 361, 72,
  400. /* 1930 */ 135, 225, 368, 362, 324, 343, 324, 324, 299, 361,
  401. /* 1940 */ 324, 324, 225, 368, 362, 324, 343, 324, 360, 324,
  402. /* 1950 */ 324, 324, 142, 324, 324, 70, 135, 324, 360, 324,
  403. /* 1960 */ 324, 324, 153, 324, 299, 361, 135, 360, 225, 368,
  404. /* 1970 */ 362, 142, 343, 324, 68, 135, 324, 324, 225, 368,
  405. /* 1980 */ 362, 324, 343, 299, 361, 324, 324, 225, 368, 362,
  406. /* 1990 */ 324, 343, 324, 324, 324, 360, 324, 324, 324, 142,
  407. /* 2000 */ 324, 324, 90, 135, 324, 324, 360, 324, 324, 324,
  408. /* 2010 */ 142, 299, 361, 86, 135, 225, 368, 362, 324, 343,
  409. /* 2020 */ 324, 324, 299, 361, 324, 324, 225, 368, 362, 324,
  410. /* 2030 */ 343, 324, 360, 194, 183, 324, 142, 324, 324, 91,
  411. /* 2040 */ 135, 324, 324, 289, 324, 324, 22, 27, 299, 361,
  412. /* 2050 */ 324, 360, 225, 368, 362, 142, 343, 324, 61, 135,
  413. /* 2060 */ 203, 324, 324, 324, 194, 171, 324, 299, 361, 324,
  414. /* 2070 */ 324, 225, 368, 362, 289, 343, 324, 22, 27, 360,
  415. /* 2080 */ 324, 324, 324, 142, 324, 324, 88, 135, 324, 324,
  416. /* 2090 */ 360, 203, 324, 324, 142, 299, 361, 69, 135, 225,
  417. /* 2100 */ 368, 362, 324, 343, 324, 324, 299, 361, 324, 324,
  418. /* 2110 */ 225, 368, 362, 324, 343, 324, 360, 194, 179, 324,
  419. /* 2120 */ 142, 324, 324, 76, 135, 324, 324, 289, 324, 324,
  420. /* 2130 */ 22, 27, 299, 361, 324, 360, 225, 368, 362, 142,
  421. /* 2140 */ 343, 324, 65, 135, 203, 324, 324, 324, 194, 187,
  422. /* 2150 */ 324, 299, 361, 324, 324, 225, 368, 362, 289, 343,
  423. /* 2160 */ 324, 22, 27, 360, 324, 324, 324, 111, 324, 324,
  424. /* 2170 */ 64, 135, 324, 324, 360, 203, 324, 324, 142, 299,
  425. /* 2180 */ 361, 62, 135, 225, 368, 362, 324, 343, 324, 324,
  426. /* 2190 */ 299, 361, 324, 324, 225, 368, 362, 324, 343, 324,
  427. /* 2200 */ 360, 194, 173, 324, 142, 324, 324, 82, 135, 324,
  428. /* 2210 */ 324, 289, 324, 324, 22, 27, 299, 361, 324, 360,
  429. /* 2220 */ 225, 368, 362, 142, 343, 324, 60, 135, 203, 324,
  430. /* 2230 */ 324, 324, 324, 324, 324, 299, 361, 324, 324, 225,
  431. /* 2240 */ 368, 362, 324, 343, 324, 324, 324, 360, 324, 324,
  432. /* 2250 */ 324, 93, 324, 324, 57, 120, 324, 324, 360, 324,
  433. /* 2260 */ 324, 324, 142, 299, 361, 58, 135, 225, 368, 362,
  434. /* 2270 */ 324, 343, 324, 324, 299, 361, 324, 324, 225, 368,
  435. /* 2280 */ 362, 324, 343, 324, 360, 324, 324, 324, 142, 324,
  436. /* 2290 */ 324, 59, 135, 324, 324, 324, 324, 324, 324, 324,
  437. /* 2300 */ 299, 361, 324, 360, 225, 368, 362, 93, 343, 324,
  438. /* 2310 */ 55, 120, 324, 324, 324, 324, 324, 324, 324, 299,
  439. /* 2320 */ 361, 324, 324, 215, 368, 362, 324, 343, 324, 324,
  440. /* 2330 */ 324, 360, 324, 324, 324, 142, 324, 324, 56, 135,
  441. /* 2340 */ 324, 324, 360, 324, 324, 324, 142, 299, 361, 78,
  442. /* 2350 */ 135, 225, 368, 362, 324, 343, 324, 324, 299, 361,
  443. /* 2360 */ 324, 324, 225, 368, 362, 324, 343, 324, 360, 324,
  444. /* 2370 */ 324, 324, 142, 324, 324, 67, 135, 324, 324, 324,
  445. /* 2380 */ 324, 324, 324, 324, 299, 361, 324, 324, 217, 368,
  446. /* 2390 */ 362, 324, 343,
  447. );
  448. static public $yy_lookahead = array(
  449. /* 0 */ 1, 82, 83, 84, 3, 4, 5, 6, 7, 8,
  450. /* 10 */ 9, 10, 11, 12, 18, 89, 15, 80, 81, 82,
  451. /* 20 */ 83, 84, 21, 22, 98, 26, 15, 28, 27, 18,
  452. /* 30 */ 19, 116, 31, 32, 33, 24, 110, 38, 39, 40,
  453. /* 40 */ 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
  454. /* 50 */ 51, 4, 5, 6, 7, 8, 60, 1, 36, 12,
  455. /* 60 */ 13, 14, 1, 64, 65, 66, 67, 68, 69, 70,
  456. /* 70 */ 71, 72, 73, 74, 75, 1, 83, 16, 88, 57,
  457. /* 80 */ 87, 59, 88, 90, 91, 63, 30, 16, 15, 28,
  458. /* 90 */ 16, 18, 99, 100, 19, 20, 103, 104, 105, 28,
  459. /* 100 */ 107, 28, 28, 30, 2, 115, 116, 36, 52, 115,
  460. /* 110 */ 117, 118, 38, 39, 40, 41, 42, 43, 44, 45,
  461. /* 120 */ 46, 47, 48, 49, 50, 51, 83, 88, 89, 109,
  462. /* 130 */ 59, 111, 112, 15, 59, 17, 18, 98, 64, 65,
  463. /* 140 */ 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,
  464. /* 150 */ 1, 83, 34, 15, 115, 87, 18, 19, 90, 91,
  465. /* 160 */ 92, 15, 119, 120, 18, 16, 16, 99, 100, 19,
  466. /* 170 */ 89, 103, 104, 105, 28, 107, 30, 28, 28, 98,
  467. /* 180 */ 36, 15, 15, 17, 18, 18, 36, 38, 39, 40,
  468. /* 190 */ 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
  469. /* 200 */ 51, 88, 89, 59, 15, 57, 30, 18, 19, 59,
  470. /* 210 */ 62, 98, 36, 64, 65, 66, 67, 68, 69, 70,
  471. /* 220 */ 71, 72, 73, 74, 75, 1, 83, 60, 115, 16,
  472. /* 230 */ 87, 97, 15, 90, 91, 59, 1, 24, 19, 20,
  473. /* 240 */ 16, 15, 99, 100, 18, 20, 103, 104, 105, 60,
  474. /* 250 */ 107, 16, 28, 36, 84, 20, 86, 114, 111, 112,
  475. /* 260 */ 17, 18, 38, 39, 40, 41, 42, 43, 44, 45,
  476. /* 270 */ 46, 47, 48, 49, 50, 51, 1, 2, 59, 91,
  477. /* 280 */ 92, 93, 57, 111, 112, 24, 60, 62, 64, 65,
  478. /* 290 */ 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,
  479. /* 300 */ 89, 1, 88, 89, 61, 35, 35, 37, 37, 98,
  480. /* 310 */ 17, 18, 98, 38, 39, 40, 41, 42, 43, 44,
  481. /* 320 */ 45, 46, 47, 48, 49, 50, 51, 1, 89, 115,
  482. /* 330 */ 35, 35, 37, 88, 88, 91, 92, 98, 77, 64,
  483. /* 340 */ 65, 66, 67, 68, 69, 70, 71, 72, 73, 74,
  484. /* 350 */ 75, 23, 52, 89, 115, 29, 108, 97, 110, 63,
  485. /* 360 */ 115, 115, 98, 35, 38, 39, 40, 41, 42, 43,
  486. /* 370 */ 44, 45, 46, 47, 48, 49, 50, 51, 1, 115,
  487. /* 380 */ 89, 15, 15, 15, 18, 18, 18, 95, 17, 98,
  488. /* 390 */ 64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
  489. /* 400 */ 74, 75, 110, 89, 91, 92, 115, 36, 1, 108,
  490. /* 410 */ 15, 110, 98, 18, 108, 38, 39, 40, 41, 42,
  491. /* 420 */ 43, 44, 45, 46, 47, 48, 49, 50, 51, 115,
  492. /* 430 */ 106, 106, 36, 15, 97, 28, 18, 113, 113, 108,
  493. /* 440 */ 95, 64, 65, 66, 67, 68, 69, 70, 71, 72,
  494. /* 450 */ 73, 74, 75, 1, 77, 110, 83, 108, 15, 18,
  495. /* 460 */ 87, 18, 83, 90, 91, 20, 87, 17, 19, 91,
  496. /* 470 */ 91, 28, 99, 100, 1, 23, 103, 104, 105, 100,
  497. /* 480 */ 107, 103, 103, 104, 105, 107, 107, 114, 2, 16,
  498. /* 490 */ 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
  499. /* 500 */ 48, 49, 50, 51, 59, 19, 57, 19, 37, 61,
  500. /* 510 */ 18, 17, 53, 2, 18, 95, 64, 65, 66, 67,
  501. /* 520 */ 68, 69, 70, 71, 72, 73, 74, 75, 1, 83,
  502. /* 530 */ 110, 89, 63, 87, 83, 25, 90, 91, 87, 17,
  503. /* 540 */ 98, 18, 91, 16, 1, 99, 100, 1, 2, 103,
  504. /* 550 */ 104, 105, 110, 107, 103, 104, 105, 18, 107, 16,
  505. /* 560 */ 114, 61, 16, 34, 1, 38, 39, 40, 41, 42,
  506. /* 570 */ 43, 44, 45, 46, 47, 48, 49, 50, 51, 16,
  507. /* 580 */ 89, 2, 18, 17, 24, 57, 34, 36, 17, 98,
  508. /* 590 */ 95, 64, 65, 66, 67, 68, 69, 70, 71, 72,
  509. /* 600 */ 73, 74, 75, 1, 83, 110, 89, 18, 87, 18,
  510. /* 610 */ 16, 90, 91, 92, 89, 98, 96, 16, 16, 16,
  511. /* 620 */ 99, 100, 28, 98, 103, 104, 105, 110, 107, 28,
  512. /* 630 */ 110, 28, 18, 18, 98, 110, 20, 1, 28, 109,
  513. /* 640 */ 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
  514. /* 650 */ 48, 49, 50, 51, 1, 115, 108, 28, 113, 110,
  515. /* 660 */ 28, 94, 112, 95, 95, 95, 64, 65, 66, 67,
  516. /* 670 */ 68, 69, 70, 71, 72, 73, 74, 75, 110, 110,
  517. /* 680 */ 110, 85, 94, 13, 121, 121, 121, 121, 121, 121,
  518. /* 690 */ 37, 38, 39, 40, 41, 42, 43, 44, 45, 46,
  519. /* 700 */ 47, 48, 49, 50, 51, 1, 121, 121, 121, 121,
  520. /* 710 */ 121, 121, 121, 121, 95, 95, 95, 64, 65, 66,
  521. /* 720 */ 67, 68, 69, 70, 71, 72, 73, 74, 75, 110,
  522. /* 730 */ 110, 110, 121, 121, 121, 121, 121, 121, 121, 121,
  523. /* 740 */ 121, 37, 38, 39, 40, 41, 42, 43, 44, 45,
  524. /* 750 */ 46, 47, 48, 49, 50, 51, 1, 121, 121, 121,
  525. /* 760 */ 121, 121, 121, 121, 121, 121, 121, 121, 64, 65,
  526. /* 770 */ 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,
  527. /* 780 */ 83, 121, 121, 28, 121, 121, 121, 121, 121, 121,
  528. /* 790 */ 121, 121, 121, 38, 39, 40, 41, 42, 43, 44,
  529. /* 800 */ 45, 46, 47, 48, 49, 50, 51, 1, 121, 121,
  530. /* 810 */ 121, 121, 121, 121, 121, 121, 121, 120, 121, 64,
  531. /* 820 */ 65, 66, 67, 68, 69, 70, 71, 72, 73, 74,
  532. /* 830 */ 75, 121, 121, 121, 121, 121, 121, 121, 121, 121,
  533. /* 840 */ 121, 121, 121, 121, 38, 39, 40, 41, 42, 43,
  534. /* 850 */ 44, 45, 46, 47, 48, 49, 50, 51, 121, 121,
  535. /* 860 */ 121, 121, 121, 121, 121, 121, 121, 121, 121, 63,
  536. /* 870 */ 64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
  537. /* 880 */ 74, 75, 1, 121, 121, 121, 88, 83, 1, 16,
  538. /* 890 */ 16, 87, 121, 10, 16, 91, 121, 16, 15, 101,
  539. /* 900 */ 102, 28, 28, 16, 21, 22, 28, 103, 104, 105,
  540. /* 910 */ 27, 107, 121, 115, 31, 32, 33, 121, 1, 38,
  541. /* 920 */ 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
  542. /* 930 */ 49, 50, 51, 16, 121, 121, 121, 121, 121, 52,
  543. /* 940 */ 121, 121, 121, 121, 121, 64, 65, 66, 67, 68,
  544. /* 950 */ 69, 70, 71, 72, 73, 74, 75, 1, 121, 76,
  545. /* 960 */ 77, 78, 83, 16, 16, 16, 87, 121, 10, 16,
  546. /* 970 */ 91, 121, 16, 15, 121, 28, 28, 28, 121, 21,
  547. /* 980 */ 22, 28, 103, 104, 105, 27, 107, 121, 121, 31,
  548. /* 990 */ 32, 33, 121, 121, 38, 39, 40, 41, 42, 43,
  549. /* 1000 */ 44, 45, 46, 47, 48, 49, 50, 51, 1, 121,
  550. /* 1010 */ 121, 121, 121, 121, 121, 121, 121, 121, 121, 121,
  551. /* 1020 */ 64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
  552. /* 1030 */ 74, 75, 121, 121, 76, 77, 78, 121, 121, 121,
  553. /* 1040 */ 121, 121, 121, 121, 121, 38, 39, 40, 41, 42,
  554. /* 1050 */ 43, 44, 45, 46, 47, 48, 49, 50, 51, 121,
  555. /* 1060 */ 121, 121, 121, 121, 121, 121, 121, 121, 121, 121,
  556. /* 1070 */ 121, 64, 65, 66, 67, 68, 69, 70, 71, 72,
  557. /* 1080 */ 73, 74, 75, 121, 38, 39, 40, 41, 42, 43,
  558. /* 1090 */ 44, 45, 46, 47, 48, 49, 50, 51, 121, 121,
  559. /* 1100 */ 121, 121, 121, 121, 121, 121, 121, 121, 121, 121,
  560. /* 1110 */ 64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
  561. /* 1120 */ 74, 75, 121, 121, 121, 121, 15, 121, 17, 18,
  562. /* 1130 */ 121, 83, 21, 22, 16, 87, 121, 16, 27, 91,
  563. /* 1140 */ 121, 121, 31, 32, 33, 34, 28, 36, 100, 28,
  564. /* 1150 */ 39, 103, 104, 105, 121, 107, 83, 121, 121, 121,
  565. /* 1160 */ 87, 121, 121, 121, 91, 54, 55, 56, 57, 58,
  566. /* 1170 */ 121, 83, 61, 62, 63, 87, 103, 104, 105, 91,
  567. /* 1180 */ 107, 121, 15, 121, 17, 18, 121, 76, 21, 22,
  568. /* 1190 */ 16, 103, 104, 105, 27, 107, 16, 16, 31, 32,
  569. /* 1200 */ 33, 34, 28, 36, 16, 121, 39, 16, 28, 28,
  570. /* 1210 */ 83, 121, 121, 121, 87, 121, 28, 90, 91, 28,
  571. /* 1220 */ 1, 54, 55, 56, 57, 58, 99, 100, 61, 62,
  572. /* 1230 */ 103, 104, 105, 1, 107, 16, 121, 16, 15, 121,
  573. /* 1240 */ 17, 18, 121, 76, 21, 22, 16, 28, 16, 28,
  574. /* 1250 */ 27, 16, 20, 121, 31, 32, 33, 34, 28, 36,
  575. /* 1260 */ 28, 121, 39, 28, 16, 121, 83, 121, 36, 121,
  576. /* 1270 */ 87, 52, 121, 90, 91, 121, 28, 54, 55, 56,
  577. /* 1280 */ 57, 58, 99, 100, 61, 62, 103, 104, 105, 121,
  578. /* 1290 */ 107, 59, 121, 121, 15, 121, 17, 18, 121, 76,
  579. /* 1300 */ 21, 22, 121, 121, 121, 121, 27, 121, 121, 121,
  580. /* 1310 */ 31, 32, 33, 34, 121, 36, 121, 121, 39, 121,
  581. /* 1320 */ 121, 121, 83, 121, 121, 121, 87, 121, 121, 90,
  582. /* 1330 */ 91, 121, 1, 54, 55, 56, 57, 58, 99, 100,
  583. /* 1340 */ 61, 62, 103, 104, 105, 121, 107, 16, 121, 121,
  584. /* 1350 */ 15, 121, 17, 18, 121, 76, 21, 22, 121, 28,
  585. /* 1360 */ 29, 121, 27, 121, 121, 121, 31, 32, 33, 34,
  586. /* 1370 */ 121, 36, 121, 121, 39, 121, 121, 121, 83, 121,
  587. /* 1380 */ 121, 121, 87, 52, 121, 90, 91, 121, 1, 54,
  588. /* 1390 */ 55, 56, 57, 58, 99, 100, 61, 62, 103, 104,
  589. /* 1400 */ 105, 121, 107, 16, 121, 121, 15, 121, 17, 18,
  590. /* 1410 */ 121, 76, 21, 22, 121, 28, 121, 121, 27, 121,
  591. /* 1420 */ 121, 121, 31, 32, 33, 34, 121, 36, 121, 121,
  592. /* 1430 */ 39, 121, 121, 121, 83, 121, 121, 121, 87, 52,
  593. /* 1440 */ 121, 90, 91, 121, 1, 54, 55, 56, 57, 58,
  594. /* 1450 */ 99, 100, 61, 62, 103, 104, 105, 121, 107, 16,
  595. /* 1460 */ 121, 121, 15, 121, 17, 18, 121, 76, 21, 22,
  596. /* 1470 */ 121, 28, 121, 121, 27, 121, 121, 121, 31, 32,
  597. /* 1480 */ 33, 34, 121, 36, 121, 121, 39, 121, 121, 121,
  598. /* 1490 */ 83, 121, 121, 121, 87, 52, 121, 90, 91, 121,
  599. /* 1500 */ 121, 54, 55, 56, 57, 58, 99, 100, 61, 62,
  600. /* 1510 */ 103, 104, 105, 121, 107, 121, 121, 121, 15, 121,
  601. /* 1520 */ 17, 18, 121, 76, 21, 22, 121, 121, 121, 121,
  602. /* 1530 */ 27, 121, 121, 121, 31, 32, 33, 34, 121, 36,
  603. /* 1540 */ 121, 121, 39, 121, 121, 121, 83, 121, 121, 121,
  604. /* 1550 */ 87, 121, 121, 90, 91, 121, 121, 54, 55, 56,
  605. /* 1560 */ 57, 58, 99, 100, 61, 62, 103, 104, 105, 121,
  606. /* 1570 */ 107, 121, 121, 121, 15, 121, 17, 18, 121, 76,
  607. /* 1580 */ 21, 22, 121, 121, 121, 121, 27, 121, 121, 121,
  608. /* 1590 */ 31, 32, 33, 34, 121, 36, 121, 121, 39, 121,
  609. /* 1600 */ 121, 121, 83, 121, 121, 121, 87, 121, 121, 90,
  610. /* 1610 */ 91, 121, 121, 54, 55, 56, 57, 58, 99, 100,
  611. /* 1620 */ 61, 62, 103, 104, 105, 121, 107, 121, 121, 121,
  612. /* 1630 */ 15, 121, 17, 18, 121, 76, 21, 22, 121, 121,
  613. /* 1640 */ 121, 121, 27, 121, 121, 121, 31, 32, 33, 34,
  614. /* 1650 */ 121, 36, 121, 121, 39, 121, 121, 121, 83, 121,
  615. /* 1660 */ 121, 121, 87, 121, 121, 90, 91, 121, 121, 54,
  616. /* 1670 */ 55, 56, 57, 58, 99, 100, 61, 62, 103, 104,
  617. /* 1680 */ 105, 121, 107, 121, 121, 121, 15, 121, 17, 18,
  618. /* 1690 */ 121, 76, 21, 22, 121, 121, 121, 121, 27, 121,
  619. /* 1700 */ 121, 121, 31, 32, 33, 34, 121, 36, 121, 121,
  620. /* 1710 */ 39, 121, 121, 121, 83, 121, 121, 121, 87, 121,
  621. /* 1720 */ 121, 90, 91, 121, 121, 54, 55, 56, 57, 58,
  622. /* 1730 */ 99, 100, 61, 121, 103, 104, 105, 121, 107, 121,
  623. /* 1740 */ 121, 121, 15, 121, 17, 18, 121, 76, 21, 22,
  624. /* 1750 */ 121, 121, 121, 121, 27, 121, 121, 121, 31, 32,
  625. /* 1760 */ 33, 34, 121, 36, 88, 89, 39, 121, 121, 121,
  626. /* 1770 */ 121, 121, 121, 121, 98, 121, 121, 101, 102, 121,
  627. /* 1780 */ 16, 54, 55, 56, 57, 58, 121, 23, 61, 25,
  628. /* 1790 */ 26, 115, 28, 29, 121, 121, 121, 121, 121, 35,
  629. /* 1800 */ 36, 37, 121, 76, 121, 121, 121, 121, 121, 121,
  630. /* 1810 */ 121, 121, 121, 83, 121, 121, 52, 87, 121, 121,
  631. /* 1820 */ 90, 91, 121, 59, 121, 121, 121, 63, 121, 99,
  632. /* 1830 */ 100, 121, 121, 103, 104, 105, 121, 107, 83, 121,
  633. /* 1840 */ 121, 77, 87, 121, 121, 90, 91, 121, 118, 121,
  634. /* 1850 */ 121, 121, 121, 121, 99, 100, 121, 121, 103, 104,
  635. /* 1860 */ 105, 121, 107, 121, 83, 121, 121, 121, 87, 121,
  636. /* 1870 */ 121, 90, 91, 121, 83, 121, 121, 121, 87, 121,
  637. /* 1880 */ 99, 100, 91, 83, 103, 104, 105, 87, 107, 121,
  638. /* 1890 */ 90, 91, 121, 121, 103, 104, 105, 121, 107, 99,
  639. /* 1900 */ 100, 121, 121, 103, 104, 105, 121, 107, 121, 121,
  640. /* 1910 */ 121, 83, 121, 121, 121, 87, 121, 121, 90, 91,
  641. /* 1920 */ 121, 121, 83, 121, 121, 121, 87, 99, 100, 90,
  642. /* 1930 */ 91, 103, 104, 105, 121, 107, 121, 121, 99, 100,
  643. /* 1940 */ 121, 121, 103, 104, 105, 121, 107, 121, 83, 121,
  644. /* 1950 */ 121, 121, 87, 121, 121, 90, 91, 121, 83, 121,
  645. /* 1960 */ 121, 121, 87, 121, 99, 100, 91, 83, 103, 104,
  646. /* 1970 */ 105, 87, 107, 121, 90, 91, 121, 121, 103, 104,
  647. /* 1980 */ 105, 121, 107, 99, 100, 121, 121, 103, 104, 105,
  648. /* 1990 */ 121, 107, 121, 121, 121, 83, 121, 121, 121, 87,
  649. /* 2000 */ 121, 121, 90, 91, 121, 121, 83, 121, 121, 121,
  650. /* 2010 */ 87, 99, 100, 90, 91, 103, 104, 105, 121, 107,
  651. /* 2020 */ 121, 121, 99, 100, 121, 121, 103, 104, 105, 121,
  652. /* 2030 */ 107, 121, 83, 88, 89, 121, 87, 121, 121, 90,
  653. /* 2040 */ 91, 121, 121, 98, 121, 121, 101, 102, 99, 100,
  654. /* 2050 */ 121, 83, 103, 104, 105, 87, 107, 121, 90, 91,
  655. /* 2060 */ 115, 121, 121, 121, 88, 89, 121, 99, 100, 121,
  656. /* 2070 */ 121, 103, 104, 105, 98, 107, 121, 101, 102, 83,
  657. /* 2080 */ 121, 121, 121, 87, 121, 121, 90, 91, 121, 121,
  658. /* 2090 */ 83, 115, 121, 121, 87, 99, 100, 90, 91, 103,
  659. /* 2100 */ 104, 105, 121, 107, 121, 121, 99, 100, 121, 121,
  660. /* 2110 */ 103, 104, 105, 121, 107, 121, 83, 88, 89, 121,
  661. /* 2120 */ 87, 121, 121, 90, 91, 121, 121, 98, 121, 121,
  662. /* 2130 */ 101, 102, 99, 100, 121, 83, 103, 104, 105, 87,
  663. /* 2140 */ 107, 121, 90, 91, 115, 121, 121, 121, 88, 89,
  664. /* 2150 */ 121, 99, 100, 121, 121, 103, 104, 105, 98, 107,
  665. /* 2160 */ 121, 101, 102, 83, 121, 121, 121, 87, 121, 121,
  666. /* 2170 */ 90, 91, 121, 121, 83, 115, 121, 121, 87, 99,
  667. /* 2180 */ 100, 90, 91, 103, 104, 105, 121, 107, 121, 121,
  668. /* 2190 */ 99, 100, 121, 121, 103, 104, 105, 121, 107, 121,
  669. /* 2200 */ 83, 88, 89, 121, 87, 121, 121, 90, 91, 121,
  670. /* 2210 */ 121, 98, 121, 121, 101, 102, 99, 100, 121, 83,
  671. /* 2220 */ 103, 104, 105, 87, 107, 121, 90, 91, 115, 121,
  672. /* 2230 */ 121, 121, 121, 121, 121, 99, 100, 121, 121, 103,
  673. /* 2240 */ 104, 105, 121, 107, 121, 121, 121, 83, 121, 121,
  674. /* 2250 */ 121, 87, 121, 121, 90, 91, 121, 121, 83, 121,
  675. /* 2260 */ 121, 121, 87, 99, 100, 90, 91, 103, 104, 105,
  676. /* 2270 */ 121, 107, 121, 121, 99, 100, 121, 121, 103, 104,
  677. /* 2280 */ 105, 121, 107, 121, 83, 121, 121, 121, 87, 121,
  678. /* 2290 */ 121, 90, 91, 121, 121, 121, 121, 121, 121, 121,
  679. /* 2300 */ 99, 100, 121, 83, 103, 104, 105, 87, 107, 121,
  680. /* 2310 */ 90, 91, 121, 121, 121, 121, 121, 121, 121, 99,
  681. /* 2320 */ 100, 121, 121, 103, 104, 105, 121, 107, 121, 121,
  682. /* 2330 */ 121, 83, 121, 121, 121, 87, 121, 121, 90, 91,
  683. /* 2340 */ 121, 121, 83, 121, 121, 121, 87, 99, 100, 90,
  684. /* 2350 */ 91, 103, 104, 105, 121, 107, 121, 121, 99, 100,
  685. /* 2360 */ 121, 121, 103, 104, 105, 121, 107, 121, 83, 121,
  686. /* 2370 */ 121, 121, 87, 121, 121, 90, 91, 121, 121, 121,
  687. /* 2380 */ 121, 121, 121, 121, 99, 100, 121, 121, 103, 104,
  688. /* 2390 */ 105, 121, 107,
  689. );
  690. const YY_SHIFT_USE_DFLT = -5;
  691. const YY_SHIFT_MAX = 252;
  692. static public $yy_shift_ofst = array(
  693. /* 0 */ 1, 1391, 1391, 1223, 1167, 1167, 1167, 1223, 1111, 1167,
  694. /* 10 */ 1167, 1167, 1503, 1167, 1559, 1167, 1167, 1167, 1167, 1167,
  695. /* 20 */ 1167, 1167, 1167, 1167, 1167, 1615, 1167, 1167, 1167, 1167,
  696. /* 30 */ 1503, 1167, 1167, 1447, 1167, 1167, 1167, 1167, 1279, 1167,
  697. /* 40 */ 1167, 1167, 1279, 1167, 1335, 1335, 1727, 1671, 1727, 1727,
  698. /* 50 */ 1727, 1727, 1727, 224, 74, 149, -1, 755, 755, 755,
  699. /* 60 */ 956, 881, 806, 527, 326, 704, 275, 377, 653, 602,
  700. /* 70 */ 452, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007,
  701. /* 80 */ 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007, 1007,
  702. /* 90 */ 1046, 1046, 1232, 1443, 407, 1, 958, 73, 146, 225,
  703. /* 100 */ 546, 61, 61, 443, 443, 243, 371, 407, 407, 883,
  704. /* 110 */ 47, 1331, 11, 189, 1387, 1219, 226, 56, 138, 235,
  705. /* 120 */ 75, 887, 219, 366, 371, 367, 366, 366, 368, 293,
  706. /* 130 */ 371, 366, 917, 366, 366, 445, 366, 418, 366, 1248,
  707. /* 140 */ 368, 366, 300, 395, 293, 636, 629, 636, 616, 636,
  708. /* 150 */ 610, 636, 636, 636, 636, 616, 636, -5, 166, 167,
  709. /* 160 */ 601, 603, 873, 594, 148, 217, 148, 473, 947, 148,
  710. /* 170 */ 874, 878, 948, 1235, 148, 543, 1191, 1221, 148, 1230,
  711. /* 180 */ 563, 1188, 1121, 1118, 953, 949, 1181, 1174, 1180, 670,
  712. /* 190 */ 632, 632, 616, 616, 636, 616, 636, 102, 102, 396,
  713. /* 200 */ -5, -5, -5, -5, -5, 1764, 150, 22, 118, 71,
  714. /* 210 */ 176, -4, 486, 144, 144, 213, 270, 261, 296, 328,
  715. /* 220 */ 449, 271, 295, 615, 579, 560, 566, 441, 564, 396,
  716. /* 230 */ 528, 591, 551, 589, 571, 614, 552, 529, 539, 494,
  717. /* 240 */ 448, 492, 471, 450, 488, 469, 459, 511, 522, 510,
  718. /* 250 */ 496, 523, 500,
  719. );
  720. const YY_REDUCE_USE_DFLT = -86;
  721. const YY_REDUCE_MAX = 204;
  722. static public $yy_reduce_ofst = array(
  723. /* 0 */ -63, -7, 1730, 68, 446, 373, 143, 521, 2091, 2117,
  724. /* 10 */ 1800, 1407, 2080, 1884, 1912, 1575, 1949, 1923, 1865, 1968,
  725. /* 20 */ 1996, 2052, 2033, 2007, 1839, 1828, 1351, 1295, 1183, 1239,
  726. /* 30 */ 1463, 1519, 1781, 1755, 1631, 2175, 2248, 2201, 2164, 2285,
  727. /* 40 */ 2259, 2136, 2220, 1127, 379, 1048, 451, 1073, 804, 879,
  728. /* 50 */ 1875, 1791, 1088, 1976, 1945, 1676, 2060, 1676, 2113, 2029,
  729. /* 60 */ 798, 798, 798, 798, 798, 798, 798, 798, 798, 798,
  730. /* 70 */ 798, 798, 798, 798, 798, 798, 798, 798, 798, 798,
  731. /* 80 */ 798, 798, 798, 798, 798, 798, 798, 798, 798, 798,
  732. /* 90 */ 798, 798, 39, 113, 214, -81, 43, 442, -74, 20,
  733. /* 100 */ -10, 239, 264, 525, 517, 378, 188, 314, 291, 697,
  734. /* 110 */ 170, -6, 520, 248, -6, -6, 248, -6, 248, 246,
  735. /* 120 */ 172, -6, 172, 568, 313, 495, 495, 569, 570, 324,
  736. /* 130 */ 244, 292, 245, 420, 345, 172, 301, 495, 621, 491,
  737. /* 140 */ 495, 619, -6, 620, 325, -6, 211, -6, 147, -6,
  738. /* 150 */ 81, -6, -6, -6, -6, 172, -6, -6, 545, 549,
  739. /* 160 */ 536, 536, 536, 536, 530, 548, 530, 540, 536, 530,
  740. /* 170 */ 536, 536, 536, 536, 530, 540, 536, 536, 530, 536,
  741. /* 180 */ 540, 536, 536, 536, 536, 536, 536, 536, 536, 596,
  742. /* 190 */ 567, 588, 550, 550, 540, 550, 540, -85, -85, 331,
  743. /* 200 */ 306, 349, 337, 260, 134,
  744. );
  745. static public $yyExpectedTokens = array(
  746. /* 0 */ array(3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 21, 22, 27, 31, 32, 33, ),
  747. /* 1 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  748. /* 2 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  749. /* 3 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  750. /* 4 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  751. /* 5 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  752. /* 6 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  753. /* 7 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  754. /* 8 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 63, 76, ),
  755. /* 9 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  756. /* 10 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  757. /* 11 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  758. /* 12 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  759. /* 13 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  760. /* 14 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  761. /* 15 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  762. /* 16 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  763. /* 17 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  764. /* 18 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  765. /* 19 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  766. /* 20 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  767. /* 21 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  768. /* 22 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  769. /* 23 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  770. /* 24 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  771. /* 25 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  772. /* 26 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  773. /* 27 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  774. /* 28 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  775. /* 29 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  776. /* 30 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  777. /* 31 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  778. /* 32 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  779. /* 33 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  780. /* 34 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  781. /* 35 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  782. /* 36 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  783. /* 37 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  784. /* 38 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  785. /* 39 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  786. /* 40 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  787. /* 41 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  788. /* 42 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  789. /* 43 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  790. /* 44 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  791. /* 45 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 62, 76, ),
  792. /* 46 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 76, ),
  793. /* 47 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 76, ),
  794. /* 48 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 76, ),
  795. /* 49 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 76, ),
  796. /* 50 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 76, ),
  797. /* 51 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 76, ),
  798. /* 52 */ array(15, 17, 18, 21, 22, 27, 31, 32, 33, 34, 36, 39, 54, 55, 56, 57, 58, 61, 76, ),
  799. /* 53 */ array(1, 16, 28, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  800. /* 54 */ array(1, 16, 28, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  801. /* 55 */ array(1, 16, 28, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  802. /* 56 */ array(1, 26, 28, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  803. /* 57 */ array(1, 28, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  804. /* 58 */ array(1, 28, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  805. /* 59 */ array(1, 28, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  806. /* 60 */ array(1, 16, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  807. /* 61 */ array(1, 16, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  808. /* 62 */ array(1, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  809. /* 63 */ array(1, 16, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  810. /* 64 */ array(1, 29, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  811. /* 65 */ array(1, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  812. /* 66 */ array(1, 2, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  813. /* 67 */ array(1, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 77, ),
  814. /* 68 */ array(1, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  815. /* 69 */ array(1, 16, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  816. /* 70 */ array(1, 23, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  817. /* 71 */ array(1, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  818. /* 72 */ array(1, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  819. /* 73 */ array(1, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  820. /* 74 */ array(1, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  821. /* 75 */ array(1, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  822. /* 76 */ array(1, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  823. /* 77 */ array(1, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  824. /* 78 */ array(1, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  825. /* 79 */ array(1, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  826. /* 80 */ array(1, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  827. /* 81 */ array(1, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  828. /* 82 */ array(1, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  829. /* 83 */ array(1, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  830. /* 84 */ array(1, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  831. /* 85 */ array(1, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  832. /* 86 */ array(1, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  833. /* 87 */ array(1, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  834. /* 88 */ array(1, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  835. /* 89 */ array(1, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  836. /* 90 */ array(38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  837. /* 91 */ array(38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, ),
  838. /* 92 */ array(1, 16, 20, 28, 36, 59, ),
  839. /* 93 */ array(1, 16, 28, 52, ),
  840. /* 94 */ array(1, 28, ),
  841. /* 95 */ array(3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 21, 22, 27, 31, 32, 33, ),
  842. /* 96 */ array(10, 15, 21, 22, 27, 31, 32, 33, 76, 77, 78, ),
  843. /* 97 */ array(15, 18, 28, 30, ),
  844. /* 98 */ array(15, 18, 28, 30, ),
  845. /* 99 */ array(20, 57, 62, ),
  846. /* 100 */ array(1, 2, 16, ),
  847. /* 101 */ array(1, 16, 28, ),
  848. /* 102 */ array(1, 16, 28, ),
  849. /* 103 */ array(15, 18, 28, ),
  850. /* 104 */ array(15, 18, 28, ),
  851. /* 105 */ array(17, 18, 61, ),
  852. /* 106 */ array(17, 36, ),
  853. /* 107 */ array(1, 28, ),
  854. /* 108 */ array(1, 28, ),
  855. /* 109 */ array(10, 15, 21, 22, 27, 31, 32, 33, 76, 77, 78, ),
  856. /* 110 */ array(4, 5, 6, 7, 8, 12, 13, 14, ),
  857. /* 111 */ array(1, 16, 28, 29, 52, ),
  858. /* 112 */ array(15, 18, 19, 24, ),
  859. /* 113 */ array(15, 18, 19, 60, ),
  860. /* 114 */ array(1, 16, 28, 52, ),
  861. /* 115 */ array(1, 16, 28, 52, ),
  862. /* 116 */ array(15, 18, 60, ),
  863. /* 117 */ array(1, 30, 52, ),
  864. /* 118 */ array(15, 18, 19, ),
  865. /* 119 */ array(1, 16, 20, ),
  866. /* 120 */ array(19, 20, 59, ),
  867. /* 121 */ array(1, 16, 52, ),
  868. /* 122 */ array(19, 20, 59, ),
  869. /* 123 */ array(15, 18, ),
  870. /* 124 */ array(17, 36, ),
  871. /* 125 */ array(15, 18, ),
  872. /* 126 */ array(15, 18, ),
  873. /* 127 */ array(15, 18, ),
  874. /* 128 */ array(15, 18, ),
  875. /* 129 */ array(17, 18, ),
  876. /* 130 */ array(17, 36, ),
  877. /* 131 */ array(15, 18, ),
  878. /* 132 */ array(1, 16, ),
  879. /* 133 */ array(15, 18, ),
  880. /* 134 */ array(15, 18, ),
  881. /* 135 */ array(20, 59, ),
  882. /* 136 */ array(15, 18, ),
  883. /* 137 */ array(15, 18, ),
  884. /* 138 */ array(15, 18, ),
  885. /* 139 */ array(16, 28, ),
  886. /* 140 */ array(15, 18, ),
  887. /* 141 */ array(15, 18, ),
  888. /* 142 */ array(1, 52, ),
  889. /* 143 */ array(15, 18, ),
  890. /* 144 */ array(17, 18, ),
  891. /* 145 */ array(1, ),
  892. /* 146 */ array(28, ),
  893. /* 147 */ array(1, ),
  894. /* 148 */ array(20, ),
  895. /* 149 */ array(1, ),
  896. /* 150 */ array(28, ),
  897. /* 151 */ array(1, ),
  898. /* 152 */ array(1, ),
  899. /* 153 */ array(1, ),
  900. /* 154 */ array(1, ),
  901. /* 155 */ array(20, ),
  902. /* 156 */ array(1, ),
  903. /* 157 */ array(),
  904. /* 158 */ array(15, 17, 18, ),
  905. /* 159 */ array(15, 18, 60, ),
  906. /* 160 */ array(16, 28, ),
  907. /* 161 */ array(16, 28, ),
  908. /* 162 */ array(16, 28, ),
  909. /* 163 */ array(16, 28, ),
  910. /* 164 */ array(57, 62, ),
  911. /* 165 */ array(15, 36, ),
  912. /* 166 */ array(57, 62, ),
  913. /* 167 */ array(1, 16, ),
  914. /* 168 */ array(16, 28, ),
  915. /* 169 */ array(57, 62, ),
  916. /* 170 */ array(16, 28, ),
  917. /* 171 */ array(16, 28, ),
  918. /* 172 */ array(16, 28, ),
  919. /* 173 */ array(16, 28, ),
  920. /* 174 */ array(57, 62, ),
  921. /* 175 */ array(1, 16, ),
  922. /* 176 */ array(16, 28, ),
  923. /* 177 */ array(16, 28, ),
  924. /* 178 */ array(57, 62, ),
  925. /* 179 */ array(16, 28, ),
  926. /* 180 */ array(1, 16, ),
  927. /* 181 */ array(16, 28, ),
  928. /* 182 */ array(16, 28, ),
  929. /* 183 */ array(16, 28, ),
  930. /* 184 */ array(16, 28, ),
  931. /* 185 */ array(16, 28, ),
  932. /* 186 */ array(16, 28, ),
  933. /* 187 */ array(16, 28, ),
  934. /* 188 */ array(16, 28, ),
  935. /* 189 */ array(13, ),
  936. /* 190 */ array(28, ),
  937. /* 191 */ array(28, ),
  938. /* 192 */ array(20, ),
  939. /* 193 */ array(20, ),
  940. /* 194 */ array(1, ),
  941. /* 195 */ array(20, ),
  942. /* 196 */ array(1, ),
  943. /* 197 */ array(2, ),
  944. /* 198 */ array(2, ),
  945. /* 199 */ array(36, ),
  946. /* 200 */ array(),
  947. /* 201 */ array(),
  948. /* 202 */ array(),
  949. /* 203 */ array(),
  950. /* 204 */ array(),
  951. /* 205 */ array(16, 23, 25, 26, 28, 29, 35, 36, 37, 52, 59, 63, 77, ),
  952. /* 206 */ array(16, 19, 28, 36, 59, ),
  953. /* 207 */ array(36, 57, 59, 63, ),
  954. /* 208 */ array(15, 17, 18, 34, ),
  955. /* 209 */ array(16, 28, 36, 59, ),
  956. /* 210 */ array(30, 36, 59, ),
  957. /* 211 */ array(18, 60, ),
  958. /* 212 */ array(2, 19, ),
  959. /* 213 */ array(36, 59, ),
  960. /* 214 */ array(36, 59, ),
  961. /* 215 */ array(16, 24, ),
  962. /* 216 */ array(35, 37, ),
  963. /* 217 */ array(24, 77, ),
  964. /* 218 */ array(35, 63, ),
  965. /* 219 */ array(23, 35, ),
  966. /* 220 */ array(19, 57, ),
  967. /* 221 */ array(35, 37, ),
  968. /* 222 */ array(35, 37, ),
  969. /* 223 */ array(18, ),
  970. /* 224 */ array(2, ),
  971. /* 225 */ array(24, ),
  972. /* 226 */ array(17, ),
  973. /* 227 */ array(18, ),
  974. /* 228 */ array(18, ),
  975. /* 229 */ array(36, ),
  976. /* 230 */ array(57, ),
  977. /* 231 */ array(18, ),
  978. /* 232 */ array(36, ),
  979. /* 233 */ array(18, ),
  980. /* 234 */ array(17, ),
  981. /* 235 */ array(18, ),
  982. /* 236 */ array(34, ),
  983. /* 237 */ array(34, ),
  984. /* 238 */ array(18, ),
  985. /* 239 */ array(17, ),
  986. /* 240 */ array(61, ),
  987. /* 241 */ array(18, ),
  988. /* 242 */ array(37, ),
  989. /* 243 */ array(17, ),
  990. /* 244 */ array(19, ),
  991. /* 245 */ array(63, ),
  992. /* 246 */ array(53, ),
  993. /* 247 */ array(2, ),
  994. /* 248 */ array(17, ),
  995. /* 249 */ array(25, ),
  996. /* 250 */ array(18, ),
  997. /* 251 */ array(18, ),
  998. /* 252 */ array(61, ),
  999. /* 253 */ array(),
  1000. /* 254 */ array(),
  1001. /* 255 */ array(),
  1002. /* 256 */ array(),
  1003. /* 257 */ array(),
  1004. /* 258 */ array(),
  1005. /* 259 */ array(),
  1006. /* 260 */ array(),
  1007. /* 261 */ array(),
  1008. /* 262 */ array(),
  1009. /* 263 */ array(),
  1010. /* 264 */ array(),
  1011. /* 265 */ array(),
  1012. /* 266 */ array(),
  1013. /* 267 */ array(),
  1014. /* 268 */ array(),
  1015. /* 269 */ array(),
  1016. /* 270 */ array(),
  1017. /* 271 */ array(),
  1018. /* 272 */ array(),
  1019. /* 273 */ array(),
  1020. /* 274 */ array(),
  1021. /* 275 */ array(),
  1022. /* 276 */ array(),
  1023. /* 277 */ array(),
  1024. /* 278 */ array(),
  1025. /* 279 */ array(),
  1026. /* 280 */ array(),
  1027. /* 281 */ array(),
  1028. /* 282 */ array(),
  1029. /* 283 */ array(),
  1030. /* 284 */ array(),
  1031. /* 285 */ array(),
  1032. /* 286 */ array(),
  1033. /* 287 */ array(),
  1034. /* 288 */ array(),
  1035. /* 289 */ array(),
  1036. /* 290 */ array(),
  1037. /* 291 */ array(),
  1038. /* 292 */ array(),
  1039. /* 293 */ array(),
  1040. /* 294 */ array(),
  1041. /* 295 */ array(),
  1042. /* 296 */ array(),
  1043. /* 297 */ array(),
  1044. /* 298 */ array(),
  1045. /* 299 */ array(),
  1046. /* 300 */ array(),
  1047. /* 301 */ array(),
  1048. /* 302 */ array(),
  1049. /* 303 */ array(),
  1050. /* 304 */ array(),
  1051. /* 305 */ array(),
  1052. /* 306 */ array(),
  1053. /* 307 */ array(),
  1054. /* 308 */ array(),
  1055. /* 309 */ array(),
  1056. /* 310 */ array(),
  1057. /* 311 */ array(),
  1058. /* 312 */ array(),
  1059. /* 313 */ array(),
  1060. /* 314 */ array(),
  1061. /* 315 */ array(),
  1062. /* 316 */ array(),
  1063. /* 317 */ array(),
  1064. /* 318 */ array(),
  1065. /* 319 */ array(),
  1066. /* 320 */ array(),
  1067. /* 321 */ array(),
  1068. /* 322 */ array(),
  1069. /* 323 */ array(),
  1070. /* 324 */ array(),
  1071. /* 325 */ array(),
  1072. /* 326 */ array(),
  1073. /* 327 */ array(),
  1074. /* 328 */ array(),
  1075. /* 329 */ array(),
  1076. /* 330 */ array(),
  1077. /* 331 */ array(),
  1078. /* 332 */ array(),
  1079. /* 333 */ array(),
  1080. /* 334 */ array(),
  1081. /* 335 */ array(),
  1082. /* 336 */ array(),
  1083. /* 337 */ array(),
  1084. /* 338 */ array(),
  1085. /* 339 */ array(),
  1086. /* 340 */ array(),
  1087. /* 341 */ array(),
  1088. /* 342 */ array(),
  1089. /* 343 */ array(),
  1090. /* 344 */ array(),
  1091. /* 345 */ array(),
  1092. /* 346 */ array(),
  1093. /* 347 */ array(),
  1094. /* 348 */ array(),
  1095. /* 349 */ array(),
  1096. /* 350 */ array(),
  1097. /* 351 */ array(),
  1098. /* 352 */ array(),
  1099. /* 353 */ array(),
  1100. /* 354 */ array(),
  1101. /* 355 */ array(),
  1102. /* 356 */ array(),
  1103. /* 357 */ array(),
  1104. /* 358 */ array(),
  1105. /* 359 */ array(),
  1106. /* 360 */ array(),
  1107. /* 361 */ array(),
  1108. /* 362 */ array(),
  1109. /* 363 */ array(),
  1110. /* 364 */ array(),
  1111. /* 365 */ array(),
  1112. /* 366 */ array(),
  1113. /* 367 */ array(),
  1114. /* 368 */ array(),
  1115. /* 369 */ array(),
  1116. /* 370 */ array(),
  1117. /* 371 */ array(),
  1118. /* 372 */ array(),
  1119. /* 373 */ array(),
  1120. /* 374 */ array(),
  1121. /* 375 */ array(),
  1122. /* 376 */ array(),
  1123. /* 377 */ array(),
  1124. /* 378 */ array(),
  1125. /* 379 */ array(),
  1126. /* 380 */ array(),
  1127. /* 381 */ array(),
  1128. /* 382 */ array(),
  1129. /* 383 */ array(),
  1130. /* 384 */ array(),
  1131. /* 385 */ array(),
  1132. /* 386 */ array(),
  1133. );
  1134. static public $yy_default = array(
  1135. /* 0 */ 390, 571, 588, 588, 542, 542, 542, 588, 588, 588,
  1136. /* 10 */ 588, 588, 588, 588, 588, 588, 588, 588, 588, 588,
  1137. /* 20 */ 588, 588, 588, 588, 588, 588, 588, 588, 588, 588,
  1138. /* 30 */ 588, 588, 588, 588, 588, 588, 588, 588, 588, 588,
  1139. /* 40 */ 588, 588, 588, 588, 588, 588, 588, 588, 588, 588,
  1140. /* 50 */ 588, 588, 588, 588, 588, 588, 450, 450, 450, 450,
  1141. /* 60 */ 588, 588, 588, 588, 455, 588, 588, 588, 588, 588,
  1142. /* 70 */ 588, 573, 457, 541, 574, 455, 471, 460, 540, 480,
  1143. /* 80 */ 484, 432, 461, 452, 479, 483, 572, 474, 475, 476,
  1144. /* 90 */ 487, 488, 499, 463, 450, 387, 588, 450, 450, 554,
  1145. /* 100 */ 588, 507, 470, 450, 450, 588, 588, 450, 450, 588,
  1146. /* 110 */ 588, 463, 588, 515, 463, 463, 515, 463, 515, 588,
  1147. /* 120 */ 508, 463, 508, 588, 588, 588, 588, 588, 588, 588,
  1148. /* 130 */ 588, 588, 588, 588, 588, 508, 515, 588, 588, 588,
  1149. /* 140 */ 588, 588, 463, 588, 588, 467, 450, 473, 551, 490,
  1150. /* 150 */ 450, 468, 486, 491, 492, 508, 466, 549, 588, 516,
  1151. /* 160 */ 588, 588, 588, 588, 533, 515, 532, 588, 588, 513,
  1152. /* 170 */ 588, 588, 588, 588, 534, 588, 588, 588, 535, 588,
  1153. /* 180 */ 588, 588, 588, 588, 588, 588, 588, 588, 588, 405,
  1154. /* 190 */ 587, 587, 529, 555, 470, 552, 507, 543, 544, 515,
  1155. /* 200 */ 515, 515, 548, 548, 548, 465, 499, 499, 588, 499,
  1156. /* 210 */ 499, 588, 527, 485, 499, 489, 588, 489, 588, 588,
  1157. /* 220 */ 495, 588, 588, 588, 527, 489, 588, 588, 588, 527,
  1158. /* 230 */ 495, 588, 553, 588, 588, 588, 497, 588, 588, 588,
  1159. /* 240 */ 588, 588, 588, 588, 588, 588, 501, 527, 588, 458,
  1160. /* 250 */ 588, 588, 588, 435, 524, 439, 501, 523, 511, 569,
  1161. /* 260 */ 521, 415, 522, 570, 520, 388, 537, 512, 440, 462,
  1162. /* 270 */ 459, 429, 550, 586, 430, 536, 528, 538, 539, 434,
  1163. /* 280 */ 433, 565, 441, 527, 442, 547, 443, 526, 438, 449,
  1164. /* 290 */ 428, 431, 436, 437, 444, 445, 498, 496, 504, 464,
  1165. /* 300 */ 465, 494, 493, 545, 546, 446, 447, 427, 448, 397,
  1166. /* 310 */ 396, 398, 399, 400, 395, 394, 389, 391, 392, 393,
  1167. /* 320 */ 401, 402, 411, 410, 412, 413, 414, 409, 408, 403,
  1168. /* 330 */ 404, 406, 407, 509, 514, 421, 420, 530, 422, 423,
  1169. /* 340 */ 419, 418, 531, 510, 416, 417, 583, 424, 426, 581,
  1170. /* 350 */ 579, 584, 585, 578, 580, 577, 425, 582, 575, 576,
  1171. /* 360 */ 506, 469, 503, 502, 505, 477, 478, 472, 500, 517,
  1172. /* 370 */ 525, 518, 519, 481, 482, 563, 562, 564, 566, 567,
  1173. /* 380 */ 561, 560, 556, 557, 558, 559, 568,
  1174. );
  1175. const YYNOCODE = 122;
  1176. const YYSTACKDEPTH = 100;
  1177. const YYNSTATE = 387;
  1178. const YYNRULE = 201;
  1179. const YYERRORSYMBOL = 79;
  1180. const YYERRSYMDT = 'yy0';
  1181. const YYFALLBACK = 0;
  1182. static public $yyFallback = array(
  1183. );
  1184. static function Trace($TraceFILE, $zTracePrompt)
  1185. {
  1186. if (!$TraceFILE) {
  1187. $zTracePrompt = 0;
  1188. } elseif (!$zTracePrompt) {
  1189. $TraceFILE = 0;
  1190. }
  1191. self::$yyTraceFILE = $TraceFILE;
  1192. self::$yyTracePrompt = $zTracePrompt;
  1193. }
  1194. static function PrintTrace()
  1195. {
  1196. self::$yyTraceFILE = fopen('php://output', 'w');
  1197. self::$yyTracePrompt = '<br>';
  1198. }
  1199. static public $yyTraceFILE;
  1200. static public $yyTracePrompt;
  1201. public $yyidx; /* Index of top element in stack */
  1202. public $yyerrcnt; /* Shifts left before out of the error */
  1203. public $yystack = array(); /* The parser's stack */
  1204. public $yyTokenName = array(
  1205. '$', 'VERT', 'COLON', 'COMMENT',
  1206. 'PHPSTARTTAG', 'PHPENDTAG', 'ASPSTARTTAG', 'ASPENDTAG',
  1207. 'FAKEPHPSTARTTAG', 'XMLTAG', 'OTHER', 'LINEBREAK',
  1208. 'LITERALSTART', 'LITERALEND', 'LITERAL', 'LDEL',
  1209. 'RDEL', 'DOLLAR', 'ID', 'EQUAL',
  1210. 'PTR', 'LDELIF', 'LDELFOR', 'SEMICOLON',
  1211. 'INCDEC', 'TO', 'STEP', 'LDELFOREACH',
  1212. 'SPACE', 'AS', 'APTR', 'LDELSETFILTER',
  1213. 'SMARTYBLOCKCHILD', 'LDELSLASH', 'INTEGER', 'COMMA',
  1214. 'OPENP', 'CLOSEP', 'MATH', 'UNIMATH',
  1215. 'ANDSYM', 'ISIN', 'ISDIVBY', 'ISNOTDIVBY',
  1216. 'ISEVEN', 'ISNOTEVEN', 'ISEVENBY', 'ISNOTEVENBY',
  1217. 'ISODD', 'ISNOTODD', 'ISODDBY', 'ISNOTODDBY',
  1218. 'INSTANCEOF', 'QMARK', 'NOT', 'TYPECAST',
  1219. 'HEX', 'DOT', 'SINGLEQUOTESTRING', 'DOUBLECOLON',
  1220. 'AT', 'HATCH', 'OPENB', 'CLOSEB',
  1221. 'EQUALS', 'NOTEQUALS', 'GREATERTHAN', 'LESSTHAN',
  1222. 'GREATEREQUAL', 'LESSEQUAL', 'IDENTITY', 'NONEIDENTITY',
  1223. 'MOD', 'LAND', 'LOR', 'LXOR',
  1224. 'QUOTE', 'BACKTICK', 'DOLLARID', 'error',
  1225. 'start', 'template', 'template_element', 'smartytag',
  1226. 'literal', 'literal_elements', 'literal_element', 'value',
  1227. 'modifierlist', 'attributes', 'expr', 'varindexed',
  1228. 'statement', 'statements', 'optspace', 'varvar',
  1229. 'foraction', 'modparameters', 'attribute', 'ternary',
  1230. 'array', 'ifcond', 'lop', 'variable',
  1231. 'function', 'doublequoted_with_quotes', 'static_class_access', 'object',
  1232. 'arrayindex', 'indexdef', 'varvarele', 'objectchain',
  1233. 'objectelement', 'method', 'params', 'modifier',
  1234. 'modparameter', 'arrayelements', 'arrayelement', 'doublequoted',
  1235. 'doublequotedcontent',
  1236. );
  1237. static public $yyRuleName = array(
  1238. /* 0 */ "start ::= template",
  1239. /* 1 */ "template ::= template_element",
  1240. /* 2 */ "template ::= template template_element",
  1241. /* 3 */ "template ::=",
  1242. /* 4 */ "template_element ::= smartytag",
  1243. /* 5 */ "template_element ::= COMMENT",
  1244. /* 6 */ "template_element ::= literal",
  1245. /* 7 */ "template_element ::= PHPSTARTTAG",
  1246. /* 8 */ "template_element ::= PHPENDTAG",
  1247. /* 9 */ "template_element ::= ASPSTARTTAG",
  1248. /* 10 */ "template_element ::= ASPENDTAG",
  1249. /* 11 */ "template_element ::= FAKEPHPSTARTTAG",
  1250. /* 12 */ "template_element ::= XMLTAG",
  1251. /* 13 */ "template_element ::= OTHER",
  1252. /* 14 */ "template_element ::= LINEBREAK",
  1253. /* 15 */ "literal ::= LITERALSTART LITERALEND",
  1254. /* 16 */ "literal ::= LITERALSTART literal_elements LITERALEND",
  1255. /* 17 */ "literal_elements ::= literal_elements literal_element",
  1256. /* 18 */ "literal_elements ::=",
  1257. /* 19 */ "literal_element ::= literal",
  1258. /* 20 */ "literal_element ::= LITERAL",
  1259. /* 21 */ "literal_element ::= PHPSTARTTAG",
  1260. /* 22 */ "literal_element ::= FAKEPHPSTARTTAG",
  1261. /* 23 */ "literal_element ::= PHPENDTAG",
  1262. /* 24 */ "literal_element ::= ASPSTARTTAG",
  1263. /* 25 */ "literal_element ::= ASPENDTAG",
  1264. /* 26 */ "smartytag ::= LDEL value RDEL",
  1265. /* 27 */ "smartytag ::= LDEL value modifierlist attributes RDEL",
  1266. /* 28 */ "smartytag ::= LDEL value attributes RDEL",
  1267. /* 29 */ "smartytag ::= LDEL expr modifierlist attributes RDEL",
  1268. /* 30 */ "smartytag ::= LDEL expr attributes RDEL",
  1269. /* 31 */ "smartytag ::= LDEL DOLLAR ID EQUAL value RDEL",
  1270. /* 32 */ "smartytag ::= LDEL DOLLAR ID EQUAL expr RDEL",
  1271. /* 33 */ "smartytag ::= LDEL DOLLAR ID EQUAL expr attributes RDEL",
  1272. /* 34 */ "smartytag ::= LDEL varindexed EQUAL expr attributes RDEL",
  1273. /* 35 */ "smartytag ::= LDEL ID attributes RDEL",
  1274. /* 36 */ "smartytag ::= LDEL ID RDEL",
  1275. /* 37 */ "smartytag ::= LDEL ID PTR ID attributes RDEL",
  1276. /* 38 */ "smartytag ::= LDEL ID modifierlist attributes RDEL",
  1277. /* 39 */ "smartytag ::= LDEL ID PTR ID modifierlist attributes RDEL",
  1278. /* 40 */ "smartytag ::= LDELIF expr RDEL",
  1279. /* 41 */ "smartytag ::= LDELIF expr attributes RDEL",
  1280. /* 42 */ "smartytag ::= LDELIF statement RDEL",
  1281. /* 43 */ "smartytag ::= LDELIF statement attributes RDEL",
  1282. /* 44 */ "smartytag ::= LDELFOR statements SEMICOLON optspace expr SEMICOLON optspace DOLLAR varvar foraction attributes RDEL",
  1283. /* 45 */ "foraction ::= EQUAL expr",
  1284. /* 46 */ "foraction ::= INCDEC",
  1285. /* 47 */ "smartytag ::= LDELFOR statement TO expr attributes RDEL",
  1286. /* 48 */ "smartytag ::= LDELFOR statement TO expr STEP expr attributes RDEL",
  1287. /* 49 */ "smartytag ::= LDELFOREACH attributes RDEL",
  1288. /* 50 */ "smartytag ::= LDELFOREACH SPACE value AS DOLLAR varvar attributes RDEL",
  1289. /* 51 */ "smartytag ::= LDELFOREACH SPACE value AS DOLLAR varvar APTR DOLLAR varvar attributes RDEL",
  1290. /* 52 */ "smartytag ::= LDELFOREACH SPACE expr AS DOLLAR varvar attributes RDEL",
  1291. /* 53 */ "smartytag ::= LDELFOREACH SPACE expr AS DOLLAR varvar APTR DOLLAR varvar attributes RDEL",
  1292. /* 54 */ "smartytag ::= LDELSETFILTER ID modparameters RDEL",
  1293. /* 55 */ "smartytag ::= LDELSETFILTER ID modparameters modifierlist RDEL",
  1294. /* 56 */ "smartytag ::= SMARTYBLOCKCHILD",
  1295. /* 57 */ "smartytag ::= LDELSLASH ID RDEL",
  1296. /* 58 */ "smartytag ::= LDELSLASH ID modifierlist RDEL",
  1297. /* 59 */ "smartytag ::= LDELSLASH ID PTR ID RDEL",
  1298. /* 60 */ "smartytag ::= LDELSLASH ID PTR ID modifierlist RDEL",
  1299. /* 61 */ "attributes ::= attributes attribute",
  1300. /* 62 */ "attributes ::= attribute",
  1301. /* 63 */ "attributes ::=",
  1302. /* 64 */ "attribute ::= SPACE ID EQUAL ID",
  1303. /* 65 */ "attribute ::= SPACE ID EQUAL expr",
  1304. /* 66 */ "attribute ::= SPACE ID EQUAL value",
  1305. /* 67 */ "attribute ::= SPACE ID",
  1306. /* 68 */ "attribute ::= SPACE expr",
  1307. /* 69 */ "attribute ::= SPACE value",
  1308. /* 70 */ "attribute ::= SPACE INTEGER EQUAL expr",
  1309. /* 71 */ "statements ::= statement",
  1310. /* 72 */ "statements ::= statements COMMA statement",
  1311. /* 73 */ "statement ::= DOLLAR varvar EQUAL expr",
  1312. /* 74 */ "statement ::= varindexed EQUAL expr",
  1313. /* 75 */ "statement ::= OPENP statement CLOSEP",
  1314. /* 76 */ "expr ::= value",
  1315. /* 77 */ "expr ::= ternary",
  1316. /* 78 */ "expr ::= DOLLAR ID COLON ID",
  1317. /* 79 */ "expr ::= expr MATH value",
  1318. /* 80 */ "expr ::= expr UNIMATH value",
  1319. /* 81 */ "expr ::= expr ANDSYM value",
  1320. /* 82 */ "expr ::= array",
  1321. /* 83 */ "expr ::= expr modifierlist",
  1322. /* 84 */ "expr ::= expr ifcond expr",
  1323. /* 85 */ "expr ::= expr ISIN array",
  1324. /* 86 */ "expr ::= expr ISIN value",
  1325. /* 87 */ "expr ::= expr lop expr",
  1326. /* 88 */ "expr ::= expr ISDIVBY expr",
  1327. /* 89 */ "expr ::= expr ISNOTDIVBY expr",
  1328. /* 90 */ "expr ::= expr ISEVEN",
  1329. /* 91 */ "expr ::= expr ISNOTEVEN",
  1330. /* 92 */ "expr ::= expr ISEVENBY expr",
  1331. /* 93 */ "expr ::= expr ISNOTEVENBY expr",
  1332. /* 94 */ "expr ::= expr ISODD",
  1333. /* 95 */ "expr ::= expr ISNOTODD",
  1334. /* 96 */ "expr ::= expr ISODDBY expr",
  1335. /* 97 */ "expr ::= expr ISNOTODDBY expr",
  1336. /* 98 */ "expr ::= value INSTANCEOF ID",
  1337. /* 99 */ "expr ::= value INSTANCEOF value",
  1338. /* 100 */ "ternary ::= OPENP expr CLOSEP QMARK DOLLAR ID COLON expr",
  1339. /* 101 */ "ternary ::= OPENP expr CLOSEP QMARK expr COLON expr",
  1340. /* 102 */ "value ::= variable",
  1341. /* 103 */ "value ::= UNIMATH value",
  1342. /* 104 */ "value ::= NOT value",
  1343. /* 105 */ "value ::= TYPECAST value",
  1344. /* 106 */ "value ::= variable INCDEC",
  1345. /* 107 */ "value ::= HEX",
  1346. /* 108 */ "value ::= INTEGER",
  1347. /* 109 */ "value ::= INTEGER DOT INTEGER",
  1348. /* 110 */ "value ::= INTEGER DOT",
  1349. /* 111 */ "value ::= DOT INTEGER",
  1350. /* 112 */ "value ::= ID",
  1351. /* 113 */ "value ::= function",
  1352. /* 114 */ "value ::= OPENP expr CLOSEP",
  1353. /* 115 */ "value ::= SINGLEQUOTESTRING",
  1354. /* 116 */ "value ::= doublequoted_with_quotes",
  1355. /* 117 */ "value ::= ID DOUBLECOLON static_class_access",
  1356. /* 118 */ "value ::= varindexed DOUBLECOLON static_class_access",
  1357. /* 119 */ "value ::= smartytag",
  1358. /* 120 */ "value ::= value modifierlist",
  1359. /* 121 */ "variable ::= varindexed",
  1360. /* 122 */ "variable ::= DOLLAR varvar AT ID",
  1361. /* 123 */ "variable ::= object",
  1362. /* 124 */ "variable ::= HATCH ID HATCH",
  1363. /* 125 */ "variable ::= HATCH variable HATCH",
  1364. /* 126 */ "varindexed ::= DOLLAR varvar arrayindex",
  1365. /* 127 */ "arrayindex ::= arrayindex indexdef",
  1366. /* 128 */ "arrayindex ::=",
  1367. /* 129 */ "indexdef ::= DOT DOLLAR varvar",
  1368. /* 130 */ "indexdef ::= DOT DOLLAR varvar AT ID",
  1369. /* 131 */ "indexdef ::= DOT ID",
  1370. /* 132 */ "indexdef ::= DOT INTEGER",
  1371. /* 133 */ "indexdef ::= DOT LDEL expr RDEL",
  1372. /* 134 */ "indexdef ::= OPENB ID CLOSEB",
  1373. /* 135 */ "indexdef ::= OPENB ID DOT ID CLOSEB",
  1374. /* 136 */ "indexdef ::= OPENB expr CLOSEB",
  1375. /* 137 */ "indexdef ::= OPENB CLOSEB",
  1376. /* 138 */ "varvar ::= varvarele",
  1377. /* 139 */ "varvar ::= varvar varvarele",
  1378. /* 140 */ "varvarele ::= ID",
  1379. /* 141 */ "varvarele ::= LDEL expr RDEL",
  1380. /* 142 */ "object ::= varindexed objectchain",
  1381. /* 143 */ "objectchain ::= objectelement",
  1382. /* 144 */ "objectchain ::= objectchain objectelement",
  1383. /* 145 */ "objectelement ::= PTR ID arrayindex",
  1384. /* 146 */ "objectelement ::= PTR DOLLAR varvar arrayindex",
  1385. /* 147 */ "objectelement ::= PTR LDEL expr RDEL arrayindex",
  1386. /* 148 */ "objectelement ::= PTR ID LDEL expr RDEL arrayindex",
  1387. /* 149 */ "objectelement ::= PTR method",
  1388. /* 150 */ "function ::= ID OPENP params CLOSEP",
  1389. /* 151 */ "method ::= ID OPENP params CLOSEP",
  1390. /* 152 */ "method ::= DOLLAR ID OPENP params CLOSEP",
  1391. /* 153 */ "params ::= params COMMA expr",
  1392. /* 154 */ "params ::= expr",
  1393. /* 155 */ "params ::=",
  1394. /* 156 */ "modifierlist ::= modifierlist modifier modparameters",
  1395. /* 157 */ "modifierlist ::= modifier modparameters",
  1396. /* 158 */ "modifier ::= VERT AT ID",
  1397. /* 159 */ "modifier ::= VERT ID",
  1398. /* 160 */ "modparameters ::= modparameters modparameter",
  1399. /* 161 */ "modparameters ::=",
  1400. /* 162 */ "modparameter ::= COLON value",
  1401. /* 163 */ "modparameter ::= COLON array",
  1402. /* 164 */ "static_class_access ::= method",
  1403. /* 165 */ "static_class_access ::= method objectchain",
  1404. /* 166 */ "static_class_access ::= ID",
  1405. /* 167 */ "static_class_access ::= DOLLAR ID arrayindex",
  1406. /* 168 */ "static_class_access ::= DOLLAR ID arrayindex objectchain",
  1407. /* 169 */ "ifcond ::= EQUALS",
  1408. /* 170 */ "ifcond ::= NOTEQUALS",
  1409. /* 171 */ "ifcond ::= GREATERTHAN",
  1410. /* 172 */ "ifcond ::= LESSTHAN",
  1411. /* 173 */ "ifcond ::= GREATEREQUAL",
  1412. /* 174 */ "ifcond ::= LESSEQUAL",
  1413. /* 175 */ "ifcond ::= IDENTITY",
  1414. /* 176 */ "ifcond ::= NONEIDENTITY",
  1415. /* 177 */ "ifcond ::= MOD",
  1416. /* 178 */ "lop ::= LAND",
  1417. /* 179 */ "lop ::= LOR",
  1418. /* 180 */ "lop ::= LXOR",
  1419. /* 181 */ "array ::= OPENB arrayelements CLOSEB",
  1420. /* 182 */ "arrayelements ::= arrayelement",
  1421. /* 183 */ "arrayelements ::= arrayelements COMMA arrayelement",
  1422. /* 184 */ "arrayelements ::=",
  1423. /* 185 */ "arrayelement ::= value APTR expr",
  1424. /* 186 */ "arrayelement ::= ID APTR expr",
  1425. /* 187 */ "arrayelement ::= expr",
  1426. /* 188 */ "doublequoted_with_quotes ::= QUOTE QUOTE",
  1427. /* 189 */ "doublequoted_with_quotes ::= QUOTE doublequoted QUOTE",
  1428. /* 190 */ "doublequoted ::= doublequoted doublequotedcontent",
  1429. /* 191 */ "doublequoted ::= doublequotedcontent",
  1430. /* 192 */ "doublequotedcontent ::= BACKTICK variable BACKTICK",
  1431. /* 193 */ "doublequotedcontent ::= BACKTICK expr BACKTICK",
  1432. /* 194 */ "doublequotedcontent ::= DOLLARID",
  1433. /* 195 */ "doublequotedcontent ::= LDEL variable RDEL",
  1434. /* 196 */ "doublequotedcontent ::= LDEL expr RDEL",
  1435. /* 197 */ "doublequotedcontent ::= smartytag",
  1436. /* 198 */ "doublequotedcontent ::= OTHER",
  1437. /* 199 */ "optspace ::= SPACE",
  1438. /* 200 */ "optspace ::=",
  1439. );
  1440. function tokenName($tokenType)
  1441. {
  1442. if ($tokenType === 0) {
  1443. return 'End of Input';
  1444. }
  1445. if ($tokenType > 0 && $tokenType < count($this->yyTokenName)) {
  1446. return $this->yyTokenName[$tokenType];
  1447. } else {
  1448. return "Unknown";
  1449. }
  1450. }
  1451. static function yy_destructor($yymajor, $yypminor)
  1452. {
  1453. switch ($yymajor) {
  1454. default: break; /* If no destructor action specified: do nothing */
  1455. }
  1456. }
  1457. function yy_pop_parser_stack()
  1458. {
  1459. if (!count($this->yystack)) {
  1460. return;
  1461. }
  1462. $yytos = array_pop($this->yystack);
  1463. if (self::$yyTraceFILE && $this->yyidx >= 0) {
  1464. fwrite(self::$yyTraceFILE,
  1465. self::$yyTracePrompt . 'Popping ' . $this->yyTokenName[$yytos->major] .
  1466. "\n");
  1467. }
  1468. $yymajor = $yytos->major;
  1469. self::yy_destructor($yymajor, $yytos->minor);
  1470. $this->yyidx--;
  1471. return $yymajor;
  1472. }
  1473. function __destruct()
  1474. {
  1475. while ($this->yystack !== Array()) {
  1476. $this->yy_pop_parser_stack();
  1477. }
  1478. if (is_resource(self::$yyTraceFILE)) {
  1479. fclose(self::$yyTraceFILE);
  1480. }
  1481. }
  1482. function yy_get_expected_tokens($token)
  1483. {
  1484. $state = $this->yystack[$this->yyidx]->stateno;
  1485. $expected = self::$yyExpectedTokens[$state];
  1486. if (in_array($token, self::$yyExpectedTokens[$state], true)) {
  1487. return $expected;
  1488. }
  1489. $stack = $this->yystack;
  1490. $yyidx = $this->yyidx;
  1491. do {
  1492. $yyact = $this->yy_find_shift_action($token);
  1493. if ($yyact >= self::YYNSTATE && $yyact < self::YYNSTATE + self::YYNRULE) {
  1494. // reduce action
  1495. $done = 0;
  1496. do {
  1497. if ($done++ == 100) {
  1498. $this->yyidx = $yyidx;
  1499. $this->yystack = $stack;
  1500. // too much recursion prevents proper detection
  1501. // so give up
  1502. return array_unique($expected);
  1503. }
  1504. $yyruleno = $yyact - self::YYNSTATE;
  1505. $this->yyidx -= self::$yyRuleInfo[$yyruleno]['rhs'];
  1506. $nextstate = $this->yy_find_reduce_action(
  1507. $this->yystack[$this->yyidx]->stateno,
  1508. self::$yyRuleInfo[$yyruleno]['lhs']);
  1509. if (isset(self::$yyExpectedTokens[$nextstate])) {
  1510. $expected = array_merge($expected, self::$yyExpectedTokens[$nextstate]);
  1511. if (in_array($token,
  1512. self::$yyExpectedTokens[$nextstate], true)) {
  1513. $this->yyidx = $yyidx;
  1514. $this->yystack = $stack;
  1515. return array_unique($expected);
  1516. }
  1517. }
  1518. if ($nextstate < self::YYNSTATE) {
  1519. // we need to shift a non-terminal
  1520. $this->yyidx++;
  1521. $x = new TP_yyStackEntry;
  1522. $x->stateno = $nextstate;
  1523. $x->major = self::$yyRuleInfo[$yyruleno]['lhs'];
  1524. $this->yystack[$this->yyidx] = $x;
  1525. continue 2;
  1526. } elseif ($nextstate == self::YYNSTATE + self::YYNRULE + 1) {
  1527. $this->yyidx = $yyidx;
  1528. $this->yystack = $stack;
  1529. // the last token was just ignored, we can't accept
  1530. // by ignoring input, this is in essence ignoring a
  1531. // syntax error!
  1532. return array_unique($expected);
  1533. } elseif ($nextstate === self::YY_NO_ACTION) {
  1534. $this->yyidx = $yyidx;
  1535. $this->yystack = $stack;
  1536. // input accepted, but not shifted (I guess)
  1537. return $expected;
  1538. } else {
  1539. $yyact = $nextstate;
  1540. }
  1541. } while (true);
  1542. }
  1543. break;
  1544. } while (true);
  1545. $this->yyidx = $yyidx;
  1546. $this->yystack = $stack;
  1547. return array_unique($expected);
  1548. }
  1549. function yy_is_expected_token($token)
  1550. {
  1551. if ($token === 0) {
  1552. return true; // 0 is not part of this
  1553. }
  1554. $state = $this->yystack[$this->yyidx]->stateno;
  1555. if (in_array($token, self::$yyExpectedTokens[$state], true)) {
  1556. return true;
  1557. }
  1558. $stack = $this->yystack;
  1559. $yyidx = $this->yyidx;
  1560. do {
  1561. $yyact = $this->yy_find_shift_action($token);
  1562. if ($yyact >= self::YYNSTATE && $yyact < self::YYNSTATE + self::YYNRULE) {
  1563. // reduce action
  1564. $done = 0;
  1565. do {
  1566. if ($done++ == 100) {
  1567. $this->yyidx = $yyidx;
  1568. $this->yystack = $stack;
  1569. // too much recursion prevents proper detection
  1570. // so give up
  1571. return true;
  1572. }
  1573. $yyruleno = $yyact - self::YYNSTATE;
  1574. $this->yyidx -= self::$yyRuleInfo[$yyruleno]['rhs'];
  1575. $nextstate = $this->yy_find_reduce_action(
  1576. $this->yystack[$this->yyidx]->stateno,
  1577. self::$yyRuleInfo[$yyruleno]['lhs']);
  1578. if (isset(self::$yyExpectedTokens[$nextstate]) &&
  1579. in_array($token, self::$yyExpectedTokens[$nextstate], true)) {
  1580. $this->yyidx = $yyidx;
  1581. $this->yystack = $stack;
  1582. return true;
  1583. }
  1584. if ($nextstate < self::YYNSTATE) {
  1585. // we need to shift a non-terminal
  1586. $this->yyidx++;
  1587. $x = new TP_yyStackEntry;
  1588. $x->stateno = $nextstate;
  1589. $x->major = self::$yyRuleInfo[$yyruleno]['lhs'];
  1590. $this->yystack[$this->yyidx] = $x;
  1591. continue 2;
  1592. } elseif ($nextstate == self::YYNSTATE + self::YYNRULE + 1) {
  1593. $this->yyidx = $yyidx;
  1594. $this->yystack = $stack;
  1595. if (!$token) {
  1596. // end of input: this is valid
  1597. return true;
  1598. }
  1599. // the last token was just ignored, we can't accept
  1600. // by ignoring input, this is in essence ignoring a
  1601. // syntax error!
  1602. return false;
  1603. } elseif ($nextstate === self::YY_NO_ACTION) {
  1604. $this->yyidx = $yyidx;
  1605. $this->yystack = $stack;
  1606. // input accepted, but not shifted (I guess)
  1607. return true;
  1608. } else {
  1609. $yyact = $nextstate;
  1610. }
  1611. } while (true);
  1612. }
  1613. break;
  1614. } while (true);
  1615. $this->yyidx = $yyidx;
  1616. $this->yystack = $stack;
  1617. return true;
  1618. }
  1619. function yy_find_shift_action($iLookAhead)
  1620. {
  1621. $stateno = $this->yystack[$this->yyidx]->stateno;
  1622. /* if ($this->yyidx < 0) return self::YY_NO_ACTION; */
  1623. if (!isset(self::$yy_shift_ofst[$stateno])) {
  1624. // no shift actions
  1625. return self::$yy_default[$stateno];
  1626. }
  1627. $i = self::$yy_shift_ofst[$stateno];
  1628. if ($i === self::YY_SHIFT_USE_DFLT) {
  1629. return self::$yy_default[$stateno];
  1630. }
  1631. if ($iLookAhead == self::YYNOCODE) {
  1632. return self::YY_NO_ACTION;
  1633. }
  1634. $i += $iLookAhead;
  1635. if ($i < 0 || $i >= self::YY_SZ_ACTTAB ||
  1636. self::$yy_lookahead[$i] != $iLookAhead) {
  1637. if (count(self::$yyFallback) && $iLookAhead < count(self::$yyFallback)
  1638. && ($iFallback = self::$yyFallback[$iLookAhead]) != 0) {
  1639. if (self::$yyTraceFILE) {
  1640. fwrite(self::$yyTraceFILE, self::$yyTracePrompt . "FALLBACK " .
  1641. $this->yyTokenName[$iLookAhead] . " => " .
  1642. $this->yyTokenName[$iFallback] . "\n");
  1643. }
  1644. return $this->yy_find_shift_action($iFallback);
  1645. }
  1646. return self::$yy_default[$stateno];
  1647. } else {
  1648. return self::$yy_action[$i];
  1649. }
  1650. }
  1651. function yy_find_reduce_action($stateno, $iLookAhead)
  1652. {
  1653. /* $stateno = $this->yystack[$this->yyidx]->stateno; */
  1654. if (!isset(self::$yy_reduce_ofst[$stateno])) {
  1655. return self::$yy_default[$stateno];
  1656. }
  1657. $i = self::$yy_reduce_ofst[$stateno];
  1658. if ($i == self::YY_REDUCE_USE_DFLT) {
  1659. return self::$yy_default[$stateno];
  1660. }
  1661. if ($iLookAhead == self::YYNOCODE) {
  1662. return self::YY_NO_ACTION;
  1663. }
  1664. $i += $iLookAhead;
  1665. if ($i < 0 || $i >= self::YY_SZ_ACTTAB ||
  1666. self::$yy_lookahead[$i] != $iLookAhead) {
  1667. return self::$yy_default[$stateno];
  1668. } else {
  1669. return self::$yy_action[$i];
  1670. }
  1671. }
  1672. function yy_shift($yyNewState, $yyMajor, $yypMinor)
  1673. {
  1674. $this->yyidx++;
  1675. if ($this->yyidx >= self::YYSTACKDEPTH) {
  1676. $this->yyidx--;
  1677. if (self::$yyTraceFILE) {
  1678. fprintf(self::$yyTraceFILE, "%sStack Overflow!\n", self::$yyTracePrompt);
  1679. }
  1680. while ($this->yyidx >= 0) {
  1681. $this->yy_pop_parser_stack();
  1682. }
  1683. #line 83 "smarty_internal_templateparser.y"
  1684. $this->internalError = true;
  1685. $this->compiler->trigger_template_error("Stack overflow in template parser");
  1686. #line 1715 "smarty_internal_templateparser.php"
  1687. return;
  1688. }
  1689. $yytos = new TP_yyStackEntry;
  1690. $yytos->stateno = $yyNewState;
  1691. $yytos->major = $yyMajor;
  1692. $yytos->minor = $yypMinor;
  1693. array_push($this->yystack, $yytos);
  1694. if (self::$yyTraceFILE && $this->yyidx > 0) {
  1695. fprintf(self::$yyTraceFILE, "%sShift %d\n", self::$yyTracePrompt,
  1696. $yyNewState);
  1697. fprintf(self::$yyTraceFILE, "%sStack:", self::$yyTracePrompt);
  1698. for($i = 1; $i <= $this->yyidx; $i++) {
  1699. fprintf(self::$yyTraceFILE, " %s",
  1700. $this->yyTokenName[$this->yystack[$i]->major]);
  1701. }
  1702. fwrite(self::$yyTraceFILE,"\n");
  1703. }
  1704. }
  1705. static public $yyRuleInfo = array(
  1706. array( 'lhs' => 80, 'rhs' => 1 ),
  1707. array( 'lhs' => 81, 'rhs' => 1 ),
  1708. array( 'lhs' => 81, 'rhs' => 2 ),
  1709. array( 'lhs' => 81, 'rhs' => 0 ),
  1710. array( 'lhs' => 82, 'rhs' => 1 ),
  1711. array( 'lhs' => 82, 'rhs' => 1 ),
  1712. array( 'lhs' => 82, 'rhs' => 1 ),
  1713. array( 'lhs' => 82, 'rhs' => 1 ),
  1714. array( 'lhs' => 82, 'rhs' => 1 ),
  1715. array( 'lhs' => 82, 'rhs' => 1 ),
  1716. array( 'lhs' => 82, 'rhs' => 1 ),
  1717. array( 'lhs' => 82, 'rhs' => 1 ),
  1718. array( 'lhs' => 82, 'rhs' => 1 ),
  1719. array( 'lhs' => 82, 'rhs' => 1 ),
  1720. array( 'lhs' => 82, 'rhs' => 1 ),
  1721. array( 'lhs' => 84, 'rhs' => 2 ),
  1722. array( 'lhs' => 84, 'rhs' => 3 ),
  1723. array( 'lhs' => 85, 'rhs' => 2 ),
  1724. array( 'lhs' => 85, 'rhs' => 0 ),
  1725. array( 'lhs' => 86, 'rhs' => 1 ),
  1726. array( 'lhs' => 86, 'rhs' => 1 ),
  1727. array( 'lhs' => 86, 'rhs' => 1 ),
  1728. array( 'lhs' => 86, 'rhs' => 1 ),
  1729. array( 'lhs' => 86, 'rhs' => 1 ),
  1730. array( 'lhs' => 86, 'rhs' => 1 ),
  1731. array( 'lhs' => 86, 'rhs' => 1 ),
  1732. array( 'lhs' => 83, 'rhs' => 3 ),
  1733. array( 'lhs' => 83, 'rhs' => 5 ),
  1734. array( 'lhs' => 83, 'rhs' => 4 ),
  1735. array( 'lhs' => 83, 'rhs' => 5 ),
  1736. array( 'lhs' => 83, 'rhs' => 4 ),
  1737. array( 'lhs' => 83, 'rhs' => 6 ),
  1738. array( 'lhs' => 83, 'rhs' => 6 ),
  1739. array( 'lhs' => 83, 'rhs' => 7 ),
  1740. array( 'lhs' => 83, 'rhs' => 6 ),
  1741. array( 'lhs' => 83, 'rhs' => 4 ),
  1742. array( 'lhs' => 83, 'rhs' => 3 ),
  1743. array( 'lhs' => 83, 'rhs' => 6 ),
  1744. array( 'lhs' => 83, 'rhs' => 5 ),
  1745. array( 'lhs' => 83, 'rhs' => 7 ),
  1746. array( 'lhs' => 83, 'rhs' => 3 ),
  1747. array( 'lhs' => 83, 'rhs' => 4 ),
  1748. array( 'lhs' => 83, 'rhs' => 3 ),
  1749. array( 'lhs' => 83, 'rhs' => 4 ),
  1750. array( 'lhs' => 83, 'rhs' => 12 ),
  1751. array( 'lhs' => 96, 'rhs' => 2 ),
  1752. array( 'lhs' => 96, 'rhs' => 1 ),
  1753. array( 'lhs' => 83, 'rhs' => 6 ),
  1754. array( 'lhs' => 83, 'rhs' => 8 ),
  1755. array( 'lhs' => 83, 'rhs' => 3 ),
  1756. array( 'lhs' => 83, 'rhs' => 8 ),
  1757. array( 'lhs' => 83, 'rhs' => 11 ),
  1758. array( 'lhs' => 83, 'rhs' => 8 ),
  1759. array( 'lhs' => 83, 'rhs' => 11 ),
  1760. array( 'lhs' => 83, 'rhs' => 4 ),
  1761. array( 'lhs' => 83, 'rhs' => 5 ),
  1762. array( 'lhs' => 83, 'rhs' => 1 ),
  1763. array( 'lhs' => 83, 'rhs' => 3 ),
  1764. array( 'lhs' => 83, 'rhs' => 4 ),
  1765. array( 'lhs' => 83, 'rhs' => 5 ),
  1766. array( 'lhs' => 83, 'rhs' => 6 ),
  1767. array( 'lhs' => 89, 'rhs' => 2 ),
  1768. array( 'lhs' => 89, 'rhs' => 1 ),
  1769. array( 'lhs' => 89, 'rhs' => 0 ),
  1770. array( 'lhs' => 98, 'rhs' => 4 ),
  1771. array( 'lhs' => 98, 'rhs' => 4 ),
  1772. array( 'lhs' => 98, 'rhs' => 4 ),
  1773. array( 'lhs' => 98, 'rhs' => 2 ),
  1774. array( 'lhs' => 98, 'rhs' => 2 ),
  1775. array( 'lhs' => 98, 'rhs' => 2 ),
  1776. array( 'lhs' => 98, 'rhs' => 4 ),
  1777. array( 'lhs' => 93, 'rhs' => 1 ),
  1778. array( 'lhs' => 93, 'rhs' => 3 ),
  1779. array( 'lhs' => 92, 'rhs' => 4 ),
  1780. array( 'lhs' => 92, 'rhs' => 3 ),
  1781. array( 'lhs' => 92, 'rhs' => 3 ),
  1782. array( 'lhs' => 90, 'rhs' => 1 ),
  1783. array( 'lhs' => 90, 'rhs' => 1 ),
  1784. array( 'lhs' => 90, 'rhs' => 4 ),
  1785. array( 'lhs' => 90, 'rhs' => 3 ),
  1786. array( 'lhs' => 90, 'rhs' => 3 ),
  1787. array( 'lhs' => 90, 'rhs' => 3 ),
  1788. array( 'lhs' => 90, 'rhs' => 1 ),
  1789. array( 'lhs' => 90, 'rhs' => 2 ),
  1790. array( 'lhs' => 90, 'rhs' => 3 ),
  1791. array( 'lhs' => 90, 'rhs' => 3 ),
  1792. array( 'lhs' => 90, 'rhs' => 3 ),
  1793. array( 'lhs' => 90, 'rhs' => 3 ),
  1794. array( 'lhs' => 90, 'rhs' => 3 ),
  1795. array( 'lhs' => 90, 'rhs' => 3 ),
  1796. array( 'lhs' => 90, 'rhs' => 2 ),
  1797. array( 'lhs' => 90, 'rhs' => 2 ),
  1798. array( 'lhs' => 90, 'rhs' => 3 ),
  1799. array( 'lhs' => 90, 'rhs' => 3 ),
  1800. array( 'lhs' => 90, 'rhs' => 2 ),
  1801. array( 'lhs' => 90, 'rhs' => 2 ),
  1802. array( 'lhs' => 90, 'rhs' => 3 ),
  1803. array( 'lhs' => 90, 'rhs' => 3 ),
  1804. array( 'lhs' => 90, 'rhs' => 3 ),
  1805. array( 'lhs' => 90, 'rhs' => 3 ),
  1806. array( 'lhs' => 99, 'rhs' => 8 ),
  1807. array( 'lhs' => 99, 'rhs' => 7 ),
  1808. array( 'lhs' => 87, 'rhs' => 1 ),
  1809. array( 'lhs' => 87, 'rhs' => 2 ),
  1810. array( 'lhs' => 87, 'rhs' => 2 ),
  1811. array( 'lhs' => 87, 'rhs' => 2 ),
  1812. array( 'lhs' => 87, 'rhs' => 2 ),
  1813. array( 'lhs' => 87, 'rhs' => 1 ),
  1814. array( 'lhs' => 87, 'rhs' => 1 ),
  1815. array( 'lhs' => 87, 'rhs' => 3 ),
  1816. array( 'lhs' => 87, 'rhs' => 2 ),
  1817. array( 'lhs' => 87, 'rhs' => 2 ),
  1818. array( 'lhs' => 87, 'rhs' => 1 ),
  1819. array( 'lhs' => 87, 'rhs' => 1 ),
  1820. array( 'lhs' => 87, 'rhs' => 3 ),
  1821. array( 'lhs' => 87, 'rhs' => 1 ),
  1822. array( 'lhs' => 87, 'rhs' => 1 ),
  1823. array( 'lhs' => 87, 'rhs' => 3 ),
  1824. array( 'lhs' => 87, 'rhs' => 3 ),
  1825. array( 'lhs' => 87, 'rhs' => 1 ),
  1826. array( 'lhs' => 87, 'rhs' => 2 ),
  1827. array( 'lhs' => 103, 'rhs' => 1 ),
  1828. array( 'lhs' => 103, 'rhs' => 4 ),
  1829. array( 'lhs' => 103, 'rhs' => 1 ),
  1830. array( 'lhs' => 103, 'rhs' => 3 ),
  1831. array( 'lhs' => 103, 'rhs' => 3 ),
  1832. array( 'lhs' => 91, 'rhs' => 3 ),
  1833. array( 'lhs' => 108, 'rhs' => 2 ),
  1834. array( 'lhs' => 108, 'rhs' => 0 ),
  1835. array( 'lhs' => 109, 'rhs' => 3 ),
  1836. array( 'lhs' => 109, 'rhs' => 5 ),
  1837. array( 'lhs' => 109, 'rhs' => 2 ),
  1838. array( 'lhs' => 109, 'rhs' => 2 ),
  1839. array( 'lhs' => 109, 'rhs' => 4 ),
  1840. array( 'lhs' => 109, 'rhs' => 3 ),
  1841. array( 'lhs' => 109, 'rhs' => 5 ),
  1842. array( 'lhs' => 109, 'rhs' => 3 ),
  1843. array( 'lhs' => 109, 'rhs' => 2 ),
  1844. array( 'lhs' => 95, 'rhs' => 1 ),
  1845. array( 'lhs' => 95, 'rhs' => 2 ),
  1846. array( 'lhs' => 110, 'rhs' => 1 ),
  1847. array( 'lhs' => 110, 'rhs' => 3 ),
  1848. array( 'lhs' => 107, 'rhs' => 2 ),
  1849. array( 'lhs' => 111, 'rhs' => 1 ),
  1850. array( 'lhs' => 111, 'rhs' => 2 ),
  1851. array( 'lhs' => 112, 'rhs' => 3 ),
  1852. array( 'lhs' => 112, 'rhs' => 4 ),
  1853. array( 'lhs' => 112, 'rhs' => 5 ),
  1854. array( 'lhs' => 112, 'rhs' => 6 ),
  1855. array( 'lhs' => 112, 'rhs' => 2 ),
  1856. array( 'lhs' => 104, 'rhs' => 4 ),
  1857. array( 'lhs' => 113, 'rhs' => 4 ),
  1858. array( 'lhs' => 113, 'rhs' => 5 ),
  1859. array( 'lhs' => 114, 'rhs' => 3 ),
  1860. array( 'lhs' => 114, 'rhs' => 1 ),
  1861. array( 'lhs' => 114, 'rhs' => 0 ),
  1862. array( 'lhs' => 88, 'rhs' => 3 ),
  1863. array( 'lhs' => 88, 'rhs' => 2 ),
  1864. array( 'lhs' => 115, 'rhs' => 3 ),
  1865. array( 'lhs' => 115, 'rhs' => 2 ),
  1866. array( 'lhs' => 97, 'rhs' => 2 ),
  1867. array( 'lhs' => 97, 'rhs' => 0 ),
  1868. array( 'lhs' => 116, 'rhs' => 2 ),
  1869. array( 'lhs' => 116, 'rhs' => 2 ),
  1870. array( 'lhs' => 106, 'rhs' => 1 ),
  1871. array( 'lhs' => 106, 'rhs' => 2 ),
  1872. array( 'lhs' => 106, 'rhs' => 1 ),
  1873. array( 'lhs' => 106, 'rhs' => 3 ),
  1874. array( 'lhs' => 106, 'rhs' => 4 ),
  1875. array( 'lhs' => 101, 'rhs' => 1 ),
  1876. array( 'lhs' => 101, 'rhs' => 1 ),
  1877. array( 'lhs' => 101, 'rhs' => 1 ),
  1878. array( 'lhs' => 101, 'rhs' => 1 ),
  1879. array( 'lhs' => 101, 'rhs' => 1 ),
  1880. array( 'lhs' => 101, 'rhs' => 1 ),
  1881. array( 'lhs' => 101, 'rhs' => 1 ),
  1882. array( 'lhs' => 101, 'rhs' => 1 ),
  1883. array( 'lhs' => 101, 'rhs' => 1 ),
  1884. array( 'lhs' => 102, 'rhs' => 1 ),
  1885. array( 'lhs' => 102, 'rhs' => 1 ),
  1886. array( 'lhs' => 102, 'rhs' => 1 ),
  1887. array( 'lhs' => 100, 'rhs' => 3 ),
  1888. array( 'lhs' => 117, 'rhs' => 1 ),
  1889. array( 'lhs' => 117, 'rhs' => 3 ),
  1890. array( 'lhs' => 117, 'rhs' => 0 ),
  1891. array( 'lhs' => 118, 'rhs' => 3 ),
  1892. array( 'lhs' => 118, 'rhs' => 3 ),
  1893. array( 'lhs' => 118, 'rhs' => 1 ),
  1894. array( 'lhs' => 105, 'rhs' => 2 ),
  1895. array( 'lhs' => 105, 'rhs' => 3 ),
  1896. array( 'lhs' => 119, 'rhs' => 2 ),
  1897. array( 'lhs' => 119, 'rhs' => 1 ),
  1898. array( 'lhs' => 120, 'rhs' => 3 ),
  1899. array( 'lhs' => 120, 'rhs' => 3 ),
  1900. array( 'lhs' => 120, 'rhs' => 1 ),
  1901. array( 'lhs' => 120, 'rhs' => 3 ),
  1902. array( 'lhs' => 120, 'rhs' => 3 ),
  1903. array( 'lhs' => 120, 'rhs' => 1 ),
  1904. array( 'lhs' => 120, 'rhs' => 1 ),
  1905. array( 'lhs' => 94, 'rhs' => 1 ),
  1906. array( 'lhs' => 94, 'rhs' => 0 ),
  1907. );
  1908. static public $yyReduceMap = array(
  1909. 0 => 0,
  1910. 1 => 1,
  1911. 2 => 1,
  1912. 4 => 4,
  1913. 5 => 5,
  1914. 6 => 6,
  1915. 7 => 7,
  1916. 8 => 8,
  1917. 9 => 9,
  1918. 10 => 10,
  1919. 11 => 11,
  1920. 12 => 12,
  1921. 13 => 13,
  1922. 14 => 14,
  1923. 15 => 15,
  1924. 18 => 15,
  1925. 200 => 15,
  1926. 16 => 16,
  1927. 75 => 16,
  1928. 17 => 17,
  1929. 103 => 17,
  1930. 105 => 17,
  1931. 106 => 17,
  1932. 127 => 17,
  1933. 165 => 17,
  1934. 19 => 19,
  1935. 20 => 19,
  1936. 46 => 19,
  1937. 68 => 19,
  1938. 69 => 19,
  1939. 76 => 19,
  1940. 77 => 19,
  1941. 82 => 19,
  1942. 102 => 19,
  1943. 107 => 19,
  1944. 108 => 19,
  1945. 113 => 19,
  1946. 115 => 19,
  1947. 116 => 19,
  1948. 123 => 19,
  1949. 138 => 19,
  1950. 164 => 19,
  1951. 166 => 19,
  1952. 182 => 19,
  1953. 187 => 19,
  1954. 199 => 19,
  1955. 21 => 21,
  1956. 22 => 21,
  1957. 23 => 23,
  1958. 24 => 24,
  1959. 25 => 25,
  1960. 26 => 26,
  1961. 27 => 27,
  1962. 28 => 28,
  1963. 30 => 28,
  1964. 29 => 29,
  1965. 31 => 31,
  1966. 32 => 31,
  1967. 33 => 33,
  1968. 34 => 34,
  1969. 35 => 35,
  1970. 36 => 36,
  1971. 37 => 37,
  1972. 38 => 38,
  1973. 39 => 39,
  1974. 40 => 40,
  1975. 41 => 41,
  1976. 43 => 41,
  1977. 42 => 42,
  1978. 44 => 44,
  1979. 45 => 45,
  1980. 47 => 47,
  1981. 48 => 48,
  1982. 49 => 49,
  1983. 50 => 50,
  1984. 51 => 51,
  1985. 52 => 52,
  1986. 53 => 53,
  1987. 54 => 54,
  1988. 55 => 55,
  1989. 56 => 56,
  1990. 57 => 57,
  1991. 58 => 58,
  1992. 59 => 59,
  1993. 60 => 60,
  1994. 61 => 61,
  1995. 62 => 62,
  1996. 71 => 62,
  1997. 154 => 62,
  1998. 158 => 62,
  1999. 162 => 62,
  2000. 163 => 62,
  2001. 63 => 63,
  2002. 155 => 63,
  2003. 161 => 63,
  2004. 64 => 64,
  2005. 65 => 65,
  2006. 66 => 65,
  2007. 70 => 65,
  2008. 67 => 67,
  2009. 72 => 72,
  2010. 73 => 73,
  2011. 74 => 73,
  2012. 78 => 78,
  2013. 79 => 79,
  2014. 80 => 79,
  2015. 81 => 79,
  2016. 83 => 83,
  2017. 120 => 83,
  2018. 84 => 84,
  2019. 87 => 84,
  2020. 98 => 84,
  2021. 85 => 85,
  2022. 86 => 86,
  2023. 88 => 88,
  2024. 89 => 89,
  2025. 90 => 90,
  2026. 95 => 90,
  2027. 91 => 91,
  2028. 94 => 91,
  2029. 92 => 92,
  2030. 97 => 92,
  2031. 93 => 93,
  2032. 96 => 93,
  2033. 99 => 99,
  2034. 100 => 100,
  2035. 101 => 101,
  2036. 104 => 104,
  2037. 109 => 109,
  2038. 110 => 110,
  2039. 111 => 111,
  2040. 112 => 112,
  2041. 114 => 114,
  2042. 117 => 117,
  2043. 118 => 118,
  2044. 119 => 119,
  2045. 121 => 121,
  2046. 122 => 122,
  2047. 124 => 124,
  2048. 125 => 125,
  2049. 126 => 126,
  2050. 128 => 128,
  2051. 184 => 128,
  2052. 129 => 129,
  2053. 130 => 130,
  2054. 131 => 131,
  2055. 132 => 132,
  2056. 133 => 133,
  2057. 136 => 133,
  2058. 134 => 134,
  2059. 135 => 135,
  2060. 137 => 137,
  2061. 139 => 139,
  2062. 140 => 140,
  2063. 141 => 141,
  2064. 142 => 142,
  2065. 143 => 143,
  2066. 144 => 144,
  2067. 145 => 145,
  2068. 146 => 146,
  2069. 147 => 147,
  2070. 148 => 148,
  2071. 149 => 149,
  2072. 150 => 150,
  2073. 151 => 151,
  2074. 152 => 152,
  2075. 153 => 153,
  2076. 156 => 156,
  2077. 157 => 157,
  2078. 159 => 159,
  2079. 160 => 160,
  2080. 167 => 167,
  2081. 168 => 168,
  2082. 169 => 169,
  2083. 170 => 170,
  2084. 171 => 171,
  2085. 172 => 172,
  2086. 173 => 173,
  2087. 174 => 174,
  2088. 175 => 175,
  2089. 176 => 176,
  2090. 177 => 177,
  2091. 178 => 178,
  2092. 179 => 179,
  2093. 180 => 180,
  2094. 181 => 181,
  2095. 183 => 183,
  2096. 185 => 185,
  2097. 186 => 186,
  2098. 188 => 188,
  2099. 189 => 189,
  2100. 190 => 190,
  2101. 191 => 191,
  2102. 192 => 192,
  2103. 193 => 192,
  2104. 195 => 192,
  2105. 194 => 194,
  2106. 196 => 196,
  2107. 197 => 197,
  2108. 198 => 198,
  2109. );
  2110. #line 94 "smarty_internal_templateparser.y"
  2111. function yy_r0(){
  2112. $this->_retvalue = $this->root_buffer->to_smarty_php();
  2113. }
  2114. #line 2145 "smarty_internal_templateparser.php"
  2115. #line 102 "smarty_internal_templateparser.y"
  2116. function yy_r1(){
  2117. $this->current_buffer->append_subtree($this->yystack[$this->yyidx + 0]->minor);
  2118. }
  2119. #line 2150 "smarty_internal_templateparser.php"
  2120. #line 118 "smarty_internal_templateparser.y"
  2121. function yy_r4(){
  2122. if ($this->compiler->has_code) {
  2123. $tmp =''; foreach ($this->compiler->prefix_code as $code) {$tmp.=$code;} $this->compiler->prefix_code=array();
  2124. $this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode($tmp.$this->yystack[$this->yyidx + 0]->minor,true));
  2125. } else {
  2126. $this->_retvalue = new _smarty_tag($this, $this->yystack[$this->yyidx + 0]->minor);
  2127. }
  2128. $this->compiler->has_variable_string = false;
  2129. $this->block_nesting_level = count($this->compiler->_tag_stack);
  2130. }
  2131. #line 2162 "smarty_internal_templateparser.php"
  2132. #line 130 "smarty_internal_templateparser.y"
  2133. function yy_r5(){
  2134. $this->_retvalue = new _smarty_tag($this, '');
  2135. }
  2136. #line 2167 "smarty_internal_templateparser.php"
  2137. #line 135 "smarty_internal_templateparser.y"
  2138. function yy_r6(){
  2139. $this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
  2140. }
  2141. #line 2172 "smarty_internal_templateparser.php"
  2142. #line 140 "smarty_internal_templateparser.y"
  2143. function yy_r7(){
  2144. if ($this->php_handling == Smarty::PHP_PASSTHRU) {
  2145. $this->_retvalue = new _smarty_text($this, self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor));
  2146. } elseif ($this->php_handling == Smarty::PHP_QUOTE) {
  2147. $this->_retvalue = new _smarty_text($this, htmlspecialchars($this->yystack[$this->yyidx + 0]->minor, ENT_QUOTES));
  2148. } elseif ($this->php_handling == Smarty::PHP_ALLOW) {
  2149. if (!($this->smarty instanceof SmartyBC)) {
  2150. $this->compiler->trigger_template_error (self::Err3);
  2151. }
  2152. $this->_retvalue = new _smarty_text($this, $this->compiler->processNocacheCode('<?php', true));
  2153. } elseif ($this->php_handling == Smarty::PHP_REMOVE) {
  2154. $this->_retvalue = new _smarty_text($this, '');
  2155. }
  2156. }
  2157. #line 2188 "smarty_internal_templateparser.php"
  2158. #line 156 "smarty_internal_templateparser.y"
  2159. function yy_r8(){
  2160. if ($this->is_xml) {
  2161. $this->compiler->tag_nocache = true;
  2162. $this->is_xml = false;
  2163. $save = $this->template->has_nocache_code;
  2164. $this->_retvalue = new _smarty_text($this, $this->compiler->processNocacheCode("<?php echo '?>';?>", $this->compiler, true));
  2165. $this->template->has_nocache_code = $save;
  2166. } elseif ($this->php_handling == Smarty::PHP_PASSTHRU) {
  2167. $this->_retvalue = new _smarty_text($this, '?<?php ?>>');
  2168. } elseif ($this->php_handling == Smarty::PHP_QUOTE) {
  2169. $this->_retvalue = new _smarty_text($this, htmlspecialchars('?>', ENT_QUOTES));
  2170. } elseif ($this->php_handling == Smarty::PHP_ALLOW) {
  2171. $this->_retvalue = new _smarty_text($this, $this->compiler->processNocacheCode('?>', true));
  2172. } elseif ($this->php_handling == Smarty::PHP_REMOVE) {
  2173. $this->_retvalue = new _smarty_text($this, '');
  2174. }
  2175. }
  2176. #line 2207 "smarty_internal_templateparser.php"
  2177. #line 175 "smarty_internal_templateparser.y"
  2178. function yy_r9(){
  2179. if ($this->php_handling == Smarty::PHP_PASSTHRU) {
  2180. $this->_retvalue = new _smarty_text($this, '<<?php ?>%');
  2181. } elseif ($this->php_handling == Smarty::PHP_QUOTE) {
  2182. $this->_retvalue = new _smarty_text($this, htmlspecialchars($this->yystack[$this->yyidx + 0]->minor, ENT_QUOTES));
  2183. } elseif ($this->php_handling == Smarty::PHP_ALLOW) {
  2184. if ($this->asp_tags) {
  2185. if (!($this->smarty instanceof SmartyBC)) {
  2186. $this->compiler->trigger_template_error (self::Err3);
  2187. }
  2188. $this->_retvalue = new _smarty_text($this, $this->compiler->processNocacheCode('<%', true));
  2189. } else {
  2190. $this->_retvalue = new _smarty_text($this, '<<?php ?>%');
  2191. }
  2192. } elseif ($this->php_handling == Smarty::PHP_REMOVE) {
  2193. if ($this->asp_tags) {
  2194. $this->_retvalue = new _smarty_text($this, '');
  2195. } else {
  2196. $this->_retvalue = new _smarty_text($this, '<<?php ?>%');
  2197. }
  2198. }
  2199. }
  2200. #line 2231 "smarty_internal_templateparser.php"
  2201. #line 199 "smarty_internal_templateparser.y"
  2202. function yy_r10(){
  2203. if ($this->php_handling == Smarty::PHP_PASSTHRU) {
  2204. $this->_retvalue = new _smarty_text($this, '%<?php ?>>');
  2205. } elseif ($this->php_handling == Smarty::PHP_QUOTE) {
  2206. $this->_retvalue = new _smarty_text($this, htmlspecialchars('%>', ENT_QUOTES));
  2207. } elseif ($this->php_handling == Smarty::PHP_ALLOW) {
  2208. if ($this->asp_tags) {
  2209. $this->_retvalue = new _smarty_text($this, $this->compiler->processNocacheCode('%>', true));
  2210. } else {
  2211. $this->_retvalue = new _smarty_text($this, '%<?php ?>>');
  2212. }
  2213. } elseif ($this->php_handling == Smarty::PHP_REMOVE) {
  2214. if ($this->asp_tags) {
  2215. $this->_retvalue = new _smarty_text($this, '');
  2216. } else {
  2217. $this->_retvalue = new _smarty_text($this, '%<?php ?>>');
  2218. }
  2219. }
  2220. }
  2221. #line 2252 "smarty_internal_templateparser.php"
  2222. #line 219 "smarty_internal_templateparser.y"
  2223. function yy_r11(){
  2224. if ($this->lex->strip) {
  2225. $this->_retvalue = new _smarty_text($this, 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)));
  2226. } else {
  2227. $this->_retvalue = new _smarty_text($this, self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor));
  2228. }
  2229. }
  2230. #line 2261 "smarty_internal_templateparser.php"
  2231. #line 228 "smarty_internal_templateparser.y"
  2232. function yy_r12(){
  2233. $this->compiler->tag_nocache = true;
  2234. $this->is_xml = true;
  2235. $save = $this->template->has_nocache_code;
  2236. $this->_retvalue = new _smarty_text($this, $this->compiler->processNocacheCode("<?php echo '<?xml';?>", $this->compiler, true));
  2237. $this->template->has_nocache_code = $save;
  2238. }
  2239. #line 2270 "smarty_internal_templateparser.php"
  2240. #line 237 "smarty_internal_templateparser.y"
  2241. function yy_r13(){
  2242. if ($this->lex->strip) {
  2243. $this->_retvalue = new _smarty_text($this, preg_replace('![\t ]*[\r\n]+[\t ]*!', '', $this->yystack[$this->yyidx + 0]->minor));
  2244. } else {
  2245. $this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
  2246. }
  2247. }
  2248. #line 2279 "smarty_internal_templateparser.php"
  2249. #line 245 "smarty_internal_templateparser.y"
  2250. function yy_r14(){
  2251. $this->_retvalue = new _smarty_linebreak($this, $this->yystack[$this->yyidx + 0]->minor);
  2252. }
  2253. #line 2284 "smarty_internal_templateparser.php"
  2254. #line 250 "smarty_internal_templateparser.y"
  2255. function yy_r15(){
  2256. $this->_retvalue = '';
  2257. }
  2258. #line 2289 "smarty_internal_templateparser.php"
  2259. #line 254 "smarty_internal_templateparser.y"
  2260. function yy_r16(){
  2261. $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor;
  2262. }
  2263. #line 2294 "smarty_internal_templateparser.php"
  2264. #line 258 "smarty_internal_templateparser.y"
  2265. function yy_r17(){
  2266. $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;
  2267. }
  2268. #line 2299 "smarty_internal_templateparser.php"
  2269. #line 266 "smarty_internal_templateparser.y"
  2270. function yy_r19(){
  2271. $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;
  2272. }
  2273. #line 2304 "smarty_internal_templateparser.php"
  2274. #line 274 "smarty_internal_templateparser.y"
  2275. function yy_r21(){
  2276. $this->_retvalue = self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor);
  2277. }
  2278. #line 2309 "smarty_internal_templateparser.php"
  2279. #line 282 "smarty_internal_templateparser.y"
  2280. function yy_r23(){
  2281. $this->_retvalue = self::escape_end_tag($this->yystack[$this->yyidx + 0]->minor);
  2282. }
  2283. #line 2314 "smarty_internal_templateparser.php"
  2284. #line 286 "smarty_internal_templateparser.y"
  2285. function yy_r24(){
  2286. $this->_retvalue = '<<?php ?>%';
  2287. }
  2288. #line 2319 "smarty_internal_templateparser.php"
  2289. #line 290 "smarty_internal_templateparser.y"
  2290. function yy_r25(){
  2291. $this->_retvalue = '%<?php ?>>';
  2292. }
  2293. #line 2324 "smarty_internal_templateparser.php"
  2294. #line 300 "smarty_internal_templateparser.y"
  2295. function yy_r26(){
  2296. $this->_retvalue = $this->compiler->compileTag('private_print_expression',array(),array('value'=>$this->yystack[$this->yyidx + -1]->minor));
  2297. }
  2298. #line 2329 "smarty_internal_templateparser.php"
  2299. #line 304 "smarty_internal_templateparser.y"
  2300. function yy_r27(){
  2301. $this->_retvalue = $this->compiler->compileTag('private_print_expression',$this->yystack[$this->yyidx + -1]->minor,array('value'=>$this->yystack[$this->yyidx + -3]->minor, 'modifierlist'=>$this->yystack[$this->yyidx + -2]->minor));
  2302. }
  2303. #line 2334 "smarty_internal_templateparser.php"
  2304. #line 308 "smarty_internal_templateparser.y"
  2305. function yy_r28(){
  2306. $this->_retvalue = $this->compiler->compileTag('private_print_expression',$this->yystack[$this->yyidx + -1]->minor,array('value'=>$this->yystack[$this->yyidx + -2]->minor));
  2307. }
  2308. #line 2339 "smarty_internal_templateparser.php"
  2309. #line 312 "smarty_internal_templateparser.y"
  2310. function yy_r29(){
  2311. $this->_retvalue = $this->compiler->compileTag('private_print_expression',$this->yystack[$this->yyidx + -1]->minor,array('value'=>$this->yystack[$this->yyidx + -3]->minor,'modifierlist'=>$this->yystack[$this->yyidx + -2]->minor));
  2312. }
  2313. #line 2344 "smarty_internal_templateparser.php"
  2314. #line 325 "smarty_internal_templateparser.y"
  2315. function yy_r31(){
  2316. $this->_retvalue = $this->compiler->compileTag('assign',array(array('value'=>$this->yystack[$this->yyidx + -1]->minor),array('var'=>"'".$this->yystack[$this->yyidx + -3]->minor."'")));
  2317. }
  2318. #line 2349 "smarty_internal_templateparser.php"
  2319. #line 333 "smarty_internal_templateparser.y"
  2320. function yy_r33(){
  2321. $this->_retvalue = $this->compiler->compileTag('assign',array_merge(array(array('value'=>$this->yystack[$this->yyidx + -2]->minor),array('var'=>"'".$this->yystack[$this->yyidx + -4]->minor."'")),$this->yystack[$this->yyidx + -1]->minor));
  2322. }
  2323. #line 2354 "smarty_internal_templateparser.php"
  2324. #line 337 "smarty_internal_templateparser.y"
  2325. function yy_r34(){
  2326. $this->_retvalue = $this->compiler->compileTag('assign',array_merge(array(array('value'=>$this->yystack[$this->yyidx + -2]->minor),array('var'=>$this->yystack[$this->yyidx + -4]->minor['var'])),$this->yystack[$this->yyidx + -1]->minor),array('smarty_internal_index'=>$this->yystack[$this->yyidx + -4]->minor['smarty_internal_index']));
  2327. }
  2328. #line 2359 "smarty_internal_templateparser.php"
  2329. #line 342 "smarty_internal_templateparser.y"
  2330. function yy_r35(){
  2331. $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor,$this->yystack[$this->yyidx + -1]->minor);
  2332. }
  2333. #line 2364 "smarty_internal_templateparser.php"
  2334. #line 346 "smarty_internal_templateparser.y"
  2335. function yy_r36(){
  2336. $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor,array());
  2337. }
  2338. #line 2369 "smarty_internal_templateparser.php"
  2339. #line 351 "smarty_internal_templateparser.y"
  2340. function yy_r37(){
  2341. $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor,$this->yystack[$this->yyidx + -1]->minor,array('object_methode'=>$this->yystack[$this->yyidx + -2]->minor));
  2342. }
  2343. #line 2374 "smarty_internal_templateparser.php"
  2344. #line 356 "smarty_internal_templateparser.y"
  2345. function yy_r38(){
  2346. $this->_retvalue = '<?php ob_start();?>'.$this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor,$this->yystack[$this->yyidx + -1]->minor).'<?php echo ';
  2347. $this->_retvalue .= $this->compiler->compileTag('private_modifier',array(),array('modifierlist'=>$this->yystack[$this->yyidx + -2]->minor,'value'=>'ob_get_clean()')).'?>';
  2348. }
  2349. #line 2380 "smarty_internal_templateparser.php"
  2350. #line 362 "smarty_internal_templateparser.y"
  2351. function yy_r39(){
  2352. $this->_retvalue = '<?php ob_start();?>'.$this->compiler->compileTag($this->yystack[$this->yyidx + -5]->minor,$this->yystack[$this->yyidx + -1]->minor,array('object_methode'=>$this->yystack[$this->yyidx + -3]->minor)).'<?php echo ';
  2353. $this->_retvalue .= $this->compiler->compileTag('private_modifier',array(),array('modifierlist'=>$this->yystack[$this->yyidx + -2]->minor,'value'=>'ob_get_clean()')).'?>';
  2354. }
  2355. #line 2386 "smarty_internal_templateparser.php"
  2356. #line 368 "smarty_internal_templateparser.y"
  2357. function yy_r40(){
  2358. $tag = trim(substr($this->yystack[$this->yyidx + -2]->minor,$this->lex->ldel_length));
  2359. $this->_retvalue = $this->compiler->compileTag(($tag == 'else if')? 'elseif' : $tag,array(),array('if condition'=>$this->yystack[$this->yyidx + -1]->minor));
  2360. }
  2361. #line 2392 "smarty_internal_templateparser.php"
  2362. #line 373 "smarty_internal_templateparser.y"
  2363. function yy_r41(){
  2364. $tag = trim(substr($this->yystack[$this->yyidx + -3]->minor,$this->lex->ldel_length));
  2365. $this->_retvalue = $this->compiler->compileTag(($tag == 'else if')? 'elseif' : $tag,$this->yystack[$this->yyidx + -1]->minor,array('if condition'=>$this->yystack[$this->yyidx + -2]->minor));
  2366. }
  2367. #line 2398 "smarty_internal_templateparser.php"
  2368. #line 378 "smarty_internal_templateparser.y"
  2369. function yy_r42(){
  2370. $tag = trim(substr($this->yystack[$this->yyidx + -2]->minor,$this->lex->ldel_length));
  2371. $this->_retvalue = $this->compiler->compileTag(($tag == 'else if')? 'elseif' : $tag,array(),array('if condition'=>$this->yystack[$this->yyidx + -1]->minor));
  2372. }
  2373. #line 2404 "smarty_internal_templateparser.php"
  2374. #line 389 "smarty_internal_templateparser.y"
  2375. function yy_r44(){
  2376. $this->_retvalue = $this->compiler->compileTag('for',array_merge($this->yystack[$this->yyidx + -1]->minor,array(array('start'=>$this->yystack[$this->yyidx + -10]->minor),array('ifexp'=>$this->yystack[$this->yyidx + -7]->minor),array('var'=>$this->yystack[$this->yyidx + -3]->minor),array('step'=>$this->yystack[$this->yyidx + -2]->minor))),1);
  2377. }
  2378. #line 2409 "smarty_internal_templateparser.php"
  2379. #line 393 "smarty_internal_templateparser.y"
  2380. function yy_r45(){
  2381. $this->_retvalue = '='.$this->yystack[$this->yyidx + 0]->minor;
  2382. }
  2383. #line 2414 "smarty_internal_templateparser.php"
  2384. #line 401 "smarty_internal_templateparser.y"
  2385. function yy_r47(){
  2386. $this->_retvalue = $this->compiler->compileTag('for',array_merge($this->yystack[$this->yyidx + -1]->minor,array(array('start'=>$this->yystack[$this->yyidx + -4]->minor),array('to'=>$this->yystack[$this->yyidx + -2]->minor))),0);
  2387. }
  2388. #line 2419 "smarty_internal_templateparser.php"
  2389. #line 405 "smarty_internal_templateparser.y"
  2390. function yy_r48(){
  2391. $this->_retvalue = $this->compiler->compileTag('for',array_merge($this->yystack[$this->yyidx + -1]->minor,array(array('start'=>$this->yystack[$this->yyidx + -6]->minor),array('to'=>$this->yystack[$this->yyidx + -4]->minor),array('step'=>$this->yystack[$this->yyidx + -2]->minor))),0);
  2392. }
  2393. #line 2424 "smarty_internal_templateparser.php"
  2394. #line 410 "smarty_internal_templateparser.y"
  2395. function yy_r49(){
  2396. $this->_retvalue = $this->compiler->compileTag('foreach',$this->yystack[$this->yyidx + -1]->minor);
  2397. }
  2398. #line 2429 "smarty_internal_templateparser.php"
  2399. #line 415 "smarty_internal_templateparser.y"
  2400. function yy_r50(){
  2401. $this->_retvalue = $this->compiler->compileTag('foreach',array_merge($this->yystack[$this->yyidx + -1]->minor,array(array('from'=>$this->yystack[$this->yyidx + -5]->minor),array('item'=>$this->yystack[$this->yyidx + -2]->minor))));
  2402. }
  2403. #line 2434 "smarty_internal_templateparser.php"
  2404. #line 419 "smarty_internal_templateparser.y"
  2405. function yy_r51(){
  2406. $this->_retvalue = $this->compiler->compileTag('foreach',array_merge($this->yystack[$this->yyidx + -1]->minor,array(array('from'=>$this->yystack[$this->yyidx + -8]->minor),array('item'=>$this->yystack[$this->yyidx + -2]->minor),array('key'=>$this->yystack[$this->yyidx + -5]->minor))));
  2407. }
  2408. #line 2439 "smarty_internal_templateparser.php"
  2409. #line 423 "smarty_internal_templateparser.y"
  2410. function yy_r52(){
  2411. $this->_retvalue = $this->compiler->compileTag('foreach',array_merge($this->yystack[$this->yyidx + -1]->minor,array(array('from'=>$this->yystack[$this->yyidx + -5]->minor),array('item'=>$this->yystack[$this->yyidx + -2]->minor))));
  2412. }
  2413. #line 2444 "smarty_internal_templateparser.php"
  2414. #line 427 "smarty_internal_templateparser.y"
  2415. function yy_r53(){
  2416. $this->_retvalue = $this->compiler->compileTag('foreach',array_merge($this->yystack[$this->yyidx + -1]->minor,array(array('from'=>$this->yystack[$this->yyidx + -8]->minor),array('item'=>$this->yystack[$this->yyidx + -2]->minor),array('key'=>$this->yystack[$this->yyidx + -5]->minor))));
  2417. }
  2418. #line 2449 "smarty_internal_templateparser.php"
  2419. #line 432 "smarty_internal_templateparser.y"
  2420. function yy_r54(){
  2421. $this->_retvalue = $this->compiler->compileTag('setfilter',array(),array('modifier_list'=>array(array_merge(array($this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor))));
  2422. }
  2423. #line 2454 "smarty_internal_templateparser.php"
  2424. #line 436 "smarty_internal_templateparser.y"
  2425. function yy_r55(){
  2426. $this->_retvalue = $this->compiler->compileTag('setfilter',array(),array('modifier_list'=>array_merge(array(array_merge(array($this->yystack[$this->yyidx + -3]->minor),$this->yystack[$this->yyidx + -2]->minor)),$this->yystack[$this->yyidx + -1]->minor)));
  2427. }
  2428. #line 2459 "smarty_internal_templateparser.php"
  2429. #line 441 "smarty_internal_templateparser.y"
  2430. function yy_r56(){
  2431. $this->_retvalue = SMARTY_INTERNAL_COMPILE_BLOCK::compileChildBlock($this->compiler);
  2432. }
  2433. #line 2464 "smarty_internal_templateparser.php"
  2434. #line 447 "smarty_internal_templateparser.y"
  2435. function yy_r57(){
  2436. $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor.'close',array());
  2437. }
  2438. #line 2469 "smarty_internal_templateparser.php"
  2439. #line 451 "smarty_internal_templateparser.y"
  2440. function yy_r58(){
  2441. $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor.'close',array(),array('modifier_list'=>$this->yystack[$this->yyidx + -1]->minor));
  2442. }
  2443. #line 2474 "smarty_internal_templateparser.php"
  2444. #line 456 "smarty_internal_templateparser.y"
  2445. function yy_r59(){
  2446. $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor.'close',array(),array('object_methode'=>$this->yystack[$this->yyidx + -1]->minor));
  2447. }
  2448. #line 2479 "smarty_internal_templateparser.php"
  2449. #line 460 "smarty_internal_templateparser.y"
  2450. function yy_r60(){
  2451. $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor.'close',array(),array('object_methode'=>$this->yystack[$this->yyidx + -2]->minor, 'modifier_list'=>$this->yystack[$this->yyidx + -1]->minor));
  2452. }
  2453. #line 2484 "smarty_internal_templateparser.php"
  2454. #line 468 "smarty_internal_templateparser.y"
  2455. function yy_r61(){
  2456. $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor;
  2457. $this->_retvalue[] = $this->yystack[$this->yyidx + 0]->minor;
  2458. }
  2459. #line 2490 "smarty_internal_templateparser.php"
  2460. #line 474 "smarty_internal_templateparser.y"
  2461. function yy_r62(){
  2462. $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor);
  2463. }
  2464. #line 2495 "smarty_internal_templateparser.php"
  2465. #line 479 "smarty_internal_templateparser.y"
  2466. function yy_r63(){
  2467. $this->_retvalue = array();
  2468. }
  2469. #line 2500 "smarty_internal_templateparser.php"
  2470. #line 484 "smarty_internal_templateparser.y"
  2471. function yy_r64(){
  2472. if (preg_match('~^true$~i', $this->yystack[$this->yyidx + 0]->minor)) {
  2473. $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>'true');
  2474. } elseif (preg_match('~^false$~i', $this->yystack[$this->yyidx + 0]->minor)) {
  2475. $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>'false');
  2476. } elseif (preg_match('~^null$~i', $this->yystack[$this->yyidx + 0]->minor)) {
  2477. $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>'null');
  2478. } else {
  2479. $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>"'".$this->yystack[$this->yyidx + 0]->minor."'");
  2480. }
  2481. }
  2482. #line 2513 "smarty_internal_templateparser.php"
  2483. #line 496 "smarty_internal_templateparser.y"
  2484. function yy_r65(){
  2485. $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>$this->yystack[$this->yyidx + 0]->minor);
  2486. }
  2487. #line 2518 "smarty_internal_templateparser.php"
  2488. #line 504 "smarty_internal_templateparser.y"
  2489. function yy_r67(){
  2490. $this->_retvalue = "'".$this->yystack[$this->yyidx + 0]->minor."'";
  2491. }
  2492. #line 2523 "smarty_internal_templateparser.php"
  2493. #line 529 "smarty_internal_templateparser.y"
  2494. function yy_r72(){
  2495. $this->yystack[$this->yyidx + -2]->minor[]=$this->yystack[$this->yyidx + 0]->minor;
  2496. $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor;
  2497. }
  2498. #line 2529 "smarty_internal_templateparser.php"
  2499. #line 534 "smarty_internal_templateparser.y"
  2500. function yy_r73(){
  2501. $this->_retvalue = array('var' => $this->yystack[$this->yyidx + -2]->minor, 'value'=>$this->yystack[$this->yyidx + 0]->minor);
  2502. }
  2503. #line 2534 "smarty_internal_templateparser.php"
  2504. #line 562 "smarty_internal_templateparser.y"
  2505. function yy_r78(){
  2506. $this->_retvalue = '$_smarty_tpl->getStreamVariable(\''. $this->yystack[$this->yyidx + -2]->minor .'://'. $this->yystack[$this->yyidx + 0]->minor . '\')';
  2507. }
  2508. #line 2539 "smarty_internal_templateparser.php"
  2509. #line 567 "smarty_internal_templateparser.y"
  2510. function yy_r79(){
  2511. $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor . trim($this->yystack[$this->yyidx + -1]->minor) . $this->yystack[$this->yyidx + 0]->minor;
  2512. }
  2513. #line 2544 "smarty_internal_templateparser.php"
  2514. #line 586 "smarty_internal_templateparser.y"
  2515. function yy_r83(){
  2516. $this->_retvalue = $this->compiler->compileTag('private_modifier',array(),array('value'=>$this->yystack[$this->yyidx + -1]->minor,'modifierlist'=>$this->yystack[$this->yyidx + 0]->minor));
  2517. }
  2518. #line 2549 "smarty_internal_templateparser.php"
  2519. #line 592 "smarty_internal_templateparser.y"
  2520. function yy_r84(){
  2521. $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;
  2522. }
  2523. #line 2554 "smarty_internal_templateparser.php"
  2524. #line 596 "smarty_internal_templateparser.y"
  2525. function yy_r85(){
  2526. $this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor.')';
  2527. }
  2528. #line 2559 "smarty_internal_templateparser.php"
  2529. #line 600 "smarty_internal_templateparser.y"
  2530. function yy_r86(){
  2531. $this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.',(array)'.$this->yystack[$this->yyidx + 0]->minor.')';
  2532. }
  2533. #line 2564 "smarty_internal_templateparser.php"
  2534. #line 608 "smarty_internal_templateparser.y"
  2535. function yy_r88(){
  2536. $this->_retvalue = '!('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')';
  2537. }
  2538. #line 2569 "smarty_internal_templateparser.php"
  2539. #line 612 "smarty_internal_templateparser.y"
  2540. function yy_r89(){
  2541. $this->_retvalue = '('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')';
  2542. }
  2543. #line 2574 "smarty_internal_templateparser.php"
  2544. #line 616 "smarty_internal_templateparser.y"
  2545. function yy_r90(){
  2546. $this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -1]->minor.')';
  2547. }
  2548. #line 2579 "smarty_internal_templateparser.php"
  2549. #line 620 "smarty_internal_templateparser.y"
  2550. function yy_r91(){
  2551. $this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -1]->minor.')';
  2552. }
  2553. #line 2584 "smarty_internal_templateparser.php"
  2554. #line 624 "smarty_internal_templateparser.y"
  2555. function yy_r92(){
  2556. $this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')';
  2557. }
  2558. #line 2589 "smarty_internal_templateparser.php"
  2559. #line 628 "smarty_internal_templateparser.y"
  2560. function yy_r93(){
  2561. $this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')';
  2562. }
  2563. #line 2594 "smarty_internal_templateparser.php"
  2564. #line 652 "smarty_internal_templateparser.y"
  2565. function yy_r99(){
  2566. $this->prefix_number++;
  2567. $this->compiler->prefix_code[] = '<?php $_tmp'.$this->prefix_number.'='.$this->yystack[$this->yyidx + 0]->minor.';?>';
  2568. $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.'$_tmp'.$this->prefix_number;
  2569. }
  2570. #line 2601 "smarty_internal_templateparser.php"
  2571. #line 661 "smarty_internal_templateparser.y"
  2572. function yy_r100(){
  2573. $this->_retvalue = $this->yystack[$this->yyidx + -6]->minor.' ? '. $this->compileVariable("'".$this->yystack[$this->yyidx + -2]->minor."'") . ' : '.$this->yystack[$this->yyidx + 0]->minor;
  2574. }
  2575. #line 2606 "smarty_internal_templateparser.php"
  2576. #line 665 "smarty_internal_templateparser.y"
  2577. function yy_r101(){
  2578. $this->_retvalue = $this->yystack[$this->yyidx + -5]->minor.' ? '.$this->yystack[$this->yyidx + -2]->minor.' : '.$this->yystack[$this->yyidx + 0]->minor;
  2579. }
  2580. #line 2611 "smarty_internal_templateparser.php"
  2581. #line 680 "smarty_internal_templateparser.y"
  2582. function yy_r104(){
  2583. $this->_retvalue = '!'.$this->yystack[$this->yyidx + 0]->minor;
  2584. }
  2585. #line 2616 "smarty_internal_templateparser.php"
  2586. #line 701 "smarty_internal_templateparser.y"
  2587. function yy_r109(){
  2588. $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor;
  2589. }
  2590. #line 2621 "smarty_internal_templateparser.php"
  2591. #line 705 "smarty_internal_templateparser.y"
  2592. function yy_r110(){
  2593. $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.'.';
  2594. }
  2595. #line 2626 "smarty_internal_templateparser.php"
  2596. #line 709 "smarty_internal_templateparser.y"
  2597. function yy_r111(){
  2598. $this->_retvalue = '.'.$this->yystack[$this->yyidx + 0]->minor;
  2599. }
  2600. #line 2631 "smarty_internal_templateparser.php"
  2601. #line 714 "smarty_internal_templateparser.y"
  2602. function yy_r112(){
  2603. if (preg_match('~^true$~i', $this->yystack[$this->yyidx + 0]->minor)) {
  2604. $this->_retvalue = 'true';
  2605. } elseif (preg_match('~^false$~i', $this->yystack[$this->yyidx + 0]->minor)) {
  2606. $this->_retvalue = 'false';
  2607. } elseif (preg_match('~^null$~i', $this->yystack[$this->yyidx + 0]->minor)) {
  2608. $this->_retvalue = 'null';
  2609. } else {
  2610. $this->_retvalue = "'".$this->yystack[$this->yyidx + 0]->minor."'";
  2611. }
  2612. }
  2613. #line 2644 "smarty_internal_templateparser.php"
  2614. #line 732 "smarty_internal_templateparser.y"
  2615. function yy_r114(){
  2616. $this->_retvalue = "(". $this->yystack[$this->yyidx + -1]->minor .")";
  2617. }
  2618. #line 2649 "smarty_internal_templateparser.php"
  2619. #line 747 "smarty_internal_templateparser.y"
  2620. function yy_r117(){
  2621. if (!$this->security || isset($this->smarty->registered_classes[$this->yystack[$this->yyidx + -2]->minor]) || $this->smarty->security_policy->isTrustedStaticClass($this->yystack[$this->yyidx + -2]->minor, $this->compiler)) {
  2622. if (isset($this->smarty->registered_classes[$this->yystack[$this->yyidx + -2]->minor])) {
  2623. $this->_retvalue = $this->smarty->registered_classes[$this->yystack[$this->yyidx + -2]->minor].'::'.$this->yystack[$this->yyidx + 0]->minor;
  2624. } else {
  2625. $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'::'.$this->yystack[$this->yyidx + 0]->minor;
  2626. }
  2627. } else {
  2628. $this->compiler->trigger_template_error ("static class '".$this->yystack[$this->yyidx + -2]->minor."' is undefined or not allowed by security setting");
  2629. }
  2630. }
  2631. #line 2662 "smarty_internal_templateparser.php"
  2632. #line 759 "smarty_internal_templateparser.y"
  2633. function yy_r118(){
  2634. if ($this->yystack[$this->yyidx + -2]->minor['var'] == '\'smarty\'') {
  2635. $this->_retvalue = $this->compiler->compileTag('private_special_variable',array(),$this->yystack[$this->yyidx + -2]->minor['smarty_internal_index']).'::'.$this->yystack[$this->yyidx + 0]->minor;
  2636. } else {
  2637. $this->_retvalue = $this->compileVariable($this->yystack[$this->yyidx + -2]->minor['var']).$this->yystack[$this->yyidx + -2]->minor['smarty_internal_index'].'::'.$this->yystack[$this->yyidx + 0]->minor;
  2638. }
  2639. }
  2640. #line 2671 "smarty_internal_templateparser.php"
  2641. #line 768 "smarty_internal_templateparser.y"
  2642. function yy_r119(){
  2643. $this->prefix_number++;
  2644. $this->compiler->prefix_code[] = '<?php ob_start();?>'.$this->yystack[$this->yyidx + 0]->minor.'<?php $_tmp'.$this->prefix_number.'=ob_get_clean();?>';
  2645. $this->_retvalue = '$_tmp'.$this->prefix_number;
  2646. }
  2647. #line 2678 "smarty_internal_templateparser.php"
  2648. #line 783 "smarty_internal_templateparser.y"
  2649. function yy_r121(){
  2650. if ($this->yystack[$this->yyidx + 0]->minor['var'] == '\'smarty\'') {
  2651. $smarty_var = $this->compiler->compileTag('private_special_variable',array(),$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index']);
  2652. $this->_retvalue = $smarty_var;
  2653. } else {
  2654. // used for array reset,next,prev,end,current
  2655. $this->last_variable = $this->yystack[$this->yyidx + 0]->minor['var'];
  2656. $this->last_index = $this->yystack[$this->yyidx + 0]->minor['smarty_internal_index'];
  2657. $this->_retvalue = $this->compileVariable($this->yystack[$this->yyidx + 0]->minor['var']).$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index'];
  2658. }
  2659. }
  2660. #line 2691 "smarty_internal_templateparser.php"
  2661. #line 796 "smarty_internal_templateparser.y"
  2662. function yy_r122(){
  2663. $this->_retvalue = '$_smarty_tpl->tpl_vars['. $this->yystack[$this->yyidx + -2]->minor .']->'.$this->yystack[$this->yyidx + 0]->minor;
  2664. }
  2665. #line 2696 "smarty_internal_templateparser.php"
  2666. #line 806 "smarty_internal_templateparser.y"
  2667. function yy_r124(){
  2668. $this->_retvalue = '$_smarty_tpl->getConfigVariable(\''. $this->yystack[$this->yyidx + -1]->minor .'\')';
  2669. }
  2670. #line 2701 "smarty_internal_templateparser.php"
  2671. #line 810 "smarty_internal_templateparser.y"
  2672. function yy_r125(){
  2673. $this->_retvalue = '$_smarty_tpl->getConfigVariable('. $this->yystack[$this->yyidx + -1]->minor .')';
  2674. }
  2675. #line 2706 "smarty_internal_templateparser.php"
  2676. #line 814 "smarty_internal_templateparser.y"
  2677. function yy_r126(){
  2678. $this->_retvalue = array('var'=>$this->yystack[$this->yyidx + -1]->minor, 'smarty_internal_index'=>$this->yystack[$this->yyidx + 0]->minor);
  2679. }
  2680. #line 2711 "smarty_internal_templateparser.php"
  2681. #line 827 "smarty_internal_templateparser.y"
  2682. function yy_r128(){
  2683. return;
  2684. }
  2685. #line 2716 "smarty_internal_templateparser.php"
  2686. #line 833 "smarty_internal_templateparser.y"
  2687. function yy_r129(){
  2688. $this->_retvalue = '['.$this->compileVariable($this->yystack[$this->yyidx + 0]->minor).']';
  2689. }
  2690. #line 2721 "smarty_internal_templateparser.php"
  2691. #line 837 "smarty_internal_templateparser.y"
  2692. function yy_r130(){
  2693. $this->_retvalue = '['.$this->compileVariable($this->yystack[$this->yyidx + -2]->minor).'->'.$this->yystack[$this->yyidx + 0]->minor.']';
  2694. }
  2695. #line 2726 "smarty_internal_templateparser.php"
  2696. #line 841 "smarty_internal_templateparser.y"
  2697. function yy_r131(){
  2698. $this->_retvalue = "['". $this->yystack[$this->yyidx + 0]->minor ."']";
  2699. }
  2700. #line 2731 "smarty_internal_templateparser.php"
  2701. #line 845 "smarty_internal_templateparser.y"
  2702. function yy_r132(){
  2703. $this->_retvalue = "[". $this->yystack[$this->yyidx + 0]->minor ."]";
  2704. }
  2705. #line 2736 "smarty_internal_templateparser.php"
  2706. #line 849 "smarty_internal_templateparser.y"
  2707. function yy_r133(){
  2708. $this->_retvalue = "[". $this->yystack[$this->yyidx + -1]->minor ."]";
  2709. }
  2710. #line 2741 "smarty_internal_templateparser.php"
  2711. #line 854 "smarty_internal_templateparser.y"
  2712. function yy_r134(){
  2713. $this->_retvalue = '['.$this->compiler->compileTag('private_special_variable',array(),'[\'section\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\'][\'index\']').']';
  2714. }
  2715. #line 2746 "smarty_internal_templateparser.php"
  2716. #line 858 "smarty_internal_templateparser.y"
  2717. function yy_r135(){
  2718. $this->_retvalue = '['.$this->compiler->compileTag('private_special_variable',array(),'[\'section\'][\''.$this->yystack[$this->yyidx + -3]->minor.'\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\']').']';
  2719. }
  2720. #line 2751 "smarty_internal_templateparser.php"
  2721. #line 868 "smarty_internal_templateparser.y"
  2722. function yy_r137(){
  2723. $this->_retvalue = '[]';
  2724. }
  2725. #line 2756 "smarty_internal_templateparser.php"
  2726. #line 881 "smarty_internal_templateparser.y"
  2727. function yy_r139(){
  2728. $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor;
  2729. }
  2730. #line 2761 "smarty_internal_templateparser.php"
  2731. #line 886 "smarty_internal_templateparser.y"
  2732. function yy_r140(){
  2733. $this->_retvalue = '\''.$this->yystack[$this->yyidx + 0]->minor.'\'';
  2734. }
  2735. #line 2766 "smarty_internal_templateparser.php"
  2736. #line 891 "smarty_internal_templateparser.y"
  2737. function yy_r141(){
  2738. $this->_retvalue = '('.$this->yystack[$this->yyidx + -1]->minor.')';
  2739. }
  2740. #line 2771 "smarty_internal_templateparser.php"
  2741. #line 898 "smarty_internal_templateparser.y"
  2742. function yy_r142(){
  2743. if ($this->yystack[$this->yyidx + -1]->minor['var'] == '\'smarty\'') {
  2744. $this->_retvalue = $this->compiler->compileTag('private_special_variable',array(),$this->yystack[$this->yyidx + -1]->minor['smarty_internal_index']).$this->yystack[$this->yyidx + 0]->minor;
  2745. } else {
  2746. $this->_retvalue = $this->compileVariable($this->yystack[$this->yyidx + -1]->minor['var']).$this->yystack[$this->yyidx + -1]->minor['smarty_internal_index'].$this->yystack[$this->yyidx + 0]->minor;
  2747. }
  2748. }
  2749. #line 2780 "smarty_internal_templateparser.php"
  2750. #line 907 "smarty_internal_templateparser.y"
  2751. function yy_r143(){
  2752. $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;
  2753. }
  2754. #line 2785 "smarty_internal_templateparser.php"
  2755. #line 912 "smarty_internal_templateparser.y"
  2756. function yy_r144(){
  2757. $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;
  2758. }
  2759. #line 2790 "smarty_internal_templateparser.php"
  2760. #line 917 "smarty_internal_templateparser.y"
  2761. function yy_r145(){
  2762. if ($this->security && substr($this->yystack[$this->yyidx + -1]->minor,0,1) == '_') {
  2763. $this->compiler->trigger_template_error (self::Err1);
  2764. }
  2765. $this->_retvalue = '->'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;
  2766. }
  2767. #line 2798 "smarty_internal_templateparser.php"
  2768. #line 924 "smarty_internal_templateparser.y"
  2769. function yy_r146(){
  2770. if ($this->security) {
  2771. $this->compiler->trigger_template_error (self::Err2);
  2772. }
  2773. $this->_retvalue = '->{'.$this->compileVariable($this->yystack[$this->yyidx + -1]->minor).$this->yystack[$this->yyidx + 0]->minor.'}';
  2774. }
  2775. #line 2806 "smarty_internal_templateparser.php"
  2776. #line 931 "smarty_internal_templateparser.y"
  2777. function yy_r147(){
  2778. if ($this->security) {
  2779. $this->compiler->trigger_template_error (self::Err2);
  2780. }
  2781. $this->_retvalue = '->{'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}';
  2782. }
  2783. #line 2814 "smarty_internal_templateparser.php"
  2784. #line 938 "smarty_internal_templateparser.y"
  2785. function yy_r148(){
  2786. if ($this->security) {
  2787. $this->compiler->trigger_template_error (self::Err2);
  2788. }
  2789. $this->_retvalue = '->{\''.$this->yystack[$this->yyidx + -4]->minor.'\'.'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}';
  2790. }
  2791. #line 2822 "smarty_internal_templateparser.php"
  2792. #line 946 "smarty_internal_templateparser.y"
  2793. function yy_r149(){
  2794. $this->_retvalue = '->'.$this->yystack[$this->yyidx + 0]->minor;
  2795. }
  2796. #line 2827 "smarty_internal_templateparser.php"
  2797. #line 954 "smarty_internal_templateparser.y"
  2798. function yy_r150(){
  2799. if (!$this->security || $this->smarty->security_policy->isTrustedPhpFunction($this->yystack[$this->yyidx + -3]->minor, $this->compiler)) {
  2800. if (strcasecmp($this->yystack[$this->yyidx + -3]->minor,'isset') === 0 || strcasecmp($this->yystack[$this->yyidx + -3]->minor,'empty') === 0 || strcasecmp($this->yystack[$this->yyidx + -3]->minor,'array') === 0 || is_callable($this->yystack[$this->yyidx + -3]->minor)) {
  2801. $func_name = strtolower($this->yystack[$this->yyidx + -3]->minor);
  2802. if ($func_name == 'isset') {
  2803. if (count($this->yystack[$this->yyidx + -1]->minor) == 0) {
  2804. $this->compiler->trigger_template_error ('Illegal number of paramer in "isset()"');
  2805. }
  2806. $par = implode(',',$this->yystack[$this->yyidx + -1]->minor);
  2807. if (strncasecmp($par,'$_smarty_tpl->getConfigVariable',strlen('$_smarty_tpl->getConfigVariable')) === 0) {
  2808. $this->prefix_number++;
  2809. $this->compiler->prefix_code[] = '<?php $_tmp'.$this->prefix_number.'='.str_replace(')',', false)',$par).';?>';
  2810. $isset_par = '$_tmp'.$this->prefix_number;
  2811. } else {
  2812. $isset_par=str_replace("')->value","',null,true,false)->value",$par);
  2813. }
  2814. $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". $isset_par .")";
  2815. } elseif (in_array($func_name,array('empty','reset','current','end','prev','next'))){
  2816. if (count($this->yystack[$this->yyidx + -1]->minor) != 1) {
  2817. $this->compiler->trigger_template_error ('Illegal number of paramer in "empty()"');
  2818. }
  2819. if ($func_name == 'empty') {
  2820. $this->_retvalue = $func_name.'('.str_replace("')->value","',null,true,false)->value",$this->yystack[$this->yyidx + -1]->minor[0]).')';
  2821. } else {
  2822. $this->_retvalue = $func_name.'('.$this->yystack[$this->yyidx + -1]->minor[0].')';
  2823. }
  2824. } else {
  2825. $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". implode(',',$this->yystack[$this->yyidx + -1]->minor) .")";
  2826. }
  2827. } else {
  2828. $this->compiler->trigger_template_error ("unknown function \"" . $this->yystack[$this->yyidx + -3]->minor . "\"");
  2829. }
  2830. }
  2831. }
  2832. #line 2863 "smarty_internal_templateparser.php"
  2833. #line 992 "smarty_internal_templateparser.y"
  2834. function yy_r151(){
  2835. if ($this->security && substr($this->yystack[$this->yyidx + -3]->minor,0,1) == '_') {
  2836. $this->compiler->trigger_template_error (self::Err1);
  2837. }
  2838. $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". implode(',',$this->yystack[$this->yyidx + -1]->minor) .")";
  2839. }
  2840. #line 2871 "smarty_internal_templateparser.php"
  2841. #line 999 "smarty_internal_templateparser.y"
  2842. function yy_r152(){
  2843. if ($this->security) {
  2844. $this->compiler->trigger_template_error (self::Err2);
  2845. }
  2846. $this->prefix_number++;
  2847. $this->compiler->prefix_code[] = '<?php $_tmp'.$this->prefix_number.'='.$this->compileVariable("'".$this->yystack[$this->yyidx + -3]->minor."'").';?>';
  2848. $this->_retvalue = '$_tmp'.$this->prefix_number.'('. implode(',',$this->yystack[$this->yyidx + -1]->minor) .')';
  2849. }
  2850. #line 2881 "smarty_internal_templateparser.php"
  2851. #line 1010 "smarty_internal_templateparser.y"
  2852. function yy_r153(){
  2853. $this->_retvalue = array_merge($this->yystack[$this->yyidx + -2]->minor,array($this->yystack[$this->yyidx + 0]->minor));
  2854. }
  2855. #line 2886 "smarty_internal_templateparser.php"
  2856. #line 1027 "smarty_internal_templateparser.y"
  2857. function yy_r156(){
  2858. $this->_retvalue = array_merge($this->yystack[$this->yyidx + -2]->minor,array(array_merge($this->yystack[$this->yyidx + -1]->minor,$this->yystack[$this->yyidx + 0]->minor)));
  2859. }
  2860. #line 2891 "smarty_internal_templateparser.php"
  2861. #line 1031 "smarty_internal_templateparser.y"
  2862. function yy_r157(){
  2863. $this->_retvalue = array(array_merge($this->yystack[$this->yyidx + -1]->minor,$this->yystack[$this->yyidx + 0]->minor));
  2864. }
  2865. #line 2896 "smarty_internal_templateparser.php"
  2866. #line 1039 "smarty_internal_templateparser.y"
  2867. function yy_r159(){
  2868. $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor);
  2869. }
  2870. #line 2901 "smarty_internal_templateparser.php"
  2871. #line 1047 "smarty_internal_templateparser.y"
  2872. function yy_r160(){
  2873. $this->_retvalue = array_merge($this->yystack[$this->yyidx + -1]->minor,$this->yystack[$this->yyidx + 0]->minor);
  2874. }
  2875. #line 2906 "smarty_internal_templateparser.php"
  2876. #line 1081 "smarty_internal_templateparser.y"
  2877. function yy_r167(){
  2878. $this->_retvalue = '$'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;
  2879. }
  2880. #line 2911 "smarty_internal_templateparser.php"
  2881. #line 1086 "smarty_internal_templateparser.y"
  2882. function yy_r168(){
  2883. $this->_retvalue = '$'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;
  2884. }
  2885. #line 2916 "smarty_internal_templateparser.php"
  2886. #line 1092 "smarty_internal_templateparser.y"
  2887. function yy_r169(){
  2888. $this->_retvalue = '==';
  2889. }
  2890. #line 2921 "smarty_internal_templateparser.php"
  2891. #line 1096 "smarty_internal_templateparser.y"
  2892. function yy_r170(){
  2893. $this->_retvalue = '!=';
  2894. }
  2895. #line 2926 "smarty_internal_templateparser.php"
  2896. #line 1100 "smarty_internal_templateparser.y"
  2897. function yy_r171(){
  2898. $this->_retvalue = '>';
  2899. }
  2900. #line 2931 "smarty_internal_templateparser.php"
  2901. #line 1104 "smarty_internal_templateparser.y"
  2902. function yy_r172(){
  2903. $this->_retvalue = '<';
  2904. }
  2905. #line 2936 "smarty_internal_templateparser.php"
  2906. #line 1108 "smarty_internal_templateparser.y"
  2907. function yy_r173(){
  2908. $this->_retvalue = '>=';
  2909. }
  2910. #line 2941 "smarty_internal_templateparser.php"
  2911. #line 1112 "smarty_internal_templateparser.y"
  2912. function yy_r174(){
  2913. $this->_retvalue = '<=';
  2914. }
  2915. #line 2946 "smarty_internal_templateparser.php"
  2916. #line 1116 "smarty_internal_templateparser.y"
  2917. function yy_r175(){
  2918. $this->_retvalue = '===';
  2919. }
  2920. #line 2951 "smarty_internal_templateparser.php"
  2921. #line 1120 "smarty_internal_templateparser.y"
  2922. function yy_r176(){
  2923. $this->_retvalue = '!==';
  2924. }
  2925. #line 2956 "smarty_internal_templateparser.php"
  2926. #line 1124 "smarty_internal_templateparser.y"
  2927. function yy_r177(){
  2928. $this->_retvalue = '%';
  2929. }
  2930. #line 2961 "smarty_internal_templateparser.php"
  2931. #line 1128 "smarty_internal_templateparser.y"
  2932. function yy_r178(){
  2933. $this->_retvalue = '&&';
  2934. }
  2935. #line 2966 "smarty_internal_templateparser.php"
  2936. #line 1132 "smarty_internal_templateparser.y"
  2937. function yy_r179(){
  2938. $this->_retvalue = '||';
  2939. }
  2940. #line 2971 "smarty_internal_templateparser.php"
  2941. #line 1136 "smarty_internal_templateparser.y"
  2942. function yy_r180(){
  2943. $this->_retvalue = ' XOR ';
  2944. }
  2945. #line 2976 "smarty_internal_templateparser.php"
  2946. #line 1143 "smarty_internal_templateparser.y"
  2947. function yy_r181(){
  2948. $this->_retvalue = 'array('.$this->yystack[$this->yyidx + -1]->minor.')';
  2949. }
  2950. #line 2981 "smarty_internal_templateparser.php"
  2951. #line 1151 "smarty_internal_templateparser.y"
  2952. function yy_r183(){
  2953. $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor;
  2954. }
  2955. #line 2986 "smarty_internal_templateparser.php"
  2956. #line 1159 "smarty_internal_templateparser.y"
  2957. function yy_r185(){
  2958. $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'=>'.$this->yystack[$this->yyidx + 0]->minor;
  2959. }
  2960. #line 2991 "smarty_internal_templateparser.php"
  2961. #line 1163 "smarty_internal_templateparser.y"
  2962. function yy_r186(){
  2963. $this->_retvalue = '\''.$this->yystack[$this->yyidx + -2]->minor.'\'=>'.$this->yystack[$this->yyidx + 0]->minor;
  2964. }
  2965. #line 2996 "smarty_internal_templateparser.php"
  2966. #line 1175 "smarty_internal_templateparser.y"
  2967. function yy_r188(){
  2968. $this->_retvalue = "''";
  2969. }
  2970. #line 3001 "smarty_internal_templateparser.php"
  2971. #line 1179 "smarty_internal_templateparser.y"
  2972. function yy_r189(){
  2973. $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor->to_smarty_php();
  2974. }
  2975. #line 3006 "smarty_internal_templateparser.php"
  2976. #line 1184 "smarty_internal_templateparser.y"
  2977. function yy_r190(){
  2978. $this->yystack[$this->yyidx + -1]->minor->append_subtree($this->yystack[$this->yyidx + 0]->minor);
  2979. $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor;
  2980. }
  2981. #line 3012 "smarty_internal_templateparser.php"
  2982. #line 1189 "smarty_internal_templateparser.y"
  2983. function yy_r191(){
  2984. $this->_retvalue = new _smarty_doublequoted($this, $this->yystack[$this->yyidx + 0]->minor);
  2985. }
  2986. #line 3017 "smarty_internal_templateparser.php"
  2987. #line 1193 "smarty_internal_templateparser.y"
  2988. function yy_r192(){
  2989. $this->_retvalue = new _smarty_code($this, $this->yystack[$this->yyidx + -1]->minor);
  2990. }
  2991. #line 3022 "smarty_internal_templateparser.php"
  2992. #line 1201 "smarty_internal_templateparser.y"
  2993. function yy_r194(){
  2994. $this->_retvalue = new _smarty_code($this, '$_smarty_tpl->tpl_vars[\''. substr($this->yystack[$this->yyidx + 0]->minor,1) .'\']->value');
  2995. }
  2996. #line 3027 "smarty_internal_templateparser.php"
  2997. #line 1209 "smarty_internal_templateparser.y"
  2998. function yy_r196(){
  2999. $this->_retvalue = new _smarty_code($this, '('.$this->yystack[$this->yyidx + -1]->minor.')');
  3000. }
  3001. #line 3032 "smarty_internal_templateparser.php"
  3002. #line 1213 "smarty_internal_templateparser.y"
  3003. function yy_r197(){
  3004. $this->_retvalue = new _smarty_tag($this, $this->yystack[$this->yyidx + 0]->minor);
  3005. }
  3006. #line 3037 "smarty_internal_templateparser.php"
  3007. #line 1217 "smarty_internal_templateparser.y"
  3008. function yy_r198(){
  3009. $this->_retvalue = new _smarty_dq_content($this, $this->yystack[$this->yyidx + 0]->minor);
  3010. }
  3011. #line 3042 "smarty_internal_templateparser.php"
  3012. private $_retvalue;
  3013. function yy_reduce($yyruleno)
  3014. {
  3015. $yymsp = $this->yystack[$this->yyidx];
  3016. if (self::$yyTraceFILE && $yyruleno >= 0
  3017. && $yyruleno < count(self::$yyRuleName)) {
  3018. fprintf(self::$yyTraceFILE, "%sReduce (%d) [%s].\n",
  3019. self::$yyTracePrompt, $yyruleno,
  3020. self::$yyRuleName[$yyruleno]);
  3021. }
  3022. $this->_retvalue = $yy_lefthand_side = null;
  3023. if (array_key_exists($yyruleno, self::$yyReduceMap)) {
  3024. // call the action
  3025. $this->_retvalue = null;
  3026. $this->{'yy_r' . self::$yyReduceMap[$yyruleno]}();
  3027. $yy_lefthand_side = $this->_retvalue;
  3028. }
  3029. $yygoto = self::$yyRuleInfo[$yyruleno]['lhs'];
  3030. $yysize = self::$yyRuleInfo[$yyruleno]['rhs'];
  3031. $this->yyidx -= $yysize;
  3032. for($i = $yysize; $i; $i--) {
  3033. // pop all of the right-hand side parameters
  3034. array_pop($this->yystack);
  3035. }
  3036. $yyact = $this->yy_find_reduce_action($this->yystack[$this->yyidx]->stateno, $yygoto);
  3037. if ($yyact < self::YYNSTATE) {
  3038. if (!self::$yyTraceFILE && $yysize) {
  3039. $this->yyidx++;
  3040. $x = new TP_yyStackEntry;
  3041. $x->stateno = $yyact;
  3042. $x->major = $yygoto;
  3043. $x->minor = $yy_lefthand_side;
  3044. $this->yystack[$this->yyidx] = $x;
  3045. } else {
  3046. $this->yy_shift($yyact, $yygoto, $yy_lefthand_side);
  3047. }
  3048. } elseif ($yyact == self::YYNSTATE + self::YYNRULE + 1) {
  3049. $this->yy_accept();
  3050. }
  3051. }
  3052. function yy_parse_failed()
  3053. {
  3054. if (self::$yyTraceFILE) {
  3055. fprintf(self::$yyTraceFILE, "%sFail!\n", self::$yyTracePrompt);
  3056. }
  3057. while ($this->yyidx >= 0) {
  3058. $this->yy_pop_parser_stack();
  3059. }
  3060. }
  3061. function yy_syntax_error($yymajor, $TOKEN)
  3062. {
  3063. #line 76 "smarty_internal_templateparser.y"
  3064. $this->internalError = true;
  3065. $this->yymajor = $yymajor;
  3066. $this->compiler->trigger_template_error();
  3067. #line 3105 "smarty_internal_templateparser.php"
  3068. }
  3069. function yy_accept()
  3070. {
  3071. if (self::$yyTraceFILE) {
  3072. fprintf(self::$yyTraceFILE, "%sAccept!\n", self::$yyTracePrompt);
  3073. }
  3074. while ($this->yyidx >= 0) {
  3075. $stack = $this->yy_pop_parser_stack();
  3076. }
  3077. #line 68 "smarty_internal_templateparser.y"
  3078. $this->successful = !$this->internalError;
  3079. $this->internalError = false;
  3080. $this->retvalue = $this->_retvalue;
  3081. //echo $this->retvalue."\n\n";
  3082. #line 3123 "smarty_internal_templateparser.php"
  3083. }
  3084. function doParse($yymajor, $yytokenvalue)
  3085. {
  3086. $yyerrorhit = 0; /* True if yymajor has invoked an error */
  3087. if ($this->yyidx === null || $this->yyidx < 0) {
  3088. $this->yyidx = 0;
  3089. $this->yyerrcnt = -1;
  3090. $x = new TP_yyStackEntry;
  3091. $x->stateno = 0;
  3092. $x->major = 0;
  3093. $this->yystack = array();
  3094. array_push($this->yystack, $x);
  3095. }
  3096. $yyendofinput = ($yymajor==0);
  3097. if (self::$yyTraceFILE) {
  3098. fprintf(self::$yyTraceFILE, "%sInput %s\n",
  3099. self::$yyTracePrompt, $this->yyTokenName[$yymajor]);
  3100. }
  3101. do {
  3102. $yyact = $this->yy_find_shift_action($yymajor);
  3103. if ($yymajor < self::YYERRORSYMBOL &&
  3104. !$this->yy_is_expected_token($yymajor)) {
  3105. // force a syntax error
  3106. $yyact = self::YY_ERROR_ACTION;
  3107. }
  3108. if ($yyact < self::YYNSTATE) {
  3109. $this->yy_shift($yyact, $yymajor, $yytokenvalue);
  3110. $this->yyerrcnt--;
  3111. if ($yyendofinput && $this->yyidx >= 0) {
  3112. $yymajor = 0;
  3113. } else {
  3114. $yymajor = self::YYNOCODE;
  3115. }
  3116. } elseif ($yyact < self::YYNSTATE + self::YYNRULE) {
  3117. $this->yy_reduce($yyact - self::YYNSTATE);
  3118. } elseif ($yyact == self::YY_ERROR_ACTION) {
  3119. if (self::$yyTraceFILE) {
  3120. fprintf(self::$yyTraceFILE, "%sSyntax Error!\n",
  3121. self::$yyTracePrompt);
  3122. }
  3123. if (self::YYERRORSYMBOL) {
  3124. if ($this->yyerrcnt < 0) {
  3125. $this->yy_syntax_error($yymajor, $yytokenvalue);
  3126. }
  3127. $yymx = $this->yystack[$this->yyidx]->major;
  3128. if ($yymx == self::YYERRORSYMBOL || $yyerrorhit ){
  3129. if (self::$yyTraceFILE) {
  3130. fprintf(self::$yyTraceFILE, "%sDiscard input token %s\n",
  3131. self::$yyTracePrompt, $this->yyTokenName[$yymajor]);
  3132. }
  3133. $this->yy_destructor($yymajor, $yytokenvalue);
  3134. $yymajor = self::YYNOCODE;
  3135. } else {
  3136. while ($this->yyidx >= 0 &&
  3137. $yymx != self::YYERRORSYMBOL &&
  3138. ($yyact = $this->yy_find_shift_action(self::YYERRORSYMBOL)) >= self::YYNSTATE
  3139. ){
  3140. $this->yy_pop_parser_stack();
  3141. }
  3142. if ($this->yyidx < 0 || $yymajor==0) {
  3143. $this->yy_destructor($yymajor, $yytokenvalue);
  3144. $this->yy_parse_failed();
  3145. $yymajor = self::YYNOCODE;
  3146. } elseif ($yymx != self::YYERRORSYMBOL) {
  3147. $u2 = 0;
  3148. $this->yy_shift($yyact, self::YYERRORSYMBOL, $u2);
  3149. }
  3150. }
  3151. $this->yyerrcnt = 3;
  3152. $yyerrorhit = 1;
  3153. } else {
  3154. if ($this->yyerrcnt <= 0) {
  3155. $this->yy_syntax_error($yymajor, $yytokenvalue);
  3156. }
  3157. $this->yyerrcnt = 3;
  3158. $this->yy_destructor($yymajor, $yytokenvalue);
  3159. if ($yyendofinput) {
  3160. $this->yy_parse_failed();
  3161. }
  3162. $yymajor = self::YYNOCODE;
  3163. }
  3164. } else {
  3165. $this->yy_accept();
  3166. $yymajor = self::YYNOCODE;
  3167. }
  3168. } while ($yymajor != self::YYNOCODE && $this->yyidx >= 0);
  3169. }
  3170. }
  3171. ?>