h2pas.pas 152 KB

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