smarty_internal_templateparser.php 152 KB

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