smarty_internal_templateparser.php 156 KB

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