h2pas.pas 163 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919
  1. (* Yacc parser template (TP Yacc V3.0), V1.2 6-17-91 AG *)
  2. (* global definitions: *)
  3. program h2pas;
  4. (*
  5. $Id$
  6. Copyright (c) 1998-2000 by Florian Klaempfl
  7. This program is free software; you can redistribute it and/or modify
  8. it under the terms of the GNU General Public License as published by
  9. the Free Software Foundation; either version 2 of the License, or
  10. (at your option) any later version.
  11. This program is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. GNU General Public License for more details.
  15. You should have received a copy of the GNU General Public License
  16. along with this program; if not, write to the Free Software
  17. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18. ****************************************************************************)
  19. uses
  20. {$ifdef go32v2}
  21. {$ifndef NOEXCP}
  22. dpmiexcp,
  23. {$endif NOEXCP}
  24. {$endif}
  25. {$IFDEF WIN32}
  26. SysUtils,
  27. {$else}
  28. strings,
  29. {$endif}
  30. options,scan,converu,lexlib,yacclib;
  31. type
  32. YYSTYPE = presobject;
  33. const
  34. INT_STR = 'longint';
  35. SHORT_STR = 'smallint';
  36. UINT_STR = 'dword';
  37. USHORT_STR = 'word';
  38. CHAR_STR = 'char';
  39. INT64_STR = 'int64';
  40. QWORD_STR = 'qword';
  41. { should we use byte or char for 'unsigned char' ?? }
  42. UCHAR_STR = 'byte';
  43. REAL_STR = 'double';
  44. var
  45. hp,ph : presobject;
  46. extfile : text; (* file for implementation headers extern procs *)
  47. IsExtern : boolean;
  48. must_write_packed_field : boolean;
  49. tempfile : text;
  50. No_pop : boolean;
  51. s,TN,PN : String;
  52. (* $ define yydebug
  53. compile with -dYYDEBUG to get debugging info *)
  54. const
  55. (* number of a?b:c construction in one define *)
  56. if_nb : longint = 0;
  57. is_packed : boolean = false;
  58. is_procvar : boolean = false;
  59. var space_array : array [0..255] of byte;
  60. space_index : byte;
  61. procedure shift(space_number : byte);
  62. var
  63. i : byte;
  64. begin
  65. space_array[space_index]:=space_number;
  66. inc(space_index);
  67. for i:=1 to space_number do
  68. aktspace:=aktspace+' ';
  69. end;
  70. procedure popshift;
  71. begin
  72. dec(space_index);
  73. if space_index<0 then
  74. internalerror(20);
  75. dec(byte(aktspace[0]),space_array[space_index]);
  76. end;
  77. function str(i : longint) : string;
  78. var
  79. s : string;
  80. begin
  81. system.str(i,s);
  82. str:=s;
  83. end;
  84. function hexstr(i : cardinal) : string;
  85. const
  86. HexTbl : array[0..15] of char='0123456789ABCDEF';
  87. var
  88. str : string;
  89. begin
  90. str:='';
  91. while i<>0 do
  92. begin
  93. str:=hextbl[i and $F]+str;
  94. i:=i shr 4;
  95. end;
  96. if str='' then str:='0';
  97. hexstr:='$'+str;
  98. end;
  99. function uppercase(s : string) : string;
  100. var
  101. i : byte;
  102. begin
  103. for i:=1 to length(s) do
  104. s[i]:=UpCase(s[i]);
  105. uppercase:=s;
  106. end;
  107. procedure write_type_specifier(var outfile:text; p : presobject);forward;
  108. procedure write_p_a_def(var outfile:text; p,simple_type : presobject);forward;
  109. procedure write_ifexpr(var outfile:text; p : presobject);forward;
  110. procedure write_funexpr(var outfile:text; p : presobject);forward;
  111. procedure yymsg(const msg : string);
  112. begin
  113. writeln('line ',line_no,': ',msg);
  114. end;
  115. procedure write_packed_fields_info(var outfile:text; p : presobject; ph : string);
  116. var
  117. hp1,hp2,hp3 : presobject;
  118. is_sized : boolean;
  119. line : string;
  120. flag_index : longint;
  121. name : pchar;
  122. ps : byte;
  123. begin
  124. { write out the tempfile created }
  125. close(tempfile);
  126. reset(tempfile);
  127. is_sized:=false;
  128. flag_index:=0;
  129. writeln(outfile,aktspace,'const');
  130. shift(3);
  131. while not eof(tempfile) do
  132. begin
  133. readln(tempfile,line);
  134. ps:=pos('&',line);
  135. if ps>0 then
  136. line:=copy(line,1,ps-1)+ph+'_'+copy(line,ps+1,255);
  137. writeln(outfile,aktspace,line);
  138. end;
  139. close(tempfile);
  140. rewrite(tempfile);
  141. popshift;
  142. (* walk through all members *)
  143. hp1 := p^.p1;
  144. while assigned(hp1) do
  145. begin
  146. (* hp2 is t_memberdec *)
  147. hp2:=hp1^.p1;
  148. (* hp3 is t_declist *)
  149. hp3:=hp2^.p2;
  150. while assigned(hp3) do
  151. begin
  152. if assigned(hp3^.p1^.p3) and
  153. (hp3^.p1^.p3^.typ = t_size_specifier) then
  154. begin
  155. is_sized:=true;
  156. name:=hp3^.p1^.p2^.p;
  157. { get function in interface }
  158. write(outfile,aktspace,'function ',name);
  159. write(outfile,'(var a : ',ph,') : ');
  160. shift(2);
  161. write_p_a_def(outfile,hp3^.p1^.p1,hp2^.p1);
  162. writeln(outfile,';');
  163. popshift;
  164. { get function in implementation }
  165. write(extfile,aktspace,'function ',name);
  166. write(extfile,'(var a : ',ph,') : ');
  167. shift(2);
  168. write_p_a_def(extfile,hp3^.p1^.p1,hp2^.p1);
  169. writeln(extfile,';');
  170. writeln(extfile,aktspace,'begin');
  171. shift(3);
  172. write(extfile,aktspace,name,':=(a.flag',flag_index);
  173. writeln(extfile,' and bm_',ph,'_',name,') shr bp_',ph,'_',name,';');
  174. popshift;
  175. writeln(extfile,aktspace,'end;');
  176. popshift;
  177. writeln(extfile);
  178. { set function in interface }
  179. write(outfile,aktspace,'procedure set_',name);
  180. write(outfile,'(var a : ',ph,'; __',name,' : ');
  181. shift(2);
  182. write_p_a_def(outfile,hp3^.p1^.p1,hp2^.p1);
  183. writeln(outfile,');');
  184. popshift;
  185. { set function in implementation }
  186. write(extfile,aktspace,'procedure set_',name);
  187. write(extfile,'(var a : ',ph,'; __',name,' : ');
  188. shift(2);
  189. write_p_a_def(extfile,hp3^.p1^.p1,hp2^.p1);
  190. writeln(extfile,');');
  191. writeln(extfile,aktspace,'begin');
  192. shift(3);
  193. write(extfile,aktspace,'a.flag',flag_index,':=');
  194. write(extfile,'a.flag',flag_index,' or ');
  195. writeln(extfile,'((__',name,' shl bp_',ph,'_',name,') and bm_',ph,'_',name,');');
  196. popshift;
  197. writeln(extfile,aktspace,'end;');
  198. popshift;
  199. writeln(extfile);
  200. end
  201. else if is_sized then
  202. begin
  203. is_sized:=false;
  204. inc(flag_index);
  205. end;
  206. hp3:=hp3^.next;
  207. end;
  208. hp1:=hp1^.next;
  209. end;
  210. must_write_packed_field:=false;
  211. block_type:=bt_no;
  212. end;
  213. procedure write_expr(var outfile:text; p : presobject);
  214. begin
  215. if assigned(p) then
  216. begin
  217. case p^.typ of
  218. t_id,t_ifexpr : write(outfile,p^.p);
  219. t_funexprlist : write_funexpr(outfile,p);
  220. t_preop : begin
  221. write(outfile,p^.p,'(');
  222. write_expr(outfile,p^.p1);
  223. write(outfile,')');
  224. flush(outfile);
  225. end;
  226. t_typespec : begin
  227. write_type_specifier(outfile,p^.p1);
  228. write(outfile,'(');
  229. write_expr(outfile,p^.p2);
  230. write(outfile,')');
  231. flush(outfile);
  232. end;
  233. t_bop : begin
  234. if p^.p1^.typ<>t_id then
  235. write(outfile,'(');
  236. write_expr(outfile,p^.p1);
  237. if p^.p1^.typ<>t_id then
  238. write(outfile,')');
  239. write(outfile,p^.p);
  240. if p^.p2^.typ<>t_id then
  241. write(outfile,'(');
  242. write_expr(outfile,p^.p2);
  243. if p^.p2^.typ<>t_id then
  244. write(outfile,')');
  245. flush(outfile);
  246. end;
  247. else internalerror(2);
  248. end;
  249. end;
  250. end;
  251. procedure write_ifexpr(var outfile:text; p : presobject);
  252. begin
  253. flush(outfile);
  254. write(outfile,'if ');
  255. write_expr(outfile,p^.p1);
  256. writeln(outfile,' then');
  257. write(outfile,aktspace,' ');
  258. write(outfile,p^.p);
  259. write(outfile,':=');
  260. write_expr(outfile,p^.p2);
  261. writeln(outfile);
  262. writeln(outfile,aktspace,'else');
  263. write(outfile,aktspace,' ');
  264. write(outfile,p^.p);
  265. write(outfile,':=');
  266. write_expr(outfile,p^.p3);
  267. writeln(outfile,';');
  268. write(outfile,aktspace);
  269. flush(outfile);
  270. end;
  271. procedure write_all_ifexpr(var outfile:text; p : presobject);
  272. begin
  273. if assigned(p) then
  274. begin
  275. case p^.typ of
  276. t_id :;
  277. t_preop :
  278. write_all_ifexpr(outfile,p^.p1);
  279. t_bop :
  280. begin
  281. write_all_ifexpr(outfile,p^.p1);
  282. write_all_ifexpr(outfile,p^.p2);
  283. end;
  284. t_ifexpr :
  285. begin
  286. write_all_ifexpr(outfile,p^.p1);
  287. write_all_ifexpr(outfile,p^.p2);
  288. write_all_ifexpr(outfile,p^.p3);
  289. write_ifexpr(outfile,p);
  290. end;
  291. t_typespec :
  292. write_all_ifexpr(outfile,p^.p2);
  293. t_funexprlist,
  294. t_exprlist :
  295. begin
  296. if assigned(p^.p1) then
  297. write_all_ifexpr(outfile,p^.p1);
  298. if assigned(p^.next) then
  299. write_all_ifexpr(outfile,p^.next);
  300. end
  301. else
  302. internalerror(6);
  303. end;
  304. end;
  305. end;
  306. procedure write_funexpr(var outfile:text; p : presobject);
  307. var
  308. i : longint;
  309. begin
  310. if assigned(p) then
  311. begin
  312. case p^.typ of
  313. t_ifexpr :
  314. write(outfile,p^.p);
  315. t_exprlist :
  316. begin
  317. write_expr(outfile,p^.p1);
  318. if assigned(p^.next) then
  319. begin
  320. write(outfile,',');
  321. write_funexpr(outfile,p^.next);
  322. end
  323. end;
  324. t_funcname :
  325. begin
  326. shift(2);
  327. if if_nb>0 then
  328. begin
  329. writeln(outfile,aktspace,'var');
  330. write(outfile,aktspace,' ');
  331. for i:=1 to if_nb do
  332. begin
  333. write(outfile,'if_local',i);
  334. if i<if_nb then
  335. write(outfile,', ')
  336. else
  337. writeln(outfile,' : longint;');
  338. end;
  339. writeln(outfile,aktspace,'(* result types are not known *)');
  340. if_nb:=0;
  341. end;
  342. writeln(outfile,aktspace,'begin');
  343. shift(3);
  344. write(outfile,aktspace);
  345. write_all_ifexpr(outfile,p^.p2);
  346. write_expr(outfile,p^.p1);
  347. write(outfile,':=');
  348. write_funexpr(outfile,p^.p2);
  349. writeln(outfile,';');
  350. popshift;
  351. writeln(outfile,aktspace,'end;');
  352. popshift;
  353. flush(outfile);
  354. end;
  355. t_funexprlist :
  356. begin
  357. if assigned(p^.p3) then
  358. begin
  359. write_type_specifier(outfile,p^.p3);
  360. write(outfile,'(');
  361. end;
  362. if assigned(p^.p1) then
  363. write_funexpr(outfile,p^.p1);
  364. if assigned(p^.p2) then
  365. begin
  366. write(outfile,'(');
  367. write_funexpr(outfile,p^.p2);
  368. write(outfile,')');
  369. end;
  370. if assigned(p^.p3) then
  371. write(outfile,')');
  372. end
  373. else internalerror(5);
  374. end;
  375. end;
  376. end;
  377. function ellipsisarg : presobject;
  378. begin
  379. ellipsisarg:=new(presobject,init_two(t_arg,nil,nil));
  380. end;
  381. const
  382. (* if in args *dname is replaced by pdname *)
  383. in_args : boolean = false;
  384. typedef_level : longint = 0;
  385. (* writes an argument list, where p is t_arglist *)
  386. procedure write_args(var outfile:text; p : presobject);
  387. var
  388. length,para : longint;
  389. old_in_args : boolean;
  390. varpara : boolean;
  391. begin
  392. para:=1;
  393. length:=0;
  394. old_in_args:=in_args;
  395. in_args:=true;
  396. write(outfile,'(');
  397. shift(2);
  398. (* walk through all arguments *)
  399. (* p must be of type t_arglist *)
  400. while assigned(p) do
  401. begin
  402. if p^.typ<>t_arglist then
  403. internalerror(10);
  404. (* is ellipsis ? *)
  405. if not assigned(p^.p1^.p1) and
  406. not assigned(p^.p1^.next) then
  407. begin
  408. { write(outfile,'...'); }
  409. write(outfile,'args:array of const');
  410. { if variable number of args we must allways pop }
  411. no_pop:=false;
  412. end
  413. (* we need to correct this in the pp file after *)
  414. else
  415. begin
  416. (* generate a call by reference parameter ? *)
  417. varpara:=usevarparas and assigned(p^.p1^.p2^.p1) and
  418. ((p^.p1^.p2^.p1^.typ=t_pointerdef) or
  419. (p^.p1^.p2^.p1^.typ=t_addrdef));
  420. (* do not do it for char pointer !! *)
  421. (* para : pchar; and var para : char; are *)
  422. (* completely different in pascal *)
  423. (* here we exclude all typename containing char *)
  424. (* is this a good method ?? *)
  425. if varpara and
  426. (p^.p1^.p2^.p1^.typ=t_pointerdef) and
  427. (p^.p1^.p2^.p1^.p1^.typ=t_id) and
  428. (pos('CHAR',uppercase(p^.p1^.p2^.p1^.p1^.str))<>0) then
  429. varpara:=false;
  430. if varpara then
  431. begin
  432. write(outfile,'var ');
  433. length:=length+4;
  434. end;
  435. (* write new type name *)
  436. if assigned(p^.p1^.p2^.p2) then
  437. begin
  438. write(outfile,p^.p1^.p2^.p2^.p);
  439. length:=length+p^.p1^.p2^.p2^.strlength;
  440. end
  441. else
  442. begin
  443. If removeUnderscore then
  444. begin
  445. Write (outfile,'para',para);
  446. Length:=(Length+5);
  447. end
  448. else
  449. begin
  450. write(outfile,'_para',para);
  451. length:=length+6;
  452. end;
  453. end;
  454. write(outfile,':');
  455. if varpara then
  456. write_p_a_def(outfile,p^.p1^.p2^.p1^.p1,p^.p1^.p1)
  457. else
  458. write_p_a_def(outfile,p^.p1^.p2^.p1,p^.p1^.p1);
  459. end;
  460. p:=p^.next;
  461. if assigned(p) then
  462. begin
  463. write(outfile,'; ');
  464. { if length>40 then : too complicated to compute }
  465. if (para mod 5) = 0 then
  466. begin
  467. writeln(outfile);
  468. write(outfile,aktspace);
  469. end;
  470. end;
  471. inc(para);
  472. end;
  473. write(outfile,')');
  474. flush(outfile);
  475. in_args:=old_in_args;
  476. popshift;
  477. end;
  478. procedure write_p_a_def(var outfile:text; p,simple_type : presobject);
  479. var
  480. i : longint;
  481. error : integer;
  482. constant : boolean;
  483. begin
  484. if not(assigned(p)) then
  485. begin
  486. write_type_specifier(outfile,simple_type);
  487. exit;
  488. end;
  489. case p^.typ of
  490. t_pointerdef : begin
  491. (* procedure variable ? *)
  492. if assigned(p^.p1) and (p^.p1^.typ=t_procdef) then
  493. begin
  494. is_procvar:=true;
  495. (* distinguish between procedure and function *)
  496. if (simple_type^.typ=t_void) and (p^.p1^.p1=nil) then
  497. begin
  498. write(outfile,'procedure ');
  499. shift(10);
  500. (* write arguments *)
  501. if assigned(p^.p1^.p2) then
  502. write_args(outfile,p^.p1^.p2);
  503. flush(outfile);
  504. popshift;
  505. end
  506. else
  507. begin
  508. write(outfile,'function ');
  509. shift(9);
  510. (* write arguments *)
  511. if assigned(p^.p1^.p2) then
  512. write_args(outfile,p^.p1^.p2);
  513. write(outfile,':');
  514. flush(outfile);
  515. write_p_a_def(outfile,p^.p1^.p1,simple_type);
  516. popshift;
  517. end
  518. end
  519. else
  520. begin
  521. (* generate "pointer" ? *)
  522. if (simple_type^.typ=t_void) and (p^.p1=nil) then
  523. begin
  524. write(outfile,'pointer');
  525. flush(outfile);
  526. end
  527. else
  528. begin
  529. write(outfile,'P');
  530. write_p_a_def(outfile,p^.p1,simple_type);
  531. end;
  532. end;
  533. end;
  534. t_arraydef : begin
  535. constant:=false;
  536. if p^.p2^.typ=t_id then
  537. begin
  538. val(p^.p2^.str,i,error);
  539. if error=0 then
  540. begin
  541. dec(i);
  542. constant:=true;
  543. end;
  544. end;
  545. if not constant then
  546. begin
  547. write(outfile,'array[0..(');
  548. write_expr(outfile,p^.p2);
  549. write(outfile,')-1] of ');
  550. end
  551. else
  552. begin
  553. write(outfile,'array[0..',i,'] of ');
  554. end;
  555. flush(outfile);
  556. write_p_a_def(outfile,p^.p1,simple_type);
  557. end;
  558. else internalerror(1);
  559. end;
  560. end;
  561. procedure write_type_specifier(var outfile:text; p : presobject);
  562. var
  563. hp1,hp2,hp3,lastexpr : presobject;
  564. i,l,w : longint;
  565. error : integer;
  566. mask : cardinal;
  567. flag_index,current_power : longint;
  568. current_level : byte;
  569. is_sized : boolean;
  570. begin
  571. case p^.typ of
  572. t_id :
  573. write(outfile,p^.p);
  574. { what can we do with void defs ? }
  575. t_void :
  576. write(outfile,'void');
  577. t_pointerdef :
  578. begin
  579. write(outfile,'P');
  580. write_type_specifier(outfile,p^.p1);
  581. end;
  582. t_enumdef :
  583. begin
  584. if (typedef_level>1) and (p^.p1=nil) and
  585. (p^.p2^.typ=t_id) then
  586. begin
  587. write(outfile,p^.p2^.p);
  588. end
  589. else
  590. if not EnumToConst then
  591. begin
  592. write(outfile,'(');
  593. hp1:=p^.p1;
  594. w:=length(aktspace);
  595. while assigned(hp1) do
  596. begin
  597. write(outfile,hp1^.p1^.p);
  598. if assigned(hp1^.p2) then
  599. begin
  600. write(outfile,' := ');
  601. write_expr(outfile,hp1^.p2);
  602. w:=w+6;(* strlen(hp1^.p); *)
  603. end;
  604. w:=w+length(hp1^.p1^.str);
  605. hp1:=hp1^.next;
  606. if assigned(hp1) then
  607. write(outfile,',');
  608. if w>40 then
  609. begin
  610. writeln(outfile);
  611. write(outfile,aktspace);
  612. w:=length(aktspace);
  613. end;
  614. flush(outfile);
  615. end;
  616. write(outfile,')');
  617. flush(outfile);
  618. end
  619. else
  620. begin
  621. Writeln (outfile,' Longint;');
  622. hp1:=p^.p1;
  623. l:=0;
  624. lastexpr:=nil;
  625. Writeln (outfile,copy(aktspace,1,length(aktspace)-2),'Const');
  626. while assigned(hp1) do
  627. begin
  628. write (outfile,aktspace,hp1^.p1^.p,' = ');
  629. if assigned(hp1^.p2) then
  630. begin
  631. write_expr(outfile,hp1^.p2);
  632. writeln(outfile,';');
  633. lastexpr:=hp1^.p2;
  634. if lastexpr^.typ=t_id then
  635. begin
  636. val(lastexpr^.str,l,error);
  637. if error=0 then
  638. begin
  639. inc(l);
  640. lastexpr:=nil;
  641. end
  642. else
  643. l:=1;
  644. end
  645. else
  646. l:=1;
  647. end
  648. else
  649. begin
  650. if assigned(lastexpr) then
  651. begin
  652. write(outfile,'(');
  653. write_expr(outfile,lastexpr);
  654. writeln(outfile,')+',l,';');
  655. end
  656. else
  657. writeln (outfile,l,';');
  658. inc(l);
  659. end;
  660. hp1:=hp1^.next;
  661. flush(outfile);
  662. end;
  663. block_type:=bt_const;
  664. end;
  665. end;
  666. t_structdef :
  667. begin
  668. inc(typedef_level);
  669. flag_index:=-1;
  670. is_sized:=false;
  671. current_level:=0;
  672. if (typedef_level>1) and (p^.p1=nil) and
  673. (p^.p2^.typ=t_id) then
  674. begin
  675. write(outfile,p^.p2^.p);
  676. end
  677. else
  678. begin
  679. writeln(outfile,'record');
  680. shift(3);
  681. hp1:=p^.p1;
  682. (* walk through all members *)
  683. while assigned(hp1) do
  684. begin
  685. (* hp2 is t_memberdec *)
  686. hp2:=hp1^.p1;
  687. (* hp3 is t_declist *)
  688. hp3:=hp2^.p2;
  689. while assigned(hp3) do
  690. begin
  691. if not assigned(hp3^.p1^.p3) or
  692. (hp3^.p1^.p3^.typ <> t_size_specifier) then
  693. begin
  694. if is_sized then
  695. begin
  696. if current_level <= 16 then
  697. writeln(outfile,'word;')
  698. else if current_level <= 32 then
  699. writeln(outfile,'longint;')
  700. else
  701. internalerror(11);
  702. is_sized:=false;
  703. end;
  704. write(outfile,aktspace,hp3^.p1^.p2^.p);
  705. write(outfile,' : ');
  706. shift(2);
  707. write_p_a_def(outfile,hp3^.p1^.p1,hp2^.p1);
  708. popshift;
  709. end;
  710. { size specifier or default value ? }
  711. if assigned(hp3^.p1^.p3) then
  712. begin
  713. { we could use mask to implement this }
  714. { because we need to respect the positions }
  715. if hp3^.p1^.p3^.typ = t_size_specifier then
  716. begin
  717. if not is_sized then
  718. begin
  719. current_power:=1;
  720. current_level:=0;
  721. inc(flag_index);
  722. write(outfile,aktspace,'flag',flag_index,' : ');
  723. end;
  724. must_write_packed_field:=true;
  725. is_sized:=true;
  726. { can it be something else than a constant ? }
  727. { it can be a macro !! }
  728. if hp3^.p1^.p3^.p1^.typ=t_id then
  729. begin
  730. val(hp3^.p1^.p3^.p1^.str,l,error);
  731. if error=0 then
  732. begin
  733. mask:=0;
  734. for i:=1 to l do
  735. begin
  736. mask:=mask+current_power;
  737. current_power:=current_power*2;
  738. end;
  739. write(tempfile,'bm_&',hp3^.p1^.p2^.p);
  740. writeln(tempfile,' = ',hexstr(mask),';');
  741. write(tempfile,'bp_&',hp3^.p1^.p2^.p);
  742. writeln(tempfile,' = ',current_level,';');
  743. current_level:=current_level + l;
  744. { go to next flag if 31 }
  745. if current_level = 32 then
  746. begin
  747. write(outfile,'longint');
  748. is_sized:=false;
  749. end;
  750. end;
  751. end;
  752. end
  753. else if hp3^.p1^.p3^.typ = t_default_value then
  754. begin
  755. write(outfile,'{=');
  756. write_expr(outfile,hp3^.p1^.p3^.p1);
  757. write(outfile,' ignored}');
  758. end;
  759. end;
  760. if not is_sized then
  761. begin
  762. if is_procvar then
  763. begin
  764. if not no_pop then
  765. begin
  766. write(outfile,';cdecl');
  767. no_pop:=true;
  768. end;
  769. is_procvar:=false;
  770. end;
  771. writeln(outfile,';');
  772. end;
  773. hp3:=hp3^.next;
  774. end;
  775. hp1:=hp1^.next;
  776. end;
  777. if is_sized then
  778. begin
  779. if current_level <= 16 then
  780. writeln(outfile,'word;')
  781. else if current_level <= 32 then
  782. writeln(outfile,'longint;')
  783. else
  784. internalerror(11);
  785. is_sized:=false;
  786. end;
  787. popshift;
  788. write(outfile,aktspace,'end');
  789. flush(outfile);
  790. end;
  791. dec(typedef_level);
  792. end;
  793. t_uniondef :
  794. begin
  795. if (typedef_level>1) and (p^.p1=nil) and
  796. (p^.p2^.typ=t_id) then
  797. begin
  798. write(outfile,p^.p2^.p);
  799. end
  800. else
  801. begin
  802. inc(typedef_level);
  803. writeln(outfile,'record');
  804. shift(2);
  805. writeln(outfile,aktspace,'case longint of');
  806. shift(3);
  807. l:=0;
  808. hp1:=p^.p1;
  809. (* walk through all members *)
  810. while assigned(hp1) do
  811. begin
  812. (* hp2 is t_memberdec *)
  813. hp2:=hp1^.p1;
  814. (* hp3 is t_declist *)
  815. hp3:=hp2^.p2;
  816. while assigned(hp3) do
  817. begin
  818. write(outfile,aktspace,l,' : ( ');
  819. write(outfile,hp3^.p1^.p2^.p,' : ');
  820. shift(2);
  821. write_p_a_def(outfile,hp3^.p1^.p1,hp2^.p1);
  822. popshift;
  823. writeln(outfile,' );');
  824. hp3:=hp3^.next;
  825. inc(l);
  826. end;
  827. hp1:=hp1^.next;
  828. end;
  829. popshift;
  830. write(outfile,aktspace,'end');
  831. popshift;
  832. flush(outfile);
  833. dec(typedef_level);
  834. end;
  835. end;
  836. else
  837. internalerror(3);
  838. end;
  839. end;
  840. procedure write_def_params(var outfile:text; p : presobject);
  841. var
  842. hp1 : presobject;
  843. begin
  844. case p^.typ of
  845. t_enumdef : begin
  846. hp1:=p^.p1;
  847. while assigned(hp1) do
  848. begin
  849. write(outfile,hp1^.p1^.p);
  850. hp1:=hp1^.next;
  851. if assigned(hp1) then
  852. write(outfile,',')
  853. else
  854. write(outfile);
  855. flush(outfile);
  856. end;
  857. flush(outfile);
  858. end;
  859. else internalerror(4);
  860. end;
  861. end;
  862. const TYPEDEF = 257;
  863. const DEFINE = 258;
  864. const COLON = 259;
  865. const SEMICOLON = 260;
  866. const COMMA = 261;
  867. const LKLAMMER = 262;
  868. const RKLAMMER = 263;
  869. const LECKKLAMMER = 264;
  870. const RECKKLAMMER = 265;
  871. const LGKLAMMER = 266;
  872. const RGKLAMMER = 267;
  873. const STRUCT = 268;
  874. const UNION = 269;
  875. const ENUM = 270;
  876. const ID = 271;
  877. const NUMBER = 272;
  878. const CSTRING = 273;
  879. const SHORT = 274;
  880. const UNSIGNED = 275;
  881. const LONG = 276;
  882. const INT = 277;
  883. const REAL = 278;
  884. const _CHAR = 279;
  885. const VOID = 280;
  886. const _CONST = 281;
  887. const _FAR = 282;
  888. const _HUGE = 283;
  889. const _NEAR = 284;
  890. const _ASSIGN = 285;
  891. const NEW_LINE = 286;
  892. const SPACE_DEFINE = 287;
  893. const EXTERN = 288;
  894. const STDCALL = 289;
  895. const CDECL = 290;
  896. const CALLBACK = 291;
  897. const PASCAL = 292;
  898. const WINAPI = 293;
  899. const APIENTRY = 294;
  900. const WINGDIAPI = 295;
  901. const SYS_TRAP = 296;
  902. const _PACKED = 297;
  903. const ELLIPSIS = 298;
  904. const R_AND = 299;
  905. const EQUAL = 300;
  906. const UNEQUAL = 301;
  907. const GT = 302;
  908. const LT = 303;
  909. const GTE = 304;
  910. const LTE = 305;
  911. const QUESTIONMARK = 306;
  912. const _OR = 307;
  913. const _AND = 308;
  914. const _PLUS = 309;
  915. const MINUS = 310;
  916. const _SHR = 311;
  917. const _SHL = 312;
  918. const STAR = 313;
  919. const _SLASH = 314;
  920. const _NOT = 315;
  921. const PSTAR = 316;
  922. const P_AND = 317;
  923. const POINT = 318;
  924. const DEREF = 319;
  925. const STICK = 320;
  926. var yylval : YYSType;
  927. function yylex : Integer; forward;
  928. function yyparse : Integer;
  929. var yystate, yysp, yyn : Integer;
  930. yys : array [1..yymaxdepth] of Integer;
  931. yyv : array [1..yymaxdepth] of YYSType;
  932. yyval : YYSType;
  933. procedure yyaction ( yyruleno : Integer );
  934. (* local definitions: *)
  935. begin
  936. (* actions: *)
  937. case yyruleno of
  938. 1 : begin
  939. yyval := yyv[yysp-0];
  940. end;
  941. 2 : begin
  942. if not stripinfo then
  943. begin
  944. writeln(outfile,'(* error ');
  945. writeln(outfile,yyline);
  946. end;
  947. end;
  948. 3 : begin
  949. if yydebug then writeln('declaration reduced at line ',line_no);
  950. if yydebug then writeln(outfile,'(* declaration reduced *)');
  951. end;
  952. 4 : begin
  953. if yydebug then writeln('define declaration reduced at line ',line_no);
  954. if yydebug then writeln(outfile,'(* define declaration reduced *)');
  955. end;
  956. 5 : begin
  957. if yydebug then writeln('declaration reduced at line ',line_no);
  958. end;
  959. 6 : begin
  960. if yydebug then writeln('define declaration reduced at line ',line_no);
  961. end;
  962. 7 : begin
  963. yyval:=new(presobject,init_id('extern'));
  964. end;
  965. 8 : begin
  966. yyval:=new(presobject,init_id('intern'));
  967. end;
  968. 9 : begin
  969. yyval:=new(presobject,init_id('no_pop'));
  970. end;
  971. 10 : begin
  972. yyval:=new(presobject,init_id('cdecl'));
  973. end;
  974. 11 : begin
  975. yyval:=new(presobject,init_id('no_pop'));
  976. end;
  977. 12 : begin
  978. yyval:=new(presobject,init_id('no_pop'));
  979. end;
  980. 13 : begin
  981. yyval:=new(presobject,init_id('no_pop'));
  982. end;
  983. 14 : begin
  984. yyval:=new(presobject,init_id('no_pop'));
  985. end;
  986. 15 : begin
  987. yyval:=new(presobject,init_id('no_pop'));
  988. end;
  989. 16 : begin
  990. yyval:=nil
  991. end;
  992. 17 : begin
  993. yyval:=yyv[yysp-1];
  994. end;
  995. 18 : begin
  996. yyval:=nil;
  997. end;
  998. 19 : begin
  999. IsExtern:=false;
  1000. (* by default we must pop the args pushed on stack *)
  1001. no_pop:=false;
  1002. (* writeln(outfile,'{ dec_specifier type_specifier declarator_list SEMICOLON}');
  1003. if assigned(yyv[yysp-3]) then writeln(outfile,'{*$3}');
  1004. if assigned(yyv[yysp-3])and assigned(yyv[yysp-3].p1)
  1005. then writeln(outfile,'{*$3^.p1}');
  1006. if assigned(yyv[yysp-3])and assigned(yyv[yysp-3]^.p1)and assigned(yyv[yysp-3]^.p1^.p1)
  1007. then writeln(outfile,'{*$3^.p1^.p1}');
  1008. *)
  1009. if (assigned(yyv[yysp-2])and assigned(yyv[yysp-2]^.p1)and assigned(yyv[yysp-2]^.p1^.p1))
  1010. and (yyv[yysp-2]^.p1^.p1^.typ=t_procdef) then
  1011. begin
  1012. If UseLib then
  1013. IsExtern:=true
  1014. else
  1015. IsExtern:=assigned(yyv[yysp-5])and(yyv[yysp-5]^.str='extern');
  1016. no_pop:=assigned(yyv[yysp-3]) and (yyv[yysp-3]^.str='no_pop');
  1017. if block_type<>bt_func then
  1018. writeln(outfile);
  1019. block_type:=bt_func;
  1020. if not CompactMode then
  1021. begin
  1022. write(outfile,aktspace);
  1023. if not IsExtern then
  1024. write(extfile,aktspace);
  1025. end;
  1026. (* distinguish between procedure and function *)
  1027. if assigned(yyv[yysp-4]) then
  1028. if (yyv[yysp-4]^.typ=t_void) and (yyv[yysp-2]^.p1^.p1^.p1=nil) then
  1029. begin
  1030. shift(10);
  1031. write(outfile,'procedure ',yyv[yysp-2]^.p1^.p2^.p);
  1032. if assigned(yyv[yysp-2]^.p1^.p1^.p2) then
  1033. write_args(outfile,yyv[yysp-2]^.p1^.p1^.p2);
  1034. if not IsExtern then
  1035. begin
  1036. write(extfile,'procedure ',yyv[yysp-2]^.p1^.p2^.p);
  1037. if assigned(yyv[yysp-2]^.p1^.p1^.p2) then
  1038. write_args(extfile,yyv[yysp-2]^.p1^.p1^.p2);
  1039. end;
  1040. end
  1041. else
  1042. begin
  1043. shift(9);
  1044. write(outfile,'function ',yyv[yysp-2]^.p1^.p2^.p);
  1045. if assigned(yyv[yysp-2]^.p1^.p1^.p2) then
  1046. write_args(outfile,yyv[yysp-2]^.p1^.p1^.p2);
  1047. write(outfile,':');
  1048. write_p_a_def(outfile,yyv[yysp-2]^.p1^.p1^.p1,yyv[yysp-4]);
  1049. if not IsExtern then
  1050. begin
  1051. write(extfile,'function ',yyv[yysp-2]^.p1^.p2^.p);
  1052. if assigned(yyv[yysp-2]^.p1^.p1^.p2) then
  1053. write_args(extfile,yyv[yysp-2]^.p1^.p1^.p2);
  1054. write(extfile,':');
  1055. write_p_a_def(extfile,yyv[yysp-2]^.p1^.p1^.p1,yyv[yysp-4]);
  1056. end;
  1057. end;
  1058. if assigned(yyv[yysp-1]) then
  1059. write(outfile,';systrap ',yyv[yysp-1]^.p);
  1060. (* No CDECL in interface for Uselib *)
  1061. if IsExtern and (not no_pop) then
  1062. write(outfile,';cdecl');
  1063. popshift;
  1064. if UseLib then
  1065. begin
  1066. if IsExtern then
  1067. begin
  1068. write (outfile,';external');
  1069. If UseName then
  1070. Write(outfile,' External_library name ''',yyv[yysp-2]^.p1^.p2^.p,'''');
  1071. end;
  1072. writeln(outfile,';');
  1073. end
  1074. else
  1075. begin
  1076. writeln(extfile,';');
  1077. writeln(outfile,';');
  1078. if not IsExtern then
  1079. begin
  1080. writeln(extfile,aktspace,'begin');
  1081. writeln(extfile,aktspace,' { You must implemented this function }');
  1082. writeln(extfile,aktspace,'end;');
  1083. end;
  1084. end;
  1085. IsExtern:=false;
  1086. if not compactmode then
  1087. writeln(outfile);
  1088. end
  1089. else (* yyv[yysp-2]^.p1^.p1^.typ=t_procdef *)
  1090. if assigned(yyv[yysp-2])and assigned(yyv[yysp-2]^.p1) then
  1091. begin
  1092. shift(2);
  1093. if block_type<>bt_var then
  1094. begin
  1095. if not(compactmode) then
  1096. writeln(outfile);
  1097. writeln(outfile,aktspace,'var');
  1098. end;
  1099. block_type:=bt_var;
  1100. shift(3);
  1101. IsExtern:=assigned(yyv[yysp-5])and(yyv[yysp-5]^.str='extern');
  1102. (* walk through all declarations *)
  1103. hp:=yyv[yysp-2];
  1104. while assigned(hp) and assigned(hp^.p1) do
  1105. begin
  1106. (* write new var name *)
  1107. if assigned(hp^.p1^.p2)and assigned(hp^.p1^.p2^.p)then
  1108. write(outfile,aktspace,hp^.p1^.p2^.p);
  1109. write(outfile,' : ');
  1110. shift(2);
  1111. (* write its type *)
  1112. write_p_a_def(outfile,hp^.p1^.p1,yyv[yysp-4]);
  1113. if assigned(hp^.p1^.p2)and assigned(hp^.p1^.p2^.p)then
  1114. begin
  1115. if isExtern then
  1116. write(outfile,';cvar;external ''')
  1117. else
  1118. write(outfile,';cvar;export ''');
  1119. write(outfile,hp^.p1^.p2^.p);
  1120. end;
  1121. writeln(outfile,''';');
  1122. popshift;
  1123. hp:=hp^.p2;
  1124. end;
  1125. popshift;
  1126. popshift;
  1127. end;
  1128. if assigned(yyv[yysp-5])then dispose(yyv[yysp-5],done);
  1129. if assigned(yyv[yysp-4])then dispose(yyv[yysp-4],done);
  1130. if assigned(yyv[yysp-2])then dispose(yyv[yysp-2],done);
  1131. end;
  1132. 20 : begin
  1133. if block_type<>bt_type then
  1134. begin
  1135. if not(compactmode) then
  1136. writeln(outfile);
  1137. writeln(outfile,aktspace,'type');
  1138. block_type:=bt_type;
  1139. end;
  1140. shift(3);
  1141. (* write new type name *)
  1142. TN:=strpas(yyv[yysp-1]^.p2^.p);
  1143. if RemoveUnderScore and (length(tn)>1) and (tn[1]='_') then
  1144. Delete(TN,1,1);
  1145. if UsePPointers and
  1146. ((yyv[yysp-1]^.typ=t_structdef) or (yyv[yysp-1]^.typ=t_uniondef)) then
  1147. begin
  1148. PN:='P'+TN;
  1149. if PrependTypes then
  1150. TN:='T'+TN;
  1151. Writeln (outfile,aktspace,PN,' = ^',TN,';');
  1152. end;
  1153. write(outfile,aktspace,TN,' = ');
  1154. shift(2);
  1155. hp:=yyv[yysp-1];
  1156. write_type_specifier(outfile,hp);
  1157. popshift;
  1158. (* enum_to_const can make a switch to const *)
  1159. if block_type=bt_type then
  1160. writeln(outfile,';');
  1161. writeln(outfile);
  1162. flush(outfile);
  1163. popshift;
  1164. if must_write_packed_field then
  1165. write_packed_fields_info(outfile,hp,TN);
  1166. if assigned(hp) then
  1167. dispose(hp,done);
  1168. end;
  1169. 21 : begin
  1170. if block_type<>bt_type then
  1171. begin
  1172. if not(compactmode) then
  1173. writeln(outfile);
  1174. writeln(outfile,aktspace,'type');
  1175. block_type:=bt_type;
  1176. end;
  1177. PN:=yyv[yysp-2]^.p;
  1178. TN:=yyv[yysp-1]^.p;
  1179. if RemoveUnderscore then
  1180. begin
  1181. if (length(pn)>1) and (PN[1]='_') then
  1182. Delete(Pn,1,1);
  1183. if (length(tn)>1) and (tN[1]='_') then
  1184. Delete(tn,1,1);
  1185. end;
  1186. if Uppercase(tn)<>Uppercase(pn) then
  1187. begin
  1188. shift(3);
  1189. writeln(outfile,aktspace,PN,' = ',TN,';');
  1190. popshift;
  1191. end;
  1192. if assigned(yyv[yysp-2]) then
  1193. dispose(yyv[yysp-2],done);
  1194. if assigned(yyv[yysp-1]) then
  1195. dispose(yyv[yysp-1],done);
  1196. end;
  1197. 22 : begin
  1198. if block_type<>bt_type then
  1199. begin
  1200. if not(compactmode) then
  1201. writeln(outfile);
  1202. writeln(outfile,aktspace,'type');
  1203. block_type:=bt_type;
  1204. end;
  1205. no_pop:=assigned(yyv[yysp-5]) and (yyv[yysp-5]^.str='no_pop');
  1206. shift(3);
  1207. (* walk through all declarations *)
  1208. hp:=yyv[yysp-4];
  1209. ph:=nil;
  1210. if assigned(hp) then
  1211. begin
  1212. hp:=yyv[yysp-1];
  1213. while assigned(hp^.p1) do
  1214. hp:=hp^.p1;
  1215. hp^.p1:=new(presobject,init_two(t_procdef,nil,yyv[yysp-1]));
  1216. hp:=yyv[yysp-4];
  1217. if assigned(hp^.p1) and assigned(hp^.p1^.p2) then
  1218. begin
  1219. writeln(outfile);
  1220. (* write new type name *)
  1221. write(outfile,aktspace,hp^.p1^.p2^.p);
  1222. write(outfile,' = ');
  1223. shift(2);
  1224. if assigned(ph) then
  1225. write_p_a_def(outfile,hp^.p1^.p1,ph)
  1226. else
  1227. write_p_a_def(outfile,hp^.p1^.p1,yyv[yysp-7]);
  1228. (* simple def ? keep the name for the other defs *)
  1229. if (ph=nil) and (hp^.p1^.p1=nil) then
  1230. ph:=hp^.p1^.p2;
  1231. popshift;
  1232. (* if no_pop it is normal fpc calling convention *)
  1233. if is_procvar and
  1234. (not no_pop) then
  1235. write(outfile,';cdecl');
  1236. writeln(outfile,';');
  1237. flush(outfile);
  1238. end;
  1239. end;
  1240. popshift;
  1241. if assigned(yyv[yysp-7])then
  1242. dispose(yyv[yysp-7],done);
  1243. if assigned(yyv[yysp-5])then
  1244. dispose(yyv[yysp-5],done);
  1245. if assigned(yyv[yysp-4])then (* disposes also yyv[yysp-1] *)
  1246. dispose(yyv[yysp-4],done);
  1247. end;
  1248. 23 : begin
  1249. if block_type<>bt_type then
  1250. begin
  1251. if not(compactmode) then
  1252. writeln(outfile);
  1253. writeln(outfile,aktspace,'type');
  1254. block_type:=bt_type;
  1255. end;
  1256. no_pop:=assigned(yyv[yysp-2]) and (yyv[yysp-2]^.str='no_pop');
  1257. shift(3);
  1258. (* walk through all declarations *)
  1259. hp:=yyv[yysp-1];
  1260. ph:=nil;
  1261. is_procvar:=false;
  1262. while assigned(hp) do
  1263. begin
  1264. if assigned(hp^.p1) and assigned(hp^.p1^.p2) then
  1265. begin
  1266. writeln(outfile);
  1267. (* write new type name *)
  1268. write(outfile,aktspace,hp^.p1^.p2^.p);
  1269. write(outfile,' = ');
  1270. shift(2);
  1271. if assigned(ph) then
  1272. write_p_a_def(outfile,hp^.p1^.p1,ph)
  1273. else
  1274. write_p_a_def(outfile,hp^.p1^.p1,yyv[yysp-3]);
  1275. (* simple def ? keep the name for the other defs *)
  1276. if (ph=nil) and (hp^.p1^.p1=nil) then
  1277. ph:=hp^.p1^.p2;
  1278. popshift;
  1279. (* if no_pop it is normal fpc calling convention *)
  1280. if is_procvar and
  1281. (not no_pop) then
  1282. write(outfile,';cdecl');
  1283. writeln(outfile,';');
  1284. flush(outfile);
  1285. end;
  1286. hp:=hp^.next;
  1287. end;
  1288. (* write tag name *)
  1289. if assigned(ph) and
  1290. ((yyv[yysp-3]^.typ=t_structdef) or
  1291. (yyv[yysp-3]^.typ=t_enumdef) or
  1292. (yyv[yysp-3]^.typ=t_uniondef)) and
  1293. assigned(yyv[yysp-3]^.p2) then
  1294. begin
  1295. writeln(outfile);
  1296. write(outfile,aktspace,yyv[yysp-3]^.p2^.p,' = ');
  1297. if assigned(ph) then
  1298. writeln(outfile,ph^.p,';')
  1299. else
  1300. begin
  1301. write_p_a_def(outfile,hp^.p1^.p1,yyv[yysp-3]);
  1302. writeln(outfile,';');
  1303. end;
  1304. end;
  1305. popshift;
  1306. if must_write_packed_field then
  1307. if assigned(ph) then
  1308. write_packed_fields_info(outfile,yyv[yysp-3],ph^.str)
  1309. else if assigned(yyv[yysp-3]^.p2) then
  1310. write_packed_fields_info(outfile,yyv[yysp-3],yyv[yysp-3]^.p2^.str);
  1311. if assigned(yyv[yysp-3])then
  1312. dispose(yyv[yysp-3],done);
  1313. if assigned(yyv[yysp-2])then
  1314. dispose(yyv[yysp-2],done);
  1315. if assigned(yyv[yysp-1])then
  1316. dispose(yyv[yysp-1],done);
  1317. end;
  1318. 24 : begin
  1319. if block_type<>bt_type then
  1320. begin
  1321. if not(compactmode) then
  1322. writeln(outfile);
  1323. writeln(outfile,aktspace,'type');
  1324. block_type:=bt_type;
  1325. end;
  1326. shift(3);
  1327. (* write as pointer *)
  1328. writeln(outfile);
  1329. writeln(outfile,'(* generic typedef *)');
  1330. writeln(outfile,aktspace,yyv[yysp-1]^.p,' = pointer;');
  1331. flush(outfile);
  1332. popshift;
  1333. if assigned(yyv[yysp-1]) then
  1334. dispose(yyv[yysp-1],done);
  1335. end;
  1336. 25 : begin
  1337. writeln(outfile,'in declaration at line ',line_no,' *)');
  1338. aktspace:='';
  1339. in_space_define:=0;
  1340. in_define:=false;
  1341. arglevel:=0;
  1342. if_nb:=0;
  1343. aktspace:=' ';
  1344. space_index:=1;
  1345. yyerrok;
  1346. end;
  1347. 26 : begin
  1348. writeln (outfile,aktspace,'{ was #define dname(params) def_expr }');
  1349. writeln (extfile,aktspace,'{ was #define dname(params) def_expr }');
  1350. if assigned(yyv[yysp-4]) then
  1351. begin
  1352. writeln (outfile,aktspace,'{ argument types are unknown }');
  1353. writeln (extfile,aktspace,'{ argument types are unknown }');
  1354. end;
  1355. if not assigned(yyv[yysp-1]^.p3) then
  1356. begin
  1357. writeln(outfile,aktspace,'{ return type might be wrong } ');
  1358. writeln(extfile,aktspace,'{ return type might be wrong } ');
  1359. end;
  1360. block_type:=bt_func;
  1361. write(outfile,aktspace,'function ',yyv[yysp-6]^.p);
  1362. write(extfile,aktspace,'function ',yyv[yysp-6]^.p);
  1363. if assigned(yyv[yysp-4]) then
  1364. begin
  1365. write(outfile,'(');
  1366. write(extfile,'(');
  1367. ph:=new(presobject,init_one(t_enumdef,yyv[yysp-4]));
  1368. write_def_params(outfile,ph);
  1369. write_def_params(extfile,ph);
  1370. if assigned(ph) then dispose(ph,done);
  1371. ph:=nil;
  1372. (* types are unknown *)
  1373. write(outfile,' : longint)');
  1374. write(extfile,' : longint)');
  1375. end;
  1376. if not assigned(yyv[yysp-1]^.p3) then
  1377. begin
  1378. writeln(outfile,' : longint;');
  1379. writeln(outfile,aktspace,' { return type might be wrong } ');
  1380. flush(outfile);
  1381. writeln(extfile,' : longint;');
  1382. writeln(extfile,aktspace,' { return type might be wrong } ');
  1383. end
  1384. else
  1385. begin
  1386. write(outfile,' : ');
  1387. write_type_specifier(outfile,yyv[yysp-1]^.p3);
  1388. writeln(outfile,';');
  1389. flush(outfile);
  1390. write(extfile,' : ');
  1391. write_type_specifier(extfile,yyv[yysp-1]^.p3);
  1392. writeln(extfile,';');
  1393. end;
  1394. writeln(outfile);
  1395. flush(outfile);
  1396. hp:=new(presobject,init_two(t_funcname,yyv[yysp-6],yyv[yysp-1]));
  1397. write_funexpr(extfile,hp);
  1398. writeln(extfile);
  1399. flush(extfile);
  1400. if assigned(hp)then dispose(hp,done);
  1401. end;
  1402. 27 : begin
  1403. writeln(outfile,'{$define ',yyv[yysp-2]^.p,'}');
  1404. flush(outfile);
  1405. if assigned(yyv[yysp-2])then
  1406. dispose(yyv[yysp-2],done);
  1407. end;
  1408. 28 : begin
  1409. writeln(outfile,'{$define ',yyv[yysp-1]^.p,'}');
  1410. flush(outfile);
  1411. if assigned(yyv[yysp-1])then
  1412. dispose(yyv[yysp-1],done);
  1413. end;
  1414. 29 : begin
  1415. if (yyv[yysp-1]^.typ=t_exprlist) and
  1416. yyv[yysp-1]^.p1^.is_const and
  1417. not assigned(yyv[yysp-1]^.next) then
  1418. begin
  1419. if block_type<>bt_const then
  1420. begin
  1421. writeln(outfile);
  1422. writeln(outfile,aktspace,'const');
  1423. end;
  1424. block_type:=bt_const;
  1425. aktspace:=aktspace+' ';
  1426. write(outfile,aktspace,yyv[yysp-3]^.p);
  1427. write(outfile,' = ');
  1428. flush(outfile);
  1429. write_expr(outfile,yyv[yysp-1]^.p1);
  1430. writeln(outfile,';');
  1431. dec(byte(aktspace[0]),3);
  1432. if assigned(yyv[yysp-3]) then
  1433. dispose(yyv[yysp-3],done);
  1434. if assigned(yyv[yysp-1]) then
  1435. dispose(yyv[yysp-1],done);
  1436. end
  1437. else
  1438. begin
  1439. aktspace:=aktspace+' ';
  1440. writeln (outfile,aktspace,'{ was #define dname def_expr }');
  1441. writeln (extfile,aktspace,'{ was #define dname def_expr }');
  1442. block_type:=bt_func;
  1443. write(outfile,aktspace,'function ',yyv[yysp-3]^.p);
  1444. write(extfile,aktspace,'function ',yyv[yysp-3]^.p);
  1445. if not assigned(yyv[yysp-1]^.p3) then
  1446. begin
  1447. writeln(outfile,' : longint;');
  1448. writeln(outfile,aktspace,' { return type might be wrong }');
  1449. flush(outfile);
  1450. writeln(extfile,' : longint;');
  1451. writeln(extfile,aktspace,' { return type might be wrong }');
  1452. end
  1453. else
  1454. begin
  1455. write(outfile,' : ');
  1456. write_type_specifier(outfile,yyv[yysp-1]^.p3);
  1457. writeln(outfile,';');
  1458. flush(outfile);
  1459. write(extfile,' : ');
  1460. write_type_specifier(extfile,yyv[yysp-1]^.p3);
  1461. writeln(extfile,';');
  1462. end;
  1463. writeln(outfile);
  1464. flush(outfile);
  1465. hp:=new(presobject,init_two(t_funcname,yyv[yysp-3],yyv[yysp-1]));
  1466. write_funexpr(extfile,hp);
  1467. dec(byte(aktspace[0]),2);
  1468. dispose(hp,done);
  1469. writeln(extfile);
  1470. flush(extfile);
  1471. end;
  1472. end;
  1473. 30 : begin
  1474. writeln(outfile,'in define line ',line_no,' *)');
  1475. aktspace:='';
  1476. in_space_define:=0;
  1477. in_define:=false;
  1478. arglevel:=0;
  1479. if_nb:=0;
  1480. aktspace:=' ';
  1481. space_index:=1;
  1482. yyerrok;
  1483. end;
  1484. 31 : begin
  1485. yyval:=yyv[yysp-1];
  1486. end;
  1487. 32 : begin
  1488. writeln(outfile,' in member_list *)');
  1489. yyerrok;
  1490. yyval:=nil;
  1491. end;
  1492. 33 : begin
  1493. yyval:=yyv[yysp-1];
  1494. end;
  1495. 34 : begin
  1496. writeln(outfile,' in enum_list *)');
  1497. yyerrok;
  1498. yyval:=nil;
  1499. end;
  1500. 35 : begin
  1501. if not is_packed then
  1502. writeln(outfile,'{$PACKRECORDS 1}');
  1503. is_packed:=true;
  1504. yyval:=new(presobject,init_two(t_structdef,yyv[yysp-1],yyv[yysp-2]));
  1505. end;
  1506. 36 : begin
  1507. if is_packed then
  1508. writeln(outfile,'{$PACKRECORDS 4}');
  1509. is_packed:=false;
  1510. yyval:=new(presobject,init_two(t_structdef,yyv[yysp-0],yyv[yysp-1]));
  1511. end;
  1512. 37 : begin
  1513. if not is_packed then
  1514. writeln(outfile,'{$PACKRECORDS 1}');
  1515. is_packed:=true;
  1516. yyval:=new(presobject,init_two(t_uniondef,yyv[yysp-1],yyv[yysp-2]));
  1517. end;
  1518. 38 : begin
  1519. yyval:=new(presobject,init_two(t_uniondef,yyv[yysp-0],yyv[yysp-1]));
  1520. end;
  1521. 39 : begin
  1522. yyval:=new(presobject,init_two(t_uniondef,nil,yyv[yysp-0]));
  1523. end;
  1524. 40 : begin
  1525. yyval:=new(presobject,init_two(t_structdef,nil,yyv[yysp-0]));
  1526. end;
  1527. 41 : begin
  1528. yyval:=new(presobject,init_two(t_enumdef,yyv[yysp-0],yyv[yysp-1]));
  1529. end;
  1530. 42 : begin
  1531. yyval:=new(presobject,init_two(t_enumdef,nil,yyv[yysp-0]));
  1532. end;
  1533. 43 : begin
  1534. if not stripinfo then
  1535. writeln(outfile,'(* Const before type ignored *)');
  1536. yyval:=yyv[yysp-0];
  1537. end;
  1538. 44 : begin
  1539. if not is_packed then
  1540. writeln(outfile,'{$PACKRECORDS 1}');
  1541. is_packed:=true;
  1542. yyval:=new(presobject,init_one(t_uniondef,yyv[yysp-1]));
  1543. end;
  1544. 45 : begin
  1545. yyval:=new(presobject,init_one(t_uniondef,yyv[yysp-0]));
  1546. end;
  1547. 46 : begin
  1548. if not is_packed then
  1549. writeln(outfile,'{$PACKRECORDS 1}');
  1550. is_packed:=true;
  1551. yyval:=new(presobject,init_one(t_structdef,yyv[yysp-1]));
  1552. end;
  1553. 47 : begin
  1554. if is_packed then
  1555. writeln(outfile,'{$PACKRECORDS 4}');
  1556. is_packed:=false;
  1557. yyval:=new(presobject,init_one(t_structdef,yyv[yysp-0]));
  1558. end;
  1559. 48 : begin
  1560. yyval:=new(presobject,init_one(t_enumdef,yyv[yysp-0]));
  1561. end;
  1562. 49 : begin
  1563. yyval:=yyv[yysp-0];
  1564. end;
  1565. 50 : begin
  1566. yyval:=yyv[yysp-0];
  1567. end;
  1568. 51 : begin
  1569. yyval:=new(presobject,init_one(t_memberdeclist,yyv[yysp-1]));
  1570. yyval^.next:=yyv[yysp-0];
  1571. end;
  1572. 52 : begin
  1573. yyval:=new(presobject,init_one(t_memberdeclist,yyv[yysp-0]));
  1574. end;
  1575. 53 : begin
  1576. yyval:=new(presobject,init_two(t_memberdec,yyv[yysp-2],yyv[yysp-1]));
  1577. end;
  1578. 54 : begin
  1579. (*dname*)
  1580. yyval:=new(presobject,init_id(act_token));
  1581. end;
  1582. 55 : begin
  1583. yyval:=new(presobject,init_id(INT_STR));
  1584. end;
  1585. 56 : begin
  1586. yyval:=new(presobject,init_id(UINT_STR));
  1587. end;
  1588. 57 : begin
  1589. yyval:=new(presobject,init_id(INT_STR));
  1590. end;
  1591. 58 : begin
  1592. yyval:=new(presobject,init_id(REAL_STR));
  1593. end;
  1594. 59 : begin
  1595. yyval:=new(presobject,init_id(INT_STR));
  1596. end;
  1597. 60 : begin
  1598. yyval:=new(presobject,init_id(INT64_STR));
  1599. end;
  1600. 61 : begin
  1601. yyval:=new(presobject,init_id(QWORD_STR));
  1602. end;
  1603. 62 : begin
  1604. yyval:=new(presobject,init_id(INT64_STR));
  1605. end;
  1606. 63 : begin
  1607. yyval:=new(presobject,init_id(QWORD_STR));
  1608. end;
  1609. 64 : begin
  1610. yyval:=new(presobject,init_id(UINT_STR));
  1611. end;
  1612. 65 : begin
  1613. yyval:=new(presobject,init_id(UINT_STR));
  1614. end;
  1615. 66 : begin
  1616. yyval:=new(presobject,init_id(UINT_STR));
  1617. end;
  1618. 67 : begin
  1619. yyval:=new(presobject,init_id(USHORT_STR));
  1620. end;
  1621. 68 : begin
  1622. yyval:=new(presobject,init_id(UCHAR_STR));
  1623. end;
  1624. 69 : begin
  1625. yyval:=new(presobject,init_no(t_void));
  1626. end;
  1627. 70 : begin
  1628. yyval:=new(presobject,init_id(SHORT_STR));
  1629. end;
  1630. 71 : begin
  1631. yyval:=new(presobject,init_id(CHAR_STR));
  1632. end;
  1633. 72 : begin
  1634. yyval:=yyv[yysp-0];
  1635. end;
  1636. 73 : begin
  1637. yyval:=yyv[yysp-0];
  1638. tn:=yyval^.str;
  1639. if removeunderscore and
  1640. (length(tn)>1) and (tn[1]='_') then
  1641. yyval^.setstr(Copy(tn,2,length(tn)-1));
  1642. end;
  1643. 74 : begin
  1644. yyval:=yyv[yysp-2];
  1645. hp:=yyv[yysp-2];
  1646. while assigned(hp^.next) do
  1647. hp:=hp^.next;
  1648. hp^.next:=new(presobject,init_one(t_declist,yyv[yysp-0]));
  1649. end;
  1650. 75 : begin
  1651. writeln(outfile,' in declarator_list *)');
  1652. yyval:=yyv[yysp-0];
  1653. yyerrok;
  1654. end;
  1655. 76 : begin
  1656. writeln(outfile,' in declarator_list *)');
  1657. yyerrok;
  1658. end;
  1659. 77 : begin
  1660. yyval:=new(presobject,init_one(t_declist,yyv[yysp-0]));
  1661. end;
  1662. 78 : begin
  1663. yyval:=new(presobject,init_two(t_arg,yyv[yysp-1],yyv[yysp-0]));
  1664. end;
  1665. 79 : begin
  1666. hp:=new(presobject,init_one(t_pointerdef,yyv[yysp-2]));
  1667. yyval:=new(presobject,init_two(t_arg,hp,yyv[yysp-0]));
  1668. end;
  1669. 80 : begin
  1670. yyval:=new(presobject,init_two(t_arg,yyv[yysp-1],yyv[yysp-0]));
  1671. end;
  1672. 81 : begin
  1673. yyval:=new(presobject,init_two(t_arglist,yyv[yysp-0],nil));
  1674. end;
  1675. 82 : begin
  1676. yyval:=new(presobject,init_two(t_arglist,yyv[yysp-2],nil));
  1677. yyval^.next:=yyv[yysp-0];
  1678. end;
  1679. 83 : begin
  1680. yyval:=new(presobject,init_two(t_arglist,ellipsisarg,nil));
  1681. (*** ELLIPSIS PROBLEM ***)
  1682. end;
  1683. 84 : begin
  1684. yyval:=new(presobject,init_id('far'));
  1685. end;
  1686. 85 : begin
  1687. yyval:=new(presobject,init_id('near'));
  1688. end;
  1689. 86 : begin
  1690. yyval:=new(presobject,init_id('huge'));
  1691. end;
  1692. 87 : begin
  1693. if not stripinfo then
  1694. writeln(outfile,'(* Const before declarator ignored *)');
  1695. yyval:=yyv[yysp-0];
  1696. end;
  1697. 88 : begin
  1698. if not stripinfo then
  1699. writeln(outfile,aktspace,'(* ',yyv[yysp-2]^.p,' ignored *)');
  1700. dispose(yyv[yysp-2],done);
  1701. hp:=yyv[yysp-0];
  1702. yyval:=hp;
  1703. while assigned(hp^.p1) do
  1704. hp:=hp^.p1;
  1705. hp^.p1:=new(presobject,init_one(t_pointerdef,nil));
  1706. end;
  1707. 89 : begin
  1708. (* %prec PSTAR this was wrong!! *)
  1709. hp:=yyv[yysp-0];
  1710. yyval:=hp;
  1711. while assigned(hp^.p1) do
  1712. hp:=hp^.p1;
  1713. hp^.p1:=new(presobject,init_one(t_pointerdef,nil));
  1714. end;
  1715. 90 : begin
  1716. hp:=yyv[yysp-0];
  1717. yyval:=hp;
  1718. while assigned(hp^.p1) do
  1719. hp:=hp^.p1;
  1720. hp^.p1:=new(presobject,init_one(t_addrdef,nil));
  1721. end;
  1722. 91 : begin
  1723. (* size specifier supported *)
  1724. hp:=new(presobject,init_one(t_size_specifier,yyv[yysp-0]));
  1725. yyval:=new(presobject,init_three(t_dec,nil,yyv[yysp-2],hp));
  1726. end;
  1727. 92 : begin
  1728. if not stripinfo then
  1729. writeln(outfile,'(* Warning : default value for ',yyv[yysp-2]^.p,' ignored *)');
  1730. hp:=new(presobject,init_one(t_default_value,yyv[yysp-0]));
  1731. yyval:=new(presobject,init_three(t_dec,nil,yyv[yysp-2],hp));
  1732. end;
  1733. 93 : begin
  1734. yyval:=new(presobject,init_two(t_dec,nil,yyv[yysp-0]));
  1735. end;
  1736. 94 : begin
  1737. hp:=yyv[yysp-3];
  1738. yyval:=hp;
  1739. while assigned(hp^.p1) do
  1740. hp:=hp^.p1;
  1741. hp^.p1:=new(presobject,init_two(t_procdef,nil,yyv[yysp-1]));
  1742. end;
  1743. 95 : begin
  1744. hp:=yyv[yysp-1];
  1745. yyval:=hp;
  1746. while assigned(hp^.p1) do
  1747. hp:=hp^.p1;
  1748. hp^.p1:=new(presobject,init_two(t_procdef,nil,nil));
  1749. end;
  1750. 96 : begin
  1751. hp:=yyv[yysp-3];
  1752. yyval:=hp;
  1753. while assigned(hp^.p1) do
  1754. hp:=hp^.p1;
  1755. hp^.p1:=new(presobject,init_two(t_arraydef,nil,yyv[yysp-1]));
  1756. end;
  1757. 97 : begin
  1758. yyval:=yyv[yysp-1];
  1759. end;
  1760. 98 : begin
  1761. yyval := yyv[yysp-1];
  1762. end;
  1763. 99 : begin
  1764. yyval := yyv[yysp-2];
  1765. end;
  1766. 100 : begin
  1767. if not stripinfo then
  1768. writeln(outfile,'(* Const before abstract_declarator ignored *)');
  1769. yyval:=yyv[yysp-0];
  1770. end;
  1771. 101 : begin
  1772. if not stripinfo then
  1773. writeln(outfile,aktspace,'(* ',yyv[yysp-2]^.p,' ignored *)');
  1774. dispose(yyv[yysp-2],done);
  1775. hp:=yyv[yysp-0];
  1776. yyval:=hp;
  1777. while assigned(hp^.p1) do
  1778. hp:=hp^.p1;
  1779. hp^.p1:=new(presobject,init_one(t_pointerdef,nil));
  1780. end;
  1781. 102 : begin
  1782. hp:=yyv[yysp-0];
  1783. yyval:=hp;
  1784. while assigned(hp^.p1) do
  1785. hp:=hp^.p1;
  1786. hp^.p1:=new(presobject,init_one(t_pointerdef,nil));
  1787. end;
  1788. 103 : begin
  1789. hp:=yyv[yysp-3];
  1790. yyval:=hp;
  1791. while assigned(hp^.p1) do
  1792. hp:=hp^.p1;
  1793. hp^.p1:=new(presobject,init_two(t_procdef,nil,yyv[yysp-1]));
  1794. end;
  1795. 104 : begin
  1796. hp:=yyv[yysp-1];
  1797. yyval:=hp;
  1798. while assigned(hp^.p1) do
  1799. hp:=hp^.p1;
  1800. hp^.p1:=new(presobject,init_two(t_procdef,nil,nil));
  1801. end;
  1802. 105 : begin
  1803. hp:=yyv[yysp-3];
  1804. yyval:=hp;
  1805. while assigned(hp^.p1) do
  1806. hp:=hp^.p1;
  1807. hp^.p1:=new(presobject,init_two(t_arraydef,nil,yyv[yysp-1]));
  1808. end;
  1809. 106 : begin
  1810. yyval:=yyv[yysp-1];
  1811. end;
  1812. 107 : begin
  1813. yyval:=new(presobject,init_two(t_dec,nil,nil));
  1814. end;
  1815. 108 : begin
  1816. yyval:=yyv[yysp-0];
  1817. end;
  1818. 109 : begin
  1819. yyval:=new(presobject,init_bop(' = ',yyv[yysp-2],yyv[yysp-0]));
  1820. end;
  1821. 110 : begin
  1822. yyval:=new(presobject,init_bop(' <> ',yyv[yysp-2],yyv[yysp-0]));
  1823. end;
  1824. 111 : begin
  1825. yyval:=new(presobject,init_bop(' > ',yyv[yysp-2],yyv[yysp-0]));
  1826. end;
  1827. 112 : begin
  1828. yyval:=new(presobject,init_bop(' >= ',yyv[yysp-2],yyv[yysp-0]));
  1829. end;
  1830. 113 : begin
  1831. yyval:=new(presobject,init_bop(' < ',yyv[yysp-2],yyv[yysp-0]));
  1832. end;
  1833. 114 : begin
  1834. yyval:=new(presobject,init_bop(' <= ',yyv[yysp-2],yyv[yysp-0]));
  1835. end;
  1836. 115 : begin
  1837. yyval:=new(presobject,init_bop(' + ',yyv[yysp-2],yyv[yysp-0]));
  1838. end;
  1839. 116 : begin
  1840. yyval:=new(presobject,init_bop(' - ',yyv[yysp-2],yyv[yysp-0]));
  1841. end;
  1842. 117 : begin
  1843. yyval:=new(presobject,init_bop(' * ',yyv[yysp-2],yyv[yysp-0]));
  1844. end;
  1845. 118 : begin
  1846. yyval:=new(presobject,init_bop(' / ',yyv[yysp-2],yyv[yysp-0]));
  1847. end;
  1848. 119 : begin
  1849. yyval:=new(presobject,init_bop(' or ',yyv[yysp-2],yyv[yysp-0]));
  1850. end;
  1851. 120 : begin
  1852. yyval:=new(presobject,init_bop(' and ',yyv[yysp-2],yyv[yysp-0]));
  1853. end;
  1854. 121 : begin
  1855. yyval:=new(presobject,init_bop(' not ',yyv[yysp-2],yyv[yysp-0]));
  1856. end;
  1857. 122 : begin
  1858. yyval:=new(presobject,init_bop(' shl ',yyv[yysp-2],yyv[yysp-0]));
  1859. end;
  1860. 123 : begin
  1861. yyval:=new(presobject,init_bop(' shr ',yyv[yysp-2],yyv[yysp-0]));
  1862. end;
  1863. 124 : begin
  1864. yyv[yysp-0]^.p1:=yyv[yysp-2];
  1865. yyval:=yyv[yysp-0];
  1866. inc(if_nb);
  1867. yyval^.p:=strpnew('if_local'+str(if_nb));
  1868. end;
  1869. 125 : begin
  1870. yyval:=yyv[yysp-0];
  1871. end;
  1872. 126 : begin
  1873. (* if A then B else C *)
  1874. yyval:=new(presobject,init_three(t_ifexpr,nil,yyv[yysp-2],yyv[yysp-0]));
  1875. end;
  1876. 127 : begin
  1877. yyval:=yyv[yysp-0];
  1878. end;
  1879. 128 : begin
  1880. yyval:=nil;
  1881. end;
  1882. 129 : begin
  1883. yyval:=yyv[yysp-0];
  1884. end;
  1885. 130 : begin
  1886. (* remove L prefix for widestrings *)
  1887. s:=act_token;
  1888. if Win32headers and (s[1]='L') then
  1889. delete(s,1,1);
  1890. yyval:=new(presobject,init_id(''''+copy(s,2,length(s)-2)+''''));
  1891. end;
  1892. 131 : begin
  1893. yyval:=new(presobject,init_id(act_token));
  1894. end;
  1895. 132 : begin
  1896. yyval:=new(presobject,init_bop('.',yyv[yysp-2],yyv[yysp-0]));
  1897. end;
  1898. 133 : begin
  1899. yyval:=new(presobject,init_bop('^.',yyv[yysp-2],yyv[yysp-0]));
  1900. end;
  1901. 134 : begin
  1902. yyval:=new(presobject,init_preop('-',yyv[yysp-0]));
  1903. end;
  1904. 135 : begin
  1905. yyval:=new(presobject,init_preop('@',yyv[yysp-0]));
  1906. end;
  1907. 136 : begin
  1908. yyval:=new(presobject,init_preop(' not ',yyv[yysp-0]));
  1909. end;
  1910. 137 : begin
  1911. if assigned(yyv[yysp-0]) then
  1912. yyval:=new(presobject,init_two(t_typespec,yyv[yysp-2],yyv[yysp-0]))
  1913. else
  1914. yyval:=yyv[yysp-2];
  1915. end;
  1916. 138 : begin
  1917. yyval:=new(presobject,init_two(t_typespec,yyv[yysp-2],yyv[yysp-0]));
  1918. end;
  1919. 139 : begin
  1920. hp:=new(presobject,init_one(t_pointerdef,yyv[yysp-3]));
  1921. yyval:=new(presobject,init_two(t_typespec,hp,yyv[yysp-0]));
  1922. end;
  1923. 140 : begin
  1924. if not stripinfo then
  1925. writeln(outfile,aktspace,'(* ',yyv[yysp-3]^.p,' ignored *)');
  1926. dispose(yyv[yysp-3],done);
  1927. write_type_specifier(outfile,yyv[yysp-4]);
  1928. writeln(outfile,' ignored *)');
  1929. hp:=new(presobject,init_one(t_pointerdef,yyv[yysp-4]));
  1930. yyval:=new(presobject,init_two(t_typespec,hp,yyv[yysp-0]));
  1931. end;
  1932. 141 : begin
  1933. hp:=new(presobject,init_one(t_exprlist,yyv[yysp-3]));
  1934. yyval:=new(presobject,init_three(t_funexprlist,hp,yyv[yysp-1],nil));
  1935. end;
  1936. 142 : begin
  1937. yyval:=yyv[yysp-1];
  1938. end;
  1939. 143 : begin
  1940. (*enum_element COMMA enum_list *)
  1941. yyval:=yyv[yysp-2];
  1942. yyval^.next:=yyv[yysp-0];
  1943. end;
  1944. 144 : begin
  1945. yyval:=yyv[yysp-0];
  1946. end;
  1947. 145 : begin
  1948. (* empty enum list *)
  1949. yyval:=nil;
  1950. end;
  1951. 146 : begin
  1952. begin (*enum_element: dname _ASSIGN expr *)
  1953. yyval:=new(presobject,init_two(t_enumlist,yyv[yysp-2],yyv[yysp-0]));
  1954. end;
  1955. end;
  1956. 147 : begin
  1957. begin (*enum_element: dname*)
  1958. yyval:=new(presobject,init_two(t_enumlist,yyv[yysp-0],nil));
  1959. end;
  1960. end;
  1961. 148 : begin
  1962. if yyv[yysp-0]^.typ=t_funexprlist then
  1963. yyval:=yyv[yysp-0]
  1964. else
  1965. yyval:=new(presobject,init_two(t_exprlist,yyv[yysp-0],nil));
  1966. (* if here is a type specifier
  1967. we know the return type *)
  1968. if (yyv[yysp-0]^.typ=t_typespec) then
  1969. yyval^.p3:=yyv[yysp-0]^.p1^.get_copy;
  1970. end;
  1971. 149 : begin
  1972. (*exprlist COMMA expr*)
  1973. yyval:=yyv[yysp-2];
  1974. yyv[yysp-2]^.next:=yyv[yysp-0];
  1975. end;
  1976. 150 : begin
  1977. yyval:=yyv[yysp-0];
  1978. end;
  1979. 151 : begin
  1980. (* empty expression list *)
  1981. yyval:=nil;
  1982. end;
  1983. 152 : begin
  1984. yyval:=new(presobject,init_one(t_exprlist,yyv[yysp-0]));
  1985. end;
  1986. end;
  1987. end(*yyaction*);
  1988. (* parse table: *)
  1989. type YYARec = record
  1990. sym, act : Integer;
  1991. end;
  1992. YYRRec = record
  1993. len, sym : Integer;
  1994. end;
  1995. const
  1996. yynacts = 1981;
  1997. yyngotos = 318;
  1998. yynstates = 267;
  1999. yynrules = 152;
  2000. yya : array [1..yynacts] of YYARec = (
  2001. { 0: }
  2002. ( sym: 256; act: 7 ),
  2003. ( sym: 257; act: 8 ),
  2004. ( sym: 258; act: 9 ),
  2005. ( sym: 268; act: 10 ),
  2006. ( sym: 269; act: 11 ),
  2007. ( sym: 270; act: 12 ),
  2008. ( sym: 288; act: 13 ),
  2009. ( sym: 271; act: -8 ),
  2010. ( sym: 274; act: -8 ),
  2011. ( sym: 275; act: -8 ),
  2012. ( sym: 276; act: -8 ),
  2013. ( sym: 277; act: -8 ),
  2014. ( sym: 278; act: -8 ),
  2015. ( sym: 279; act: -8 ),
  2016. ( sym: 280; act: -8 ),
  2017. ( sym: 281; act: -8 ),
  2018. { 1: }
  2019. ( sym: 260; act: 14 ),
  2020. { 2: }
  2021. ( sym: 268; act: 20 ),
  2022. ( sym: 269; act: 21 ),
  2023. ( sym: 270; act: 22 ),
  2024. ( sym: 271; act: 23 ),
  2025. ( sym: 274; act: 24 ),
  2026. ( sym: 275; act: 25 ),
  2027. ( sym: 276; act: 26 ),
  2028. ( sym: 277; act: 27 ),
  2029. ( sym: 278; act: 28 ),
  2030. ( sym: 279; act: 29 ),
  2031. ( sym: 280; act: 30 ),
  2032. ( sym: 281; act: 31 ),
  2033. { 3: }
  2034. { 4: }
  2035. { 5: }
  2036. ( sym: 256; act: 7 ),
  2037. ( sym: 257; act: 8 ),
  2038. ( sym: 258; act: 9 ),
  2039. ( sym: 268; act: 10 ),
  2040. ( sym: 269; act: 11 ),
  2041. ( sym: 270; act: 12 ),
  2042. ( sym: 288; act: 13 ),
  2043. ( sym: 0; act: -1 ),
  2044. ( sym: 271; act: -8 ),
  2045. ( sym: 274; act: -8 ),
  2046. ( sym: 275; act: -8 ),
  2047. ( sym: 276; act: -8 ),
  2048. ( sym: 277; act: -8 ),
  2049. ( sym: 278; act: -8 ),
  2050. ( sym: 279; act: -8 ),
  2051. ( sym: 280; act: -8 ),
  2052. ( sym: 281; act: -8 ),
  2053. { 6: }
  2054. ( sym: 0; act: 0 ),
  2055. { 7: }
  2056. { 8: }
  2057. ( sym: 268; act: 37 ),
  2058. ( sym: 269; act: 21 ),
  2059. ( sym: 270; act: 22 ),
  2060. ( sym: 271; act: 23 ),
  2061. ( sym: 274; act: 24 ),
  2062. ( sym: 275; act: 25 ),
  2063. ( sym: 276; act: 26 ),
  2064. ( sym: 277; act: 27 ),
  2065. ( sym: 278; act: 28 ),
  2066. ( sym: 279; act: 29 ),
  2067. ( sym: 280; act: 30 ),
  2068. ( sym: 281; act: 31 ),
  2069. { 9: }
  2070. ( sym: 271; act: 23 ),
  2071. { 10: }
  2072. ( sym: 271; act: 23 ),
  2073. { 11: }
  2074. ( sym: 271; act: 23 ),
  2075. { 12: }
  2076. ( sym: 271; act: 23 ),
  2077. { 13: }
  2078. { 14: }
  2079. { 15: }
  2080. { 16: }
  2081. { 17: }
  2082. { 18: }
  2083. ( sym: 289; act: 43 ),
  2084. ( sym: 290; act: 44 ),
  2085. ( sym: 291; act: 45 ),
  2086. ( sym: 292; act: 46 ),
  2087. ( sym: 293; act: 47 ),
  2088. ( sym: 294; act: 48 ),
  2089. ( sym: 295; act: 49 ),
  2090. ( sym: 256; act: -16 ),
  2091. ( sym: 262; act: -16 ),
  2092. ( sym: 271; act: -16 ),
  2093. ( sym: 281; act: -16 ),
  2094. ( sym: 282; act: -16 ),
  2095. ( sym: 283; act: -16 ),
  2096. ( sym: 284; act: -16 ),
  2097. ( sym: 308; act: -16 ),
  2098. ( sym: 313; act: -16 ),
  2099. { 19: }
  2100. { 20: }
  2101. ( sym: 256; act: 51 ),
  2102. ( sym: 266; act: 52 ),
  2103. ( sym: 271; act: 23 ),
  2104. { 21: }
  2105. ( sym: 256; act: 51 ),
  2106. ( sym: 266; act: 52 ),
  2107. ( sym: 271; act: 23 ),
  2108. { 22: }
  2109. ( sym: 256; act: 55 ),
  2110. ( sym: 266; act: 56 ),
  2111. ( sym: 271; act: 23 ),
  2112. { 23: }
  2113. { 24: }
  2114. { 25: }
  2115. ( sym: 274; act: 57 ),
  2116. ( sym: 276; act: 58 ),
  2117. ( sym: 277; act: 59 ),
  2118. ( sym: 279; act: 60 ),
  2119. ( sym: 256; act: -66 ),
  2120. ( sym: 261; act: -66 ),
  2121. ( sym: 262; act: -66 ),
  2122. ( sym: 263; act: -66 ),
  2123. ( sym: 264; act: -66 ),
  2124. ( sym: 271; act: -66 ),
  2125. ( sym: 281; act: -66 ),
  2126. ( sym: 282; act: -66 ),
  2127. ( sym: 283; act: -66 ),
  2128. ( sym: 284; act: -66 ),
  2129. ( sym: 289; act: -66 ),
  2130. ( sym: 290; act: -66 ),
  2131. ( sym: 291; act: -66 ),
  2132. ( sym: 292; act: -66 ),
  2133. ( sym: 293; act: -66 ),
  2134. ( sym: 294; act: -66 ),
  2135. ( sym: 295; act: -66 ),
  2136. ( sym: 308; act: -66 ),
  2137. ( sym: 313; act: -66 ),
  2138. { 26: }
  2139. ( sym: 276; act: 61 ),
  2140. ( sym: 277; act: 62 ),
  2141. ( sym: 256; act: -57 ),
  2142. ( sym: 261; act: -57 ),
  2143. ( sym: 262; act: -57 ),
  2144. ( sym: 263; act: -57 ),
  2145. ( sym: 264; act: -57 ),
  2146. ( sym: 271; act: -57 ),
  2147. ( sym: 281; act: -57 ),
  2148. ( sym: 282; act: -57 ),
  2149. ( sym: 283; act: -57 ),
  2150. ( sym: 284; act: -57 ),
  2151. ( sym: 289; act: -57 ),
  2152. ( sym: 290; act: -57 ),
  2153. ( sym: 291; act: -57 ),
  2154. ( sym: 292; act: -57 ),
  2155. ( sym: 293; act: -57 ),
  2156. ( sym: 294; act: -57 ),
  2157. ( sym: 295; act: -57 ),
  2158. ( sym: 308; act: -57 ),
  2159. ( sym: 313; act: -57 ),
  2160. { 27: }
  2161. { 28: }
  2162. { 29: }
  2163. { 30: }
  2164. { 31: }
  2165. ( sym: 268; act: 20 ),
  2166. ( sym: 269; act: 21 ),
  2167. ( sym: 270; act: 22 ),
  2168. ( sym: 271; act: 23 ),
  2169. ( sym: 274; act: 24 ),
  2170. ( sym: 275; act: 25 ),
  2171. ( sym: 276; act: 26 ),
  2172. ( sym: 277; act: 27 ),
  2173. ( sym: 278; act: 28 ),
  2174. ( sym: 279; act: 29 ),
  2175. ( sym: 280; act: 30 ),
  2176. ( sym: 281; act: 31 ),
  2177. { 32: }
  2178. { 33: }
  2179. { 34: }
  2180. ( sym: 260; act: 64 ),
  2181. ( sym: 286; act: 65 ),
  2182. { 35: }
  2183. ( sym: 262; act: 67 ),
  2184. ( sym: 289; act: 43 ),
  2185. ( sym: 290; act: 44 ),
  2186. ( sym: 291; act: 45 ),
  2187. ( sym: 292; act: 46 ),
  2188. ( sym: 293; act: 47 ),
  2189. ( sym: 294; act: 48 ),
  2190. ( sym: 295; act: 49 ),
  2191. ( sym: 256; act: -16 ),
  2192. ( sym: 271; act: -16 ),
  2193. ( sym: 281; act: -16 ),
  2194. ( sym: 282; act: -16 ),
  2195. ( sym: 283; act: -16 ),
  2196. ( sym: 284; act: -16 ),
  2197. ( sym: 308; act: -16 ),
  2198. ( sym: 313; act: -16 ),
  2199. { 36: }
  2200. ( sym: 260; act: 68 ),
  2201. ( sym: 256; act: -73 ),
  2202. ( sym: 262; act: -73 ),
  2203. ( sym: 271; act: -73 ),
  2204. ( sym: 281; act: -73 ),
  2205. ( sym: 282; act: -73 ),
  2206. ( sym: 283; act: -73 ),
  2207. ( sym: 284; act: -73 ),
  2208. ( sym: 289; act: -73 ),
  2209. ( sym: 290; act: -73 ),
  2210. ( sym: 291; act: -73 ),
  2211. ( sym: 292; act: -73 ),
  2212. ( sym: 293; act: -73 ),
  2213. ( sym: 294; act: -73 ),
  2214. ( sym: 295; act: -73 ),
  2215. ( sym: 308; act: -73 ),
  2216. ( sym: 313; act: -73 ),
  2217. { 37: }
  2218. ( sym: 256; act: 51 ),
  2219. ( sym: 266; act: 52 ),
  2220. ( sym: 271; act: 23 ),
  2221. { 38: }
  2222. ( sym: 262; act: 70 ),
  2223. ( sym: 286; act: 71 ),
  2224. ( sym: 287; act: 72 ),
  2225. { 39: }
  2226. ( sym: 256; act: 51 ),
  2227. ( sym: 266; act: 52 ),
  2228. ( sym: 260; act: -40 ),
  2229. ( sym: 261; act: -40 ),
  2230. ( sym: 262; act: -40 ),
  2231. ( sym: 263; act: -40 ),
  2232. ( sym: 264; act: -40 ),
  2233. ( sym: 271; act: -40 ),
  2234. ( sym: 281; act: -40 ),
  2235. ( sym: 282; act: -40 ),
  2236. ( sym: 283; act: -40 ),
  2237. ( sym: 284; act: -40 ),
  2238. ( sym: 289; act: -40 ),
  2239. ( sym: 290; act: -40 ),
  2240. ( sym: 291; act: -40 ),
  2241. ( sym: 292; act: -40 ),
  2242. ( sym: 293; act: -40 ),
  2243. ( sym: 294; act: -40 ),
  2244. ( sym: 295; act: -40 ),
  2245. ( sym: 308; act: -40 ),
  2246. ( sym: 313; act: -40 ),
  2247. { 40: }
  2248. ( sym: 256; act: 51 ),
  2249. ( sym: 266; act: 52 ),
  2250. ( sym: 260; act: -39 ),
  2251. ( sym: 261; act: -39 ),
  2252. ( sym: 262; act: -39 ),
  2253. ( sym: 263; act: -39 ),
  2254. ( sym: 264; act: -39 ),
  2255. ( sym: 271; act: -39 ),
  2256. ( sym: 281; act: -39 ),
  2257. ( sym: 282; act: -39 ),
  2258. ( sym: 283; act: -39 ),
  2259. ( sym: 284; act: -39 ),
  2260. ( sym: 289; act: -39 ),
  2261. ( sym: 290; act: -39 ),
  2262. ( sym: 291; act: -39 ),
  2263. ( sym: 292; act: -39 ),
  2264. ( sym: 293; act: -39 ),
  2265. ( sym: 294; act: -39 ),
  2266. ( sym: 295; act: -39 ),
  2267. ( sym: 308; act: -39 ),
  2268. ( sym: 313; act: -39 ),
  2269. { 41: }
  2270. ( sym: 256; act: 55 ),
  2271. ( sym: 266; act: 56 ),
  2272. ( sym: 260; act: -42 ),
  2273. ( sym: 261; act: -42 ),
  2274. ( sym: 262; act: -42 ),
  2275. ( sym: 263; act: -42 ),
  2276. ( sym: 264; act: -42 ),
  2277. ( sym: 271; act: -42 ),
  2278. ( sym: 281; act: -42 ),
  2279. ( sym: 282; act: -42 ),
  2280. ( sym: 283; act: -42 ),
  2281. ( sym: 284; act: -42 ),
  2282. ( sym: 289; act: -42 ),
  2283. ( sym: 290; act: -42 ),
  2284. ( sym: 291; act: -42 ),
  2285. ( sym: 292; act: -42 ),
  2286. ( sym: 293; act: -42 ),
  2287. ( sym: 294; act: -42 ),
  2288. ( sym: 295; act: -42 ),
  2289. ( sym: 308; act: -42 ),
  2290. ( sym: 313; act: -42 ),
  2291. { 42: }
  2292. ( sym: 256; act: 80 ),
  2293. ( sym: 262; act: 81 ),
  2294. ( sym: 271; act: 23 ),
  2295. ( sym: 281; act: 82 ),
  2296. ( sym: 282; act: 83 ),
  2297. ( sym: 283; act: 84 ),
  2298. ( sym: 284; act: 85 ),
  2299. ( sym: 308; act: 86 ),
  2300. ( sym: 313; act: 87 ),
  2301. { 43: }
  2302. { 44: }
  2303. { 45: }
  2304. { 46: }
  2305. { 47: }
  2306. { 48: }
  2307. { 49: }
  2308. { 50: }
  2309. ( sym: 297; act: 88 ),
  2310. ( sym: 256; act: -47 ),
  2311. ( sym: 261; act: -47 ),
  2312. ( sym: 262; act: -47 ),
  2313. ( sym: 263; act: -47 ),
  2314. ( sym: 264; act: -47 ),
  2315. ( sym: 271; act: -47 ),
  2316. ( sym: 281; act: -47 ),
  2317. ( sym: 282; act: -47 ),
  2318. ( sym: 283; act: -47 ),
  2319. ( sym: 284; act: -47 ),
  2320. ( sym: 289; act: -47 ),
  2321. ( sym: 290; act: -47 ),
  2322. ( sym: 291; act: -47 ),
  2323. ( sym: 292; act: -47 ),
  2324. ( sym: 293; act: -47 ),
  2325. ( sym: 294; act: -47 ),
  2326. ( sym: 295; act: -47 ),
  2327. ( sym: 308; act: -47 ),
  2328. ( sym: 313; act: -47 ),
  2329. { 51: }
  2330. { 52: }
  2331. ( sym: 268; act: 20 ),
  2332. ( sym: 269; act: 21 ),
  2333. ( sym: 270; act: 22 ),
  2334. ( sym: 271; act: 23 ),
  2335. ( sym: 274; act: 24 ),
  2336. ( sym: 275; act: 25 ),
  2337. ( sym: 276; act: 26 ),
  2338. ( sym: 277; act: 27 ),
  2339. ( sym: 278; act: 28 ),
  2340. ( sym: 279; act: 29 ),
  2341. ( sym: 280; act: 30 ),
  2342. ( sym: 281; act: 31 ),
  2343. { 53: }
  2344. ( sym: 297; act: 93 ),
  2345. ( sym: 256; act: -45 ),
  2346. ( sym: 261; act: -45 ),
  2347. ( sym: 262; act: -45 ),
  2348. ( sym: 263; act: -45 ),
  2349. ( sym: 264; act: -45 ),
  2350. ( sym: 271; act: -45 ),
  2351. ( sym: 281; act: -45 ),
  2352. ( sym: 282; act: -45 ),
  2353. ( sym: 283; act: -45 ),
  2354. ( sym: 284; act: -45 ),
  2355. ( sym: 289; act: -45 ),
  2356. ( sym: 290; act: -45 ),
  2357. ( sym: 291; act: -45 ),
  2358. ( sym: 292; act: -45 ),
  2359. ( sym: 293; act: -45 ),
  2360. ( sym: 294; act: -45 ),
  2361. ( sym: 295; act: -45 ),
  2362. ( sym: 308; act: -45 ),
  2363. ( sym: 313; act: -45 ),
  2364. { 54: }
  2365. { 55: }
  2366. { 56: }
  2367. ( sym: 271; act: 23 ),
  2368. ( sym: 267; act: -145 ),
  2369. { 57: }
  2370. { 58: }
  2371. ( sym: 276; act: 98 ),
  2372. ( sym: 277; act: 99 ),
  2373. ( sym: 256; act: -65 ),
  2374. ( sym: 261; act: -65 ),
  2375. ( sym: 262; act: -65 ),
  2376. ( sym: 263; act: -65 ),
  2377. ( sym: 264; act: -65 ),
  2378. ( sym: 271; act: -65 ),
  2379. ( sym: 281; act: -65 ),
  2380. ( sym: 282; act: -65 ),
  2381. ( sym: 283; act: -65 ),
  2382. ( sym: 284; act: -65 ),
  2383. ( sym: 289; act: -65 ),
  2384. ( sym: 290; act: -65 ),
  2385. ( sym: 291; act: -65 ),
  2386. ( sym: 292; act: -65 ),
  2387. ( sym: 293; act: -65 ),
  2388. ( sym: 294; act: -65 ),
  2389. ( sym: 295; act: -65 ),
  2390. ( sym: 308; act: -65 ),
  2391. ( sym: 313; act: -65 ),
  2392. { 59: }
  2393. { 60: }
  2394. { 61: }
  2395. ( sym: 277; act: 100 ),
  2396. ( sym: 256; act: -62 ),
  2397. ( sym: 261; act: -62 ),
  2398. ( sym: 262; act: -62 ),
  2399. ( sym: 263; act: -62 ),
  2400. ( sym: 264; act: -62 ),
  2401. ( sym: 271; act: -62 ),
  2402. ( sym: 281; act: -62 ),
  2403. ( sym: 282; act: -62 ),
  2404. ( sym: 283; act: -62 ),
  2405. ( sym: 284; act: -62 ),
  2406. ( sym: 289; act: -62 ),
  2407. ( sym: 290; act: -62 ),
  2408. ( sym: 291; act: -62 ),
  2409. ( sym: 292; act: -62 ),
  2410. ( sym: 293; act: -62 ),
  2411. ( sym: 294; act: -62 ),
  2412. ( sym: 295; act: -62 ),
  2413. ( sym: 308; act: -62 ),
  2414. ( sym: 313; act: -62 ),
  2415. { 62: }
  2416. { 63: }
  2417. { 64: }
  2418. { 65: }
  2419. { 66: }
  2420. ( sym: 256; act: 80 ),
  2421. ( sym: 262; act: 81 ),
  2422. ( sym: 271; act: 23 ),
  2423. ( sym: 281; act: 82 ),
  2424. ( sym: 282; act: 83 ),
  2425. ( sym: 283; act: 84 ),
  2426. ( sym: 284; act: 85 ),
  2427. ( sym: 308; act: 86 ),
  2428. ( sym: 313; act: 87 ),
  2429. { 67: }
  2430. ( sym: 289; act: 43 ),
  2431. ( sym: 290; act: 44 ),
  2432. ( sym: 291; act: 45 ),
  2433. ( sym: 292; act: 46 ),
  2434. ( sym: 293; act: 47 ),
  2435. ( sym: 294; act: 48 ),
  2436. ( sym: 295; act: 49 ),
  2437. ( sym: 262; act: -16 ),
  2438. ( sym: 271; act: -16 ),
  2439. ( sym: 281; act: -16 ),
  2440. ( sym: 282; act: -16 ),
  2441. ( sym: 283; act: -16 ),
  2442. ( sym: 284; act: -16 ),
  2443. ( sym: 308; act: -16 ),
  2444. ( sym: 313; act: -16 ),
  2445. { 68: }
  2446. { 69: }
  2447. ( sym: 256; act: 51 ),
  2448. ( sym: 266; act: 52 ),
  2449. ( sym: 271; act: 23 ),
  2450. ( sym: 262; act: -40 ),
  2451. ( sym: 281; act: -40 ),
  2452. ( sym: 282; act: -40 ),
  2453. ( sym: 283; act: -40 ),
  2454. ( sym: 284; act: -40 ),
  2455. ( sym: 289; act: -40 ),
  2456. ( sym: 290; act: -40 ),
  2457. ( sym: 291; act: -40 ),
  2458. ( sym: 292; act: -40 ),
  2459. ( sym: 293; act: -40 ),
  2460. ( sym: 294; act: -40 ),
  2461. ( sym: 295; act: -40 ),
  2462. ( sym: 308; act: -40 ),
  2463. ( sym: 313; act: -40 ),
  2464. { 70: }
  2465. ( sym: 271; act: 23 ),
  2466. ( sym: 263; act: -145 ),
  2467. { 71: }
  2468. { 72: }
  2469. ( sym: 262; act: 108 ),
  2470. ( sym: 271; act: 23 ),
  2471. ( sym: 272; act: 109 ),
  2472. ( sym: 273; act: 110 ),
  2473. ( sym: 286; act: 111 ),
  2474. ( sym: 308; act: 112 ),
  2475. ( sym: 310; act: 113 ),
  2476. ( sym: 315; act: 114 ),
  2477. { 73: }
  2478. ( sym: 297; act: 115 ),
  2479. ( sym: 256; act: -36 ),
  2480. ( sym: 260; act: -36 ),
  2481. ( sym: 261; act: -36 ),
  2482. ( sym: 262; act: -36 ),
  2483. ( sym: 263; act: -36 ),
  2484. ( sym: 264; act: -36 ),
  2485. ( sym: 271; act: -36 ),
  2486. ( sym: 281; act: -36 ),
  2487. ( sym: 282; act: -36 ),
  2488. ( sym: 283; act: -36 ),
  2489. ( sym: 284; act: -36 ),
  2490. ( sym: 289; act: -36 ),
  2491. ( sym: 290; act: -36 ),
  2492. ( sym: 291; act: -36 ),
  2493. ( sym: 292; act: -36 ),
  2494. ( sym: 293; act: -36 ),
  2495. ( sym: 294; act: -36 ),
  2496. ( sym: 295; act: -36 ),
  2497. ( sym: 308; act: -36 ),
  2498. ( sym: 313; act: -36 ),
  2499. { 74: }
  2500. ( sym: 297; act: 116 ),
  2501. ( sym: 256; act: -38 ),
  2502. ( sym: 260; act: -38 ),
  2503. ( sym: 261; act: -38 ),
  2504. ( sym: 262; act: -38 ),
  2505. ( sym: 263; act: -38 ),
  2506. ( sym: 264; act: -38 ),
  2507. ( sym: 271; act: -38 ),
  2508. ( sym: 281; act: -38 ),
  2509. ( sym: 282; act: -38 ),
  2510. ( sym: 283; act: -38 ),
  2511. ( sym: 284; act: -38 ),
  2512. ( sym: 289; act: -38 ),
  2513. ( sym: 290; act: -38 ),
  2514. ( sym: 291; act: -38 ),
  2515. ( sym: 292; act: -38 ),
  2516. ( sym: 293; act: -38 ),
  2517. ( sym: 294; act: -38 ),
  2518. ( sym: 295; act: -38 ),
  2519. ( sym: 308; act: -38 ),
  2520. ( sym: 313; act: -38 ),
  2521. { 75: }
  2522. { 76: }
  2523. ( sym: 313; act: 117 ),
  2524. { 77: }
  2525. ( sym: 262; act: 119 ),
  2526. ( sym: 264; act: 120 ),
  2527. ( sym: 260; act: -77 ),
  2528. ( sym: 261; act: -77 ),
  2529. ( sym: 296; act: -77 ),
  2530. { 78: }
  2531. ( sym: 261; act: 122 ),
  2532. ( sym: 296; act: 123 ),
  2533. ( sym: 260; act: -18 ),
  2534. { 79: }
  2535. ( sym: 259; act: 125 ),
  2536. ( sym: 260; act: -93 ),
  2537. ( sym: 261; act: -93 ),
  2538. ( sym: 262; act: -93 ),
  2539. ( sym: 263; act: -93 ),
  2540. ( sym: 264; act: -93 ),
  2541. ( sym: 296; act: -93 ),
  2542. { 80: }
  2543. { 81: }
  2544. ( sym: 262; act: 81 ),
  2545. ( sym: 271; act: 23 ),
  2546. ( sym: 281; act: 82 ),
  2547. ( sym: 282; act: 83 ),
  2548. ( sym: 283; act: 84 ),
  2549. ( sym: 284; act: 85 ),
  2550. ( sym: 308; act: 86 ),
  2551. ( sym: 313; act: 87 ),
  2552. { 82: }
  2553. ( sym: 262; act: 81 ),
  2554. ( sym: 271; act: 23 ),
  2555. ( sym: 281; act: 82 ),
  2556. ( sym: 282; act: 83 ),
  2557. ( sym: 283; act: 84 ),
  2558. ( sym: 284; act: 85 ),
  2559. ( sym: 308; act: 86 ),
  2560. ( sym: 313; act: 87 ),
  2561. { 83: }
  2562. { 84: }
  2563. { 85: }
  2564. { 86: }
  2565. ( sym: 262; act: 81 ),
  2566. ( sym: 271; act: 23 ),
  2567. ( sym: 281; act: 82 ),
  2568. ( sym: 282; act: 83 ),
  2569. ( sym: 283; act: 84 ),
  2570. ( sym: 284; act: 85 ),
  2571. ( sym: 308; act: 86 ),
  2572. ( sym: 313; act: 87 ),
  2573. { 87: }
  2574. ( sym: 262; act: 81 ),
  2575. ( sym: 271; act: 23 ),
  2576. ( sym: 281; act: 82 ),
  2577. ( sym: 282; act: 83 ),
  2578. ( sym: 283; act: 84 ),
  2579. ( sym: 284; act: 85 ),
  2580. ( sym: 308; act: 86 ),
  2581. ( sym: 313; act: 87 ),
  2582. { 88: }
  2583. { 89: }
  2584. ( sym: 267; act: 131 ),
  2585. { 90: }
  2586. ( sym: 268; act: 20 ),
  2587. ( sym: 269; act: 21 ),
  2588. ( sym: 270; act: 22 ),
  2589. ( sym: 271; act: 23 ),
  2590. ( sym: 274; act: 24 ),
  2591. ( sym: 275; act: 25 ),
  2592. ( sym: 276; act: 26 ),
  2593. ( sym: 277; act: 27 ),
  2594. ( sym: 278; act: 28 ),
  2595. ( sym: 279; act: 29 ),
  2596. ( sym: 280; act: 30 ),
  2597. ( sym: 281; act: 31 ),
  2598. ( sym: 267; act: -52 ),
  2599. { 91: }
  2600. ( sym: 267; act: 133 ),
  2601. { 92: }
  2602. ( sym: 256; act: 80 ),
  2603. ( sym: 262; act: 81 ),
  2604. ( sym: 271; act: 23 ),
  2605. ( sym: 281; act: 82 ),
  2606. ( sym: 282; act: 83 ),
  2607. ( sym: 283; act: 84 ),
  2608. ( sym: 284; act: 85 ),
  2609. ( sym: 308; act: 86 ),
  2610. ( sym: 313; act: 87 ),
  2611. { 93: }
  2612. { 94: }
  2613. ( sym: 267; act: 135 ),
  2614. { 95: }
  2615. ( sym: 261; act: 136 ),
  2616. ( sym: 263; act: -144 ),
  2617. ( sym: 267; act: -144 ),
  2618. { 96: }
  2619. ( sym: 267; act: 137 ),
  2620. { 97: }
  2621. ( sym: 285; act: 138 ),
  2622. ( sym: 261; act: -147 ),
  2623. ( sym: 263; act: -147 ),
  2624. ( sym: 267; act: -147 ),
  2625. { 98: }
  2626. ( sym: 277; act: 139 ),
  2627. ( sym: 256; act: -63 ),
  2628. ( sym: 261; act: -63 ),
  2629. ( sym: 262; act: -63 ),
  2630. ( sym: 263; act: -63 ),
  2631. ( sym: 264; act: -63 ),
  2632. ( sym: 271; act: -63 ),
  2633. ( sym: 281; act: -63 ),
  2634. ( sym: 282; act: -63 ),
  2635. ( sym: 283; act: -63 ),
  2636. ( sym: 284; act: -63 ),
  2637. ( sym: 289; act: -63 ),
  2638. ( sym: 290; act: -63 ),
  2639. ( sym: 291; act: -63 ),
  2640. ( sym: 292; act: -63 ),
  2641. ( sym: 293; act: -63 ),
  2642. ( sym: 294; act: -63 ),
  2643. ( sym: 295; act: -63 ),
  2644. ( sym: 308; act: -63 ),
  2645. ( sym: 313; act: -63 ),
  2646. { 99: }
  2647. { 100: }
  2648. { 101: }
  2649. ( sym: 260; act: 140 ),
  2650. ( sym: 261; act: 122 ),
  2651. { 102: }
  2652. ( sym: 262; act: 81 ),
  2653. ( sym: 271; act: 23 ),
  2654. ( sym: 281; act: 82 ),
  2655. ( sym: 282; act: 83 ),
  2656. ( sym: 283; act: 84 ),
  2657. ( sym: 284; act: 85 ),
  2658. ( sym: 308; act: 86 ),
  2659. ( sym: 313; act: 87 ),
  2660. { 103: }
  2661. ( sym: 260; act: 142 ),
  2662. { 104: }
  2663. ( sym: 263; act: 143 ),
  2664. { 105: }
  2665. ( sym: 318; act: 144 ),
  2666. ( sym: 319; act: 145 ),
  2667. ( sym: 286; act: -148 ),
  2668. { 106: }
  2669. ( sym: 286; act: 146 ),
  2670. { 107: }
  2671. ( sym: 262; act: 147 ),
  2672. ( sym: 259; act: -129 ),
  2673. ( sym: 260; act: -129 ),
  2674. ( sym: 261; act: -129 ),
  2675. ( sym: 263; act: -129 ),
  2676. ( sym: 264; act: -129 ),
  2677. ( sym: 265; act: -129 ),
  2678. ( sym: 267; act: -129 ),
  2679. ( sym: 286; act: -129 ),
  2680. ( sym: 296; act: -129 ),
  2681. ( sym: 300; act: -129 ),
  2682. ( sym: 301; act: -129 ),
  2683. ( sym: 302; act: -129 ),
  2684. ( sym: 303; act: -129 ),
  2685. ( sym: 304; act: -129 ),
  2686. ( sym: 305; act: -129 ),
  2687. ( sym: 306; act: -129 ),
  2688. ( sym: 307; act: -129 ),
  2689. ( sym: 308; act: -129 ),
  2690. ( sym: 309; act: -129 ),
  2691. ( sym: 310; act: -129 ),
  2692. ( sym: 311; act: -129 ),
  2693. ( sym: 312; act: -129 ),
  2694. ( sym: 313; act: -129 ),
  2695. ( sym: 314; act: -129 ),
  2696. ( sym: 315; act: -129 ),
  2697. ( sym: 318; act: -129 ),
  2698. ( sym: 319; act: -129 ),
  2699. { 108: }
  2700. ( sym: 262; act: 108 ),
  2701. ( sym: 268; act: 20 ),
  2702. ( sym: 269; act: 21 ),
  2703. ( sym: 270; act: 22 ),
  2704. ( sym: 271; act: 23 ),
  2705. ( sym: 272; act: 109 ),
  2706. ( sym: 273; act: 110 ),
  2707. ( sym: 274; act: 24 ),
  2708. ( sym: 275; act: 25 ),
  2709. ( sym: 276; act: 26 ),
  2710. ( sym: 277; act: 27 ),
  2711. ( sym: 278; act: 28 ),
  2712. ( sym: 279; act: 29 ),
  2713. ( sym: 280; act: 30 ),
  2714. ( sym: 281; act: 31 ),
  2715. ( sym: 308; act: 112 ),
  2716. ( sym: 310; act: 113 ),
  2717. ( sym: 315; act: 114 ),
  2718. { 109: }
  2719. { 110: }
  2720. { 111: }
  2721. { 112: }
  2722. ( sym: 262; act: 108 ),
  2723. ( sym: 271; act: 23 ),
  2724. ( sym: 272; act: 109 ),
  2725. ( sym: 273; act: 110 ),
  2726. ( sym: 308; act: 112 ),
  2727. ( sym: 310; act: 113 ),
  2728. ( sym: 315; act: 114 ),
  2729. { 113: }
  2730. ( sym: 262; act: 108 ),
  2731. ( sym: 271; act: 23 ),
  2732. ( sym: 272; act: 109 ),
  2733. ( sym: 273; act: 110 ),
  2734. ( sym: 308; act: 112 ),
  2735. ( sym: 310; act: 113 ),
  2736. ( sym: 315; act: 114 ),
  2737. { 114: }
  2738. ( sym: 262; act: 108 ),
  2739. ( sym: 271; act: 23 ),
  2740. ( sym: 272; act: 109 ),
  2741. ( sym: 273; act: 110 ),
  2742. ( sym: 308; act: 112 ),
  2743. ( sym: 310; act: 113 ),
  2744. ( sym: 315; act: 114 ),
  2745. { 115: }
  2746. { 116: }
  2747. { 117: }
  2748. ( sym: 262; act: 81 ),
  2749. ( sym: 271; act: 23 ),
  2750. ( sym: 281; act: 82 ),
  2751. ( sym: 282; act: 83 ),
  2752. ( sym: 283; act: 84 ),
  2753. ( sym: 284; act: 85 ),
  2754. ( sym: 308; act: 86 ),
  2755. ( sym: 313; act: 87 ),
  2756. { 118: }
  2757. { 119: }
  2758. ( sym: 263; act: 160 ),
  2759. ( sym: 268; act: 20 ),
  2760. ( sym: 269; act: 21 ),
  2761. ( sym: 270; act: 22 ),
  2762. ( sym: 271; act: 23 ),
  2763. ( sym: 274; act: 24 ),
  2764. ( sym: 275; act: 25 ),
  2765. ( sym: 276; act: 26 ),
  2766. ( sym: 277; act: 27 ),
  2767. ( sym: 278; act: 28 ),
  2768. ( sym: 279; act: 29 ),
  2769. ( sym: 280; act: 161 ),
  2770. ( sym: 281; act: 31 ),
  2771. ( sym: 298; act: 162 ),
  2772. { 120: }
  2773. ( sym: 262; act: 108 ),
  2774. ( sym: 271; act: 23 ),
  2775. ( sym: 272; act: 109 ),
  2776. ( sym: 273; act: 110 ),
  2777. ( sym: 308; act: 112 ),
  2778. ( sym: 310; act: 113 ),
  2779. ( sym: 315; act: 114 ),
  2780. { 121: }
  2781. ( sym: 260; act: 165 ),
  2782. { 122: }
  2783. ( sym: 262; act: 81 ),
  2784. ( sym: 271; act: 23 ),
  2785. ( sym: 281; act: 82 ),
  2786. ( sym: 282; act: 83 ),
  2787. ( sym: 283; act: 84 ),
  2788. ( sym: 284; act: 85 ),
  2789. ( sym: 308; act: 86 ),
  2790. ( sym: 313; act: 87 ),
  2791. { 123: }
  2792. ( sym: 262; act: 167 ),
  2793. { 124: }
  2794. ( sym: 262; act: 108 ),
  2795. ( sym: 271; act: 23 ),
  2796. ( sym: 272; act: 109 ),
  2797. ( sym: 273; act: 110 ),
  2798. ( sym: 308; act: 112 ),
  2799. ( sym: 310; act: 113 ),
  2800. ( sym: 315; act: 114 ),
  2801. { 125: }
  2802. ( sym: 262; act: 108 ),
  2803. ( sym: 271; act: 23 ),
  2804. ( sym: 272; act: 109 ),
  2805. ( sym: 273; act: 110 ),
  2806. ( sym: 308; act: 112 ),
  2807. ( sym: 310; act: 113 ),
  2808. ( sym: 315; act: 114 ),
  2809. { 126: }
  2810. ( sym: 261; act: 170 ),
  2811. ( sym: 260; act: -76 ),
  2812. ( sym: 296; act: -76 ),
  2813. { 127: }
  2814. ( sym: 262; act: 119 ),
  2815. ( sym: 263; act: 171 ),
  2816. ( sym: 264; act: 120 ),
  2817. { 128: }
  2818. ( sym: 262; act: 119 ),
  2819. ( sym: 264; act: 120 ),
  2820. ( sym: 260; act: -87 ),
  2821. ( sym: 261; act: -87 ),
  2822. ( sym: 263; act: -87 ),
  2823. ( sym: 296; act: -87 ),
  2824. { 129: }
  2825. ( sym: 264; act: 120 ),
  2826. ( sym: 260; act: -90 ),
  2827. ( sym: 261; act: -90 ),
  2828. ( sym: 262; act: -90 ),
  2829. ( sym: 263; act: -90 ),
  2830. ( sym: 296; act: -90 ),
  2831. { 130: }
  2832. ( sym: 262; act: 119 ),
  2833. ( sym: 264; act: 120 ),
  2834. ( sym: 260; act: -89 ),
  2835. ( sym: 261; act: -89 ),
  2836. ( sym: 263; act: -89 ),
  2837. ( sym: 296; act: -89 ),
  2838. { 131: }
  2839. { 132: }
  2840. { 133: }
  2841. { 134: }
  2842. ( sym: 260; act: 172 ),
  2843. ( sym: 261; act: 122 ),
  2844. { 135: }
  2845. { 136: }
  2846. ( sym: 271; act: 23 ),
  2847. ( sym: 263; act: -145 ),
  2848. ( sym: 267; act: -145 ),
  2849. { 137: }
  2850. { 138: }
  2851. ( sym: 262; act: 108 ),
  2852. ( sym: 271; act: 23 ),
  2853. ( sym: 272; act: 109 ),
  2854. ( sym: 273; act: 110 ),
  2855. ( sym: 308; act: 112 ),
  2856. ( sym: 310; act: 113 ),
  2857. ( sym: 315; act: 114 ),
  2858. { 139: }
  2859. { 140: }
  2860. { 141: }
  2861. ( sym: 262; act: 119 ),
  2862. ( sym: 263; act: 175 ),
  2863. ( sym: 264; act: 120 ),
  2864. { 142: }
  2865. { 143: }
  2866. ( sym: 287; act: 176 ),
  2867. { 144: }
  2868. ( sym: 262; act: 108 ),
  2869. ( sym: 271; act: 23 ),
  2870. ( sym: 272; act: 109 ),
  2871. ( sym: 273; act: 110 ),
  2872. ( sym: 308; act: 112 ),
  2873. ( sym: 310; act: 113 ),
  2874. ( sym: 315; act: 114 ),
  2875. { 145: }
  2876. ( sym: 262; act: 108 ),
  2877. ( sym: 271; act: 23 ),
  2878. ( sym: 272; act: 109 ),
  2879. ( sym: 273; act: 110 ),
  2880. ( sym: 308; act: 112 ),
  2881. ( sym: 310; act: 113 ),
  2882. ( sym: 315; act: 114 ),
  2883. { 146: }
  2884. { 147: }
  2885. ( sym: 262; act: 108 ),
  2886. ( sym: 271; act: 23 ),
  2887. ( sym: 272; act: 109 ),
  2888. ( sym: 273; act: 110 ),
  2889. ( sym: 308; act: 112 ),
  2890. ( sym: 310; act: 113 ),
  2891. ( sym: 315; act: 114 ),
  2892. ( sym: 263; act: -151 ),
  2893. { 148: }
  2894. ( sym: 318; act: 144 ),
  2895. ( sym: 319; act: 145 ),
  2896. ( sym: 259; act: -125 ),
  2897. ( sym: 260; act: -125 ),
  2898. ( sym: 261; act: -125 ),
  2899. ( sym: 262; act: -125 ),
  2900. ( sym: 263; act: -125 ),
  2901. ( sym: 264; act: -125 ),
  2902. ( sym: 265; act: -125 ),
  2903. ( sym: 267; act: -125 ),
  2904. ( sym: 286; act: -125 ),
  2905. ( sym: 296; act: -125 ),
  2906. ( sym: 300; act: -125 ),
  2907. ( sym: 301; act: -125 ),
  2908. ( sym: 302; act: -125 ),
  2909. ( sym: 303; act: -125 ),
  2910. ( sym: 304; act: -125 ),
  2911. ( sym: 305; act: -125 ),
  2912. ( sym: 306; act: -125 ),
  2913. ( sym: 307; act: -125 ),
  2914. ( sym: 308; act: -125 ),
  2915. ( sym: 309; act: -125 ),
  2916. ( sym: 310; act: -125 ),
  2917. ( sym: 311; act: -125 ),
  2918. ( sym: 312; act: -125 ),
  2919. ( sym: 313; act: -125 ),
  2920. ( sym: 314; act: -125 ),
  2921. ( sym: 315; act: -125 ),
  2922. { 149: }
  2923. ( sym: 263; act: 182 ),
  2924. ( sym: 300; act: -108 ),
  2925. ( sym: 301; act: -108 ),
  2926. ( sym: 302; act: -108 ),
  2927. ( sym: 303; act: -108 ),
  2928. ( sym: 304; act: -108 ),
  2929. ( sym: 305; act: -108 ),
  2930. ( sym: 306; act: -108 ),
  2931. ( sym: 307; act: -108 ),
  2932. ( sym: 308; act: -108 ),
  2933. ( sym: 309; act: -108 ),
  2934. ( sym: 310; act: -108 ),
  2935. ( sym: 311; act: -108 ),
  2936. ( sym: 312; act: -108 ),
  2937. ( sym: 313; act: -108 ),
  2938. ( sym: 314; act: -108 ),
  2939. ( sym: 315; act: -108 ),
  2940. { 150: }
  2941. ( sym: 300; act: 183 ),
  2942. ( sym: 301; act: 184 ),
  2943. ( sym: 302; act: 185 ),
  2944. ( sym: 303; act: 186 ),
  2945. ( sym: 304; act: 187 ),
  2946. ( sym: 305; act: 188 ),
  2947. ( sym: 306; act: 189 ),
  2948. ( sym: 307; act: 190 ),
  2949. ( sym: 308; act: 191 ),
  2950. ( sym: 309; act: 192 ),
  2951. ( sym: 310; act: 193 ),
  2952. ( sym: 311; act: 194 ),
  2953. ( sym: 312; act: 195 ),
  2954. ( sym: 313; act: 196 ),
  2955. ( sym: 314; act: 197 ),
  2956. ( sym: 315; act: 198 ),
  2957. { 151: }
  2958. ( sym: 263; act: 200 ),
  2959. ( sym: 282; act: 83 ),
  2960. ( sym: 283; act: 84 ),
  2961. ( sym: 284; act: 85 ),
  2962. ( sym: 313; act: 201 ),
  2963. { 152: }
  2964. ( sym: 262; act: 147 ),
  2965. ( sym: 263; act: 202 ),
  2966. ( sym: 282; act: -73 ),
  2967. ( sym: 283; act: -73 ),
  2968. ( sym: 284; act: -73 ),
  2969. ( sym: 313; act: -73 ),
  2970. ( sym: 300; act: -129 ),
  2971. ( sym: 301; act: -129 ),
  2972. ( sym: 302; act: -129 ),
  2973. ( sym: 303; act: -129 ),
  2974. ( sym: 304; act: -129 ),
  2975. ( sym: 305; act: -129 ),
  2976. ( sym: 306; act: -129 ),
  2977. ( sym: 307; act: -129 ),
  2978. ( sym: 308; act: -129 ),
  2979. ( sym: 309; act: -129 ),
  2980. ( sym: 310; act: -129 ),
  2981. ( sym: 311; act: -129 ),
  2982. ( sym: 312; act: -129 ),
  2983. ( sym: 314; act: -129 ),
  2984. ( sym: 315; act: -129 ),
  2985. ( sym: 318; act: -129 ),
  2986. ( sym: 319; act: -129 ),
  2987. { 153: }
  2988. ( sym: 318; act: 144 ),
  2989. ( sym: 319; act: 145 ),
  2990. ( sym: 259; act: -135 ),
  2991. ( sym: 260; act: -135 ),
  2992. ( sym: 261; act: -135 ),
  2993. ( sym: 262; act: -135 ),
  2994. ( sym: 263; act: -135 ),
  2995. ( sym: 264; act: -135 ),
  2996. ( sym: 265; act: -135 ),
  2997. ( sym: 267; act: -135 ),
  2998. ( sym: 286; act: -135 ),
  2999. ( sym: 296; act: -135 ),
  3000. ( sym: 300; act: -135 ),
  3001. ( sym: 301; act: -135 ),
  3002. ( sym: 302; act: -135 ),
  3003. ( sym: 303; act: -135 ),
  3004. ( sym: 304; act: -135 ),
  3005. ( sym: 305; act: -135 ),
  3006. ( sym: 306; act: -135 ),
  3007. ( sym: 307; act: -135 ),
  3008. ( sym: 308; act: -135 ),
  3009. ( sym: 309; act: -135 ),
  3010. ( sym: 310; act: -135 ),
  3011. ( sym: 311; act: -135 ),
  3012. ( sym: 312; act: -135 ),
  3013. ( sym: 313; act: -135 ),
  3014. ( sym: 314; act: -135 ),
  3015. ( sym: 315; act: -135 ),
  3016. { 154: }
  3017. ( sym: 318; act: 144 ),
  3018. ( sym: 319; act: 145 ),
  3019. ( sym: 259; act: -134 ),
  3020. ( sym: 260; act: -134 ),
  3021. ( sym: 261; act: -134 ),
  3022. ( sym: 262; act: -134 ),
  3023. ( sym: 263; act: -134 ),
  3024. ( sym: 264; act: -134 ),
  3025. ( sym: 265; act: -134 ),
  3026. ( sym: 267; act: -134 ),
  3027. ( sym: 286; act: -134 ),
  3028. ( sym: 296; act: -134 ),
  3029. ( sym: 300; act: -134 ),
  3030. ( sym: 301; act: -134 ),
  3031. ( sym: 302; act: -134 ),
  3032. ( sym: 303; act: -134 ),
  3033. ( sym: 304; act: -134 ),
  3034. ( sym: 305; act: -134 ),
  3035. ( sym: 306; act: -134 ),
  3036. ( sym: 307; act: -134 ),
  3037. ( sym: 308; act: -134 ),
  3038. ( sym: 309; act: -134 ),
  3039. ( sym: 310; act: -134 ),
  3040. ( sym: 311; act: -134 ),
  3041. ( sym: 312; act: -134 ),
  3042. ( sym: 313; act: -134 ),
  3043. ( sym: 314; act: -134 ),
  3044. ( sym: 315; act: -134 ),
  3045. { 155: }
  3046. ( sym: 318; act: 144 ),
  3047. ( sym: 319; act: 145 ),
  3048. ( sym: 259; act: -136 ),
  3049. ( sym: 260; act: -136 ),
  3050. ( sym: 261; act: -136 ),
  3051. ( sym: 262; act: -136 ),
  3052. ( sym: 263; act: -136 ),
  3053. ( sym: 264; act: -136 ),
  3054. ( sym: 265; act: -136 ),
  3055. ( sym: 267; act: -136 ),
  3056. ( sym: 286; act: -136 ),
  3057. ( sym: 296; act: -136 ),
  3058. ( sym: 300; act: -136 ),
  3059. ( sym: 301; act: -136 ),
  3060. ( sym: 302; act: -136 ),
  3061. ( sym: 303; act: -136 ),
  3062. ( sym: 304; act: -136 ),
  3063. ( sym: 305; act: -136 ),
  3064. ( sym: 306; act: -136 ),
  3065. ( sym: 307; act: -136 ),
  3066. ( sym: 308; act: -136 ),
  3067. ( sym: 309; act: -136 ),
  3068. ( sym: 310; act: -136 ),
  3069. ( sym: 311; act: -136 ),
  3070. ( sym: 312; act: -136 ),
  3071. ( sym: 313; act: -136 ),
  3072. ( sym: 314; act: -136 ),
  3073. ( sym: 315; act: -136 ),
  3074. { 156: }
  3075. ( sym: 262; act: 119 ),
  3076. ( sym: 264; act: 120 ),
  3077. ( sym: 260; act: -88 ),
  3078. ( sym: 261; act: -88 ),
  3079. ( sym: 263; act: -88 ),
  3080. ( sym: 296; act: -88 ),
  3081. { 157: }
  3082. ( sym: 261; act: 203 ),
  3083. ( sym: 263; act: -81 ),
  3084. { 158: }
  3085. ( sym: 263; act: 204 ),
  3086. { 159: }
  3087. ( sym: 262; act: 208 ),
  3088. ( sym: 271; act: 23 ),
  3089. ( sym: 281; act: 209 ),
  3090. ( sym: 282; act: 83 ),
  3091. ( sym: 283; act: 84 ),
  3092. ( sym: 284; act: 85 ),
  3093. ( sym: 308; act: 86 ),
  3094. ( sym: 313; act: 210 ),
  3095. ( sym: 261; act: -107 ),
  3096. ( sym: 263; act: -107 ),
  3097. ( sym: 264; act: -107 ),
  3098. { 160: }
  3099. { 161: }
  3100. ( sym: 263; act: 211 ),
  3101. ( sym: 261; act: -69 ),
  3102. ( sym: 262; act: -69 ),
  3103. ( sym: 264; act: -69 ),
  3104. ( sym: 271; act: -69 ),
  3105. ( sym: 281; act: -69 ),
  3106. ( sym: 282; act: -69 ),
  3107. ( sym: 283; act: -69 ),
  3108. ( sym: 284; act: -69 ),
  3109. ( sym: 308; act: -69 ),
  3110. ( sym: 313; act: -69 ),
  3111. { 162: }
  3112. { 163: }
  3113. { 164: }
  3114. ( sym: 265; act: 212 ),
  3115. ( sym: 300; act: 183 ),
  3116. ( sym: 301; act: 184 ),
  3117. ( sym: 302; act: 185 ),
  3118. ( sym: 303; act: 186 ),
  3119. ( sym: 304; act: 187 ),
  3120. ( sym: 305; act: 188 ),
  3121. ( sym: 306; act: 189 ),
  3122. ( sym: 307; act: 190 ),
  3123. ( sym: 308; act: 191 ),
  3124. ( sym: 309; act: 192 ),
  3125. ( sym: 310; act: 193 ),
  3126. ( sym: 311; act: 194 ),
  3127. ( sym: 312; act: 195 ),
  3128. ( sym: 313; act: 196 ),
  3129. ( sym: 314; act: 197 ),
  3130. ( sym: 315; act: 198 ),
  3131. { 165: }
  3132. { 166: }
  3133. ( sym: 262; act: 119 ),
  3134. ( sym: 264; act: 120 ),
  3135. ( sym: 260; act: -74 ),
  3136. ( sym: 261; act: -74 ),
  3137. ( sym: 296; act: -74 ),
  3138. { 167: }
  3139. ( sym: 271; act: 23 ),
  3140. { 168: }
  3141. ( sym: 300; act: 183 ),
  3142. ( sym: 301; act: 184 ),
  3143. ( sym: 302; act: 185 ),
  3144. ( sym: 303; act: 186 ),
  3145. ( sym: 304; act: 187 ),
  3146. ( sym: 305; act: 188 ),
  3147. ( sym: 306; act: 189 ),
  3148. ( sym: 307; act: 190 ),
  3149. ( sym: 308; act: 191 ),
  3150. ( sym: 309; act: 192 ),
  3151. ( sym: 310; act: 193 ),
  3152. ( sym: 311; act: 194 ),
  3153. ( sym: 312; act: 195 ),
  3154. ( sym: 313; act: 196 ),
  3155. ( sym: 314; act: 197 ),
  3156. ( sym: 315; act: 198 ),
  3157. ( sym: 260; act: -92 ),
  3158. ( sym: 261; act: -92 ),
  3159. ( sym: 262; act: -92 ),
  3160. ( sym: 263; act: -92 ),
  3161. ( sym: 264; act: -92 ),
  3162. ( sym: 296; act: -92 ),
  3163. { 169: }
  3164. ( sym: 300; act: 183 ),
  3165. ( sym: 301; act: 184 ),
  3166. ( sym: 302; act: 185 ),
  3167. ( sym: 303; act: 186 ),
  3168. ( sym: 304; act: 187 ),
  3169. ( sym: 305; act: 188 ),
  3170. ( sym: 306; act: 189 ),
  3171. ( sym: 307; act: 190 ),
  3172. ( sym: 308; act: 191 ),
  3173. ( sym: 309; act: 192 ),
  3174. ( sym: 310; act: 193 ),
  3175. ( sym: 311; act: 194 ),
  3176. ( sym: 312; act: 195 ),
  3177. ( sym: 313; act: 196 ),
  3178. ( sym: 314; act: 197 ),
  3179. ( sym: 315; act: 198 ),
  3180. ( sym: 260; act: -91 ),
  3181. ( sym: 261; act: -91 ),
  3182. ( sym: 262; act: -91 ),
  3183. ( sym: 263; act: -91 ),
  3184. ( sym: 264; act: -91 ),
  3185. ( sym: 296; act: -91 ),
  3186. { 170: }
  3187. ( sym: 256; act: 80 ),
  3188. ( sym: 262; act: 81 ),
  3189. ( sym: 271; act: 23 ),
  3190. ( sym: 281; act: 82 ),
  3191. ( sym: 282; act: 83 ),
  3192. ( sym: 283; act: 84 ),
  3193. ( sym: 284; act: 85 ),
  3194. ( sym: 308; act: 86 ),
  3195. ( sym: 313; act: 87 ),
  3196. { 171: }
  3197. { 172: }
  3198. { 173: }
  3199. { 174: }
  3200. ( sym: 300; act: 183 ),
  3201. ( sym: 301; act: 184 ),
  3202. ( sym: 302; act: 185 ),
  3203. ( sym: 303; act: 186 ),
  3204. ( sym: 304; act: 187 ),
  3205. ( sym: 305; act: 188 ),
  3206. ( sym: 306; act: 189 ),
  3207. ( sym: 307; act: 190 ),
  3208. ( sym: 308; act: 191 ),
  3209. ( sym: 309; act: 192 ),
  3210. ( sym: 310; act: 193 ),
  3211. ( sym: 311; act: 194 ),
  3212. ( sym: 312; act: 195 ),
  3213. ( sym: 313; act: 196 ),
  3214. ( sym: 314; act: 197 ),
  3215. ( sym: 315; act: 198 ),
  3216. ( sym: 261; act: -146 ),
  3217. ( sym: 263; act: -146 ),
  3218. ( sym: 267; act: -146 ),
  3219. { 175: }
  3220. ( sym: 262; act: 215 ),
  3221. { 176: }
  3222. ( sym: 262; act: 108 ),
  3223. ( sym: 271; act: 23 ),
  3224. ( sym: 272; act: 109 ),
  3225. ( sym: 273; act: 110 ),
  3226. ( sym: 308; act: 112 ),
  3227. ( sym: 310; act: 113 ),
  3228. ( sym: 315; act: 114 ),
  3229. { 177: }
  3230. { 178: }
  3231. { 179: }
  3232. ( sym: 261; act: 217 ),
  3233. ( sym: 263; act: -150 ),
  3234. { 180: }
  3235. ( sym: 263; act: 218 ),
  3236. { 181: }
  3237. ( sym: 300; act: 183 ),
  3238. ( sym: 301; act: 184 ),
  3239. ( sym: 302; act: 185 ),
  3240. ( sym: 303; act: 186 ),
  3241. ( sym: 304; act: 187 ),
  3242. ( sym: 305; act: 188 ),
  3243. ( sym: 306; act: 189 ),
  3244. ( sym: 307; act: 190 ),
  3245. ( sym: 308; act: 191 ),
  3246. ( sym: 309; act: 192 ),
  3247. ( sym: 310; act: 193 ),
  3248. ( sym: 311; act: 194 ),
  3249. ( sym: 312; act: 195 ),
  3250. ( sym: 313; act: 196 ),
  3251. ( sym: 314; act: 197 ),
  3252. ( sym: 315; act: 198 ),
  3253. ( sym: 261; act: -152 ),
  3254. ( sym: 263; act: -152 ),
  3255. { 182: }
  3256. { 183: }
  3257. ( sym: 262; act: 108 ),
  3258. ( sym: 271; act: 23 ),
  3259. ( sym: 272; act: 109 ),
  3260. ( sym: 273; act: 110 ),
  3261. ( sym: 308; act: 112 ),
  3262. ( sym: 310; act: 113 ),
  3263. ( sym: 315; act: 114 ),
  3264. { 184: }
  3265. ( sym: 262; act: 108 ),
  3266. ( sym: 271; act: 23 ),
  3267. ( sym: 272; act: 109 ),
  3268. ( sym: 273; act: 110 ),
  3269. ( sym: 308; act: 112 ),
  3270. ( sym: 310; act: 113 ),
  3271. ( sym: 315; act: 114 ),
  3272. { 185: }
  3273. ( sym: 262; act: 108 ),
  3274. ( sym: 271; act: 23 ),
  3275. ( sym: 272; act: 109 ),
  3276. ( sym: 273; act: 110 ),
  3277. ( sym: 308; act: 112 ),
  3278. ( sym: 310; act: 113 ),
  3279. ( sym: 315; act: 114 ),
  3280. { 186: }
  3281. ( sym: 262; act: 108 ),
  3282. ( sym: 271; act: 23 ),
  3283. ( sym: 272; act: 109 ),
  3284. ( sym: 273; act: 110 ),
  3285. ( sym: 308; act: 112 ),
  3286. ( sym: 310; act: 113 ),
  3287. ( sym: 315; act: 114 ),
  3288. { 187: }
  3289. ( sym: 262; act: 108 ),
  3290. ( sym: 271; act: 23 ),
  3291. ( sym: 272; act: 109 ),
  3292. ( sym: 273; act: 110 ),
  3293. ( sym: 308; act: 112 ),
  3294. ( sym: 310; act: 113 ),
  3295. ( sym: 315; act: 114 ),
  3296. { 188: }
  3297. ( sym: 262; act: 108 ),
  3298. ( sym: 271; act: 23 ),
  3299. ( sym: 272; act: 109 ),
  3300. ( sym: 273; act: 110 ),
  3301. ( sym: 308; act: 112 ),
  3302. ( sym: 310; act: 113 ),
  3303. ( sym: 315; act: 114 ),
  3304. { 189: }
  3305. ( sym: 262; act: 108 ),
  3306. ( sym: 271; act: 23 ),
  3307. ( sym: 272; act: 109 ),
  3308. ( sym: 273; act: 110 ),
  3309. ( sym: 308; act: 112 ),
  3310. ( sym: 310; act: 113 ),
  3311. ( sym: 315; act: 114 ),
  3312. { 190: }
  3313. ( sym: 262; act: 108 ),
  3314. ( sym: 271; act: 23 ),
  3315. ( sym: 272; act: 109 ),
  3316. ( sym: 273; act: 110 ),
  3317. ( sym: 308; act: 112 ),
  3318. ( sym: 310; act: 113 ),
  3319. ( sym: 315; act: 114 ),
  3320. { 191: }
  3321. ( sym: 262; act: 108 ),
  3322. ( sym: 271; act: 23 ),
  3323. ( sym: 272; act: 109 ),
  3324. ( sym: 273; act: 110 ),
  3325. ( sym: 308; act: 112 ),
  3326. ( sym: 310; act: 113 ),
  3327. ( sym: 315; act: 114 ),
  3328. { 192: }
  3329. ( sym: 262; act: 108 ),
  3330. ( sym: 271; act: 23 ),
  3331. ( sym: 272; act: 109 ),
  3332. ( sym: 273; act: 110 ),
  3333. ( sym: 308; act: 112 ),
  3334. ( sym: 310; act: 113 ),
  3335. ( sym: 315; act: 114 ),
  3336. { 193: }
  3337. ( sym: 262; act: 108 ),
  3338. ( sym: 271; act: 23 ),
  3339. ( sym: 272; act: 109 ),
  3340. ( sym: 273; act: 110 ),
  3341. ( sym: 308; act: 112 ),
  3342. ( sym: 310; act: 113 ),
  3343. ( sym: 315; act: 114 ),
  3344. { 194: }
  3345. ( sym: 262; act: 108 ),
  3346. ( sym: 271; act: 23 ),
  3347. ( sym: 272; act: 109 ),
  3348. ( sym: 273; act: 110 ),
  3349. ( sym: 308; act: 112 ),
  3350. ( sym: 310; act: 113 ),
  3351. ( sym: 315; act: 114 ),
  3352. { 195: }
  3353. ( sym: 262; act: 108 ),
  3354. ( sym: 271; act: 23 ),
  3355. ( sym: 272; act: 109 ),
  3356. ( sym: 273; act: 110 ),
  3357. ( sym: 308; act: 112 ),
  3358. ( sym: 310; act: 113 ),
  3359. ( sym: 315; act: 114 ),
  3360. { 196: }
  3361. ( sym: 262; act: 108 ),
  3362. ( sym: 271; act: 23 ),
  3363. ( sym: 272; act: 109 ),
  3364. ( sym: 273; act: 110 ),
  3365. ( sym: 308; act: 112 ),
  3366. ( sym: 310; act: 113 ),
  3367. ( sym: 315; act: 114 ),
  3368. { 197: }
  3369. ( sym: 262; act: 108 ),
  3370. ( sym: 271; act: 23 ),
  3371. ( sym: 272; act: 109 ),
  3372. ( sym: 273; act: 110 ),
  3373. ( sym: 308; act: 112 ),
  3374. ( sym: 310; act: 113 ),
  3375. ( sym: 315; act: 114 ),
  3376. { 198: }
  3377. ( sym: 262; act: 108 ),
  3378. ( sym: 271; act: 23 ),
  3379. ( sym: 272; act: 109 ),
  3380. ( sym: 273; act: 110 ),
  3381. ( sym: 308; act: 112 ),
  3382. ( sym: 310; act: 113 ),
  3383. ( sym: 315; act: 114 ),
  3384. { 199: }
  3385. ( sym: 313; act: 236 ),
  3386. { 200: }
  3387. ( sym: 262; act: 108 ),
  3388. ( sym: 271; act: 23 ),
  3389. ( sym: 272; act: 109 ),
  3390. ( sym: 273; act: 110 ),
  3391. ( sym: 308; act: 112 ),
  3392. ( sym: 310; act: 113 ),
  3393. ( sym: 315; act: 114 ),
  3394. { 201: }
  3395. ( sym: 263; act: 238 ),
  3396. { 202: }
  3397. ( sym: 262; act: 108 ),
  3398. ( sym: 271; act: 23 ),
  3399. ( sym: 272; act: 109 ),
  3400. ( sym: 273; act: 110 ),
  3401. ( sym: 308; act: 112 ),
  3402. ( sym: 310; act: 113 ),
  3403. ( sym: 315; act: 114 ),
  3404. ( sym: 259; act: -128 ),
  3405. ( sym: 260; act: -128 ),
  3406. ( sym: 261; act: -128 ),
  3407. ( sym: 263; act: -128 ),
  3408. ( sym: 264; act: -128 ),
  3409. ( sym: 265; act: -128 ),
  3410. ( sym: 267; act: -128 ),
  3411. ( sym: 286; act: -128 ),
  3412. ( sym: 296; act: -128 ),
  3413. ( sym: 300; act: -128 ),
  3414. ( sym: 301; act: -128 ),
  3415. ( sym: 302; act: -128 ),
  3416. ( sym: 303; act: -128 ),
  3417. ( sym: 304; act: -128 ),
  3418. ( sym: 305; act: -128 ),
  3419. ( sym: 306; act: -128 ),
  3420. ( sym: 307; act: -128 ),
  3421. ( sym: 309; act: -128 ),
  3422. ( sym: 311; act: -128 ),
  3423. ( sym: 312; act: -128 ),
  3424. ( sym: 313; act: -128 ),
  3425. ( sym: 314; act: -128 ),
  3426. ( sym: 318; act: -128 ),
  3427. ( sym: 319; act: -128 ),
  3428. { 203: }
  3429. ( sym: 268; act: 20 ),
  3430. ( sym: 269; act: 21 ),
  3431. ( sym: 270; act: 22 ),
  3432. ( sym: 271; act: 23 ),
  3433. ( sym: 274; act: 24 ),
  3434. ( sym: 275; act: 25 ),
  3435. ( sym: 276; act: 26 ),
  3436. ( sym: 277; act: 27 ),
  3437. ( sym: 278; act: 28 ),
  3438. ( sym: 279; act: 29 ),
  3439. ( sym: 280; act: 30 ),
  3440. ( sym: 281; act: 31 ),
  3441. ( sym: 298; act: 162 ),
  3442. { 204: }
  3443. { 205: }
  3444. ( sym: 313; act: 242 ),
  3445. { 206: }
  3446. ( sym: 262; act: 244 ),
  3447. ( sym: 264; act: 245 ),
  3448. ( sym: 261; act: -80 ),
  3449. ( sym: 263; act: -80 ),
  3450. { 207: }
  3451. ( sym: 262; act: 119 ),
  3452. ( sym: 264; act: 120 ),
  3453. ( sym: 261; act: -78 ),
  3454. ( sym: 263; act: -78 ),
  3455. { 208: }
  3456. ( sym: 262; act: 208 ),
  3457. ( sym: 271; act: 23 ),
  3458. ( sym: 281; act: 209 ),
  3459. ( sym: 282; act: 83 ),
  3460. ( sym: 283; act: 84 ),
  3461. ( sym: 284; act: 85 ),
  3462. ( sym: 308; act: 86 ),
  3463. ( sym: 313; act: 247 ),
  3464. ( sym: 263; act: -107 ),
  3465. ( sym: 264; act: -107 ),
  3466. { 209: }
  3467. ( sym: 262; act: 208 ),
  3468. ( sym: 271; act: 23 ),
  3469. ( sym: 281; act: 209 ),
  3470. ( sym: 282; act: 83 ),
  3471. ( sym: 283; act: 84 ),
  3472. ( sym: 284; act: 85 ),
  3473. ( sym: 308; act: 86 ),
  3474. ( sym: 313; act: 247 ),
  3475. ( sym: 261; act: -107 ),
  3476. ( sym: 263; act: -107 ),
  3477. ( sym: 264; act: -107 ),
  3478. { 210: }
  3479. ( sym: 262; act: 208 ),
  3480. ( sym: 271; act: 23 ),
  3481. ( sym: 281; act: 209 ),
  3482. ( sym: 282; act: 83 ),
  3483. ( sym: 283; act: 84 ),
  3484. ( sym: 284; act: 85 ),
  3485. ( sym: 308; act: 86 ),
  3486. ( sym: 313; act: 247 ),
  3487. ( sym: 261; act: -107 ),
  3488. ( sym: 263; act: -107 ),
  3489. ( sym: 264; act: -107 ),
  3490. { 211: }
  3491. { 212: }
  3492. { 213: }
  3493. ( sym: 263; act: 251 ),
  3494. { 214: }
  3495. { 215: }
  3496. ( sym: 268; act: 20 ),
  3497. ( sym: 269; act: 21 ),
  3498. ( sym: 270; act: 22 ),
  3499. ( sym: 271; act: 23 ),
  3500. ( sym: 274; act: 24 ),
  3501. ( sym: 275; act: 25 ),
  3502. ( sym: 276; act: 26 ),
  3503. ( sym: 277; act: 27 ),
  3504. ( sym: 278; act: 28 ),
  3505. ( sym: 279; act: 29 ),
  3506. ( sym: 280; act: 30 ),
  3507. ( sym: 281; act: 31 ),
  3508. ( sym: 298; act: 162 ),
  3509. { 216: }
  3510. ( sym: 286; act: 253 ),
  3511. { 217: }
  3512. ( sym: 262; act: 108 ),
  3513. ( sym: 271; act: 23 ),
  3514. ( sym: 272; act: 109 ),
  3515. ( sym: 273; act: 110 ),
  3516. ( sym: 308; act: 112 ),
  3517. ( sym: 310; act: 113 ),
  3518. ( sym: 315; act: 114 ),
  3519. ( sym: 263; act: -151 ),
  3520. { 218: }
  3521. { 219: }
  3522. ( sym: 306; act: 189 ),
  3523. ( sym: 307; act: 190 ),
  3524. ( sym: 308; act: 191 ),
  3525. ( sym: 309; act: 192 ),
  3526. ( sym: 310; act: 193 ),
  3527. ( sym: 311; act: 194 ),
  3528. ( sym: 312; act: 195 ),
  3529. ( sym: 313; act: 196 ),
  3530. ( sym: 314; act: 197 ),
  3531. ( sym: 315; act: 198 ),
  3532. ( sym: 259; act: -109 ),
  3533. ( sym: 260; act: -109 ),
  3534. ( sym: 261; act: -109 ),
  3535. ( sym: 262; act: -109 ),
  3536. ( sym: 263; act: -109 ),
  3537. ( sym: 264; act: -109 ),
  3538. ( sym: 265; act: -109 ),
  3539. ( sym: 267; act: -109 ),
  3540. ( sym: 286; act: -109 ),
  3541. ( sym: 296; act: -109 ),
  3542. ( sym: 300; act: -109 ),
  3543. ( sym: 301; act: -109 ),
  3544. ( sym: 302; act: -109 ),
  3545. ( sym: 303; act: -109 ),
  3546. ( sym: 304; act: -109 ),
  3547. ( sym: 305; act: -109 ),
  3548. ( sym: 318; act: -109 ),
  3549. ( sym: 319; act: -109 ),
  3550. { 220: }
  3551. ( sym: 306; act: 189 ),
  3552. ( sym: 307; act: 190 ),
  3553. ( sym: 308; act: 191 ),
  3554. ( sym: 309; act: 192 ),
  3555. ( sym: 310; act: 193 ),
  3556. ( sym: 311; act: 194 ),
  3557. ( sym: 312; act: 195 ),
  3558. ( sym: 313; act: 196 ),
  3559. ( sym: 314; act: 197 ),
  3560. ( sym: 315; act: 198 ),
  3561. ( sym: 259; act: -110 ),
  3562. ( sym: 260; act: -110 ),
  3563. ( sym: 261; act: -110 ),
  3564. ( sym: 262; act: -110 ),
  3565. ( sym: 263; act: -110 ),
  3566. ( sym: 264; act: -110 ),
  3567. ( sym: 265; act: -110 ),
  3568. ( sym: 267; act: -110 ),
  3569. ( sym: 286; act: -110 ),
  3570. ( sym: 296; act: -110 ),
  3571. ( sym: 300; act: -110 ),
  3572. ( sym: 301; act: -110 ),
  3573. ( sym: 302; act: -110 ),
  3574. ( sym: 303; act: -110 ),
  3575. ( sym: 304; act: -110 ),
  3576. ( sym: 305; act: -110 ),
  3577. ( sym: 318; act: -110 ),
  3578. ( sym: 319; act: -110 ),
  3579. { 221: }
  3580. ( sym: 306; act: 189 ),
  3581. ( sym: 307; act: 190 ),
  3582. ( sym: 308; act: 191 ),
  3583. ( sym: 309; act: 192 ),
  3584. ( sym: 310; act: 193 ),
  3585. ( sym: 311; act: 194 ),
  3586. ( sym: 312; act: 195 ),
  3587. ( sym: 313; act: 196 ),
  3588. ( sym: 314; act: 197 ),
  3589. ( sym: 315; act: 198 ),
  3590. ( sym: 259; act: -111 ),
  3591. ( sym: 260; act: -111 ),
  3592. ( sym: 261; act: -111 ),
  3593. ( sym: 262; act: -111 ),
  3594. ( sym: 263; act: -111 ),
  3595. ( sym: 264; act: -111 ),
  3596. ( sym: 265; act: -111 ),
  3597. ( sym: 267; act: -111 ),
  3598. ( sym: 286; act: -111 ),
  3599. ( sym: 296; act: -111 ),
  3600. ( sym: 300; act: -111 ),
  3601. ( sym: 301; act: -111 ),
  3602. ( sym: 302; act: -111 ),
  3603. ( sym: 303; act: -111 ),
  3604. ( sym: 304; act: -111 ),
  3605. ( sym: 305; act: -111 ),
  3606. ( sym: 318; act: -111 ),
  3607. ( sym: 319; act: -111 ),
  3608. { 222: }
  3609. ( sym: 306; act: 189 ),
  3610. ( sym: 307; act: 190 ),
  3611. ( sym: 308; act: 191 ),
  3612. ( sym: 309; act: 192 ),
  3613. ( sym: 310; act: 193 ),
  3614. ( sym: 311; act: 194 ),
  3615. ( sym: 312; act: 195 ),
  3616. ( sym: 313; act: 196 ),
  3617. ( sym: 314; act: 197 ),
  3618. ( sym: 315; act: 198 ),
  3619. ( sym: 259; act: -113 ),
  3620. ( sym: 260; act: -113 ),
  3621. ( sym: 261; act: -113 ),
  3622. ( sym: 262; act: -113 ),
  3623. ( sym: 263; act: -113 ),
  3624. ( sym: 264; act: -113 ),
  3625. ( sym: 265; act: -113 ),
  3626. ( sym: 267; act: -113 ),
  3627. ( sym: 286; act: -113 ),
  3628. ( sym: 296; act: -113 ),
  3629. ( sym: 300; act: -113 ),
  3630. ( sym: 301; act: -113 ),
  3631. ( sym: 302; act: -113 ),
  3632. ( sym: 303; act: -113 ),
  3633. ( sym: 304; act: -113 ),
  3634. ( sym: 305; act: -113 ),
  3635. ( sym: 318; act: -113 ),
  3636. ( sym: 319; act: -113 ),
  3637. { 223: }
  3638. ( sym: 306; act: 189 ),
  3639. ( sym: 307; act: 190 ),
  3640. ( sym: 308; act: 191 ),
  3641. ( sym: 309; act: 192 ),
  3642. ( sym: 310; act: 193 ),
  3643. ( sym: 311; act: 194 ),
  3644. ( sym: 312; act: 195 ),
  3645. ( sym: 313; act: 196 ),
  3646. ( sym: 314; act: 197 ),
  3647. ( sym: 315; act: 198 ),
  3648. ( sym: 259; act: -112 ),
  3649. ( sym: 260; act: -112 ),
  3650. ( sym: 261; act: -112 ),
  3651. ( sym: 262; act: -112 ),
  3652. ( sym: 263; act: -112 ),
  3653. ( sym: 264; act: -112 ),
  3654. ( sym: 265; act: -112 ),
  3655. ( sym: 267; act: -112 ),
  3656. ( sym: 286; act: -112 ),
  3657. ( sym: 296; act: -112 ),
  3658. ( sym: 300; act: -112 ),
  3659. ( sym: 301; act: -112 ),
  3660. ( sym: 302; act: -112 ),
  3661. ( sym: 303; act: -112 ),
  3662. ( sym: 304; act: -112 ),
  3663. ( sym: 305; act: -112 ),
  3664. ( sym: 318; act: -112 ),
  3665. ( sym: 319; act: -112 ),
  3666. { 224: }
  3667. ( sym: 306; act: 189 ),
  3668. ( sym: 307; act: 190 ),
  3669. ( sym: 308; act: 191 ),
  3670. ( sym: 309; act: 192 ),
  3671. ( sym: 310; act: 193 ),
  3672. ( sym: 311; act: 194 ),
  3673. ( sym: 312; act: 195 ),
  3674. ( sym: 313; act: 196 ),
  3675. ( sym: 314; act: 197 ),
  3676. ( sym: 315; act: 198 ),
  3677. ( sym: 259; act: -114 ),
  3678. ( sym: 260; act: -114 ),
  3679. ( sym: 261; act: -114 ),
  3680. ( sym: 262; act: -114 ),
  3681. ( sym: 263; act: -114 ),
  3682. ( sym: 264; act: -114 ),
  3683. ( sym: 265; act: -114 ),
  3684. ( sym: 267; act: -114 ),
  3685. ( sym: 286; act: -114 ),
  3686. ( sym: 296; act: -114 ),
  3687. ( sym: 300; act: -114 ),
  3688. ( sym: 301; act: -114 ),
  3689. ( sym: 302; act: -114 ),
  3690. ( sym: 303; act: -114 ),
  3691. ( sym: 304; act: -114 ),
  3692. ( sym: 305; act: -114 ),
  3693. ( sym: 318; act: -114 ),
  3694. ( sym: 319; act: -114 ),
  3695. { 225: }
  3696. { 226: }
  3697. ( sym: 259; act: 255 ),
  3698. ( sym: 300; act: 183 ),
  3699. ( sym: 301; act: 184 ),
  3700. ( sym: 302; act: 185 ),
  3701. ( sym: 303; act: 186 ),
  3702. ( sym: 304; act: 187 ),
  3703. ( sym: 305; act: 188 ),
  3704. ( sym: 306; act: 189 ),
  3705. ( sym: 307; act: 190 ),
  3706. ( sym: 308; act: 191 ),
  3707. ( sym: 309; act: 192 ),
  3708. ( sym: 310; act: 193 ),
  3709. ( sym: 311; act: 194 ),
  3710. ( sym: 312; act: 195 ),
  3711. ( sym: 313; act: 196 ),
  3712. ( sym: 314; act: 197 ),
  3713. ( sym: 315; act: 198 ),
  3714. { 227: }
  3715. ( sym: 308; act: 191 ),
  3716. ( sym: 309; act: 192 ),
  3717. ( sym: 310; act: 193 ),
  3718. ( sym: 311; act: 194 ),
  3719. ( sym: 312; act: 195 ),
  3720. ( sym: 313; act: 196 ),
  3721. ( sym: 314; act: 197 ),
  3722. ( sym: 315; act: 198 ),
  3723. ( sym: 259; act: -119 ),
  3724. ( sym: 260; act: -119 ),
  3725. ( sym: 261; act: -119 ),
  3726. ( sym: 262; act: -119 ),
  3727. ( sym: 263; act: -119 ),
  3728. ( sym: 264; act: -119 ),
  3729. ( sym: 265; act: -119 ),
  3730. ( sym: 267; act: -119 ),
  3731. ( sym: 286; act: -119 ),
  3732. ( sym: 296; act: -119 ),
  3733. ( sym: 300; act: -119 ),
  3734. ( sym: 301; act: -119 ),
  3735. ( sym: 302; act: -119 ),
  3736. ( sym: 303; act: -119 ),
  3737. ( sym: 304; act: -119 ),
  3738. ( sym: 305; act: -119 ),
  3739. ( sym: 306; act: -119 ),
  3740. ( sym: 307; act: -119 ),
  3741. ( sym: 318; act: -119 ),
  3742. ( sym: 319; act: -119 ),
  3743. { 228: }
  3744. ( sym: 309; act: 192 ),
  3745. ( sym: 310; act: 193 ),
  3746. ( sym: 311; act: 194 ),
  3747. ( sym: 312; act: 195 ),
  3748. ( sym: 313; act: 196 ),
  3749. ( sym: 314; act: 197 ),
  3750. ( sym: 315; act: 198 ),
  3751. ( sym: 259; act: -120 ),
  3752. ( sym: 260; act: -120 ),
  3753. ( sym: 261; act: -120 ),
  3754. ( sym: 262; act: -120 ),
  3755. ( sym: 263; act: -120 ),
  3756. ( sym: 264; act: -120 ),
  3757. ( sym: 265; act: -120 ),
  3758. ( sym: 267; act: -120 ),
  3759. ( sym: 286; act: -120 ),
  3760. ( sym: 296; act: -120 ),
  3761. ( sym: 300; act: -120 ),
  3762. ( sym: 301; act: -120 ),
  3763. ( sym: 302; act: -120 ),
  3764. ( sym: 303; act: -120 ),
  3765. ( sym: 304; act: -120 ),
  3766. ( sym: 305; act: -120 ),
  3767. ( sym: 306; act: -120 ),
  3768. ( sym: 307; act: -120 ),
  3769. ( sym: 308; act: -120 ),
  3770. ( sym: 318; act: -120 ),
  3771. ( sym: 319; act: -120 ),
  3772. { 229: }
  3773. ( sym: 311; act: 194 ),
  3774. ( sym: 312; act: 195 ),
  3775. ( sym: 313; act: 196 ),
  3776. ( sym: 314; act: 197 ),
  3777. ( sym: 315; act: 198 ),
  3778. ( sym: 259; act: -115 ),
  3779. ( sym: 260; act: -115 ),
  3780. ( sym: 261; act: -115 ),
  3781. ( sym: 262; act: -115 ),
  3782. ( sym: 263; act: -115 ),
  3783. ( sym: 264; act: -115 ),
  3784. ( sym: 265; act: -115 ),
  3785. ( sym: 267; act: -115 ),
  3786. ( sym: 286; act: -115 ),
  3787. ( sym: 296; act: -115 ),
  3788. ( sym: 300; act: -115 ),
  3789. ( sym: 301; act: -115 ),
  3790. ( sym: 302; act: -115 ),
  3791. ( sym: 303; act: -115 ),
  3792. ( sym: 304; act: -115 ),
  3793. ( sym: 305; act: -115 ),
  3794. ( sym: 306; act: -115 ),
  3795. ( sym: 307; act: -115 ),
  3796. ( sym: 308; act: -115 ),
  3797. ( sym: 309; act: -115 ),
  3798. ( sym: 310; act: -115 ),
  3799. ( sym: 318; act: -115 ),
  3800. ( sym: 319; act: -115 ),
  3801. { 230: }
  3802. ( sym: 311; act: 194 ),
  3803. ( sym: 312; act: 195 ),
  3804. ( sym: 313; act: 196 ),
  3805. ( sym: 314; act: 197 ),
  3806. ( sym: 315; act: 198 ),
  3807. ( sym: 259; act: -116 ),
  3808. ( sym: 260; act: -116 ),
  3809. ( sym: 261; act: -116 ),
  3810. ( sym: 262; act: -116 ),
  3811. ( sym: 263; act: -116 ),
  3812. ( sym: 264; act: -116 ),
  3813. ( sym: 265; act: -116 ),
  3814. ( sym: 267; act: -116 ),
  3815. ( sym: 286; act: -116 ),
  3816. ( sym: 296; act: -116 ),
  3817. ( sym: 300; act: -116 ),
  3818. ( sym: 301; act: -116 ),
  3819. ( sym: 302; act: -116 ),
  3820. ( sym: 303; act: -116 ),
  3821. ( sym: 304; act: -116 ),
  3822. ( sym: 305; act: -116 ),
  3823. ( sym: 306; act: -116 ),
  3824. ( sym: 307; act: -116 ),
  3825. ( sym: 308; act: -116 ),
  3826. ( sym: 309; act: -116 ),
  3827. ( sym: 310; act: -116 ),
  3828. ( sym: 318; act: -116 ),
  3829. ( sym: 319; act: -116 ),
  3830. { 231: }
  3831. ( sym: 313; act: 196 ),
  3832. ( sym: 314; act: 197 ),
  3833. ( sym: 315; act: 198 ),
  3834. ( sym: 259; act: -123 ),
  3835. ( sym: 260; act: -123 ),
  3836. ( sym: 261; act: -123 ),
  3837. ( sym: 262; act: -123 ),
  3838. ( sym: 263; act: -123 ),
  3839. ( sym: 264; act: -123 ),
  3840. ( sym: 265; act: -123 ),
  3841. ( sym: 267; act: -123 ),
  3842. ( sym: 286; act: -123 ),
  3843. ( sym: 296; act: -123 ),
  3844. ( sym: 300; act: -123 ),
  3845. ( sym: 301; act: -123 ),
  3846. ( sym: 302; act: -123 ),
  3847. ( sym: 303; act: -123 ),
  3848. ( sym: 304; act: -123 ),
  3849. ( sym: 305; act: -123 ),
  3850. ( sym: 306; act: -123 ),
  3851. ( sym: 307; act: -123 ),
  3852. ( sym: 308; act: -123 ),
  3853. ( sym: 309; act: -123 ),
  3854. ( sym: 310; act: -123 ),
  3855. ( sym: 311; act: -123 ),
  3856. ( sym: 312; act: -123 ),
  3857. ( sym: 318; act: -123 ),
  3858. ( sym: 319; act: -123 ),
  3859. { 232: }
  3860. ( sym: 313; act: 196 ),
  3861. ( sym: 314; act: 197 ),
  3862. ( sym: 315; act: 198 ),
  3863. ( sym: 259; act: -122 ),
  3864. ( sym: 260; act: -122 ),
  3865. ( sym: 261; act: -122 ),
  3866. ( sym: 262; act: -122 ),
  3867. ( sym: 263; act: -122 ),
  3868. ( sym: 264; act: -122 ),
  3869. ( sym: 265; act: -122 ),
  3870. ( sym: 267; act: -122 ),
  3871. ( sym: 286; act: -122 ),
  3872. ( sym: 296; act: -122 ),
  3873. ( sym: 300; act: -122 ),
  3874. ( sym: 301; act: -122 ),
  3875. ( sym: 302; act: -122 ),
  3876. ( sym: 303; act: -122 ),
  3877. ( sym: 304; act: -122 ),
  3878. ( sym: 305; act: -122 ),
  3879. ( sym: 306; act: -122 ),
  3880. ( sym: 307; act: -122 ),
  3881. ( sym: 308; act: -122 ),
  3882. ( sym: 309; act: -122 ),
  3883. ( sym: 310; act: -122 ),
  3884. ( sym: 311; act: -122 ),
  3885. ( sym: 312; act: -122 ),
  3886. ( sym: 318; act: -122 ),
  3887. ( sym: 319; act: -122 ),
  3888. { 233: }
  3889. ( sym: 315; act: 198 ),
  3890. ( sym: 259; act: -117 ),
  3891. ( sym: 260; act: -117 ),
  3892. ( sym: 261; act: -117 ),
  3893. ( sym: 262; act: -117 ),
  3894. ( sym: 263; act: -117 ),
  3895. ( sym: 264; act: -117 ),
  3896. ( sym: 265; act: -117 ),
  3897. ( sym: 267; act: -117 ),
  3898. ( sym: 286; act: -117 ),
  3899. ( sym: 296; act: -117 ),
  3900. ( sym: 300; act: -117 ),
  3901. ( sym: 301; act: -117 ),
  3902. ( sym: 302; act: -117 ),
  3903. ( sym: 303; act: -117 ),
  3904. ( sym: 304; act: -117 ),
  3905. ( sym: 305; act: -117 ),
  3906. ( sym: 306; act: -117 ),
  3907. ( sym: 307; act: -117 ),
  3908. ( sym: 308; act: -117 ),
  3909. ( sym: 309; act: -117 ),
  3910. ( sym: 310; act: -117 ),
  3911. ( sym: 311; act: -117 ),
  3912. ( sym: 312; act: -117 ),
  3913. ( sym: 313; act: -117 ),
  3914. ( sym: 314; act: -117 ),
  3915. ( sym: 318; act: -117 ),
  3916. ( sym: 319; act: -117 ),
  3917. { 234: }
  3918. ( sym: 315; act: 198 ),
  3919. ( sym: 259; act: -118 ),
  3920. ( sym: 260; act: -118 ),
  3921. ( sym: 261; act: -118 ),
  3922. ( sym: 262; act: -118 ),
  3923. ( sym: 263; act: -118 ),
  3924. ( sym: 264; act: -118 ),
  3925. ( sym: 265; act: -118 ),
  3926. ( sym: 267; act: -118 ),
  3927. ( sym: 286; act: -118 ),
  3928. ( sym: 296; act: -118 ),
  3929. ( sym: 300; act: -118 ),
  3930. ( sym: 301; act: -118 ),
  3931. ( sym: 302; act: -118 ),
  3932. ( sym: 303; act: -118 ),
  3933. ( sym: 304; act: -118 ),
  3934. ( sym: 305; act: -118 ),
  3935. ( sym: 306; act: -118 ),
  3936. ( sym: 307; act: -118 ),
  3937. ( sym: 308; act: -118 ),
  3938. ( sym: 309; act: -118 ),
  3939. ( sym: 310; act: -118 ),
  3940. ( sym: 311; act: -118 ),
  3941. ( sym: 312; act: -118 ),
  3942. ( sym: 313; act: -118 ),
  3943. ( sym: 314; act: -118 ),
  3944. ( sym: 318; act: -118 ),
  3945. ( sym: 319; act: -118 ),
  3946. { 235: }
  3947. ( sym: 315; act: 198 ),
  3948. ( sym: 259; act: -121 ),
  3949. ( sym: 260; act: -121 ),
  3950. ( sym: 261; act: -121 ),
  3951. ( sym: 262; act: -121 ),
  3952. ( sym: 263; act: -121 ),
  3953. ( sym: 264; act: -121 ),
  3954. ( sym: 265; act: -121 ),
  3955. ( sym: 267; act: -121 ),
  3956. ( sym: 286; act: -121 ),
  3957. ( sym: 296; act: -121 ),
  3958. ( sym: 300; act: -121 ),
  3959. ( sym: 301; act: -121 ),
  3960. ( sym: 302; act: -121 ),
  3961. ( sym: 303; act: -121 ),
  3962. ( sym: 304; act: -121 ),
  3963. ( sym: 305; act: -121 ),
  3964. ( sym: 306; act: -121 ),
  3965. ( sym: 307; act: -121 ),
  3966. ( sym: 308; act: -121 ),
  3967. ( sym: 309; act: -121 ),
  3968. ( sym: 310; act: -121 ),
  3969. ( sym: 311; act: -121 ),
  3970. ( sym: 312; act: -121 ),
  3971. ( sym: 313; act: -121 ),
  3972. ( sym: 314; act: -121 ),
  3973. ( sym: 318; act: -121 ),
  3974. ( sym: 319; act: -121 ),
  3975. { 236: }
  3976. ( sym: 263; act: 256 ),
  3977. { 237: }
  3978. ( sym: 318; act: 144 ),
  3979. ( sym: 319; act: 145 ),
  3980. ( sym: 259; act: -138 ),
  3981. ( sym: 260; act: -138 ),
  3982. ( sym: 261; act: -138 ),
  3983. ( sym: 262; act: -138 ),
  3984. ( sym: 263; act: -138 ),
  3985. ( sym: 264; act: -138 ),
  3986. ( sym: 265; act: -138 ),
  3987. ( sym: 267; act: -138 ),
  3988. ( sym: 286; act: -138 ),
  3989. ( sym: 296; act: -138 ),
  3990. ( sym: 300; act: -138 ),
  3991. ( sym: 301; act: -138 ),
  3992. ( sym: 302; act: -138 ),
  3993. ( sym: 303; act: -138 ),
  3994. ( sym: 304; act: -138 ),
  3995. ( sym: 305; act: -138 ),
  3996. ( sym: 306; act: -138 ),
  3997. ( sym: 307; act: -138 ),
  3998. ( sym: 308; act: -138 ),
  3999. ( sym: 309; act: -138 ),
  4000. ( sym: 310; act: -138 ),
  4001. ( sym: 311; act: -138 ),
  4002. ( sym: 312; act: -138 ),
  4003. ( sym: 313; act: -138 ),
  4004. ( sym: 314; act: -138 ),
  4005. ( sym: 315; act: -138 ),
  4006. { 238: }
  4007. ( sym: 262; act: 108 ),
  4008. ( sym: 271; act: 23 ),
  4009. ( sym: 272; act: 109 ),
  4010. ( sym: 273; act: 110 ),
  4011. ( sym: 308; act: 112 ),
  4012. ( sym: 310; act: 113 ),
  4013. ( sym: 315; act: 114 ),
  4014. { 239: }
  4015. { 240: }
  4016. ( sym: 318; act: 144 ),
  4017. ( sym: 319; act: 145 ),
  4018. ( sym: 259; act: -127 ),
  4019. ( sym: 260; act: -127 ),
  4020. ( sym: 261; act: -127 ),
  4021. ( sym: 262; act: -127 ),
  4022. ( sym: 263; act: -127 ),
  4023. ( sym: 264; act: -127 ),
  4024. ( sym: 265; act: -127 ),
  4025. ( sym: 267; act: -127 ),
  4026. ( sym: 286; act: -127 ),
  4027. ( sym: 296; act: -127 ),
  4028. ( sym: 300; act: -127 ),
  4029. ( sym: 301; act: -127 ),
  4030. ( sym: 302; act: -127 ),
  4031. ( sym: 303; act: -127 ),
  4032. ( sym: 304; act: -127 ),
  4033. ( sym: 305; act: -127 ),
  4034. ( sym: 306; act: -127 ),
  4035. ( sym: 307; act: -127 ),
  4036. ( sym: 308; act: -127 ),
  4037. ( sym: 309; act: -127 ),
  4038. ( sym: 310; act: -127 ),
  4039. ( sym: 311; act: -127 ),
  4040. ( sym: 312; act: -127 ),
  4041. ( sym: 313; act: -127 ),
  4042. ( sym: 314; act: -127 ),
  4043. ( sym: 315; act: -127 ),
  4044. { 241: }
  4045. { 242: }
  4046. ( sym: 262; act: 208 ),
  4047. ( sym: 271; act: 23 ),
  4048. ( sym: 281; act: 209 ),
  4049. ( sym: 282; act: 83 ),
  4050. ( sym: 283; act: 84 ),
  4051. ( sym: 284; act: 85 ),
  4052. ( sym: 308; act: 86 ),
  4053. ( sym: 313; act: 247 ),
  4054. ( sym: 261; act: -107 ),
  4055. ( sym: 263; act: -107 ),
  4056. ( sym: 264; act: -107 ),
  4057. { 243: }
  4058. { 244: }
  4059. ( sym: 263; act: 160 ),
  4060. ( sym: 268; act: 20 ),
  4061. ( sym: 269; act: 21 ),
  4062. ( sym: 270; act: 22 ),
  4063. ( sym: 271; act: 23 ),
  4064. ( sym: 274; act: 24 ),
  4065. ( sym: 275; act: 25 ),
  4066. ( sym: 276; act: 26 ),
  4067. ( sym: 277; act: 27 ),
  4068. ( sym: 278; act: 28 ),
  4069. ( sym: 279; act: 29 ),
  4070. ( sym: 280; act: 161 ),
  4071. ( sym: 281; act: 31 ),
  4072. ( sym: 298; act: 162 ),
  4073. { 245: }
  4074. ( sym: 262; act: 108 ),
  4075. ( sym: 271; act: 23 ),
  4076. ( sym: 272; act: 109 ),
  4077. ( sym: 273; act: 110 ),
  4078. ( sym: 308; act: 112 ),
  4079. ( sym: 310; act: 113 ),
  4080. ( sym: 315; act: 114 ),
  4081. { 246: }
  4082. ( sym: 262; act: 244 ),
  4083. ( sym: 263; act: 261 ),
  4084. ( sym: 264; act: 245 ),
  4085. { 247: }
  4086. ( sym: 262; act: 208 ),
  4087. ( sym: 271; act: 23 ),
  4088. ( sym: 281; act: 209 ),
  4089. ( sym: 282; act: 83 ),
  4090. ( sym: 283; act: 84 ),
  4091. ( sym: 284; act: 85 ),
  4092. ( sym: 308; act: 86 ),
  4093. ( sym: 313; act: 247 ),
  4094. ( sym: 261; act: -107 ),
  4095. ( sym: 263; act: -107 ),
  4096. ( sym: 264; act: -107 ),
  4097. { 248: }
  4098. ( sym: 262; act: 244 ),
  4099. ( sym: 264; act: 245 ),
  4100. ( sym: 261; act: -100 ),
  4101. ( sym: 263; act: -100 ),
  4102. { 249: }
  4103. ( sym: 264; act: 245 ),
  4104. ( sym: 261; act: -102 ),
  4105. ( sym: 262; act: -102 ),
  4106. ( sym: 263; act: -102 ),
  4107. { 250: }
  4108. ( sym: 262; act: 119 ),
  4109. ( sym: 264; act: 120 ),
  4110. ( sym: 261; act: -79 ),
  4111. ( sym: 263; act: -79 ),
  4112. { 251: }
  4113. { 252: }
  4114. ( sym: 263; act: 262 ),
  4115. { 253: }
  4116. { 254: }
  4117. { 255: }
  4118. ( sym: 262; act: 108 ),
  4119. ( sym: 271; act: 23 ),
  4120. ( sym: 272; act: 109 ),
  4121. ( sym: 273; act: 110 ),
  4122. ( sym: 308; act: 112 ),
  4123. ( sym: 310; act: 113 ),
  4124. ( sym: 315; act: 114 ),
  4125. { 256: }
  4126. ( sym: 262; act: 108 ),
  4127. ( sym: 271; act: 23 ),
  4128. ( sym: 272; act: 109 ),
  4129. ( sym: 273; act: 110 ),
  4130. ( sym: 308; act: 112 ),
  4131. ( sym: 310; act: 113 ),
  4132. ( sym: 315; act: 114 ),
  4133. { 257: }
  4134. ( sym: 318; act: 144 ),
  4135. ( sym: 319; act: 145 ),
  4136. ( sym: 259; act: -139 ),
  4137. ( sym: 260; act: -139 ),
  4138. ( sym: 261; act: -139 ),
  4139. ( sym: 262; act: -139 ),
  4140. ( sym: 263; act: -139 ),
  4141. ( sym: 264; act: -139 ),
  4142. ( sym: 265; act: -139 ),
  4143. ( sym: 267; act: -139 ),
  4144. ( sym: 286; act: -139 ),
  4145. ( sym: 296; act: -139 ),
  4146. ( sym: 300; act: -139 ),
  4147. ( sym: 301; act: -139 ),
  4148. ( sym: 302; act: -139 ),
  4149. ( sym: 303; act: -139 ),
  4150. ( sym: 304; act: -139 ),
  4151. ( sym: 305; act: -139 ),
  4152. ( sym: 306; act: -139 ),
  4153. ( sym: 307; act: -139 ),
  4154. ( sym: 308; act: -139 ),
  4155. ( sym: 309; act: -139 ),
  4156. ( sym: 310; act: -139 ),
  4157. ( sym: 311; act: -139 ),
  4158. ( sym: 312; act: -139 ),
  4159. ( sym: 313; act: -139 ),
  4160. ( sym: 314; act: -139 ),
  4161. ( sym: 315; act: -139 ),
  4162. { 258: }
  4163. ( sym: 262; act: 244 ),
  4164. ( sym: 264; act: 245 ),
  4165. ( sym: 261; act: -101 ),
  4166. ( sym: 263; act: -101 ),
  4167. { 259: }
  4168. ( sym: 263; act: 265 ),
  4169. { 260: }
  4170. ( sym: 265; act: 266 ),
  4171. ( sym: 300; act: 183 ),
  4172. ( sym: 301; act: 184 ),
  4173. ( sym: 302; act: 185 ),
  4174. ( sym: 303; act: 186 ),
  4175. ( sym: 304; act: 187 ),
  4176. ( sym: 305; act: 188 ),
  4177. ( sym: 306; act: 189 ),
  4178. ( sym: 307; act: 190 ),
  4179. ( sym: 308; act: 191 ),
  4180. ( sym: 309; act: 192 ),
  4181. ( sym: 310; act: 193 ),
  4182. ( sym: 311; act: 194 ),
  4183. ( sym: 312; act: 195 ),
  4184. ( sym: 313; act: 196 ),
  4185. ( sym: 314; act: 197 ),
  4186. ( sym: 315; act: 198 ),
  4187. { 261: }
  4188. { 262: }
  4189. { 263: }
  4190. ( sym: 307; act: 190 ),
  4191. ( sym: 308; act: 191 ),
  4192. ( sym: 309; act: 192 ),
  4193. ( sym: 310; act: 193 ),
  4194. ( sym: 311; act: 194 ),
  4195. ( sym: 312; act: 195 ),
  4196. ( sym: 313; act: 196 ),
  4197. ( sym: 314; act: 197 ),
  4198. ( sym: 315; act: 198 ),
  4199. ( sym: 259; act: -126 ),
  4200. ( sym: 260; act: -126 ),
  4201. ( sym: 261; act: -126 ),
  4202. ( sym: 262; act: -126 ),
  4203. ( sym: 263; act: -126 ),
  4204. ( sym: 264; act: -126 ),
  4205. ( sym: 265; act: -126 ),
  4206. ( sym: 267; act: -126 ),
  4207. ( sym: 286; act: -126 ),
  4208. ( sym: 296; act: -126 ),
  4209. ( sym: 300; act: -126 ),
  4210. ( sym: 301; act: -126 ),
  4211. ( sym: 302; act: -126 ),
  4212. ( sym: 303; act: -126 ),
  4213. ( sym: 304; act: -126 ),
  4214. ( sym: 305; act: -126 ),
  4215. ( sym: 306; act: -126 ),
  4216. ( sym: 318; act: -126 ),
  4217. ( sym: 319; act: -126 ),
  4218. { 264: }
  4219. ( sym: 318; act: 144 ),
  4220. ( sym: 319; act: 145 ),
  4221. ( sym: 259; act: -140 ),
  4222. ( sym: 260; act: -140 ),
  4223. ( sym: 261; act: -140 ),
  4224. ( sym: 262; act: -140 ),
  4225. ( sym: 263; act: -140 ),
  4226. ( sym: 264; act: -140 ),
  4227. ( sym: 265; act: -140 ),
  4228. ( sym: 267; act: -140 ),
  4229. ( sym: 286; act: -140 ),
  4230. ( sym: 296; act: -140 ),
  4231. ( sym: 300; act: -140 ),
  4232. ( sym: 301; act: -140 ),
  4233. ( sym: 302; act: -140 ),
  4234. ( sym: 303; act: -140 ),
  4235. ( sym: 304; act: -140 ),
  4236. ( sym: 305; act: -140 ),
  4237. ( sym: 306; act: -140 ),
  4238. ( sym: 307; act: -140 ),
  4239. ( sym: 308; act: -140 ),
  4240. ( sym: 309; act: -140 ),
  4241. ( sym: 310; act: -140 ),
  4242. ( sym: 311; act: -140 ),
  4243. ( sym: 312; act: -140 ),
  4244. ( sym: 313; act: -140 ),
  4245. ( sym: 314; act: -140 ),
  4246. ( sym: 315; act: -140 )
  4247. { 265: }
  4248. { 266: }
  4249. );
  4250. yyg : array [1..yyngotos] of YYARec = (
  4251. { 0: }
  4252. ( sym: -13; act: 1 ),
  4253. ( sym: -7; act: 2 ),
  4254. ( sym: -6; act: 3 ),
  4255. ( sym: -5; act: 4 ),
  4256. ( sym: -3; act: 5 ),
  4257. ( sym: -2; act: 6 ),
  4258. { 1: }
  4259. { 2: }
  4260. ( sym: -23; act: 15 ),
  4261. ( sym: -21; act: 16 ),
  4262. ( sym: -13; act: 17 ),
  4263. ( sym: -11; act: 18 ),
  4264. ( sym: -10; act: 19 ),
  4265. { 3: }
  4266. { 4: }
  4267. { 5: }
  4268. ( sym: -13; act: 1 ),
  4269. ( sym: -7; act: 2 ),
  4270. ( sym: -6; act: 32 ),
  4271. ( sym: -5; act: 33 ),
  4272. { 6: }
  4273. { 7: }
  4274. ( sym: -4; act: 34 ),
  4275. { 8: }
  4276. ( sym: -23; act: 15 ),
  4277. ( sym: -21; act: 16 ),
  4278. ( sym: -13; act: 17 ),
  4279. ( sym: -11; act: 35 ),
  4280. ( sym: -10; act: 36 ),
  4281. { 9: }
  4282. ( sym: -10; act: 38 ),
  4283. { 10: }
  4284. ( sym: -10; act: 39 ),
  4285. { 11: }
  4286. ( sym: -10; act: 40 ),
  4287. { 12: }
  4288. ( sym: -10; act: 41 ),
  4289. { 13: }
  4290. { 14: }
  4291. { 15: }
  4292. { 16: }
  4293. { 17: }
  4294. { 18: }
  4295. ( sym: -8; act: 42 ),
  4296. { 19: }
  4297. { 20: }
  4298. ( sym: -18; act: 50 ),
  4299. ( sym: -10; act: 39 ),
  4300. { 21: }
  4301. ( sym: -18; act: 53 ),
  4302. ( sym: -10; act: 40 ),
  4303. { 22: }
  4304. ( sym: -20; act: 54 ),
  4305. ( sym: -10; act: 41 ),
  4306. { 23: }
  4307. { 24: }
  4308. { 25: }
  4309. { 26: }
  4310. { 27: }
  4311. { 28: }
  4312. { 29: }
  4313. { 30: }
  4314. { 31: }
  4315. ( sym: -23; act: 15 ),
  4316. ( sym: -21; act: 16 ),
  4317. ( sym: -13; act: 17 ),
  4318. ( sym: -11; act: 63 ),
  4319. ( sym: -10; act: 19 ),
  4320. { 32: }
  4321. { 33: }
  4322. { 34: }
  4323. { 35: }
  4324. ( sym: -8; act: 66 ),
  4325. { 36: }
  4326. { 37: }
  4327. ( sym: -18; act: 50 ),
  4328. ( sym: -10; act: 69 ),
  4329. { 38: }
  4330. { 39: }
  4331. ( sym: -18; act: 73 ),
  4332. { 40: }
  4333. ( sym: -18; act: 74 ),
  4334. { 41: }
  4335. ( sym: -20; act: 75 ),
  4336. { 42: }
  4337. ( sym: -26; act: 76 ),
  4338. ( sym: -14; act: 77 ),
  4339. ( sym: -12; act: 78 ),
  4340. ( sym: -10; act: 79 ),
  4341. { 43: }
  4342. { 44: }
  4343. { 45: }
  4344. { 46: }
  4345. { 47: }
  4346. { 48: }
  4347. { 49: }
  4348. { 50: }
  4349. { 51: }
  4350. ( sym: -4; act: 89 ),
  4351. { 52: }
  4352. ( sym: -23; act: 15 ),
  4353. ( sym: -22; act: 90 ),
  4354. ( sym: -21; act: 16 ),
  4355. ( sym: -19; act: 91 ),
  4356. ( sym: -13; act: 17 ),
  4357. ( sym: -11; act: 92 ),
  4358. ( sym: -10; act: 19 ),
  4359. { 53: }
  4360. { 54: }
  4361. { 55: }
  4362. ( sym: -4; act: 94 ),
  4363. { 56: }
  4364. ( sym: -35; act: 95 ),
  4365. ( sym: -16; act: 96 ),
  4366. ( sym: -10; act: 97 ),
  4367. { 57: }
  4368. { 58: }
  4369. { 59: }
  4370. { 60: }
  4371. { 61: }
  4372. { 62: }
  4373. { 63: }
  4374. { 64: }
  4375. { 65: }
  4376. { 66: }
  4377. ( sym: -26; act: 76 ),
  4378. ( sym: -14; act: 77 ),
  4379. ( sym: -12; act: 101 ),
  4380. ( sym: -10; act: 79 ),
  4381. { 67: }
  4382. ( sym: -8; act: 102 ),
  4383. { 68: }
  4384. { 69: }
  4385. ( sym: -18; act: 73 ),
  4386. ( sym: -10; act: 103 ),
  4387. { 70: }
  4388. ( sym: -35; act: 95 ),
  4389. ( sym: -16; act: 104 ),
  4390. ( sym: -10; act: 97 ),
  4391. { 71: }
  4392. { 72: }
  4393. ( sym: -32; act: 105 ),
  4394. ( sym: -17; act: 106 ),
  4395. ( sym: -10; act: 107 ),
  4396. { 73: }
  4397. { 74: }
  4398. { 75: }
  4399. { 76: }
  4400. { 77: }
  4401. ( sym: -29; act: 118 ),
  4402. { 78: }
  4403. ( sym: -9; act: 121 ),
  4404. { 79: }
  4405. ( sym: -28; act: 124 ),
  4406. { 80: }
  4407. ( sym: -4; act: 126 ),
  4408. { 81: }
  4409. ( sym: -26; act: 76 ),
  4410. ( sym: -14; act: 127 ),
  4411. ( sym: -10; act: 79 ),
  4412. { 82: }
  4413. ( sym: -26; act: 76 ),
  4414. ( sym: -14; act: 128 ),
  4415. ( sym: -10; act: 79 ),
  4416. { 83: }
  4417. { 84: }
  4418. { 85: }
  4419. { 86: }
  4420. ( sym: -26; act: 76 ),
  4421. ( sym: -14; act: 129 ),
  4422. ( sym: -10; act: 79 ),
  4423. { 87: }
  4424. ( sym: -26; act: 76 ),
  4425. ( sym: -14; act: 130 ),
  4426. ( sym: -10; act: 79 ),
  4427. { 88: }
  4428. { 89: }
  4429. { 90: }
  4430. ( sym: -23; act: 15 ),
  4431. ( sym: -22; act: 90 ),
  4432. ( sym: -21; act: 16 ),
  4433. ( sym: -19; act: 132 ),
  4434. ( sym: -13; act: 17 ),
  4435. ( sym: -11; act: 92 ),
  4436. ( sym: -10; act: 19 ),
  4437. { 91: }
  4438. { 92: }
  4439. ( sym: -26; act: 76 ),
  4440. ( sym: -14; act: 77 ),
  4441. ( sym: -12; act: 134 ),
  4442. ( sym: -10; act: 79 ),
  4443. { 93: }
  4444. { 94: }
  4445. { 95: }
  4446. { 96: }
  4447. { 97: }
  4448. { 98: }
  4449. { 99: }
  4450. { 100: }
  4451. { 101: }
  4452. { 102: }
  4453. ( sym: -26; act: 76 ),
  4454. ( sym: -14; act: 141 ),
  4455. ( sym: -10; act: 79 ),
  4456. { 103: }
  4457. { 104: }
  4458. { 105: }
  4459. { 106: }
  4460. { 107: }
  4461. { 108: }
  4462. ( sym: -32; act: 148 ),
  4463. ( sym: -30; act: 149 ),
  4464. ( sym: -27; act: 150 ),
  4465. ( sym: -23; act: 15 ),
  4466. ( sym: -21; act: 16 ),
  4467. ( sym: -13; act: 17 ),
  4468. ( sym: -11; act: 151 ),
  4469. ( sym: -10; act: 152 ),
  4470. { 109: }
  4471. { 110: }
  4472. { 111: }
  4473. { 112: }
  4474. ( sym: -32; act: 153 ),
  4475. ( sym: -10; act: 107 ),
  4476. { 113: }
  4477. ( sym: -32; act: 154 ),
  4478. ( sym: -10; act: 107 ),
  4479. { 114: }
  4480. ( sym: -32; act: 155 ),
  4481. ( sym: -10; act: 107 ),
  4482. { 115: }
  4483. { 116: }
  4484. { 117: }
  4485. ( sym: -26; act: 76 ),
  4486. ( sym: -14; act: 156 ),
  4487. ( sym: -10; act: 79 ),
  4488. { 118: }
  4489. { 119: }
  4490. ( sym: -24; act: 157 ),
  4491. ( sym: -23; act: 15 ),
  4492. ( sym: -21; act: 16 ),
  4493. ( sym: -15; act: 158 ),
  4494. ( sym: -13; act: 17 ),
  4495. ( sym: -11; act: 159 ),
  4496. ( sym: -10; act: 19 ),
  4497. { 120: }
  4498. ( sym: -32; act: 148 ),
  4499. ( sym: -30; act: 163 ),
  4500. ( sym: -27; act: 164 ),
  4501. ( sym: -10; act: 107 ),
  4502. { 121: }
  4503. { 122: }
  4504. ( sym: -26; act: 76 ),
  4505. ( sym: -14; act: 166 ),
  4506. ( sym: -10; act: 79 ),
  4507. { 123: }
  4508. { 124: }
  4509. ( sym: -32; act: 148 ),
  4510. ( sym: -30; act: 163 ),
  4511. ( sym: -27; act: 168 ),
  4512. ( sym: -10; act: 107 ),
  4513. { 125: }
  4514. ( sym: -32; act: 148 ),
  4515. ( sym: -30; act: 163 ),
  4516. ( sym: -27; act: 169 ),
  4517. ( sym: -10; act: 107 ),
  4518. { 126: }
  4519. { 127: }
  4520. ( sym: -29; act: 118 ),
  4521. { 128: }
  4522. ( sym: -29; act: 118 ),
  4523. { 129: }
  4524. ( sym: -29; act: 118 ),
  4525. { 130: }
  4526. ( sym: -29; act: 118 ),
  4527. { 131: }
  4528. { 132: }
  4529. { 133: }
  4530. { 134: }
  4531. { 135: }
  4532. { 136: }
  4533. ( sym: -35; act: 95 ),
  4534. ( sym: -16; act: 173 ),
  4535. ( sym: -10; act: 97 ),
  4536. { 137: }
  4537. { 138: }
  4538. ( sym: -32; act: 148 ),
  4539. ( sym: -30; act: 163 ),
  4540. ( sym: -27; act: 174 ),
  4541. ( sym: -10; act: 107 ),
  4542. { 139: }
  4543. { 140: }
  4544. { 141: }
  4545. ( sym: -29; act: 118 ),
  4546. { 142: }
  4547. { 143: }
  4548. { 144: }
  4549. ( sym: -32; act: 148 ),
  4550. ( sym: -30; act: 163 ),
  4551. ( sym: -27; act: 177 ),
  4552. ( sym: -10; act: 107 ),
  4553. { 145: }
  4554. ( sym: -32; act: 148 ),
  4555. ( sym: -30; act: 163 ),
  4556. ( sym: -27; act: 178 ),
  4557. ( sym: -10; act: 107 ),
  4558. { 146: }
  4559. { 147: }
  4560. ( sym: -36; act: 179 ),
  4561. ( sym: -34; act: 180 ),
  4562. ( sym: -32; act: 148 ),
  4563. ( sym: -30; act: 163 ),
  4564. ( sym: -27; act: 181 ),
  4565. ( sym: -10; act: 107 ),
  4566. { 148: }
  4567. { 149: }
  4568. { 150: }
  4569. { 151: }
  4570. ( sym: -26; act: 199 ),
  4571. { 152: }
  4572. { 153: }
  4573. { 154: }
  4574. { 155: }
  4575. { 156: }
  4576. ( sym: -29; act: 118 ),
  4577. { 157: }
  4578. { 158: }
  4579. { 159: }
  4580. ( sym: -26; act: 205 ),
  4581. ( sym: -25; act: 206 ),
  4582. ( sym: -14; act: 207 ),
  4583. ( sym: -10; act: 79 ),
  4584. { 160: }
  4585. { 161: }
  4586. { 162: }
  4587. { 163: }
  4588. { 164: }
  4589. { 165: }
  4590. { 166: }
  4591. ( sym: -29; act: 118 ),
  4592. { 167: }
  4593. ( sym: -10; act: 213 ),
  4594. { 168: }
  4595. { 169: }
  4596. { 170: }
  4597. ( sym: -26; act: 76 ),
  4598. ( sym: -14; act: 77 ),
  4599. ( sym: -12; act: 214 ),
  4600. ( sym: -10; act: 79 ),
  4601. { 171: }
  4602. { 172: }
  4603. { 173: }
  4604. { 174: }
  4605. { 175: }
  4606. { 176: }
  4607. ( sym: -32; act: 105 ),
  4608. ( sym: -17; act: 216 ),
  4609. ( sym: -10; act: 107 ),
  4610. { 177: }
  4611. { 178: }
  4612. { 179: }
  4613. { 180: }
  4614. { 181: }
  4615. { 182: }
  4616. { 183: }
  4617. ( sym: -32; act: 148 ),
  4618. ( sym: -30; act: 163 ),
  4619. ( sym: -27; act: 219 ),
  4620. ( sym: -10; act: 107 ),
  4621. { 184: }
  4622. ( sym: -32; act: 148 ),
  4623. ( sym: -30; act: 163 ),
  4624. ( sym: -27; act: 220 ),
  4625. ( sym: -10; act: 107 ),
  4626. { 185: }
  4627. ( sym: -32; act: 148 ),
  4628. ( sym: -30; act: 163 ),
  4629. ( sym: -27; act: 221 ),
  4630. ( sym: -10; act: 107 ),
  4631. { 186: }
  4632. ( sym: -32; act: 148 ),
  4633. ( sym: -30; act: 163 ),
  4634. ( sym: -27; act: 222 ),
  4635. ( sym: -10; act: 107 ),
  4636. { 187: }
  4637. ( sym: -32; act: 148 ),
  4638. ( sym: -30; act: 163 ),
  4639. ( sym: -27; act: 223 ),
  4640. ( sym: -10; act: 107 ),
  4641. { 188: }
  4642. ( sym: -32; act: 148 ),
  4643. ( sym: -30; act: 163 ),
  4644. ( sym: -27; act: 224 ),
  4645. ( sym: -10; act: 107 ),
  4646. { 189: }
  4647. ( sym: -32; act: 148 ),
  4648. ( sym: -31; act: 225 ),
  4649. ( sym: -30; act: 163 ),
  4650. ( sym: -27; act: 226 ),
  4651. ( sym: -10; act: 107 ),
  4652. { 190: }
  4653. ( sym: -32; act: 148 ),
  4654. ( sym: -30; act: 163 ),
  4655. ( sym: -27; act: 227 ),
  4656. ( sym: -10; act: 107 ),
  4657. { 191: }
  4658. ( sym: -32; act: 148 ),
  4659. ( sym: -30; act: 163 ),
  4660. ( sym: -27; act: 228 ),
  4661. ( sym: -10; act: 107 ),
  4662. { 192: }
  4663. ( sym: -32; act: 148 ),
  4664. ( sym: -30; act: 163 ),
  4665. ( sym: -27; act: 229 ),
  4666. ( sym: -10; act: 107 ),
  4667. { 193: }
  4668. ( sym: -32; act: 148 ),
  4669. ( sym: -30; act: 163 ),
  4670. ( sym: -27; act: 230 ),
  4671. ( sym: -10; act: 107 ),
  4672. { 194: }
  4673. ( sym: -32; act: 148 ),
  4674. ( sym: -30; act: 163 ),
  4675. ( sym: -27; act: 231 ),
  4676. ( sym: -10; act: 107 ),
  4677. { 195: }
  4678. ( sym: -32; act: 148 ),
  4679. ( sym: -30; act: 163 ),
  4680. ( sym: -27; act: 232 ),
  4681. ( sym: -10; act: 107 ),
  4682. { 196: }
  4683. ( sym: -32; act: 148 ),
  4684. ( sym: -30; act: 163 ),
  4685. ( sym: -27; act: 233 ),
  4686. ( sym: -10; act: 107 ),
  4687. { 197: }
  4688. ( sym: -32; act: 148 ),
  4689. ( sym: -30; act: 163 ),
  4690. ( sym: -27; act: 234 ),
  4691. ( sym: -10; act: 107 ),
  4692. { 198: }
  4693. ( sym: -32; act: 148 ),
  4694. ( sym: -30; act: 163 ),
  4695. ( sym: -27; act: 235 ),
  4696. ( sym: -10; act: 107 ),
  4697. { 199: }
  4698. { 200: }
  4699. ( sym: -32; act: 237 ),
  4700. ( sym: -10; act: 107 ),
  4701. { 201: }
  4702. { 202: }
  4703. ( sym: -33; act: 239 ),
  4704. ( sym: -32; act: 240 ),
  4705. ( sym: -10; act: 107 ),
  4706. { 203: }
  4707. ( sym: -24; act: 157 ),
  4708. ( sym: -23; act: 15 ),
  4709. ( sym: -21; act: 16 ),
  4710. ( sym: -15; act: 241 ),
  4711. ( sym: -13; act: 17 ),
  4712. ( sym: -11; act: 159 ),
  4713. ( sym: -10; act: 19 ),
  4714. { 204: }
  4715. { 205: }
  4716. { 206: }
  4717. ( sym: -29; act: 243 ),
  4718. { 207: }
  4719. ( sym: -29; act: 118 ),
  4720. { 208: }
  4721. ( sym: -26; act: 205 ),
  4722. ( sym: -25; act: 246 ),
  4723. ( sym: -14; act: 127 ),
  4724. ( sym: -10; act: 79 ),
  4725. { 209: }
  4726. ( sym: -26; act: 205 ),
  4727. ( sym: -25; act: 248 ),
  4728. ( sym: -14; act: 128 ),
  4729. ( sym: -10; act: 79 ),
  4730. { 210: }
  4731. ( sym: -26; act: 205 ),
  4732. ( sym: -25; act: 249 ),
  4733. ( sym: -14; act: 250 ),
  4734. ( sym: -10; act: 79 ),
  4735. { 211: }
  4736. { 212: }
  4737. { 213: }
  4738. { 214: }
  4739. { 215: }
  4740. ( sym: -24; act: 157 ),
  4741. ( sym: -23; act: 15 ),
  4742. ( sym: -21; act: 16 ),
  4743. ( sym: -15; act: 252 ),
  4744. ( sym: -13; act: 17 ),
  4745. ( sym: -11; act: 159 ),
  4746. ( sym: -10; act: 19 ),
  4747. { 216: }
  4748. { 217: }
  4749. ( sym: -36; act: 179 ),
  4750. ( sym: -34; act: 254 ),
  4751. ( sym: -32; act: 148 ),
  4752. ( sym: -30; act: 163 ),
  4753. ( sym: -27; act: 181 ),
  4754. ( sym: -10; act: 107 ),
  4755. { 218: }
  4756. { 219: }
  4757. { 220: }
  4758. { 221: }
  4759. { 222: }
  4760. { 223: }
  4761. { 224: }
  4762. { 225: }
  4763. { 226: }
  4764. { 227: }
  4765. { 228: }
  4766. { 229: }
  4767. { 230: }
  4768. { 231: }
  4769. { 232: }
  4770. { 233: }
  4771. { 234: }
  4772. { 235: }
  4773. { 236: }
  4774. { 237: }
  4775. { 238: }
  4776. ( sym: -32; act: 257 ),
  4777. ( sym: -10; act: 107 ),
  4778. { 239: }
  4779. { 240: }
  4780. { 241: }
  4781. { 242: }
  4782. ( sym: -26; act: 205 ),
  4783. ( sym: -25; act: 258 ),
  4784. ( sym: -14; act: 156 ),
  4785. ( sym: -10; act: 79 ),
  4786. { 243: }
  4787. { 244: }
  4788. ( sym: -24; act: 157 ),
  4789. ( sym: -23; act: 15 ),
  4790. ( sym: -21; act: 16 ),
  4791. ( sym: -15; act: 259 ),
  4792. ( sym: -13; act: 17 ),
  4793. ( sym: -11; act: 159 ),
  4794. ( sym: -10; act: 19 ),
  4795. { 245: }
  4796. ( sym: -32; act: 148 ),
  4797. ( sym: -30; act: 163 ),
  4798. ( sym: -27; act: 260 ),
  4799. ( sym: -10; act: 107 ),
  4800. { 246: }
  4801. ( sym: -29; act: 243 ),
  4802. { 247: }
  4803. ( sym: -26; act: 205 ),
  4804. ( sym: -25; act: 249 ),
  4805. ( sym: -14; act: 130 ),
  4806. ( sym: -10; act: 79 ),
  4807. { 248: }
  4808. ( sym: -29; act: 243 ),
  4809. { 249: }
  4810. ( sym: -29; act: 243 ),
  4811. { 250: }
  4812. ( sym: -29; act: 118 ),
  4813. { 251: }
  4814. { 252: }
  4815. { 253: }
  4816. { 254: }
  4817. { 255: }
  4818. ( sym: -32; act: 148 ),
  4819. ( sym: -30; act: 163 ),
  4820. ( sym: -27; act: 263 ),
  4821. ( sym: -10; act: 107 ),
  4822. { 256: }
  4823. ( sym: -32; act: 264 ),
  4824. ( sym: -10; act: 107 ),
  4825. { 257: }
  4826. { 258: }
  4827. ( sym: -29; act: 243 )
  4828. { 259: }
  4829. { 260: }
  4830. { 261: }
  4831. { 262: }
  4832. { 263: }
  4833. { 264: }
  4834. { 265: }
  4835. { 266: }
  4836. );
  4837. yyd : array [0..yynstates-1] of Integer = (
  4838. { 0: } 0,
  4839. { 1: } 0,
  4840. { 2: } 0,
  4841. { 3: } -6,
  4842. { 4: } -5,
  4843. { 5: } 0,
  4844. { 6: } 0,
  4845. { 7: } -2,
  4846. { 8: } 0,
  4847. { 9: } 0,
  4848. { 10: } 0,
  4849. { 11: } 0,
  4850. { 12: } 0,
  4851. { 13: } -7,
  4852. { 14: } -20,
  4853. { 15: } -72,
  4854. { 16: } -50,
  4855. { 17: } -49,
  4856. { 18: } 0,
  4857. { 19: } -73,
  4858. { 20: } 0,
  4859. { 21: } 0,
  4860. { 22: } 0,
  4861. { 23: } -54,
  4862. { 24: } -70,
  4863. { 25: } 0,
  4864. { 26: } 0,
  4865. { 27: } -55,
  4866. { 28: } -58,
  4867. { 29: } -71,
  4868. { 30: } -69,
  4869. { 31: } 0,
  4870. { 32: } -4,
  4871. { 33: } -3,
  4872. { 34: } 0,
  4873. { 35: } 0,
  4874. { 36: } 0,
  4875. { 37: } 0,
  4876. { 38: } 0,
  4877. { 39: } 0,
  4878. { 40: } 0,
  4879. { 41: } 0,
  4880. { 42: } 0,
  4881. { 43: } -9,
  4882. { 44: } -10,
  4883. { 45: } -11,
  4884. { 46: } -12,
  4885. { 47: } -13,
  4886. { 48: } -14,
  4887. { 49: } -15,
  4888. { 50: } 0,
  4889. { 51: } -2,
  4890. { 52: } 0,
  4891. { 53: } 0,
  4892. { 54: } -48,
  4893. { 55: } -2,
  4894. { 56: } 0,
  4895. { 57: } -67,
  4896. { 58: } 0,
  4897. { 59: } -56,
  4898. { 60: } -68,
  4899. { 61: } 0,
  4900. { 62: } -59,
  4901. { 63: } -43,
  4902. { 64: } -25,
  4903. { 65: } -30,
  4904. { 66: } 0,
  4905. { 67: } 0,
  4906. { 68: } -24,
  4907. { 69: } 0,
  4908. { 70: } 0,
  4909. { 71: } -28,
  4910. { 72: } 0,
  4911. { 73: } 0,
  4912. { 74: } 0,
  4913. { 75: } -41,
  4914. { 76: } 0,
  4915. { 77: } 0,
  4916. { 78: } 0,
  4917. { 79: } 0,
  4918. { 80: } -2,
  4919. { 81: } 0,
  4920. { 82: } 0,
  4921. { 83: } -84,
  4922. { 84: } -86,
  4923. { 85: } -85,
  4924. { 86: } 0,
  4925. { 87: } 0,
  4926. { 88: } -46,
  4927. { 89: } 0,
  4928. { 90: } 0,
  4929. { 91: } 0,
  4930. { 92: } 0,
  4931. { 93: } -44,
  4932. { 94: } 0,
  4933. { 95: } 0,
  4934. { 96: } 0,
  4935. { 97: } 0,
  4936. { 98: } 0,
  4937. { 99: } -64,
  4938. { 100: } -60,
  4939. { 101: } 0,
  4940. { 102: } 0,
  4941. { 103: } 0,
  4942. { 104: } 0,
  4943. { 105: } 0,
  4944. { 106: } 0,
  4945. { 107: } 0,
  4946. { 108: } 0,
  4947. { 109: } -131,
  4948. { 110: } -130,
  4949. { 111: } -27,
  4950. { 112: } 0,
  4951. { 113: } 0,
  4952. { 114: } 0,
  4953. { 115: } -35,
  4954. { 116: } -37,
  4955. { 117: } 0,
  4956. { 118: } -95,
  4957. { 119: } 0,
  4958. { 120: } 0,
  4959. { 121: } 0,
  4960. { 122: } 0,
  4961. { 123: } 0,
  4962. { 124: } 0,
  4963. { 125: } 0,
  4964. { 126: } 0,
  4965. { 127: } 0,
  4966. { 128: } 0,
  4967. { 129: } 0,
  4968. { 130: } 0,
  4969. { 131: } -32,
  4970. { 132: } -51,
  4971. { 133: } -31,
  4972. { 134: } 0,
  4973. { 135: } -34,
  4974. { 136: } 0,
  4975. { 137: } -33,
  4976. { 138: } 0,
  4977. { 139: } -61,
  4978. { 140: } -23,
  4979. { 141: } 0,
  4980. { 142: } -21,
  4981. { 143: } 0,
  4982. { 144: } 0,
  4983. { 145: } 0,
  4984. { 146: } -29,
  4985. { 147: } 0,
  4986. { 148: } 0,
  4987. { 149: } 0,
  4988. { 150: } 0,
  4989. { 151: } 0,
  4990. { 152: } 0,
  4991. { 153: } 0,
  4992. { 154: } 0,
  4993. { 155: } 0,
  4994. { 156: } 0,
  4995. { 157: } 0,
  4996. { 158: } 0,
  4997. { 159: } 0,
  4998. { 160: } -98,
  4999. { 161: } 0,
  5000. { 162: } -83,
  5001. { 163: } -108,
  5002. { 164: } 0,
  5003. { 165: } -19,
  5004. { 166: } 0,
  5005. { 167: } 0,
  5006. { 168: } 0,
  5007. { 169: } 0,
  5008. { 170: } 0,
  5009. { 171: } -97,
  5010. { 172: } -53,
  5011. { 173: } -143,
  5012. { 174: } 0,
  5013. { 175: } 0,
  5014. { 176: } 0,
  5015. { 177: } -132,
  5016. { 178: } -133,
  5017. { 179: } 0,
  5018. { 180: } 0,
  5019. { 181: } 0,
  5020. { 182: } -142,
  5021. { 183: } 0,
  5022. { 184: } 0,
  5023. { 185: } 0,
  5024. { 186: } 0,
  5025. { 187: } 0,
  5026. { 188: } 0,
  5027. { 189: } 0,
  5028. { 190: } 0,
  5029. { 191: } 0,
  5030. { 192: } 0,
  5031. { 193: } 0,
  5032. { 194: } 0,
  5033. { 195: } 0,
  5034. { 196: } 0,
  5035. { 197: } 0,
  5036. { 198: } 0,
  5037. { 199: } 0,
  5038. { 200: } 0,
  5039. { 201: } 0,
  5040. { 202: } 0,
  5041. { 203: } 0,
  5042. { 204: } -94,
  5043. { 205: } 0,
  5044. { 206: } 0,
  5045. { 207: } 0,
  5046. { 208: } 0,
  5047. { 209: } 0,
  5048. { 210: } 0,
  5049. { 211: } -99,
  5050. { 212: } -96,
  5051. { 213: } 0,
  5052. { 214: } -75,
  5053. { 215: } 0,
  5054. { 216: } 0,
  5055. { 217: } 0,
  5056. { 218: } -141,
  5057. { 219: } 0,
  5058. { 220: } 0,
  5059. { 221: } 0,
  5060. { 222: } 0,
  5061. { 223: } 0,
  5062. { 224: } 0,
  5063. { 225: } -124,
  5064. { 226: } 0,
  5065. { 227: } 0,
  5066. { 228: } 0,
  5067. { 229: } 0,
  5068. { 230: } 0,
  5069. { 231: } 0,
  5070. { 232: } 0,
  5071. { 233: } 0,
  5072. { 234: } 0,
  5073. { 235: } 0,
  5074. { 236: } 0,
  5075. { 237: } 0,
  5076. { 238: } 0,
  5077. { 239: } -137,
  5078. { 240: } 0,
  5079. { 241: } -82,
  5080. { 242: } 0,
  5081. { 243: } -104,
  5082. { 244: } 0,
  5083. { 245: } 0,
  5084. { 246: } 0,
  5085. { 247: } 0,
  5086. { 248: } 0,
  5087. { 249: } 0,
  5088. { 250: } 0,
  5089. { 251: } -17,
  5090. { 252: } 0,
  5091. { 253: } -26,
  5092. { 254: } -149,
  5093. { 255: } 0,
  5094. { 256: } 0,
  5095. { 257: } 0,
  5096. { 258: } 0,
  5097. { 259: } 0,
  5098. { 260: } 0,
  5099. { 261: } -106,
  5100. { 262: } -22,
  5101. { 263: } 0,
  5102. { 264: } 0,
  5103. { 265: } -103,
  5104. { 266: } -105
  5105. );
  5106. yyal : array [0..yynstates-1] of Integer = (
  5107. { 0: } 1,
  5108. { 1: } 17,
  5109. { 2: } 18,
  5110. { 3: } 30,
  5111. { 4: } 30,
  5112. { 5: } 30,
  5113. { 6: } 47,
  5114. { 7: } 48,
  5115. { 8: } 48,
  5116. { 9: } 60,
  5117. { 10: } 61,
  5118. { 11: } 62,
  5119. { 12: } 63,
  5120. { 13: } 64,
  5121. { 14: } 64,
  5122. { 15: } 64,
  5123. { 16: } 64,
  5124. { 17: } 64,
  5125. { 18: } 64,
  5126. { 19: } 80,
  5127. { 20: } 80,
  5128. { 21: } 83,
  5129. { 22: } 86,
  5130. { 23: } 89,
  5131. { 24: } 89,
  5132. { 25: } 89,
  5133. { 26: } 112,
  5134. { 27: } 133,
  5135. { 28: } 133,
  5136. { 29: } 133,
  5137. { 30: } 133,
  5138. { 31: } 133,
  5139. { 32: } 145,
  5140. { 33: } 145,
  5141. { 34: } 145,
  5142. { 35: } 147,
  5143. { 36: } 163,
  5144. { 37: } 180,
  5145. { 38: } 183,
  5146. { 39: } 186,
  5147. { 40: } 207,
  5148. { 41: } 228,
  5149. { 42: } 249,
  5150. { 43: } 258,
  5151. { 44: } 258,
  5152. { 45: } 258,
  5153. { 46: } 258,
  5154. { 47: } 258,
  5155. { 48: } 258,
  5156. { 49: } 258,
  5157. { 50: } 258,
  5158. { 51: } 278,
  5159. { 52: } 278,
  5160. { 53: } 290,
  5161. { 54: } 310,
  5162. { 55: } 310,
  5163. { 56: } 310,
  5164. { 57: } 312,
  5165. { 58: } 312,
  5166. { 59: } 333,
  5167. { 60: } 333,
  5168. { 61: } 333,
  5169. { 62: } 353,
  5170. { 63: } 353,
  5171. { 64: } 353,
  5172. { 65: } 353,
  5173. { 66: } 353,
  5174. { 67: } 362,
  5175. { 68: } 377,
  5176. { 69: } 377,
  5177. { 70: } 394,
  5178. { 71: } 396,
  5179. { 72: } 396,
  5180. { 73: } 404,
  5181. { 74: } 425,
  5182. { 75: } 446,
  5183. { 76: } 446,
  5184. { 77: } 447,
  5185. { 78: } 452,
  5186. { 79: } 455,
  5187. { 80: } 462,
  5188. { 81: } 462,
  5189. { 82: } 470,
  5190. { 83: } 478,
  5191. { 84: } 478,
  5192. { 85: } 478,
  5193. { 86: } 478,
  5194. { 87: } 486,
  5195. { 88: } 494,
  5196. { 89: } 494,
  5197. { 90: } 495,
  5198. { 91: } 508,
  5199. { 92: } 509,
  5200. { 93: } 518,
  5201. { 94: } 518,
  5202. { 95: } 519,
  5203. { 96: } 522,
  5204. { 97: } 523,
  5205. { 98: } 527,
  5206. { 99: } 547,
  5207. { 100: } 547,
  5208. { 101: } 547,
  5209. { 102: } 549,
  5210. { 103: } 557,
  5211. { 104: } 558,
  5212. { 105: } 559,
  5213. { 106: } 562,
  5214. { 107: } 563,
  5215. { 108: } 591,
  5216. { 109: } 609,
  5217. { 110: } 609,
  5218. { 111: } 609,
  5219. { 112: } 609,
  5220. { 113: } 616,
  5221. { 114: } 623,
  5222. { 115: } 630,
  5223. { 116: } 630,
  5224. { 117: } 630,
  5225. { 118: } 638,
  5226. { 119: } 638,
  5227. { 120: } 652,
  5228. { 121: } 659,
  5229. { 122: } 660,
  5230. { 123: } 668,
  5231. { 124: } 669,
  5232. { 125: } 676,
  5233. { 126: } 683,
  5234. { 127: } 686,
  5235. { 128: } 689,
  5236. { 129: } 695,
  5237. { 130: } 701,
  5238. { 131: } 707,
  5239. { 132: } 707,
  5240. { 133: } 707,
  5241. { 134: } 707,
  5242. { 135: } 709,
  5243. { 136: } 709,
  5244. { 137: } 712,
  5245. { 138: } 712,
  5246. { 139: } 719,
  5247. { 140: } 719,
  5248. { 141: } 719,
  5249. { 142: } 722,
  5250. { 143: } 722,
  5251. { 144: } 723,
  5252. { 145: } 730,
  5253. { 146: } 737,
  5254. { 147: } 737,
  5255. { 148: } 745,
  5256. { 149: } 773,
  5257. { 150: } 790,
  5258. { 151: } 806,
  5259. { 152: } 811,
  5260. { 153: } 834,
  5261. { 154: } 862,
  5262. { 155: } 890,
  5263. { 156: } 918,
  5264. { 157: } 924,
  5265. { 158: } 926,
  5266. { 159: } 927,
  5267. { 160: } 938,
  5268. { 161: } 938,
  5269. { 162: } 949,
  5270. { 163: } 949,
  5271. { 164: } 949,
  5272. { 165: } 966,
  5273. { 166: } 966,
  5274. { 167: } 971,
  5275. { 168: } 972,
  5276. { 169: } 994,
  5277. { 170: } 1016,
  5278. { 171: } 1025,
  5279. { 172: } 1025,
  5280. { 173: } 1025,
  5281. { 174: } 1025,
  5282. { 175: } 1044,
  5283. { 176: } 1045,
  5284. { 177: } 1052,
  5285. { 178: } 1052,
  5286. { 179: } 1052,
  5287. { 180: } 1054,
  5288. { 181: } 1055,
  5289. { 182: } 1073,
  5290. { 183: } 1073,
  5291. { 184: } 1080,
  5292. { 185: } 1087,
  5293. { 186: } 1094,
  5294. { 187: } 1101,
  5295. { 188: } 1108,
  5296. { 189: } 1115,
  5297. { 190: } 1122,
  5298. { 191: } 1129,
  5299. { 192: } 1136,
  5300. { 193: } 1143,
  5301. { 194: } 1150,
  5302. { 195: } 1157,
  5303. { 196: } 1164,
  5304. { 197: } 1171,
  5305. { 198: } 1178,
  5306. { 199: } 1185,
  5307. { 200: } 1186,
  5308. { 201: } 1193,
  5309. { 202: } 1194,
  5310. { 203: } 1225,
  5311. { 204: } 1238,
  5312. { 205: } 1238,
  5313. { 206: } 1239,
  5314. { 207: } 1243,
  5315. { 208: } 1247,
  5316. { 209: } 1257,
  5317. { 210: } 1268,
  5318. { 211: } 1279,
  5319. { 212: } 1279,
  5320. { 213: } 1279,
  5321. { 214: } 1280,
  5322. { 215: } 1280,
  5323. { 216: } 1293,
  5324. { 217: } 1294,
  5325. { 218: } 1302,
  5326. { 219: } 1302,
  5327. { 220: } 1330,
  5328. { 221: } 1358,
  5329. { 222: } 1386,
  5330. { 223: } 1414,
  5331. { 224: } 1442,
  5332. { 225: } 1470,
  5333. { 226: } 1470,
  5334. { 227: } 1487,
  5335. { 228: } 1515,
  5336. { 229: } 1543,
  5337. { 230: } 1571,
  5338. { 231: } 1599,
  5339. { 232: } 1627,
  5340. { 233: } 1655,
  5341. { 234: } 1683,
  5342. { 235: } 1711,
  5343. { 236: } 1739,
  5344. { 237: } 1740,
  5345. { 238: } 1768,
  5346. { 239: } 1775,
  5347. { 240: } 1775,
  5348. { 241: } 1803,
  5349. { 242: } 1803,
  5350. { 243: } 1814,
  5351. { 244: } 1814,
  5352. { 245: } 1828,
  5353. { 246: } 1835,
  5354. { 247: } 1838,
  5355. { 248: } 1849,
  5356. { 249: } 1853,
  5357. { 250: } 1857,
  5358. { 251: } 1861,
  5359. { 252: } 1861,
  5360. { 253: } 1862,
  5361. { 254: } 1862,
  5362. { 255: } 1862,
  5363. { 256: } 1869,
  5364. { 257: } 1876,
  5365. { 258: } 1904,
  5366. { 259: } 1908,
  5367. { 260: } 1909,
  5368. { 261: } 1926,
  5369. { 262: } 1926,
  5370. { 263: } 1926,
  5371. { 264: } 1954,
  5372. { 265: } 1982,
  5373. { 266: } 1982
  5374. );
  5375. yyah : array [0..yynstates-1] of Integer = (
  5376. { 0: } 16,
  5377. { 1: } 17,
  5378. { 2: } 29,
  5379. { 3: } 29,
  5380. { 4: } 29,
  5381. { 5: } 46,
  5382. { 6: } 47,
  5383. { 7: } 47,
  5384. { 8: } 59,
  5385. { 9: } 60,
  5386. { 10: } 61,
  5387. { 11: } 62,
  5388. { 12: } 63,
  5389. { 13: } 63,
  5390. { 14: } 63,
  5391. { 15: } 63,
  5392. { 16: } 63,
  5393. { 17: } 63,
  5394. { 18: } 79,
  5395. { 19: } 79,
  5396. { 20: } 82,
  5397. { 21: } 85,
  5398. { 22: } 88,
  5399. { 23: } 88,
  5400. { 24: } 88,
  5401. { 25: } 111,
  5402. { 26: } 132,
  5403. { 27: } 132,
  5404. { 28: } 132,
  5405. { 29: } 132,
  5406. { 30: } 132,
  5407. { 31: } 144,
  5408. { 32: } 144,
  5409. { 33: } 144,
  5410. { 34: } 146,
  5411. { 35: } 162,
  5412. { 36: } 179,
  5413. { 37: } 182,
  5414. { 38: } 185,
  5415. { 39: } 206,
  5416. { 40: } 227,
  5417. { 41: } 248,
  5418. { 42: } 257,
  5419. { 43: } 257,
  5420. { 44: } 257,
  5421. { 45: } 257,
  5422. { 46: } 257,
  5423. { 47: } 257,
  5424. { 48: } 257,
  5425. { 49: } 257,
  5426. { 50: } 277,
  5427. { 51: } 277,
  5428. { 52: } 289,
  5429. { 53: } 309,
  5430. { 54: } 309,
  5431. { 55: } 309,
  5432. { 56: } 311,
  5433. { 57: } 311,
  5434. { 58: } 332,
  5435. { 59: } 332,
  5436. { 60: } 332,
  5437. { 61: } 352,
  5438. { 62: } 352,
  5439. { 63: } 352,
  5440. { 64: } 352,
  5441. { 65: } 352,
  5442. { 66: } 361,
  5443. { 67: } 376,
  5444. { 68: } 376,
  5445. { 69: } 393,
  5446. { 70: } 395,
  5447. { 71: } 395,
  5448. { 72: } 403,
  5449. { 73: } 424,
  5450. { 74: } 445,
  5451. { 75: } 445,
  5452. { 76: } 446,
  5453. { 77: } 451,
  5454. { 78: } 454,
  5455. { 79: } 461,
  5456. { 80: } 461,
  5457. { 81: } 469,
  5458. { 82: } 477,
  5459. { 83: } 477,
  5460. { 84: } 477,
  5461. { 85: } 477,
  5462. { 86: } 485,
  5463. { 87: } 493,
  5464. { 88: } 493,
  5465. { 89: } 494,
  5466. { 90: } 507,
  5467. { 91: } 508,
  5468. { 92: } 517,
  5469. { 93: } 517,
  5470. { 94: } 518,
  5471. { 95: } 521,
  5472. { 96: } 522,
  5473. { 97: } 526,
  5474. { 98: } 546,
  5475. { 99: } 546,
  5476. { 100: } 546,
  5477. { 101: } 548,
  5478. { 102: } 556,
  5479. { 103: } 557,
  5480. { 104: } 558,
  5481. { 105: } 561,
  5482. { 106: } 562,
  5483. { 107: } 590,
  5484. { 108: } 608,
  5485. { 109: } 608,
  5486. { 110: } 608,
  5487. { 111: } 608,
  5488. { 112: } 615,
  5489. { 113: } 622,
  5490. { 114: } 629,
  5491. { 115: } 629,
  5492. { 116: } 629,
  5493. { 117: } 637,
  5494. { 118: } 637,
  5495. { 119: } 651,
  5496. { 120: } 658,
  5497. { 121: } 659,
  5498. { 122: } 667,
  5499. { 123: } 668,
  5500. { 124: } 675,
  5501. { 125: } 682,
  5502. { 126: } 685,
  5503. { 127: } 688,
  5504. { 128: } 694,
  5505. { 129: } 700,
  5506. { 130: } 706,
  5507. { 131: } 706,
  5508. { 132: } 706,
  5509. { 133: } 706,
  5510. { 134: } 708,
  5511. { 135: } 708,
  5512. { 136: } 711,
  5513. { 137: } 711,
  5514. { 138: } 718,
  5515. { 139: } 718,
  5516. { 140: } 718,
  5517. { 141: } 721,
  5518. { 142: } 721,
  5519. { 143: } 722,
  5520. { 144: } 729,
  5521. { 145: } 736,
  5522. { 146: } 736,
  5523. { 147: } 744,
  5524. { 148: } 772,
  5525. { 149: } 789,
  5526. { 150: } 805,
  5527. { 151: } 810,
  5528. { 152: } 833,
  5529. { 153: } 861,
  5530. { 154: } 889,
  5531. { 155: } 917,
  5532. { 156: } 923,
  5533. { 157: } 925,
  5534. { 158: } 926,
  5535. { 159: } 937,
  5536. { 160: } 937,
  5537. { 161: } 948,
  5538. { 162: } 948,
  5539. { 163: } 948,
  5540. { 164: } 965,
  5541. { 165: } 965,
  5542. { 166: } 970,
  5543. { 167: } 971,
  5544. { 168: } 993,
  5545. { 169: } 1015,
  5546. { 170: } 1024,
  5547. { 171: } 1024,
  5548. { 172: } 1024,
  5549. { 173: } 1024,
  5550. { 174: } 1043,
  5551. { 175: } 1044,
  5552. { 176: } 1051,
  5553. { 177: } 1051,
  5554. { 178: } 1051,
  5555. { 179: } 1053,
  5556. { 180: } 1054,
  5557. { 181: } 1072,
  5558. { 182: } 1072,
  5559. { 183: } 1079,
  5560. { 184: } 1086,
  5561. { 185: } 1093,
  5562. { 186: } 1100,
  5563. { 187: } 1107,
  5564. { 188: } 1114,
  5565. { 189: } 1121,
  5566. { 190: } 1128,
  5567. { 191: } 1135,
  5568. { 192: } 1142,
  5569. { 193: } 1149,
  5570. { 194: } 1156,
  5571. { 195: } 1163,
  5572. { 196: } 1170,
  5573. { 197: } 1177,
  5574. { 198: } 1184,
  5575. { 199: } 1185,
  5576. { 200: } 1192,
  5577. { 201: } 1193,
  5578. { 202: } 1224,
  5579. { 203: } 1237,
  5580. { 204: } 1237,
  5581. { 205: } 1238,
  5582. { 206: } 1242,
  5583. { 207: } 1246,
  5584. { 208: } 1256,
  5585. { 209: } 1267,
  5586. { 210: } 1278,
  5587. { 211: } 1278,
  5588. { 212: } 1278,
  5589. { 213: } 1279,
  5590. { 214: } 1279,
  5591. { 215: } 1292,
  5592. { 216: } 1293,
  5593. { 217: } 1301,
  5594. { 218: } 1301,
  5595. { 219: } 1329,
  5596. { 220: } 1357,
  5597. { 221: } 1385,
  5598. { 222: } 1413,
  5599. { 223: } 1441,
  5600. { 224: } 1469,
  5601. { 225: } 1469,
  5602. { 226: } 1486,
  5603. { 227: } 1514,
  5604. { 228: } 1542,
  5605. { 229: } 1570,
  5606. { 230: } 1598,
  5607. { 231: } 1626,
  5608. { 232: } 1654,
  5609. { 233: } 1682,
  5610. { 234: } 1710,
  5611. { 235: } 1738,
  5612. { 236: } 1739,
  5613. { 237: } 1767,
  5614. { 238: } 1774,
  5615. { 239: } 1774,
  5616. { 240: } 1802,
  5617. { 241: } 1802,
  5618. { 242: } 1813,
  5619. { 243: } 1813,
  5620. { 244: } 1827,
  5621. { 245: } 1834,
  5622. { 246: } 1837,
  5623. { 247: } 1848,
  5624. { 248: } 1852,
  5625. { 249: } 1856,
  5626. { 250: } 1860,
  5627. { 251: } 1860,
  5628. { 252: } 1861,
  5629. { 253: } 1861,
  5630. { 254: } 1861,
  5631. { 255: } 1868,
  5632. { 256: } 1875,
  5633. { 257: } 1903,
  5634. { 258: } 1907,
  5635. { 259: } 1908,
  5636. { 260: } 1925,
  5637. { 261: } 1925,
  5638. { 262: } 1925,
  5639. { 263: } 1953,
  5640. { 264: } 1981,
  5641. { 265: } 1981,
  5642. { 266: } 1981
  5643. );
  5644. yygl : array [0..yynstates-1] of Integer = (
  5645. { 0: } 1,
  5646. { 1: } 7,
  5647. { 2: } 7,
  5648. { 3: } 12,
  5649. { 4: } 12,
  5650. { 5: } 12,
  5651. { 6: } 16,
  5652. { 7: } 16,
  5653. { 8: } 17,
  5654. { 9: } 22,
  5655. { 10: } 23,
  5656. { 11: } 24,
  5657. { 12: } 25,
  5658. { 13: } 26,
  5659. { 14: } 26,
  5660. { 15: } 26,
  5661. { 16: } 26,
  5662. { 17: } 26,
  5663. { 18: } 26,
  5664. { 19: } 27,
  5665. { 20: } 27,
  5666. { 21: } 29,
  5667. { 22: } 31,
  5668. { 23: } 33,
  5669. { 24: } 33,
  5670. { 25: } 33,
  5671. { 26: } 33,
  5672. { 27: } 33,
  5673. { 28: } 33,
  5674. { 29: } 33,
  5675. { 30: } 33,
  5676. { 31: } 33,
  5677. { 32: } 38,
  5678. { 33: } 38,
  5679. { 34: } 38,
  5680. { 35: } 38,
  5681. { 36: } 39,
  5682. { 37: } 39,
  5683. { 38: } 41,
  5684. { 39: } 41,
  5685. { 40: } 42,
  5686. { 41: } 43,
  5687. { 42: } 44,
  5688. { 43: } 48,
  5689. { 44: } 48,
  5690. { 45: } 48,
  5691. { 46: } 48,
  5692. { 47: } 48,
  5693. { 48: } 48,
  5694. { 49: } 48,
  5695. { 50: } 48,
  5696. { 51: } 48,
  5697. { 52: } 49,
  5698. { 53: } 56,
  5699. { 54: } 56,
  5700. { 55: } 56,
  5701. { 56: } 57,
  5702. { 57: } 60,
  5703. { 58: } 60,
  5704. { 59: } 60,
  5705. { 60: } 60,
  5706. { 61: } 60,
  5707. { 62: } 60,
  5708. { 63: } 60,
  5709. { 64: } 60,
  5710. { 65: } 60,
  5711. { 66: } 60,
  5712. { 67: } 64,
  5713. { 68: } 65,
  5714. { 69: } 65,
  5715. { 70: } 67,
  5716. { 71: } 70,
  5717. { 72: } 70,
  5718. { 73: } 73,
  5719. { 74: } 73,
  5720. { 75: } 73,
  5721. { 76: } 73,
  5722. { 77: } 73,
  5723. { 78: } 74,
  5724. { 79: } 75,
  5725. { 80: } 76,
  5726. { 81: } 77,
  5727. { 82: } 80,
  5728. { 83: } 83,
  5729. { 84: } 83,
  5730. { 85: } 83,
  5731. { 86: } 83,
  5732. { 87: } 86,
  5733. { 88: } 89,
  5734. { 89: } 89,
  5735. { 90: } 89,
  5736. { 91: } 96,
  5737. { 92: } 96,
  5738. { 93: } 100,
  5739. { 94: } 100,
  5740. { 95: } 100,
  5741. { 96: } 100,
  5742. { 97: } 100,
  5743. { 98: } 100,
  5744. { 99: } 100,
  5745. { 100: } 100,
  5746. { 101: } 100,
  5747. { 102: } 100,
  5748. { 103: } 103,
  5749. { 104: } 103,
  5750. { 105: } 103,
  5751. { 106: } 103,
  5752. { 107: } 103,
  5753. { 108: } 103,
  5754. { 109: } 111,
  5755. { 110: } 111,
  5756. { 111: } 111,
  5757. { 112: } 111,
  5758. { 113: } 113,
  5759. { 114: } 115,
  5760. { 115: } 117,
  5761. { 116: } 117,
  5762. { 117: } 117,
  5763. { 118: } 120,
  5764. { 119: } 120,
  5765. { 120: } 127,
  5766. { 121: } 131,
  5767. { 122: } 131,
  5768. { 123: } 134,
  5769. { 124: } 134,
  5770. { 125: } 138,
  5771. { 126: } 142,
  5772. { 127: } 142,
  5773. { 128: } 143,
  5774. { 129: } 144,
  5775. { 130: } 145,
  5776. { 131: } 146,
  5777. { 132: } 146,
  5778. { 133: } 146,
  5779. { 134: } 146,
  5780. { 135: } 146,
  5781. { 136: } 146,
  5782. { 137: } 149,
  5783. { 138: } 149,
  5784. { 139: } 153,
  5785. { 140: } 153,
  5786. { 141: } 153,
  5787. { 142: } 154,
  5788. { 143: } 154,
  5789. { 144: } 154,
  5790. { 145: } 158,
  5791. { 146: } 162,
  5792. { 147: } 162,
  5793. { 148: } 168,
  5794. { 149: } 168,
  5795. { 150: } 168,
  5796. { 151: } 168,
  5797. { 152: } 169,
  5798. { 153: } 169,
  5799. { 154: } 169,
  5800. { 155: } 169,
  5801. { 156: } 169,
  5802. { 157: } 170,
  5803. { 158: } 170,
  5804. { 159: } 170,
  5805. { 160: } 174,
  5806. { 161: } 174,
  5807. { 162: } 174,
  5808. { 163: } 174,
  5809. { 164: } 174,
  5810. { 165: } 174,
  5811. { 166: } 174,
  5812. { 167: } 175,
  5813. { 168: } 176,
  5814. { 169: } 176,
  5815. { 170: } 176,
  5816. { 171: } 180,
  5817. { 172: } 180,
  5818. { 173: } 180,
  5819. { 174: } 180,
  5820. { 175: } 180,
  5821. { 176: } 180,
  5822. { 177: } 183,
  5823. { 178: } 183,
  5824. { 179: } 183,
  5825. { 180: } 183,
  5826. { 181: } 183,
  5827. { 182: } 183,
  5828. { 183: } 183,
  5829. { 184: } 187,
  5830. { 185: } 191,
  5831. { 186: } 195,
  5832. { 187: } 199,
  5833. { 188: } 203,
  5834. { 189: } 207,
  5835. { 190: } 212,
  5836. { 191: } 216,
  5837. { 192: } 220,
  5838. { 193: } 224,
  5839. { 194: } 228,
  5840. { 195: } 232,
  5841. { 196: } 236,
  5842. { 197: } 240,
  5843. { 198: } 244,
  5844. { 199: } 248,
  5845. { 200: } 248,
  5846. { 201: } 250,
  5847. { 202: } 250,
  5848. { 203: } 253,
  5849. { 204: } 260,
  5850. { 205: } 260,
  5851. { 206: } 260,
  5852. { 207: } 261,
  5853. { 208: } 262,
  5854. { 209: } 266,
  5855. { 210: } 270,
  5856. { 211: } 274,
  5857. { 212: } 274,
  5858. { 213: } 274,
  5859. { 214: } 274,
  5860. { 215: } 274,
  5861. { 216: } 281,
  5862. { 217: } 281,
  5863. { 218: } 287,
  5864. { 219: } 287,
  5865. { 220: } 287,
  5866. { 221: } 287,
  5867. { 222: } 287,
  5868. { 223: } 287,
  5869. { 224: } 287,
  5870. { 225: } 287,
  5871. { 226: } 287,
  5872. { 227: } 287,
  5873. { 228: } 287,
  5874. { 229: } 287,
  5875. { 230: } 287,
  5876. { 231: } 287,
  5877. { 232: } 287,
  5878. { 233: } 287,
  5879. { 234: } 287,
  5880. { 235: } 287,
  5881. { 236: } 287,
  5882. { 237: } 287,
  5883. { 238: } 287,
  5884. { 239: } 289,
  5885. { 240: } 289,
  5886. { 241: } 289,
  5887. { 242: } 289,
  5888. { 243: } 293,
  5889. { 244: } 293,
  5890. { 245: } 300,
  5891. { 246: } 304,
  5892. { 247: } 305,
  5893. { 248: } 309,
  5894. { 249: } 310,
  5895. { 250: } 311,
  5896. { 251: } 312,
  5897. { 252: } 312,
  5898. { 253: } 312,
  5899. { 254: } 312,
  5900. { 255: } 312,
  5901. { 256: } 316,
  5902. { 257: } 318,
  5903. { 258: } 318,
  5904. { 259: } 319,
  5905. { 260: } 319,
  5906. { 261: } 319,
  5907. { 262: } 319,
  5908. { 263: } 319,
  5909. { 264: } 319,
  5910. { 265: } 319,
  5911. { 266: } 319
  5912. );
  5913. yygh : array [0..yynstates-1] of Integer = (
  5914. { 0: } 6,
  5915. { 1: } 6,
  5916. { 2: } 11,
  5917. { 3: } 11,
  5918. { 4: } 11,
  5919. { 5: } 15,
  5920. { 6: } 15,
  5921. { 7: } 16,
  5922. { 8: } 21,
  5923. { 9: } 22,
  5924. { 10: } 23,
  5925. { 11: } 24,
  5926. { 12: } 25,
  5927. { 13: } 25,
  5928. { 14: } 25,
  5929. { 15: } 25,
  5930. { 16: } 25,
  5931. { 17: } 25,
  5932. { 18: } 26,
  5933. { 19: } 26,
  5934. { 20: } 28,
  5935. { 21: } 30,
  5936. { 22: } 32,
  5937. { 23: } 32,
  5938. { 24: } 32,
  5939. { 25: } 32,
  5940. { 26: } 32,
  5941. { 27: } 32,
  5942. { 28: } 32,
  5943. { 29: } 32,
  5944. { 30: } 32,
  5945. { 31: } 37,
  5946. { 32: } 37,
  5947. { 33: } 37,
  5948. { 34: } 37,
  5949. { 35: } 38,
  5950. { 36: } 38,
  5951. { 37: } 40,
  5952. { 38: } 40,
  5953. { 39: } 41,
  5954. { 40: } 42,
  5955. { 41: } 43,
  5956. { 42: } 47,
  5957. { 43: } 47,
  5958. { 44: } 47,
  5959. { 45: } 47,
  5960. { 46: } 47,
  5961. { 47: } 47,
  5962. { 48: } 47,
  5963. { 49: } 47,
  5964. { 50: } 47,
  5965. { 51: } 48,
  5966. { 52: } 55,
  5967. { 53: } 55,
  5968. { 54: } 55,
  5969. { 55: } 56,
  5970. { 56: } 59,
  5971. { 57: } 59,
  5972. { 58: } 59,
  5973. { 59: } 59,
  5974. { 60: } 59,
  5975. { 61: } 59,
  5976. { 62: } 59,
  5977. { 63: } 59,
  5978. { 64: } 59,
  5979. { 65: } 59,
  5980. { 66: } 63,
  5981. { 67: } 64,
  5982. { 68: } 64,
  5983. { 69: } 66,
  5984. { 70: } 69,
  5985. { 71: } 69,
  5986. { 72: } 72,
  5987. { 73: } 72,
  5988. { 74: } 72,
  5989. { 75: } 72,
  5990. { 76: } 72,
  5991. { 77: } 73,
  5992. { 78: } 74,
  5993. { 79: } 75,
  5994. { 80: } 76,
  5995. { 81: } 79,
  5996. { 82: } 82,
  5997. { 83: } 82,
  5998. { 84: } 82,
  5999. { 85: } 82,
  6000. { 86: } 85,
  6001. { 87: } 88,
  6002. { 88: } 88,
  6003. { 89: } 88,
  6004. { 90: } 95,
  6005. { 91: } 95,
  6006. { 92: } 99,
  6007. { 93: } 99,
  6008. { 94: } 99,
  6009. { 95: } 99,
  6010. { 96: } 99,
  6011. { 97: } 99,
  6012. { 98: } 99,
  6013. { 99: } 99,
  6014. { 100: } 99,
  6015. { 101: } 99,
  6016. { 102: } 102,
  6017. { 103: } 102,
  6018. { 104: } 102,
  6019. { 105: } 102,
  6020. { 106: } 102,
  6021. { 107: } 102,
  6022. { 108: } 110,
  6023. { 109: } 110,
  6024. { 110: } 110,
  6025. { 111: } 110,
  6026. { 112: } 112,
  6027. { 113: } 114,
  6028. { 114: } 116,
  6029. { 115: } 116,
  6030. { 116: } 116,
  6031. { 117: } 119,
  6032. { 118: } 119,
  6033. { 119: } 126,
  6034. { 120: } 130,
  6035. { 121: } 130,
  6036. { 122: } 133,
  6037. { 123: } 133,
  6038. { 124: } 137,
  6039. { 125: } 141,
  6040. { 126: } 141,
  6041. { 127: } 142,
  6042. { 128: } 143,
  6043. { 129: } 144,
  6044. { 130: } 145,
  6045. { 131: } 145,
  6046. { 132: } 145,
  6047. { 133: } 145,
  6048. { 134: } 145,
  6049. { 135: } 145,
  6050. { 136: } 148,
  6051. { 137: } 148,
  6052. { 138: } 152,
  6053. { 139: } 152,
  6054. { 140: } 152,
  6055. { 141: } 153,
  6056. { 142: } 153,
  6057. { 143: } 153,
  6058. { 144: } 157,
  6059. { 145: } 161,
  6060. { 146: } 161,
  6061. { 147: } 167,
  6062. { 148: } 167,
  6063. { 149: } 167,
  6064. { 150: } 167,
  6065. { 151: } 168,
  6066. { 152: } 168,
  6067. { 153: } 168,
  6068. { 154: } 168,
  6069. { 155: } 168,
  6070. { 156: } 169,
  6071. { 157: } 169,
  6072. { 158: } 169,
  6073. { 159: } 173,
  6074. { 160: } 173,
  6075. { 161: } 173,
  6076. { 162: } 173,
  6077. { 163: } 173,
  6078. { 164: } 173,
  6079. { 165: } 173,
  6080. { 166: } 174,
  6081. { 167: } 175,
  6082. { 168: } 175,
  6083. { 169: } 175,
  6084. { 170: } 179,
  6085. { 171: } 179,
  6086. { 172: } 179,
  6087. { 173: } 179,
  6088. { 174: } 179,
  6089. { 175: } 179,
  6090. { 176: } 182,
  6091. { 177: } 182,
  6092. { 178: } 182,
  6093. { 179: } 182,
  6094. { 180: } 182,
  6095. { 181: } 182,
  6096. { 182: } 182,
  6097. { 183: } 186,
  6098. { 184: } 190,
  6099. { 185: } 194,
  6100. { 186: } 198,
  6101. { 187: } 202,
  6102. { 188: } 206,
  6103. { 189: } 211,
  6104. { 190: } 215,
  6105. { 191: } 219,
  6106. { 192: } 223,
  6107. { 193: } 227,
  6108. { 194: } 231,
  6109. { 195: } 235,
  6110. { 196: } 239,
  6111. { 197: } 243,
  6112. { 198: } 247,
  6113. { 199: } 247,
  6114. { 200: } 249,
  6115. { 201: } 249,
  6116. { 202: } 252,
  6117. { 203: } 259,
  6118. { 204: } 259,
  6119. { 205: } 259,
  6120. { 206: } 260,
  6121. { 207: } 261,
  6122. { 208: } 265,
  6123. { 209: } 269,
  6124. { 210: } 273,
  6125. { 211: } 273,
  6126. { 212: } 273,
  6127. { 213: } 273,
  6128. { 214: } 273,
  6129. { 215: } 280,
  6130. { 216: } 280,
  6131. { 217: } 286,
  6132. { 218: } 286,
  6133. { 219: } 286,
  6134. { 220: } 286,
  6135. { 221: } 286,
  6136. { 222: } 286,
  6137. { 223: } 286,
  6138. { 224: } 286,
  6139. { 225: } 286,
  6140. { 226: } 286,
  6141. { 227: } 286,
  6142. { 228: } 286,
  6143. { 229: } 286,
  6144. { 230: } 286,
  6145. { 231: } 286,
  6146. { 232: } 286,
  6147. { 233: } 286,
  6148. { 234: } 286,
  6149. { 235: } 286,
  6150. { 236: } 286,
  6151. { 237: } 286,
  6152. { 238: } 288,
  6153. { 239: } 288,
  6154. { 240: } 288,
  6155. { 241: } 288,
  6156. { 242: } 292,
  6157. { 243: } 292,
  6158. { 244: } 299,
  6159. { 245: } 303,
  6160. { 246: } 304,
  6161. { 247: } 308,
  6162. { 248: } 309,
  6163. { 249: } 310,
  6164. { 250: } 311,
  6165. { 251: } 311,
  6166. { 252: } 311,
  6167. { 253: } 311,
  6168. { 254: } 311,
  6169. { 255: } 315,
  6170. { 256: } 317,
  6171. { 257: } 317,
  6172. { 258: } 318,
  6173. { 259: } 318,
  6174. { 260: } 318,
  6175. { 261: } 318,
  6176. { 262: } 318,
  6177. { 263: } 318,
  6178. { 264: } 318,
  6179. { 265: } 318,
  6180. { 266: } 318
  6181. );
  6182. yyr : array [1..yynrules] of YYRRec = (
  6183. { 1: } ( len: 1; sym: -2 ),
  6184. { 2: } ( len: 0; sym: -4 ),
  6185. { 3: } ( len: 2; sym: -3 ),
  6186. { 4: } ( len: 2; sym: -3 ),
  6187. { 5: } ( len: 1; sym: -3 ),
  6188. { 6: } ( len: 1; sym: -3 ),
  6189. { 7: } ( len: 1; sym: -7 ),
  6190. { 8: } ( len: 0; sym: -7 ),
  6191. { 9: } ( len: 1; sym: -8 ),
  6192. { 10: } ( len: 1; sym: -8 ),
  6193. { 11: } ( len: 1; sym: -8 ),
  6194. { 12: } ( len: 1; sym: -8 ),
  6195. { 13: } ( len: 1; sym: -8 ),
  6196. { 14: } ( len: 1; sym: -8 ),
  6197. { 15: } ( len: 1; sym: -8 ),
  6198. { 16: } ( len: 0; sym: -8 ),
  6199. { 17: } ( len: 4; sym: -9 ),
  6200. { 18: } ( len: 0; sym: -9 ),
  6201. { 19: } ( len: 6; sym: -5 ),
  6202. { 20: } ( len: 2; sym: -5 ),
  6203. { 21: } ( len: 5; sym: -5 ),
  6204. { 22: } ( len: 9; sym: -5 ),
  6205. { 23: } ( len: 5; sym: -5 ),
  6206. { 24: } ( len: 3; sym: -5 ),
  6207. { 25: } ( len: 3; sym: -5 ),
  6208. { 26: } ( len: 8; sym: -6 ),
  6209. { 27: } ( len: 4; sym: -6 ),
  6210. { 28: } ( len: 3; sym: -6 ),
  6211. { 29: } ( len: 5; sym: -6 ),
  6212. { 30: } ( len: 3; sym: -6 ),
  6213. { 31: } ( len: 3; sym: -18 ),
  6214. { 32: } ( len: 3; sym: -18 ),
  6215. { 33: } ( len: 3; sym: -20 ),
  6216. { 34: } ( len: 3; sym: -20 ),
  6217. { 35: } ( len: 4; sym: -13 ),
  6218. { 36: } ( len: 3; sym: -13 ),
  6219. { 37: } ( len: 4; sym: -13 ),
  6220. { 38: } ( len: 3; sym: -13 ),
  6221. { 39: } ( len: 2; sym: -13 ),
  6222. { 40: } ( len: 2; sym: -13 ),
  6223. { 41: } ( len: 3; sym: -13 ),
  6224. { 42: } ( len: 2; sym: -13 ),
  6225. { 43: } ( len: 2; sym: -11 ),
  6226. { 44: } ( len: 3; sym: -11 ),
  6227. { 45: } ( len: 2; sym: -11 ),
  6228. { 46: } ( len: 3; sym: -11 ),
  6229. { 47: } ( len: 2; sym: -11 ),
  6230. { 48: } ( len: 2; sym: -11 ),
  6231. { 49: } ( len: 1; sym: -11 ),
  6232. { 50: } ( len: 1; sym: -11 ),
  6233. { 51: } ( len: 2; sym: -19 ),
  6234. { 52: } ( len: 1; sym: -19 ),
  6235. { 53: } ( len: 3; sym: -22 ),
  6236. { 54: } ( len: 1; sym: -10 ),
  6237. { 55: } ( len: 1; sym: -23 ),
  6238. { 56: } ( len: 2; sym: -23 ),
  6239. { 57: } ( len: 1; sym: -23 ),
  6240. { 58: } ( len: 1; sym: -23 ),
  6241. { 59: } ( len: 2; sym: -23 ),
  6242. { 60: } ( len: 3; sym: -23 ),
  6243. { 61: } ( len: 4; sym: -23 ),
  6244. { 62: } ( len: 2; sym: -23 ),
  6245. { 63: } ( len: 3; sym: -23 ),
  6246. { 64: } ( len: 3; sym: -23 ),
  6247. { 65: } ( len: 2; sym: -23 ),
  6248. { 66: } ( len: 1; sym: -23 ),
  6249. { 67: } ( len: 2; sym: -23 ),
  6250. { 68: } ( len: 2; sym: -23 ),
  6251. { 69: } ( len: 1; sym: -23 ),
  6252. { 70: } ( len: 1; sym: -23 ),
  6253. { 71: } ( len: 1; sym: -23 ),
  6254. { 72: } ( len: 1; sym: -21 ),
  6255. { 73: } ( len: 1; sym: -21 ),
  6256. { 74: } ( len: 3; sym: -12 ),
  6257. { 75: } ( len: 4; sym: -12 ),
  6258. { 76: } ( len: 2; sym: -12 ),
  6259. { 77: } ( len: 1; sym: -12 ),
  6260. { 78: } ( len: 2; sym: -24 ),
  6261. { 79: } ( len: 3; sym: -24 ),
  6262. { 80: } ( len: 2; sym: -24 ),
  6263. { 81: } ( len: 1; sym: -15 ),
  6264. { 82: } ( len: 3; sym: -15 ),
  6265. { 83: } ( len: 1; sym: -15 ),
  6266. { 84: } ( len: 1; sym: -26 ),
  6267. { 85: } ( len: 1; sym: -26 ),
  6268. { 86: } ( len: 1; sym: -26 ),
  6269. { 87: } ( len: 2; sym: -14 ),
  6270. { 88: } ( len: 3; sym: -14 ),
  6271. { 89: } ( len: 2; sym: -14 ),
  6272. { 90: } ( len: 2; sym: -14 ),
  6273. { 91: } ( len: 3; sym: -14 ),
  6274. { 92: } ( len: 3; sym: -14 ),
  6275. { 93: } ( len: 1; sym: -14 ),
  6276. { 94: } ( len: 4; sym: -14 ),
  6277. { 95: } ( len: 2; sym: -14 ),
  6278. { 96: } ( len: 4; sym: -14 ),
  6279. { 97: } ( len: 3; sym: -14 ),
  6280. { 98: } ( len: 2; sym: -29 ),
  6281. { 99: } ( len: 3; sym: -29 ),
  6282. { 100: } ( len: 2; sym: -25 ),
  6283. { 101: } ( len: 3; sym: -25 ),
  6284. { 102: } ( len: 2; sym: -25 ),
  6285. { 103: } ( len: 4; sym: -25 ),
  6286. { 104: } ( len: 2; sym: -25 ),
  6287. { 105: } ( len: 4; sym: -25 ),
  6288. { 106: } ( len: 3; sym: -25 ),
  6289. { 107: } ( len: 0; sym: -25 ),
  6290. { 108: } ( len: 1; sym: -27 ),
  6291. { 109: } ( len: 3; sym: -30 ),
  6292. { 110: } ( len: 3; sym: -30 ),
  6293. { 111: } ( len: 3; sym: -30 ),
  6294. { 112: } ( len: 3; sym: -30 ),
  6295. { 113: } ( len: 3; sym: -30 ),
  6296. { 114: } ( len: 3; sym: -30 ),
  6297. { 115: } ( len: 3; sym: -30 ),
  6298. { 116: } ( len: 3; sym: -30 ),
  6299. { 117: } ( len: 3; sym: -30 ),
  6300. { 118: } ( len: 3; sym: -30 ),
  6301. { 119: } ( len: 3; sym: -30 ),
  6302. { 120: } ( len: 3; sym: -30 ),
  6303. { 121: } ( len: 3; sym: -30 ),
  6304. { 122: } ( len: 3; sym: -30 ),
  6305. { 123: } ( len: 3; sym: -30 ),
  6306. { 124: } ( len: 3; sym: -30 ),
  6307. { 125: } ( len: 1; sym: -30 ),
  6308. { 126: } ( len: 3; sym: -31 ),
  6309. { 127: } ( len: 1; sym: -33 ),
  6310. { 128: } ( len: 0; sym: -33 ),
  6311. { 129: } ( len: 1; sym: -32 ),
  6312. { 130: } ( len: 1; sym: -32 ),
  6313. { 131: } ( len: 1; sym: -32 ),
  6314. { 132: } ( len: 3; sym: -32 ),
  6315. { 133: } ( len: 3; sym: -32 ),
  6316. { 134: } ( len: 2; sym: -32 ),
  6317. { 135: } ( len: 2; sym: -32 ),
  6318. { 136: } ( len: 2; sym: -32 ),
  6319. { 137: } ( len: 4; sym: -32 ),
  6320. { 138: } ( len: 4; sym: -32 ),
  6321. { 139: } ( len: 5; sym: -32 ),
  6322. { 140: } ( len: 6; sym: -32 ),
  6323. { 141: } ( len: 4; sym: -32 ),
  6324. { 142: } ( len: 3; sym: -32 ),
  6325. { 143: } ( len: 3; sym: -16 ),
  6326. { 144: } ( len: 1; sym: -16 ),
  6327. { 145: } ( len: 0; sym: -16 ),
  6328. { 146: } ( len: 3; sym: -35 ),
  6329. { 147: } ( len: 1; sym: -35 ),
  6330. { 148: } ( len: 1; sym: -17 ),
  6331. { 149: } ( len: 3; sym: -34 ),
  6332. { 150: } ( len: 1; sym: -34 ),
  6333. { 151: } ( len: 0; sym: -34 ),
  6334. { 152: } ( len: 1; sym: -36 )
  6335. );
  6336. const _error = 256; (* error token *)
  6337. function yyact(state, sym : Integer; var act : Integer) : Boolean;
  6338. (* search action table *)
  6339. var k : Integer;
  6340. begin
  6341. k := yyal[state];
  6342. while (k<=yyah[state]) and (yya[k].sym<>sym) do inc(k);
  6343. if k>yyah[state] then
  6344. yyact := false
  6345. else
  6346. begin
  6347. act := yya[k].act;
  6348. yyact := true;
  6349. end;
  6350. end(*yyact*);
  6351. function yygoto(state, sym : Integer; var nstate : Integer) : Boolean;
  6352. (* search goto table *)
  6353. var k : Integer;
  6354. begin
  6355. k := yygl[state];
  6356. while (k<=yygh[state]) and (yyg[k].sym<>sym) do inc(k);
  6357. if k>yygh[state] then
  6358. yygoto := false
  6359. else
  6360. begin
  6361. nstate := yyg[k].act;
  6362. yygoto := true;
  6363. end;
  6364. end(*yygoto*);
  6365. label parse, next, error, errlab, shift, reduce, accept, abort;
  6366. begin(*yyparse*)
  6367. (* initialize: *)
  6368. yystate := 0; yychar := -1; yynerrs := 0; yyerrflag := 0; yysp := 0;
  6369. {$ifdef yydebug}
  6370. yydebug := true;
  6371. {$else}
  6372. yydebug := false;
  6373. {$endif}
  6374. parse:
  6375. (* push state and value: *)
  6376. inc(yysp);
  6377. if yysp>yymaxdepth then
  6378. begin
  6379. yyerror('yyparse stack overflow');
  6380. goto abort;
  6381. end;
  6382. yys[yysp] := yystate; yyv[yysp] := yyval;
  6383. next:
  6384. if (yyd[yystate]=0) and (yychar=-1) then
  6385. (* get next symbol *)
  6386. begin
  6387. yychar := yylex; if yychar<0 then yychar := 0;
  6388. end;
  6389. if yydebug then writeln('state ', yystate, ', char ', yychar);
  6390. (* determine parse action: *)
  6391. yyn := yyd[yystate];
  6392. if yyn<>0 then goto reduce; (* simple state *)
  6393. (* no default action; search parse table *)
  6394. if not yyact(yystate, yychar, yyn) then goto error
  6395. else if yyn>0 then goto shift
  6396. else if yyn<0 then goto reduce
  6397. else goto accept;
  6398. error:
  6399. (* error; start error recovery: *)
  6400. if yyerrflag=0 then yyerror('syntax error');
  6401. errlab:
  6402. if yyerrflag=0 then inc(yynerrs); (* new error *)
  6403. if yyerrflag<=2 then (* incomplete recovery; try again *)
  6404. begin
  6405. yyerrflag := 3;
  6406. (* uncover a state with shift action on error token *)
  6407. while (yysp>0) and not ( yyact(yys[yysp], _error, yyn) and
  6408. (yyn>0) ) do
  6409. begin
  6410. if yydebug then
  6411. if yysp>1 then
  6412. writeln('error recovery pops state ', yys[yysp], ', uncovers ',
  6413. yys[yysp-1])
  6414. else
  6415. writeln('error recovery fails ... abort');
  6416. dec(yysp);
  6417. end;
  6418. if yysp=0 then goto abort; (* parser has fallen from stack; abort *)
  6419. yystate := yyn; (* simulate shift on error *)
  6420. goto parse;
  6421. end
  6422. else (* no shift yet; discard symbol *)
  6423. begin
  6424. if yydebug then writeln('error recovery discards char ', yychar);
  6425. if yychar=0 then goto abort; (* end of input; abort *)
  6426. yychar := -1; goto next; (* clear lookahead char and try again *)
  6427. end;
  6428. shift:
  6429. (* go to new state, clear lookahead character: *)
  6430. yystate := yyn; yychar := -1; yyval := yylval;
  6431. if yyerrflag>0 then dec(yyerrflag);
  6432. goto parse;
  6433. reduce:
  6434. (* execute action, pop rule from stack, and go to next state: *)
  6435. if yydebug then writeln('reduce ', -yyn);
  6436. yyflag := yyfnone; yyaction(-yyn);
  6437. dec(yysp, yyr[-yyn].len);
  6438. if yygoto(yys[yysp], yyr[-yyn].sym, yyn) then yystate := yyn;
  6439. (* handle action calls to yyaccept, yyabort and yyerror: *)
  6440. case yyflag of
  6441. yyfaccept : goto accept;
  6442. yyfabort : goto abort;
  6443. yyferror : goto errlab;
  6444. end;
  6445. goto parse;
  6446. accept:
  6447. yyparse := 0; exit;
  6448. abort:
  6449. yyparse := 1; exit;
  6450. end(*yyparse*);
  6451. function yylex : Integer;
  6452. begin
  6453. yylex:=scan.yylex;
  6454. line_no:=yylineno;
  6455. end;
  6456. var
  6457. SS : string;
  6458. i : longint;
  6459. begin
  6460. { Initialize }
  6461. yydebug:=true;
  6462. aktspace:='';
  6463. block_type:=bt_no;
  6464. IsExtern:=false;
  6465. { Read commandline options }
  6466. ProcessOptions;
  6467. if not CompactMode then
  6468. aktspace:=' ';
  6469. { open input and output files }
  6470. assign(yyinput, inputfilename);
  6471. {$I-}
  6472. reset(yyinput);
  6473. {$I+}
  6474. if ioresult<>0 then
  6475. begin
  6476. writeln('file ',inputfilename,' not found!');
  6477. halt(1);
  6478. end;
  6479. assign(outfile, outputfilename);
  6480. rewrite(outfile);
  6481. { write unit header }
  6482. if not includefile then
  6483. begin
  6484. writeln(outfile,'unit ',unitname,';');
  6485. writeln(outfile,aktspace,'interface');
  6486. writeln(outfile);
  6487. writeln(outfile,'{ Automatically converted by H2Pas ',version,' from ',inputfilename,' }');
  6488. writeln(outfile,'{ The following command line parameters were used:');
  6489. for i:=1 to paramcount do
  6490. writeln(outfile,' ',paramstr(i));
  6491. writeln(outfile,'}');
  6492. writeln(outfile);
  6493. end;
  6494. if UseName then
  6495. begin
  6496. writeln(outfile,aktspace,'const');
  6497. writeln(outfile,aktspace,' External_library=''',libfilename,'''; {Setup as you need}');
  6498. writeln(outfile);
  6499. end;
  6500. if UsePPointers then
  6501. begin
  6502. Writeln(outfile,aktspace,'{ Pointers to basic pascal types, inserted by h2pas conversion program.}');
  6503. Writeln(outfile,aktspace,'Type');
  6504. Writeln(outfile,aktspace,' PLongint = ^Longint;');
  6505. Writeln(outfile,aktspace,' PSmallInt = ^SmallInt;');
  6506. Writeln(outfile,aktspace,' PByte = ^Byte;');
  6507. Writeln(outfile,aktspace,' PWord = ^Word;');
  6508. Writeln(outfile,aktspace,' PDWord = ^DWord;');
  6509. Writeln(outfile,aktspace,' PDouble = ^Double;');
  6510. Writeln(outfile);
  6511. end;
  6512. writeln(outfile,'{$PACKRECORDS C}');
  6513. writeln(outfile);
  6514. { Open tempfiles }
  6515. Assign(extfile,'ext.tmp');
  6516. rewrite(extfile);
  6517. Assign(tempfile,'ext2.tmp');
  6518. rewrite(tempfile);
  6519. { Parse! }
  6520. yyparse;
  6521. { Write implementation if needed }
  6522. if not(includefile) then
  6523. begin
  6524. writeln(outfile);
  6525. writeln(outfile,aktspace,'implementation');
  6526. writeln(outfile);
  6527. end;
  6528. { here we have a problem if a line is longer than 255 chars !! }
  6529. reset(extfile);
  6530. while not eof(extfile) do
  6531. begin
  6532. readln(extfile,SS);
  6533. writeln(outfile,SS);
  6534. end;
  6535. { write end of file }
  6536. writeln(outfile);
  6537. if not(includefile) then
  6538. writeln(outfile,'end.');
  6539. { close and erase tempfiles }
  6540. close(extfile);
  6541. erase(extfile);
  6542. close(outfile);
  6543. close(tempfile);
  6544. erase(tempfile);
  6545. end.
  6546. (*
  6547. $Log$
  6548. Revision 1.7 2000-04-01 20:19:37 florian
  6549. + implemented support for 64 bit int types
  6550. + options are written now to output file
  6551. * improved compact mode
  6552. * fixed writing of variables
  6553. Revision 1.6 2000/04/01 14:16:32 peter
  6554. * addition for another procvar style decl (not working correct yet)
  6555. Revision 1.5 2000/03/28 06:56:31 michael
  6556. + RemoveUNderscore now also does not add underscores to generated parameter names
  6557. Revision 1.4 2000/03/27 21:39:20 peter
  6558. + -S, -T, -c modes added
  6559. * crash fixes
  6560. * removed double opening of inputfile
  6561. Revision 1.3 2000/02/09 16:44:15 peter
  6562. * log truncated
  6563. Revision 1.2 2000/01/07 16:46:05 daniel
  6564. * copyright 2000
  6565. #ifdef ID to {$ifdef ID}
  6566. #ifundef ID to {$ifundef ID}
  6567. #else to {$else}
  6568. #define ID to {$define ID}
  6569. #endif to {$endif}
  6570. -"extern" fully handled . Adds proc/func + 'external _ExternalLibrary;'to
  6571. implementation section
  6572. you must assign _ExternalLibrary later.
  6573. -"const" skips in func/proc arguments.
  6574. changes in convert.y and scan.l
  6575. - "convert" renamed to "h2pas"
  6576. - Inserted the checking "IsAssigned(Pointer)" everywhere access to pointers
  6577. It preserv from Acces Violation Errors.
  6578. - A little remade for TP Lex and Yacc 4.01 -
  6579. changed function "input" to "get_char"
  6580. -!!! because of peculiarity TPLY4.01 you must create unit CONVERU.PAS by
  6581. your hand! Cut const definitions from CONVERT.PAS and paste into CONVERU.PAS
  6582. What need
  6583. * handle struct a { }; in the right way
  6584. * all predefined C types
  6585. * misplaced comments
  6586. * handle functions without result
  6587. *)