cppBison.cxx.prebuilt 394 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957
  1. /* A Bison parser, made by GNU Bison 3.0.4. */
  2. /* Bison implementation for Yacc-like parsers in C
  3. Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.
  4. This program is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation, either version 3 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>. */
  14. /* As a special exception, you may create a larger work that contains
  15. part or all of the Bison parser skeleton and distribute that work
  16. under terms of your choice, so long as that work isn't itself a
  17. parser generator using the skeleton or a modified version thereof
  18. as a parser skeleton. Alternatively, if you modify or redistribute
  19. the parser skeleton itself, you may (at your option) remove this
  20. special exception, which will cause the skeleton and the resulting
  21. Bison output files to be licensed under the GNU General Public
  22. License without this special exception.
  23. This special exception was added by the Free Software Foundation in
  24. version 2.2 of Bison. */
  25. /* C LALR(1) parser skeleton written by Richard Stallman, by
  26. simplifying the original so-called "semantic" parser. */
  27. /* All symbols defined below should begin with yy or YY, to avoid
  28. infringing on user name space. This should be done even for local
  29. variables, as they might otherwise be expanded by user macros.
  30. There are some unavoidable exceptions within include files to
  31. define necessary library symbols; they are noted "INFRINGES ON
  32. USER NAME SPACE" below. */
  33. /* Identify Bison output. */
  34. #define YYBISON 1
  35. /* Bison version. */
  36. #define YYBISON_VERSION "3.0.4"
  37. /* Skeleton name. */
  38. #define YYSKELETON_NAME "yacc.c"
  39. /* Pure parsers. */
  40. #define YYPURE 2
  41. /* Push parsers. */
  42. #define YYPUSH 0
  43. /* Pull parsers. */
  44. #define YYPULL 1
  45. /* Substitute the variable and function names. */
  46. #define yyparse cppyyparse
  47. #define yylex cppyylex
  48. #define yyerror cppyyerror
  49. #define yydebug cppyydebug
  50. #define yynerrs cppyynerrs
  51. /* Copy the first part of user declarations. */
  52. #line 7 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:339 */
  53. #include "cppBisonDefs.h"
  54. #include "cppParser.h"
  55. #include "cppClosureType.h"
  56. #include "cppExpression.h"
  57. #include "cppSimpleType.h"
  58. #include "cppExtensionType.h"
  59. #include "cppStructType.h"
  60. #include "cppEnumType.h"
  61. #include "cppFunctionType.h"
  62. #include "cppTBDType.h"
  63. #include "cppMakeProperty.h"
  64. #include "cppMakeSeq.h"
  65. #include "cppParameterList.h"
  66. #include "cppInstance.h"
  67. #include "cppClassTemplateParameter.h"
  68. #include "cppTemplateParameterList.h"
  69. #include "cppInstanceIdentifier.h"
  70. #include "cppTypedefType.h"
  71. #include "cppTypeDeclaration.h"
  72. #include "cppVisibility.h"
  73. #include "cppIdentifier.h"
  74. #include "cppScope.h"
  75. #include "cppTemplateScope.h"
  76. #include "cppNamespace.h"
  77. #include "cppUsing.h"
  78. ////////////////////////////////////////////////////////////////////
  79. // Defining the interface to the parser.
  80. ////////////////////////////////////////////////////////////////////
  81. CPPScope *current_scope = NULL;
  82. CPPScope *global_scope = NULL;
  83. CPPPreprocessor *current_lexer = NULL;
  84. static CPPStructType *current_struct = NULL;
  85. static CPPEnumType *current_enum = NULL;
  86. static int current_storage_class = 0;
  87. static CPPType *current_type = NULL;
  88. static CPPExpression *current_expr = NULL;
  89. static int publish_nest_level = 0;
  90. static CPPVisibility publish_previous;
  91. static YYLTYPE publish_loc;
  92. static std::vector<CPPScope *> last_scopes;
  93. static std::vector<int> last_storage_classes;
  94. static std::vector<CPPStructType *> last_structs;
  95. int yyparse();
  96. #define YYERROR_VERBOSE
  97. static void
  98. yyerror(const string &msg) {
  99. current_lexer->error(msg, current_lexer->_last_token_loc);
  100. }
  101. static void
  102. yyerror(YYLTYPE *loc, const string &msg) {
  103. current_lexer->error(msg, *loc);
  104. }
  105. static void
  106. yyerror(const string &msg, YYLTYPE &loc) {
  107. current_lexer->error(msg, loc);
  108. }
  109. static void
  110. yywarning(const string &msg, YYLTYPE &loc) {
  111. current_lexer->warning(msg, loc);
  112. }
  113. static int
  114. yylex(YYSTYPE *lval, YYLTYPE *lloc) {
  115. CPPToken token = current_lexer->get_next_token();
  116. *lval = token._lval;
  117. *lloc = token._lloc;
  118. return token._token;
  119. }
  120. void
  121. parse_cpp(CPPParser *cp) {
  122. CPPScope *old_scope = current_scope;
  123. CPPScope *old_global_scope = global_scope;
  124. CPPPreprocessor *old_lexer = current_lexer;
  125. current_scope = cp;
  126. global_scope = cp;
  127. current_lexer = cp;
  128. publish_nest_level = 0;
  129. yyparse();
  130. if (publish_nest_level != 0) {
  131. yyerror("Unclosed __begin_publish", publish_loc);
  132. publish_nest_level = 0;
  133. }
  134. current_scope = old_scope;
  135. global_scope = old_global_scope;
  136. current_lexer = old_lexer;
  137. }
  138. CPPExpression *
  139. parse_const_expr(CPPPreprocessor *pp, CPPScope *new_current_scope,
  140. CPPScope *new_global_scope) {
  141. CPPScope *old_scope = current_scope;
  142. CPPScope *old_global_scope = global_scope;
  143. CPPPreprocessor *old_lexer = current_lexer;
  144. CPPExpression *old_expr = current_expr;
  145. current_scope = new_current_scope;
  146. global_scope = new_global_scope;
  147. current_expr = (CPPExpression *)NULL;
  148. current_lexer = pp;
  149. yyparse();
  150. CPPExpression *result = current_expr;
  151. current_scope = old_scope;
  152. global_scope = old_global_scope;
  153. current_lexer = old_lexer;
  154. current_expr = old_expr;
  155. return result;
  156. }
  157. CPPType *
  158. parse_type(CPPPreprocessor *pp, CPPScope *new_current_scope,
  159. CPPScope *new_global_scope) {
  160. CPPScope *old_scope = current_scope;
  161. CPPScope *old_global_scope = global_scope;
  162. CPPPreprocessor *old_lexer = current_lexer;
  163. CPPType *old_type = current_type;
  164. current_scope = new_current_scope;
  165. global_scope = new_global_scope;
  166. current_type = (CPPType *)NULL;
  167. current_lexer = pp;
  168. yyparse();
  169. CPPType *result = current_type;
  170. current_scope = old_scope;
  171. global_scope = old_global_scope;
  172. current_lexer = old_lexer;
  173. current_type = old_type;
  174. return result;
  175. }
  176. static void
  177. push_scope(CPPScope *new_scope) {
  178. last_scopes.push_back(current_scope);
  179. if (new_scope != NULL) {
  180. current_scope = new_scope;
  181. }
  182. }
  183. static void
  184. pop_scope() {
  185. assert(!last_scopes.empty());
  186. current_scope = last_scopes.back();
  187. last_scopes.pop_back();
  188. }
  189. static void
  190. push_storage_class(int new_storage_class) {
  191. last_storage_classes.push_back(current_storage_class);
  192. current_storage_class = new_storage_class;
  193. }
  194. static void
  195. pop_storage_class() {
  196. assert(!last_storage_classes.empty());
  197. current_storage_class = last_storage_classes.back();
  198. last_storage_classes.pop_back();
  199. }
  200. static void
  201. push_struct(CPPStructType *new_struct) {
  202. last_structs.push_back(current_struct);
  203. current_struct = new_struct;
  204. }
  205. static void
  206. pop_struct() {
  207. assert(!last_structs.empty());
  208. current_struct = last_structs.back();
  209. last_structs.pop_back();
  210. }
  211. #line 268 "built/tmp/cppBison.yxx.c" /* yacc.c:339 */
  212. # ifndef YY_NULLPTR
  213. # if defined __cplusplus && 201103L <= __cplusplus
  214. # define YY_NULLPTR nullptr
  215. # else
  216. # define YY_NULLPTR 0
  217. # endif
  218. # endif
  219. /* Enabling verbose error messages. */
  220. #ifdef YYERROR_VERBOSE
  221. # undef YYERROR_VERBOSE
  222. # define YYERROR_VERBOSE 1
  223. #else
  224. # define YYERROR_VERBOSE 0
  225. #endif
  226. /* In a future release of Bison, this section will be replaced
  227. by #include "cppBison.yxx.h". */
  228. #ifndef YY_CPPYY_BUILT_TMP_CPPBISON_YXX_H_INCLUDED
  229. # define YY_CPPYY_BUILT_TMP_CPPBISON_YXX_H_INCLUDED
  230. /* Debug traces. */
  231. #ifndef YYDEBUG
  232. # define YYDEBUG 0
  233. #endif
  234. #if YYDEBUG
  235. extern int cppyydebug;
  236. #endif
  237. /* Token type. */
  238. #ifndef YYTOKENTYPE
  239. # define YYTOKENTYPE
  240. enum yytokentype
  241. {
  242. REAL = 258,
  243. INTEGER = 259,
  244. CHAR_TOK = 260,
  245. SIMPLE_STRING = 261,
  246. SIMPLE_IDENTIFIER = 262,
  247. STRING_LITERAL = 263,
  248. CUSTOM_LITERAL = 264,
  249. IDENTIFIER = 265,
  250. TYPENAME_IDENTIFIER = 266,
  251. TYPEPACK_IDENTIFIER = 267,
  252. SCOPING = 268,
  253. TYPEDEFNAME = 269,
  254. ELLIPSIS = 270,
  255. OROR = 271,
  256. ANDAND = 272,
  257. EQCOMPARE = 273,
  258. NECOMPARE = 274,
  259. LECOMPARE = 275,
  260. GECOMPARE = 276,
  261. LSHIFT = 277,
  262. RSHIFT = 278,
  263. POINTSAT_STAR = 279,
  264. DOT_STAR = 280,
  265. UNARY = 281,
  266. UNARY_NOT = 282,
  267. UNARY_NEGATE = 283,
  268. UNARY_MINUS = 284,
  269. UNARY_PLUS = 285,
  270. UNARY_STAR = 286,
  271. UNARY_REF = 287,
  272. POINTSAT = 288,
  273. SCOPE = 289,
  274. PLUSPLUS = 290,
  275. MINUSMINUS = 291,
  276. TIMESEQUAL = 292,
  277. DIVIDEEQUAL = 293,
  278. MODEQUAL = 294,
  279. PLUSEQUAL = 295,
  280. MINUSEQUAL = 296,
  281. OREQUAL = 297,
  282. ANDEQUAL = 298,
  283. XOREQUAL = 299,
  284. LSHIFTEQUAL = 300,
  285. RSHIFTEQUAL = 301,
  286. ATTR_LEFT = 302,
  287. ATTR_RIGHT = 303,
  288. KW_ALIGNAS = 304,
  289. KW_ALIGNOF = 305,
  290. KW_AUTO = 306,
  291. KW_BEGIN_PUBLISH = 307,
  292. KW_BLOCKING = 308,
  293. KW_BOOL = 309,
  294. KW_CATCH = 310,
  295. KW_CHAR = 311,
  296. KW_CHAR16_T = 312,
  297. KW_CHAR32_T = 313,
  298. KW_CLASS = 314,
  299. KW_CONST = 315,
  300. KW_CONSTEXPR = 316,
  301. KW_CONST_CAST = 317,
  302. KW_DECLTYPE = 318,
  303. KW_DEFAULT = 319,
  304. KW_DELETE = 320,
  305. KW_DOUBLE = 321,
  306. KW_DYNAMIC_CAST = 322,
  307. KW_ELSE = 323,
  308. KW_END_PUBLISH = 324,
  309. KW_ENUM = 325,
  310. KW_EXTENSION = 326,
  311. KW_EXTERN = 327,
  312. KW_EXPLICIT = 328,
  313. KW_PUBLISHED = 329,
  314. KW_FALSE = 330,
  315. KW_FINAL = 331,
  316. KW_FLOAT = 332,
  317. KW_FRIEND = 333,
  318. KW_FOR = 334,
  319. KW_GOTO = 335,
  320. KW_HAS_VIRTUAL_DESTRUCTOR = 336,
  321. KW_IF = 337,
  322. KW_INLINE = 338,
  323. KW_INT = 339,
  324. KW_IS_ABSTRACT = 340,
  325. KW_IS_BASE_OF = 341,
  326. KW_IS_CLASS = 342,
  327. KW_IS_CONSTRUCTIBLE = 343,
  328. KW_IS_CONVERTIBLE_TO = 344,
  329. KW_IS_DESTRUCTIBLE = 345,
  330. KW_IS_EMPTY = 346,
  331. KW_IS_ENUM = 347,
  332. KW_IS_FINAL = 348,
  333. KW_IS_FUNDAMENTAL = 349,
  334. KW_IS_POD = 350,
  335. KW_IS_POLYMORPHIC = 351,
  336. KW_IS_STANDARD_LAYOUT = 352,
  337. KW_IS_TRIVIAL = 353,
  338. KW_IS_UNION = 354,
  339. KW_LONG = 355,
  340. KW_MAKE_MAP_KEYS_SEQ = 356,
  341. KW_MAKE_MAP_PROPERTY = 357,
  342. KW_MAKE_PROPERTY = 358,
  343. KW_MAKE_PROPERTY2 = 359,
  344. KW_MAKE_SEQ = 360,
  345. KW_MAKE_SEQ_PROPERTY = 361,
  346. KW_MUTABLE = 362,
  347. KW_NAMESPACE = 363,
  348. KW_NEW = 364,
  349. KW_NOEXCEPT = 365,
  350. KW_NULLPTR = 366,
  351. KW_OPERATOR = 367,
  352. KW_OVERRIDE = 368,
  353. KW_PRIVATE = 369,
  354. KW_PROTECTED = 370,
  355. KW_PUBLIC = 371,
  356. KW_REGISTER = 372,
  357. KW_REINTERPRET_CAST = 373,
  358. KW_RETURN = 374,
  359. KW_SHORT = 375,
  360. KW_SIGNED = 376,
  361. KW_SIZEOF = 377,
  362. KW_STATIC = 378,
  363. KW_STATIC_ASSERT = 379,
  364. KW_STATIC_CAST = 380,
  365. KW_STRUCT = 381,
  366. KW_TEMPLATE = 382,
  367. KW_THREAD_LOCAL = 383,
  368. KW_THROW = 384,
  369. KW_TRUE = 385,
  370. KW_TRY = 386,
  371. KW_TYPEDEF = 387,
  372. KW_TYPEID = 388,
  373. KW_TYPENAME = 389,
  374. KW_UNDERLYING_TYPE = 390,
  375. KW_UNION = 391,
  376. KW_UNSIGNED = 392,
  377. KW_USING = 393,
  378. KW_VIRTUAL = 394,
  379. KW_VOID = 395,
  380. KW_VOLATILE = 396,
  381. KW_WCHAR_T = 397,
  382. KW_WHILE = 398,
  383. START_CPP = 399,
  384. START_CONST_EXPR = 400,
  385. START_TYPE = 401
  386. };
  387. #endif
  388. /* Tokens. */
  389. #define REAL 258
  390. #define INTEGER 259
  391. #define CHAR_TOK 260
  392. #define SIMPLE_STRING 261
  393. #define SIMPLE_IDENTIFIER 262
  394. #define STRING_LITERAL 263
  395. #define CUSTOM_LITERAL 264
  396. #define IDENTIFIER 265
  397. #define TYPENAME_IDENTIFIER 266
  398. #define TYPEPACK_IDENTIFIER 267
  399. #define SCOPING 268
  400. #define TYPEDEFNAME 269
  401. #define ELLIPSIS 270
  402. #define OROR 271
  403. #define ANDAND 272
  404. #define EQCOMPARE 273
  405. #define NECOMPARE 274
  406. #define LECOMPARE 275
  407. #define GECOMPARE 276
  408. #define LSHIFT 277
  409. #define RSHIFT 278
  410. #define POINTSAT_STAR 279
  411. #define DOT_STAR 280
  412. #define UNARY 281
  413. #define UNARY_NOT 282
  414. #define UNARY_NEGATE 283
  415. #define UNARY_MINUS 284
  416. #define UNARY_PLUS 285
  417. #define UNARY_STAR 286
  418. #define UNARY_REF 287
  419. #define POINTSAT 288
  420. #define SCOPE 289
  421. #define PLUSPLUS 290
  422. #define MINUSMINUS 291
  423. #define TIMESEQUAL 292
  424. #define DIVIDEEQUAL 293
  425. #define MODEQUAL 294
  426. #define PLUSEQUAL 295
  427. #define MINUSEQUAL 296
  428. #define OREQUAL 297
  429. #define ANDEQUAL 298
  430. #define XOREQUAL 299
  431. #define LSHIFTEQUAL 300
  432. #define RSHIFTEQUAL 301
  433. #define ATTR_LEFT 302
  434. #define ATTR_RIGHT 303
  435. #define KW_ALIGNAS 304
  436. #define KW_ALIGNOF 305
  437. #define KW_AUTO 306
  438. #define KW_BEGIN_PUBLISH 307
  439. #define KW_BLOCKING 308
  440. #define KW_BOOL 309
  441. #define KW_CATCH 310
  442. #define KW_CHAR 311
  443. #define KW_CHAR16_T 312
  444. #define KW_CHAR32_T 313
  445. #define KW_CLASS 314
  446. #define KW_CONST 315
  447. #define KW_CONSTEXPR 316
  448. #define KW_CONST_CAST 317
  449. #define KW_DECLTYPE 318
  450. #define KW_DEFAULT 319
  451. #define KW_DELETE 320
  452. #define KW_DOUBLE 321
  453. #define KW_DYNAMIC_CAST 322
  454. #define KW_ELSE 323
  455. #define KW_END_PUBLISH 324
  456. #define KW_ENUM 325
  457. #define KW_EXTENSION 326
  458. #define KW_EXTERN 327
  459. #define KW_EXPLICIT 328
  460. #define KW_PUBLISHED 329
  461. #define KW_FALSE 330
  462. #define KW_FINAL 331
  463. #define KW_FLOAT 332
  464. #define KW_FRIEND 333
  465. #define KW_FOR 334
  466. #define KW_GOTO 335
  467. #define KW_HAS_VIRTUAL_DESTRUCTOR 336
  468. #define KW_IF 337
  469. #define KW_INLINE 338
  470. #define KW_INT 339
  471. #define KW_IS_ABSTRACT 340
  472. #define KW_IS_BASE_OF 341
  473. #define KW_IS_CLASS 342
  474. #define KW_IS_CONSTRUCTIBLE 343
  475. #define KW_IS_CONVERTIBLE_TO 344
  476. #define KW_IS_DESTRUCTIBLE 345
  477. #define KW_IS_EMPTY 346
  478. #define KW_IS_ENUM 347
  479. #define KW_IS_FINAL 348
  480. #define KW_IS_FUNDAMENTAL 349
  481. #define KW_IS_POD 350
  482. #define KW_IS_POLYMORPHIC 351
  483. #define KW_IS_STANDARD_LAYOUT 352
  484. #define KW_IS_TRIVIAL 353
  485. #define KW_IS_UNION 354
  486. #define KW_LONG 355
  487. #define KW_MAKE_MAP_KEYS_SEQ 356
  488. #define KW_MAKE_MAP_PROPERTY 357
  489. #define KW_MAKE_PROPERTY 358
  490. #define KW_MAKE_PROPERTY2 359
  491. #define KW_MAKE_SEQ 360
  492. #define KW_MAKE_SEQ_PROPERTY 361
  493. #define KW_MUTABLE 362
  494. #define KW_NAMESPACE 363
  495. #define KW_NEW 364
  496. #define KW_NOEXCEPT 365
  497. #define KW_NULLPTR 366
  498. #define KW_OPERATOR 367
  499. #define KW_OVERRIDE 368
  500. #define KW_PRIVATE 369
  501. #define KW_PROTECTED 370
  502. #define KW_PUBLIC 371
  503. #define KW_REGISTER 372
  504. #define KW_REINTERPRET_CAST 373
  505. #define KW_RETURN 374
  506. #define KW_SHORT 375
  507. #define KW_SIGNED 376
  508. #define KW_SIZEOF 377
  509. #define KW_STATIC 378
  510. #define KW_STATIC_ASSERT 379
  511. #define KW_STATIC_CAST 380
  512. #define KW_STRUCT 381
  513. #define KW_TEMPLATE 382
  514. #define KW_THREAD_LOCAL 383
  515. #define KW_THROW 384
  516. #define KW_TRUE 385
  517. #define KW_TRY 386
  518. #define KW_TYPEDEF 387
  519. #define KW_TYPEID 388
  520. #define KW_TYPENAME 389
  521. #define KW_UNDERLYING_TYPE 390
  522. #define KW_UNION 391
  523. #define KW_UNSIGNED 392
  524. #define KW_USING 393
  525. #define KW_VIRTUAL 394
  526. #define KW_VOID 395
  527. #define KW_VOLATILE 396
  528. #define KW_WCHAR_T 397
  529. #define KW_WHILE 398
  530. #define START_CPP 399
  531. #define START_CONST_EXPR 400
  532. #define START_TYPE 401
  533. /* Value type. */
  534. /* Location type. */
  535. #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
  536. typedef struct YYLTYPE YYLTYPE;
  537. struct YYLTYPE
  538. {
  539. int first_line;
  540. int first_column;
  541. int last_line;
  542. int last_column;
  543. };
  544. # define YYLTYPE_IS_DECLARED 1
  545. # define YYLTYPE_IS_TRIVIAL 1
  546. #endif
  547. int cppyyparse (void);
  548. #endif /* !YY_CPPYY_BUILT_TMP_CPPBISON_YXX_H_INCLUDED */
  549. /* Copy the second part of user declarations. */
  550. #line 619 "built/tmp/cppBison.yxx.c" /* yacc.c:358 */
  551. #ifdef short
  552. # undef short
  553. #endif
  554. #ifdef YYTYPE_UINT8
  555. typedef YYTYPE_UINT8 yytype_uint8;
  556. #else
  557. typedef unsigned char yytype_uint8;
  558. #endif
  559. #ifdef YYTYPE_INT8
  560. typedef YYTYPE_INT8 yytype_int8;
  561. #else
  562. typedef signed char yytype_int8;
  563. #endif
  564. #ifdef YYTYPE_UINT16
  565. typedef YYTYPE_UINT16 yytype_uint16;
  566. #else
  567. typedef unsigned short int yytype_uint16;
  568. #endif
  569. #ifdef YYTYPE_INT16
  570. typedef YYTYPE_INT16 yytype_int16;
  571. #else
  572. typedef short int yytype_int16;
  573. #endif
  574. #ifndef YYSIZE_T
  575. # ifdef __SIZE_TYPE__
  576. # define YYSIZE_T __SIZE_TYPE__
  577. # elif defined size_t
  578. # define YYSIZE_T size_t
  579. # elif ! defined YYSIZE_T
  580. # include <stddef.h> /* INFRINGES ON USER NAME SPACE */
  581. # define YYSIZE_T size_t
  582. # else
  583. # define YYSIZE_T unsigned int
  584. # endif
  585. #endif
  586. #define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
  587. #ifndef YY_
  588. # if defined YYENABLE_NLS && YYENABLE_NLS
  589. # if ENABLE_NLS
  590. # include <libintl.h> /* INFRINGES ON USER NAME SPACE */
  591. # define YY_(Msgid) dgettext ("bison-runtime", Msgid)
  592. # endif
  593. # endif
  594. # ifndef YY_
  595. # define YY_(Msgid) Msgid
  596. # endif
  597. #endif
  598. #ifndef YY_ATTRIBUTE
  599. # if (defined __GNUC__ \
  600. && (2 < __GNUC__ || (__GNUC__ == 2 && 96 <= __GNUC_MINOR__))) \
  601. || defined __SUNPRO_C && 0x5110 <= __SUNPRO_C
  602. # define YY_ATTRIBUTE(Spec) __attribute__(Spec)
  603. # else
  604. # define YY_ATTRIBUTE(Spec) /* empty */
  605. # endif
  606. #endif
  607. #ifndef YY_ATTRIBUTE_PURE
  608. # define YY_ATTRIBUTE_PURE YY_ATTRIBUTE ((__pure__))
  609. #endif
  610. #ifndef YY_ATTRIBUTE_UNUSED
  611. # define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__))
  612. #endif
  613. #if !defined _Noreturn \
  614. && (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112)
  615. # if defined _MSC_VER && 1200 <= _MSC_VER
  616. # define _Noreturn __declspec (noreturn)
  617. # else
  618. # define _Noreturn YY_ATTRIBUTE ((__noreturn__))
  619. # endif
  620. #endif
  621. /* Suppress unused-variable warnings by "using" E. */
  622. #if ! defined lint || defined __GNUC__
  623. # define YYUSE(E) ((void) (E))
  624. #else
  625. # define YYUSE(E) /* empty */
  626. #endif
  627. #if defined __GNUC__ && 407 <= __GNUC__ * 100 + __GNUC_MINOR__
  628. /* Suppress an incorrect diagnostic about yylval being uninitialized. */
  629. # define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \
  630. _Pragma ("GCC diagnostic push") \
  631. _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"")\
  632. _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"")
  633. # define YY_IGNORE_MAYBE_UNINITIALIZED_END \
  634. _Pragma ("GCC diagnostic pop")
  635. #else
  636. # define YY_INITIAL_VALUE(Value) Value
  637. #endif
  638. #ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
  639. # define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
  640. # define YY_IGNORE_MAYBE_UNINITIALIZED_END
  641. #endif
  642. #ifndef YY_INITIAL_VALUE
  643. # define YY_INITIAL_VALUE(Value) /* Nothing. */
  644. #endif
  645. #if ! defined yyoverflow || YYERROR_VERBOSE
  646. /* The parser invokes alloca or malloc; define the necessary symbols. */
  647. # ifdef YYSTACK_USE_ALLOCA
  648. # if YYSTACK_USE_ALLOCA
  649. # ifdef __GNUC__
  650. # define YYSTACK_ALLOC __builtin_alloca
  651. # elif defined __BUILTIN_VA_ARG_INCR
  652. # include <alloca.h> /* INFRINGES ON USER NAME SPACE */
  653. # elif defined _AIX
  654. # define YYSTACK_ALLOC __alloca
  655. # elif defined _MSC_VER
  656. # include <malloc.h> /* INFRINGES ON USER NAME SPACE */
  657. # define alloca _alloca
  658. # else
  659. # define YYSTACK_ALLOC alloca
  660. # if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS
  661. # include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
  662. /* Use EXIT_SUCCESS as a witness for stdlib.h. */
  663. # ifndef EXIT_SUCCESS
  664. # define EXIT_SUCCESS 0
  665. # endif
  666. # endif
  667. # endif
  668. # endif
  669. # endif
  670. # ifdef YYSTACK_ALLOC
  671. /* Pacify GCC's 'empty if-body' warning. */
  672. # define YYSTACK_FREE(Ptr) do { /* empty */; } while (0)
  673. # ifndef YYSTACK_ALLOC_MAXIMUM
  674. /* The OS might guarantee only one guard page at the bottom of the stack,
  675. and a page size can be as small as 4096 bytes. So we cannot safely
  676. invoke alloca (N) if N exceeds 4096. Use a slightly smaller number
  677. to allow for a few compiler-allocated temporary stack slots. */
  678. # define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */
  679. # endif
  680. # else
  681. # define YYSTACK_ALLOC YYMALLOC
  682. # define YYSTACK_FREE YYFREE
  683. # ifndef YYSTACK_ALLOC_MAXIMUM
  684. # define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
  685. # endif
  686. # if (defined __cplusplus && ! defined EXIT_SUCCESS \
  687. && ! ((defined YYMALLOC || defined malloc) \
  688. && (defined YYFREE || defined free)))
  689. # include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
  690. # ifndef EXIT_SUCCESS
  691. # define EXIT_SUCCESS 0
  692. # endif
  693. # endif
  694. # ifndef YYMALLOC
  695. # define YYMALLOC malloc
  696. # if ! defined malloc && ! defined EXIT_SUCCESS
  697. void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
  698. # endif
  699. # endif
  700. # ifndef YYFREE
  701. # define YYFREE free
  702. # if ! defined free && ! defined EXIT_SUCCESS
  703. void free (void *); /* INFRINGES ON USER NAME SPACE */
  704. # endif
  705. # endif
  706. # endif
  707. #endif /* ! defined yyoverflow || YYERROR_VERBOSE */
  708. #if (! defined yyoverflow \
  709. && (! defined __cplusplus \
  710. || (defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL \
  711. && defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
  712. /* A type that is properly aligned for any stack member. */
  713. union yyalloc
  714. {
  715. yytype_int16 yyss_alloc;
  716. YYSTYPE yyvs_alloc;
  717. YYLTYPE yyls_alloc;
  718. };
  719. /* The size of the maximum gap between one aligned stack and the next. */
  720. # define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
  721. /* The size of an array large to enough to hold all stacks, each with
  722. N elements. */
  723. # define YYSTACK_BYTES(N) \
  724. ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE) + sizeof (YYLTYPE)) \
  725. + 2 * YYSTACK_GAP_MAXIMUM)
  726. # define YYCOPY_NEEDED 1
  727. /* Relocate STACK from its old location to the new one. The
  728. local variables YYSIZE and YYSTACKSIZE give the old and new number of
  729. elements in the stack, and YYPTR gives the new location of the
  730. stack. Advance YYPTR to a properly aligned location for the next
  731. stack. */
  732. # define YYSTACK_RELOCATE(Stack_alloc, Stack) \
  733. do \
  734. { \
  735. YYSIZE_T yynewbytes; \
  736. YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \
  737. Stack = &yyptr->Stack_alloc; \
  738. yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
  739. yyptr += yynewbytes / sizeof (*yyptr); \
  740. } \
  741. while (0)
  742. #endif
  743. #if defined YYCOPY_NEEDED && YYCOPY_NEEDED
  744. /* Copy COUNT objects from SRC to DST. The source and destination do
  745. not overlap. */
  746. # ifndef YYCOPY
  747. # if defined __GNUC__ && 1 < __GNUC__
  748. # define YYCOPY(Dst, Src, Count) \
  749. __builtin_memcpy (Dst, Src, (Count) * sizeof (*(Src)))
  750. # else
  751. # define YYCOPY(Dst, Src, Count) \
  752. do \
  753. { \
  754. YYSIZE_T yyi; \
  755. for (yyi = 0; yyi < (Count); yyi++) \
  756. (Dst)[yyi] = (Src)[yyi]; \
  757. } \
  758. while (0)
  759. # endif
  760. # endif
  761. #endif /* !YYCOPY_NEEDED */
  762. /* YYFINAL -- State number of the termination state. */
  763. #define YYFINAL 104
  764. /* YYLAST -- Last index in YYTABLE. */
  765. #define YYLAST 7127
  766. /* YYNTOKENS -- Number of terminals. */
  767. #define YYNTOKENS 171
  768. /* YYNNTS -- Number of nonterminals. */
  769. #define YYNNTS 110
  770. /* YYNRULES -- Number of rules. */
  771. #define YYNRULES 763
  772. /* YYNSTATES -- Number of states. */
  773. #define YYNSTATES 1570
  774. /* YYTRANSLATE[YYX] -- Symbol number corresponding to YYX as returned
  775. by yylex, with out-of-bounds checking. */
  776. #define YYUNDEFTOK 2
  777. #define YYMAXUTOK 401
  778. #define YYTRANSLATE(YYX) \
  779. ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
  780. /* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM
  781. as returned by yylex, without out-of-bounds checking. */
  782. static const yytype_uint8 yytranslate[] =
  783. {
  784. 0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
  785. 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
  786. 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
  787. 2, 2, 2, 169, 2, 2, 2, 162, 155, 2,
  788. 165, 167, 160, 158, 148, 159, 164, 161, 2, 2,
  789. 2, 2, 2, 2, 2, 2, 2, 2, 150, 149,
  790. 156, 151, 157, 152, 2, 2, 2, 2, 2, 2,
  791. 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
  792. 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
  793. 2, 166, 2, 170, 154, 2, 2, 2, 2, 2,
  794. 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
  795. 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
  796. 2, 2, 2, 147, 153, 168, 163, 2, 2, 2,
  797. 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
  798. 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
  799. 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
  800. 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
  801. 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
  802. 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
  803. 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
  804. 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
  805. 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
  806. 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
  807. 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
  808. 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
  809. 2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
  810. 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
  811. 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
  812. 25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
  813. 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
  814. 45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
  815. 55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
  816. 65, 66, 67, 68, 69, 70, 71, 72, 73, 74,
  817. 75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
  818. 85, 86, 87, 88, 89, 90, 91, 92, 93, 94,
  819. 95, 96, 97, 98, 99, 100, 101, 102, 103, 104,
  820. 105, 106, 107, 108, 109, 110, 111, 112, 113, 114,
  821. 115, 116, 117, 118, 119, 120, 121, 122, 123, 124,
  822. 125, 126, 127, 128, 129, 130, 131, 132, 133, 134,
  823. 135, 136, 137, 138, 139, 140, 141, 142, 143, 144,
  824. 145, 146
  825. };
  826. #if YYDEBUG
  827. /* YYRLINE[YYN] -- Source line where rule number YYN was defined. */
  828. static const yytype_uint16 yyrline[] =
  829. {
  830. 0, 450, 450, 451, 455, 462, 463, 464, 468, 469,
  831. 473, 477, 481, 494, 493, 505, 506, 507, 508, 509,
  832. 510, 511, 524, 533, 537, 545, 549, 553, 574, 601,
  833. 622, 651, 687, 730, 742, 763, 799, 833, 855, 891,
  834. 913, 924, 938, 937, 952, 956, 961, 965, 976, 980,
  835. 984, 988, 992, 996, 1000, 1004, 1008, 1012, 1016, 1020,
  836. 1025, 1029, 1036, 1037, 1041, 1042, 1043, 1048, 1047, 1063,
  837. 1073, 1072, 1089, 1097, 1105, 1116, 1132, 1131, 1146, 1161,
  838. 1170, 1185, 1184, 1209, 1208, 1236, 1235, 1266, 1265, 1284,
  839. 1283, 1304, 1303, 1335, 1334, 1360, 1373, 1377, 1381, 1385,
  840. 1398, 1402, 1406, 1410, 1414, 1419, 1424, 1428, 1432, 1436,
  841. 1443, 1447, 1451, 1455, 1459, 1463, 1467, 1471, 1475, 1479,
  842. 1483, 1487, 1491, 1495, 1499, 1503, 1507, 1511, 1515, 1519,
  843. 1523, 1527, 1531, 1535, 1539, 1543, 1547, 1551, 1555, 1559,
  844. 1563, 1567, 1571, 1575, 1579, 1583, 1587, 1591, 1595, 1602,
  845. 1603, 1604, 1608, 1610, 1609, 1617, 1618, 1622, 1623, 1627,
  846. 1633, 1642, 1643, 1647, 1651, 1655, 1659, 1665, 1671, 1677,
  847. 1684, 1689, 1698, 1702, 1707, 1715, 1727, 1731, 1745, 1760,
  848. 1765, 1770, 1775, 1780, 1785, 1790, 1795, 1801, 1800, 1831,
  849. 1841, 1851, 1855, 1859, 1868, 1872, 1880, 1884, 1889, 1893,
  850. 1898, 1906, 1911, 1919, 1923, 1928, 1932, 1937, 1945, 1950,
  851. 1958, 1962, 1969, 1973, 1980, 1984, 1988, 1992, 1996, 2003,
  852. 2007, 2011, 2015, 2019, 2023, 2030, 2031, 2032, 2036, 2039,
  853. 2040, 2041, 2045, 2050, 2056, 2062, 2067, 2073, 2079, 2083,
  854. 2094, 2098, 2108, 2112, 2116, 2121, 2126, 2131, 2136, 2141,
  855. 2146, 2154, 2158, 2162, 2167, 2172, 2177, 2182, 2187, 2192,
  856. 2197, 2203, 2211, 2216, 2221, 2226, 2231, 2236, 2241, 2246,
  857. 2251, 2256, 2262, 2270, 2274, 2279, 2284, 2289, 2294, 2299,
  858. 2304, 2309, 2314, 2322, 2326, 2331, 2336, 2341, 2346, 2351,
  859. 2356, 2361, 2366, 2371, 2377, 2384, 2391, 2401, 2405, 2413,
  860. 2417, 2421, 2425, 2429, 2445, 2461, 2470, 2474, 2484, 2491,
  861. 2502, 2506, 2514, 2518, 2522, 2526, 2530, 2546, 2562, 2580,
  862. 2589, 2593, 2603, 2610, 2614, 2622, 2626, 2642, 2658, 2667,
  863. 2677, 2684, 2688, 2696, 2700, 2705, 2709, 2717, 2718, 2719,
  864. 2720, 2725, 2724, 2749, 2748, 2778, 2779, 2786, 2787, 2791,
  865. 2792, 2796, 2800, 2804, 2808, 2812, 2816, 2820, 2824, 2828,
  866. 2832, 2839, 2847, 2851, 2855, 2860, 2868, 2872, 2879, 2880,
  867. 2885, 2892, 2893, 2898, 2906, 2910, 2914, 2921, 2925, 2929,
  868. 2937, 2936, 2959, 2958, 2981, 2982, 2986, 2992, 2999, 3008,
  869. 3009, 3010, 3014, 3018, 3022, 3026, 3030, 3034, 3039, 3044,
  870. 3049, 3054, 3058, 3063, 3072, 3077, 3085, 3089, 3093, 3101,
  871. 3111, 3111, 3121, 3122, 3126, 3127, 3128, 3129, 3130, 3131,
  872. 3132, 3133, 3134, 3135, 3136, 3137, 3137, 3137, 3138, 3138,
  873. 3138, 3138, 3139, 3139, 3139, 3139, 3139, 3140, 3140, 3140,
  874. 3141, 3141, 3141, 3141, 3141, 3142, 3142, 3142, 3142, 3142,
  875. 3143, 3143, 3144, 3144, 3144, 3144, 3144, 3145, 3145, 3145,
  876. 3145, 3145, 3146, 3146, 3146, 3146, 3147, 3147, 3147, 3147,
  877. 3147, 3148, 3148, 3148, 3148, 3148, 3149, 3149, 3149, 3149,
  878. 3149, 3149, 3150, 3150, 3150, 3150, 3150, 3151, 3151, 3151,
  879. 3151, 3152, 3152, 3152, 3152, 3153, 3153, 3153, 3153, 3153,
  880. 3154, 3154, 3154, 3154, 3155, 3155, 3155, 3155, 3155, 3156,
  881. 3156, 3156, 3156, 3157, 3157, 3157, 3157, 3157, 3158, 3158,
  882. 3161, 3161, 3161, 3161, 3161, 3161, 3161, 3161, 3161, 3161,
  883. 3161, 3162, 3162, 3162, 3162, 3162, 3162, 3162, 3162, 3162,
  884. 3162, 3163, 3163, 3167, 3171, 3178, 3182, 3189, 3193, 3200,
  885. 3204, 3208, 3212, 3216, 3220, 3224, 3228, 3240, 3244, 3248,
  886. 3252, 3256, 3260, 3264, 3268, 3272, 3276, 3280, 3284, 3288,
  887. 3292, 3296, 3300, 3304, 3308, 3312, 3316, 3320, 3324, 3328,
  888. 3332, 3336, 3340, 3344, 3348, 3352, 3356, 3360, 3368, 3372,
  889. 3376, 3380, 3384, 3388, 3392, 3402, 3412, 3418, 3424, 3430,
  890. 3436, 3442, 3448, 3455, 3462, 3469, 3476, 3482, 3488, 3492,
  891. 3504, 3508, 3512, 3516, 3520, 3531, 3542, 3546, 3550, 3554,
  892. 3558, 3562, 3566, 3570, 3574, 3578, 3582, 3586, 3590, 3594,
  893. 3598, 3602, 3606, 3610, 3614, 3618, 3622, 3626, 3630, 3634,
  894. 3638, 3642, 3646, 3650, 3654, 3658, 3662, 3669, 3673, 3677,
  895. 3681, 3685, 3689, 3693, 3697, 3701, 3707, 3713, 3717, 3723,
  896. 3730, 3734, 3738, 3742, 3746, 3750, 3754, 3758, 3762, 3766,
  897. 3770, 3774, 3778, 3782, 3786, 3790, 3794, 3808, 3812, 3816,
  898. 3820, 3824, 3828, 3832, 3836, 3848, 3852, 3856, 3860, 3864,
  899. 3875, 3886, 3890, 3894, 3898, 3902, 3906, 3910, 3914, 3918,
  900. 3922, 3926, 3930, 3934, 3938, 3942, 3946, 3950, 3954, 3958,
  901. 3962, 3966, 3970, 3974, 3978, 3982, 3986, 3990, 3994, 3998,
  902. 4002, 4009, 4013, 4017, 4021, 4025, 4029, 4033, 4037, 4041,
  903. 4047, 4053, 4061, 4065, 4069, 4073, 4080, 4090, 4096, 4102,
  904. 4112, 4124, 4132, 4136, 4166, 4170, 4174, 4178, 4182, 4186,
  905. 4192, 4196, 4200, 4204, 4208, 4219, 4223, 4227, 4231, 4239,
  906. 4243, 4247, 4253, 4264
  907. };
  908. #endif
  909. #if YYDEBUG || YYERROR_VERBOSE || 0
  910. /* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
  911. First, the terminals, then, starting at YYNTOKENS, nonterminals. */
  912. static const char *const yytname[] =
  913. {
  914. "$end", "error", "$undefined", "REAL", "INTEGER", "CHAR_TOK",
  915. "SIMPLE_STRING", "SIMPLE_IDENTIFIER", "STRING_LITERAL", "CUSTOM_LITERAL",
  916. "IDENTIFIER", "TYPENAME_IDENTIFIER", "TYPEPACK_IDENTIFIER", "SCOPING",
  917. "TYPEDEFNAME", "ELLIPSIS", "OROR", "ANDAND", "EQCOMPARE", "NECOMPARE",
  918. "LECOMPARE", "GECOMPARE", "LSHIFT", "RSHIFT", "POINTSAT_STAR",
  919. "DOT_STAR", "UNARY", "UNARY_NOT", "UNARY_NEGATE", "UNARY_MINUS",
  920. "UNARY_PLUS", "UNARY_STAR", "UNARY_REF", "POINTSAT", "SCOPE", "PLUSPLUS",
  921. "MINUSMINUS", "TIMESEQUAL", "DIVIDEEQUAL", "MODEQUAL", "PLUSEQUAL",
  922. "MINUSEQUAL", "OREQUAL", "ANDEQUAL", "XOREQUAL", "LSHIFTEQUAL",
  923. "RSHIFTEQUAL", "ATTR_LEFT", "ATTR_RIGHT", "KW_ALIGNAS", "KW_ALIGNOF",
  924. "KW_AUTO", "KW_BEGIN_PUBLISH", "KW_BLOCKING", "KW_BOOL", "KW_CATCH",
  925. "KW_CHAR", "KW_CHAR16_T", "KW_CHAR32_T", "KW_CLASS", "KW_CONST",
  926. "KW_CONSTEXPR", "KW_CONST_CAST", "KW_DECLTYPE", "KW_DEFAULT",
  927. "KW_DELETE", "KW_DOUBLE", "KW_DYNAMIC_CAST", "KW_ELSE", "KW_END_PUBLISH",
  928. "KW_ENUM", "KW_EXTENSION", "KW_EXTERN", "KW_EXPLICIT", "KW_PUBLISHED",
  929. "KW_FALSE", "KW_FINAL", "KW_FLOAT", "KW_FRIEND", "KW_FOR", "KW_GOTO",
  930. "KW_HAS_VIRTUAL_DESTRUCTOR", "KW_IF", "KW_INLINE", "KW_INT",
  931. "KW_IS_ABSTRACT", "KW_IS_BASE_OF", "KW_IS_CLASS", "KW_IS_CONSTRUCTIBLE",
  932. "KW_IS_CONVERTIBLE_TO", "KW_IS_DESTRUCTIBLE", "KW_IS_EMPTY",
  933. "KW_IS_ENUM", "KW_IS_FINAL", "KW_IS_FUNDAMENTAL", "KW_IS_POD",
  934. "KW_IS_POLYMORPHIC", "KW_IS_STANDARD_LAYOUT", "KW_IS_TRIVIAL",
  935. "KW_IS_UNION", "KW_LONG", "KW_MAKE_MAP_KEYS_SEQ", "KW_MAKE_MAP_PROPERTY",
  936. "KW_MAKE_PROPERTY", "KW_MAKE_PROPERTY2", "KW_MAKE_SEQ",
  937. "KW_MAKE_SEQ_PROPERTY", "KW_MUTABLE", "KW_NAMESPACE", "KW_NEW",
  938. "KW_NOEXCEPT", "KW_NULLPTR", "KW_OPERATOR", "KW_OVERRIDE", "KW_PRIVATE",
  939. "KW_PROTECTED", "KW_PUBLIC", "KW_REGISTER", "KW_REINTERPRET_CAST",
  940. "KW_RETURN", "KW_SHORT", "KW_SIGNED", "KW_SIZEOF", "KW_STATIC",
  941. "KW_STATIC_ASSERT", "KW_STATIC_CAST", "KW_STRUCT", "KW_TEMPLATE",
  942. "KW_THREAD_LOCAL", "KW_THROW", "KW_TRUE", "KW_TRY", "KW_TYPEDEF",
  943. "KW_TYPEID", "KW_TYPENAME", "KW_UNDERLYING_TYPE", "KW_UNION",
  944. "KW_UNSIGNED", "KW_USING", "KW_VIRTUAL", "KW_VOID", "KW_VOLATILE",
  945. "KW_WCHAR_T", "KW_WHILE", "START_CPP", "START_CONST_EXPR", "START_TYPE",
  946. "'{'", "','", "';'", "':'", "'='", "'?'", "'|'", "'^'", "'&'", "'<'",
  947. "'>'", "'+'", "'-'", "'*'", "'/'", "'%'", "'~'", "'.'", "'('", "'['",
  948. "')'", "'}'", "'!'", "']'", "$accept", "grammar", "cpp",
  949. "constructor_inits", "constructor_init", "extern_c", "$@1",
  950. "declaration", "friend_declaration", "$@2", "storage_class",
  951. "attribute_specifiers", "attribute_specifier", "type_like_declaration",
  952. "$@3", "$@4", "multiple_instance_identifiers", "typedef_declaration",
  953. "$@5", "typedef_instance_identifiers", "constructor_prototype", "$@6",
  954. "$@7", "function_prototype", "$@8", "$@9", "$@10", "$@11", "$@12",
  955. "function_post", "function_operator", "more_template_declaration",
  956. "template_declaration", "$@13", "template_formal_parameters",
  957. "template_nonempty_formal_parameters", "typename_keyword",
  958. "template_formal_parameter", "template_formal_parameter_type",
  959. "instance_identifier", "$@14",
  960. "instance_identifier_and_maybe_trailing_return_type",
  961. "maybe_trailing_return_type", "maybe_comma_identifier",
  962. "function_parameter_list", "function_parameters",
  963. "formal_parameter_list", "formal_parameters",
  964. "template_parameter_maybe_initialize", "maybe_initialize",
  965. "maybe_initialize_or_constructor_body",
  966. "maybe_initialize_or_function_body", "structure_init",
  967. "structure_init_body", "function_parameter", "formal_parameter",
  968. "not_paren_formal_parameter_identifier", "formal_parameter_identifier",
  969. "parameter_pack_identifier", "not_paren_empty_instance_identifier",
  970. "empty_instance_identifier", "type", "type_pack", "type_decl",
  971. "predefined_type", "var_type_decl", "full_type", "struct_attributes",
  972. "anonymous_struct", "$@15", "named_struct", "$@16", "maybe_final",
  973. "maybe_class_derivation", "class_derivation", "base_specification",
  974. "enum", "enum_decl", "enum_element_type", "enum_body_trailing_comma",
  975. "enum_body", "enum_keyword", "struct_keyword", "namespace_declaration",
  976. "$@17", "$@18", "using_declaration", "simple_type", "simple_int_type",
  977. "simple_float_type", "simple_void_type", "code", "$@19", "code_block",
  978. "element", "optional_const_expr", "optional_const_expr_comma",
  979. "const_expr_comma", "no_angle_bracket_const_expr", "const_expr",
  980. "const_operand", "formal_const_expr", "formal_const_operand",
  981. "capture_list", "capture", "class_derivation_name", "name",
  982. "name_no_final", "string_literal", "empty", YY_NULLPTR
  983. };
  984. #endif
  985. # ifdef YYPRINT
  986. /* YYTOKNUM[NUM] -- (External) token number corresponding to the
  987. (internal) symbol number NUM (which must be that of a token). */
  988. static const yytype_uint16 yytoknum[] =
  989. {
  990. 0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
  991. 265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
  992. 275, 276, 277, 278, 279, 280, 281, 282, 283, 284,
  993. 285, 286, 287, 288, 289, 290, 291, 292, 293, 294,
  994. 295, 296, 297, 298, 299, 300, 301, 302, 303, 304,
  995. 305, 306, 307, 308, 309, 310, 311, 312, 313, 314,
  996. 315, 316, 317, 318, 319, 320, 321, 322, 323, 324,
  997. 325, 326, 327, 328, 329, 330, 331, 332, 333, 334,
  998. 335, 336, 337, 338, 339, 340, 341, 342, 343, 344,
  999. 345, 346, 347, 348, 349, 350, 351, 352, 353, 354,
  1000. 355, 356, 357, 358, 359, 360, 361, 362, 363, 364,
  1001. 365, 366, 367, 368, 369, 370, 371, 372, 373, 374,
  1002. 375, 376, 377, 378, 379, 380, 381, 382, 383, 384,
  1003. 385, 386, 387, 388, 389, 390, 391, 392, 393, 394,
  1004. 395, 396, 397, 398, 399, 400, 401, 123, 44, 59,
  1005. 58, 61, 63, 124, 94, 38, 60, 62, 43, 45,
  1006. 42, 47, 37, 126, 46, 40, 91, 41, 125, 33,
  1007. 93
  1008. };
  1009. # endif
  1010. #define YYPACT_NINF -926
  1011. #define yypact_value_is_default(Yystate) \
  1012. (!!((Yystate) == (-926)))
  1013. #define YYTABLE_NINF -759
  1014. #define yytable_value_is_error(Yytable_value) \
  1015. 0
  1016. /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
  1017. STATE-NUM. */
  1018. static const yytype_int16 yypact[] =
  1019. {
  1020. 162, -926, 3677, 5743, 39, 4864, -926, -926, -926, -926,
  1021. -926, -926, -926, -926, -36, -99, -70, -37, -33, -11,
  1022. -69, -5, 24, -926, -926, 19, 33, 44, 57, 64,
  1023. 67, 78, 92, 96, 102, 144, 171, 174, 179, 185,
  1024. 191, 197, 211, 216, 6057, -926, -926, 108, 220, 222,
  1025. 20, 246, -926, 243, 245, 256, 3677, 3677, 3677, 3677,
  1026. 3677, 1793, 1173, 3677, 3886, -926, 158, -926, -926, -926,
  1027. -926, -926, -926, -926, -926, 5854, 264, -926, -23, -926,
  1028. -926, 2240, 2171, 2171, -926, 4505, 272, -926, 2171, -926,
  1029. -926, 305, 305, -926, -926, -926, -926, 152, 95, -926,
  1030. -926, -926, -926, -926, -926, 6164, 280, -926, 6986, 6986,
  1031. 6986, -926, 6986, 5233, 6986, 297, -926, 6971, 296, 298,
  1032. 307, 314, 319, 324, 6986, 1206, 336, 342, 345, 6986,
  1033. 6986, 331, 6778, 6986, 6986, 5065, 6986, 6986, -926, -926,
  1034. -926, -926, 2195, -926, -926, -926, -926, -926, 3677, 3677,
  1035. 5743, 3677, 3677, 3677, 3677, 5743, 3677, 5743, 3677, 5743,
  1036. 3677, 5743, 5743, 5743, 5743, 5743, 5743, 5743, 5743, 5743,
  1037. 5743, 5743, 5743, 5743, 5743, 5743, 3677, -926, -926, 332,
  1038. 4505, 337, 338, 4505, -926, -926, 5743, 3677, 3677, 339,
  1039. 5336, 5743, 1793, 3677, 3677, 88, 88, 88, 88, 88,
  1040. -36, -70, -37, -33, -11, -5, 19, 44, 6195, 5244,
  1041. 5695, 6068, 256, 334, -78, 3886, -926, -926, -926, -926,
  1042. -926, -926, -926, -926, -926, -926, -926, -926, 4505, 4505,
  1043. -85, 358, -926, -926, 88, 3677, 3677, 3677, 3677, 3677,
  1044. 3677, 3677, 3677, 3677, 3677, 3677, 3677, 3677, 3677, 3677,
  1045. 3677, 3677, 3677, 3677, 3677, 3677, 2732, 3677, -926, -926,
  1046. 305, 305, 2867, -926, -926, -926, 2171, -926, -926, -926,
  1047. -926, 5743, -926, 353, 261, 150, 305, 305, 150, 150,
  1048. 4978, 349, -926, 350, -926, -926, -926, -926, -926, -926,
  1049. 1338, 368, 5160, -926, 4505, 472, 371, 356, 1936, 5250,
  1050. 6986, -926, -926, -926, -926, 6986, -926, -926, -926, -926,
  1051. 6871, 1355, -926, 4505, 4505, 4505, 4505, 4505, 4505, -926,
  1052. -926, 375, -926, -926, -926, -926, -926, 3677, -926, 4316,
  1053. -926, 367, -926, 4408, -926, 4505, 74, -926, -926, -63,
  1054. 364, -926, 365, 5941, 4505, 366, -926, 4505, -926, 239,
  1055. 383, -926, -926, -926, -926, 792, -926, -926, 372, 386,
  1056. -926, 369, 374, 382, 384, 390, 391, 393, 395, 396,
  1057. 407, 408, 410, 412, 415, 414, -75, 424, 416, 419,
  1058. 428, 429, 431, 432, 435, 436, 437, 438, 439, 3677,
  1059. -926, 5743, 3677, -926, 6759, 425, 443, 446, 4505, 450,
  1060. 451, 434, 452, 4177, 462, 463, 3677, 3677, -926, 524,
  1061. -926, 1294, 467, 3677, -926, -926, 1444, 4862, 1629, 1629,
  1062. 908, 908, 1658, 1658, -926, 2750, 1066, 4908, 5061, 908,
  1063. 908, 166, 166, 88, 88, 88, -926, -926, -74, 1595,
  1064. -926, -926, 468, 4477, 473, 150, 476, 479, 4505, 150,
  1065. 150, 150, 150, 150, 477, -926, 349, -926, 349, -926,
  1066. 477, 477, -926, 150, 6164, 5830, 5714, 150, 150, 481,
  1067. 53, -926, 672, 720, -926, 3677, 4505, 484, -926, -926,
  1068. -926, -926, 1338, -16, -14, -4, 6164, 489, 143, -926,
  1069. -926, -926, 494, 6986, 6164, 3812, -36, 482, 4535, -926,
  1070. -926, -926, 509, 511, 513, 515, 522, 525, 526, 6239,
  1071. -926, 3831, 5486, 249, 492, 239, -926, -926, 523, -926,
  1072. 5743, -926, 46, 3002, 6081, 916, -926, 5743, -926, 510,
  1073. 202, -926, -926, 2079, -926, -926, 413, -926, 531, 5160,
  1074. -926, -926, -926, -926, -926, -926, -926, 521, -926, 533,
  1075. -926, -926, -926, -926, 5743, -926, 5743, -926, 5743, -926,
  1076. -926, -926, -926, -926, -926, -926, -926, -926, -926, -926,
  1077. 4556, 529, 536, -926, 535, -926, -926, 537, -926, -926,
  1078. 540, -926, -926, -926, -926, 88, 3886, -926, 4505, 358,
  1079. 5593, 2226, -926, 3886, 3677, -926, -926, -926, -926, -926,
  1080. 477, 150, -926, 477, 477, 477, 477, 477, 3677, -121,
  1081. 658, 5854, 672, 720, -926, -29, 10, -926, -926, 5622,
  1082. 555, 672, 672, 672, 672, 672, 672, -57, -926, -926,
  1083. 558, 4505, 720, 720, 720, 720, 720, 720, 99, 551,
  1084. 3886, -926, -52, -926, 582, 683, 1936, -926, 660, 6164,
  1085. -926, -926, -926, -926, -926, -926, -926, -926, 569, 584,
  1086. 589, -926, -926, 6057, -926, -926, 590, 35, 594, -926,
  1087. 573, 3677, 3677, 3677, 3677, 1793, 3677, 585, 54, -926,
  1088. -926, 4647, -926, 158, -926, 6986, 6986, 6312, -926, 741,
  1089. 743, 744, 748, 754, 755, -926, -926, 290, 617, -926,
  1090. -926, -926, -926, 5518, -926, 610, 620, 6753, -926, 495,
  1091. -926, -926, 46, -926, 413, -926, 621, 5593, 609, 413,
  1092. 5593, 612, 4574, 916, 616, 916, 916, 916, 916, 916,
  1093. 266, -926, -926, 614, 6385, -926, -926, -926, 4505, 248,
  1094. -926, 615, -926, 637, 638, 3137, 3024, 628, 413, 413,
  1095. 4248, 413, 413, 413, 413, -926, 8, 250, -926, 1338,
  1096. -926, 3677, 3677, 624, 626, 629, -926, -926, -926, 3677,
  1097. -926, 3677, -926, 630, -926, 5970, 6164, -926, -926, -926,
  1098. -926, -926, -926, 634, -926, -926, 653, -926, 3886, 477,
  1099. 635, 641, 5714, 672, 720, -57, 99, 642, 644, 2226,
  1100. -926, -926, 672, 645, 645, 645, 645, 645, 212, 3677,
  1101. -926, 720, -926, 649, 649, 649, 649, 649, 275, 3677,
  1102. -926, 650, -926, 3677, -926, 643, 4592, 6458, -926, 669,
  1103. -926, -926, 5743, 5743, 5743, 655, 5743, 659, 5365, 5743,
  1104. 1793, 88, 88, 88, 88, 656, -66, 88, -926, -926,
  1105. 3953, 3677, 3677, 3677, 3677, 3677, 3677, 3677, 3677, 3677,
  1106. 3677, 3677, 3677, 3677, 3677, 3677, 3677, 3677, 3677, 3677,
  1107. 3677, 3677, 3272, 3677, -926, -926, -926, -926, 678, -48,
  1108. 685, 686, 690, 691, 6531, 23, -926, 495, 6944, 5486,
  1109. 4505, 680, 681, 495, 495, 495, 495, 495, 495, 134,
  1110. 649, -926, 250, -926, 675, 413, 240, 676, -926, -926,
  1111. 288, 916, 679, 679, 679, 679, 679, -926, 3677, -926,
  1112. -926, 5593, 687, 321, -926, -25, 697, 698, -926, 2564,
  1113. -926, -926, -926, 3137, 692, 700, 3886, -926, -926, 413,
  1114. 311, 311, 839, -926, -926, -926, -926, -926, -926, -926,
  1115. -926, -926, -926, -926, -926, -926, -926, -926, -926, -926,
  1116. -926, -926, -926, -926, -926, -926, -926, -926, -926, -926,
  1117. -926, -926, -926, -926, -926, -926, -926, -926, -926, 684,
  1118. 688, -926, -926, 311, 311, 311, 247, 849, -926, 3677,
  1119. -926, 2079, 706, -926, 582, -44, -40, -926, -926, -926,
  1120. -28, -22, -926, 6057, 305, 811, 471, -926, -926, 5593,
  1121. -926, -57, 99, -926, -926, 5593, 5593, -926, 645, 699,
  1122. 693, 649, 701, 695, 3294, -926, -926, -926, 5324, 723,
  1123. 714, -926, 704, 710, 716, 3677, 724, 4505, 717, 721,
  1124. 725, 722, 4629, 3677, -926, -926, -926, 1444, 4862, 1629,
  1125. 1629, 908, 908, 1658, 1658, -926, 3564, 1066, 4908, 5061,
  1126. 908, 908, 166, 166, 88, 88, 88, -926, -926, -6,
  1127. 1958, 6604, 867, 873, 738, 880, 733, -926, 892, 893,
  1128. 894, -926, 760, 134, 649, -926, -926, -926, -926, -926,
  1129. -926, 5743, 495, 4093, -926, -926, 764, -926, -926, 269,
  1130. 749, -926, -926, 679, 5593, 746, 751, -926, -926, 4505,
  1131. 3677, 3677, -926, -926, -926, -926, -926, -926, -926, -926,
  1132. -926, -926, -926, -926, -926, -926, -926, -926, -926, -926,
  1133. -926, -926, -926, -926, -926, -926, -926, -926, -926, -926,
  1134. -926, -926, -926, -926, -926, -926, -926, -926, -926, -926,
  1135. -926, -926, -926, -926, -926, -926, -926, -926, -926, -926,
  1136. -926, -926, -926, -926, -926, -926, -926, -926, -926, -926,
  1137. -926, -926, -926, -926, -926, -926, -926, -926, -926, -926,
  1138. -926, -926, -926, -926, -926, -926, -926, -926, -926, -926,
  1139. -926, -926, -926, -926, -926, -926, -926, -926, -926, -926,
  1140. -926, -926, -926, -926, -926, -926, -926, -926, -926, -926,
  1141. -926, -926, -926, -926, -926, -926, -926, -926, -926, -926,
  1142. -926, -926, -926, -926, -926, -926, -926, -926, -926, -926,
  1143. -926, -926, -926, -926, -926, -926, -926, -926, -926, -926,
  1144. -926, -926, -926, -926, 771, -926, 3407, 311, -926, -926,
  1145. -926, -926, -926, 3812, 753, 3024, 413, -926, -926, -926,
  1146. -926, 2226, 305, -926, -926, -926, 15, 776, 752, -926,
  1147. -926, 778, 779, 5593, -926, 5593, -926, -926, 5705, 6090,
  1148. 6150, 4505, 343, -926, -926, 932, -926, 5324, -926, 783,
  1149. 784, 812, 813, 814, -926, -926, 815, -926, -926, 88,
  1150. 3677, -926, -926, -926, 816, 1, -926, 834, 835, 14,
  1151. 819, 59, -926, -926, -926, 822, 833, 837, 838, 38,
  1152. 840, 4093, 4093, 4093, 4093, 4093, 1793, 4093, 4798, -926,
  1153. 413, 4016, 825, -926, 4016, 5593, 828, -926, -926, 829,
  1154. -926, 830, 842, 2396, -926, 3137, 3886, 845, -926, -926,
  1155. 853, -926, 850, -926, -926, -926, -926, -926, 851, 852,
  1156. 5929, -926, 5929, -926, 5929, -926, -926, 5929, 5929, 5929,
  1157. -926, 6677, -926, 3677, 3677, -926, 3677, -926, 3677, 3886,
  1158. 855, 992, 858, 1006, -926, 1010, 874, 875, 1012, 876,
  1159. 5743, 5743, 5743, 5743, 861, 5457, 5743, 123, 123, 123,
  1160. 123, 123, 860, 101, 123, 4093, 4093, 4093, 4093, 4093,
  1161. 4093, 4093, 4093, 4093, 4093, 4093, 4093, 4093, 4093, 4093,
  1162. 4093, 4093, 4093, 4093, 3542, 3677, -926, -926, 5593, 863,
  1163. -926, 4016, -926, -926, 1013, -926, 864, -926, -926, -926,
  1164. 2226, 2226, 2226, -926, -926, -926, -926, -926, -926, -926,
  1165. -926, -926, 114, 147, 168, 175, -926, 885, -926, 868,
  1166. 888, -926, -926, 176, -926, 872, 883, 884, 886, 4505,
  1167. 877, 887, 895, 4093, -926, 4144, 5038, 1181, 1181, 1608,
  1168. 1608, 2116, 2116, -926, 4744, 5088, 5104, 1648, 405, 405,
  1169. 123, 123, 123, -926, -926, 181, 2329, 5593, 889, -926,
  1170. 4016, -926, -926, 4016, 882, -926, -926, -926, 4016, 4016,
  1171. -926, -926, -926, -926, 1043, 891, 906, 1049, 1050, 912,
  1172. -926, 897, 899, 900, 910, -926, -926, 913, 123, 4093,
  1173. -926, -926, 914, -926, 4016, -926, -926, 926, -926, 923,
  1174. 192, -926, 3677, 3677, 3677, -926, 3677, 4798, -926, 2226,
  1175. -926, 930, 1070, 934, 193, 199, 206, 213, 2226, -926,
  1176. -926, 925, -926, -926, -926, -926, -926, -926, 944, -926
  1177. };
  1178. /* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM.
  1179. Performed when YYTABLE does not specify something else to do. Zero
  1180. means the default is an error. */
  1181. static const yytype_uint16 yydefact[] =
  1182. {
  1183. 0, 763, 0, 0, 0, 763, 5, 651, 647, 650,
  1184. 759, 760, 653, 654, 0, 0, 0, 0, 0, 0,
  1185. 0, 0, 0, 649, 655, 0, 0, 0, 0, 0,
  1186. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  1187. 0, 0, 0, 0, 0, 657, 656, 0, 0, 0,
  1188. 0, 0, 648, 0, 0, 0, 0, 0, 0, 0,
  1189. 0, 0, 763, 0, 3, 588, 652, 298, 309, 308,
  1190. 392, 393, 395, 396, 377, 0, 0, 407, 374, 406,
  1191. 401, 398, 397, 400, 378, 0, 0, 379, 399, 409,
  1192. 394, 763, 763, 4, 300, 301, 302, 0, 363, 763,
  1193. 297, 389, 390, 391, 1, 0, 0, 21, 763, 763,
  1194. 763, 22, 763, 763, 763, 0, 42, 763, 0, 0,
  1195. 0, 0, 0, 0, 763, 0, 0, 0, 0, 763,
  1196. 763, 0, 763, 763, 763, 0, 763, 763, 6, 17,
  1197. 7, 19, 0, 15, 16, 18, 73, 44, 763, 763,
  1198. 0, 763, 763, 763, 763, 0, 763, 0, 763, 0,
  1199. 763, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  1200. 0, 0, 0, 0, 0, 0, 763, 324, 330, 0,
  1201. 0, 0, 612, 0, 763, 323, 0, 763, 763, 0,
  1202. 0, 0, 0, 763, 763, 621, 619, 618, 620, 617,
  1203. 298, 392, 393, 395, 396, 407, 406, 401, 398, 397,
  1204. 400, 399, 394, 0, 0, 547, 744, 745, 746, 754,
  1205. 747, 750, 748, 752, 751, 749, 753, 733, 734, 0,
  1206. 0, 763, 739, 732, 616, 0, 0, 0, 0, 0,
  1207. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  1208. 0, 0, 0, 0, 0, 0, 0, 0, 761, 762,
  1209. 763, 763, 0, 375, 376, 408, 398, 403, 402, 405,
  1210. 299, 0, 404, 0, 284, 763, 763, 763, 763, 763,
  1211. 763, 0, 333, 283, 335, 763, 755, 756, 757, 758,
  1212. 0, 365, 0, 337, 0, 0, 62, 64, 0, 763,
  1213. 763, 56, 45, 55, 57, 763, 46, 152, 51, 23,
  1214. 763, 0, 49, 0, 0, 0, 0, 0, 0, 54,
  1215. 763, 0, 26, 25, 24, 52, 48, 0, 156, 0,
  1216. 155, 0, 58, 0, 20, 0, 0, 50, 53, 332,
  1217. 311, 322, 0, 0, 0, 0, 13, 0, 70, 0,
  1218. 331, 67, 313, 314, 315, 363, 763, 310, 0, 546,
  1219. 545, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  1220. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  1221. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  1222. 325, 0, 763, 327, 0, 0, 0, 0, 0, 0,
  1223. 0, 0, 0, 0, 0, 0, 0, 0, 646, 737,
  1224. 740, 0, 763, 0, 735, 212, 630, 631, 632, 633,
  1225. 634, 635, 638, 639, 645, 0, 627, 628, 629, 636,
  1226. 637, 625, 626, 622, 623, 624, 644, 643, 0, 0,
  1227. 334, 336, 0, 0, 0, 763, 285, 0, 274, 763,
  1228. 763, 763, 763, 763, 290, 273, 0, 286, 0, 287,
  1229. 289, 288, 197, 763, 0, 0, 0, 763, 763, 0,
  1230. 198, 201, 763, 0, 196, 763, 371, 0, 368, 367,
  1231. 362, 366, 0, 744, 745, 746, 0, 0, 748, 341,
  1232. 303, 343, 0, 763, 0, 763, 311, 0, 0, 47,
  1233. 43, 763, 0, 0, 0, 0, 0, 0, 0, 763,
  1234. 380, 0, 763, 332, 311, 0, 331, 76, 0, 386,
  1235. 0, 81, 83, 0, 0, 763, 312, 0, 763, 0,
  1236. 0, 410, 219, 0, 72, 69, 0, 318, 365, 0,
  1237. 595, 594, 611, 601, 597, 599, 600, 0, 607, 0,
  1238. 606, 660, 596, 661, 0, 663, 0, 664, 0, 667,
  1239. 668, 669, 670, 671, 672, 673, 674, 675, 676, 603,
  1240. 0, 0, 0, 326, 0, 602, 605, 0, 609, 608,
  1241. 0, 614, 615, 604, 598, 589, 548, 738, 0, 763,
  1242. 763, 763, 96, 213, 0, 642, 641, 306, 305, 307,
  1243. 291, 763, 275, 280, 276, 277, 279, 278, 763, 0,
  1244. 0, 0, 763, 0, 238, 0, 0, 763, 200, 0,
  1245. 0, 763, 763, 763, 763, 763, 763, 763, 252, 251,
  1246. 0, 262, 0, 0, 0, 0, 0, 0, 763, 0,
  1247. 544, 543, 372, 361, 304, 0, 0, 763, 763, 0,
  1248. 59, 63, 725, 721, 724, 727, 728, 204, 0, 0,
  1249. 0, 723, 729, 0, 731, 730, 0, 0, 0, 722,
  1250. 0, 0, 0, 0, 0, 0, 0, 0, 205, 240,
  1251. 208, 241, 677, 726, 203, 763, 763, 763, 382, 0,
  1252. 0, 0, 0, 0, 0, 384, 763, 0, 0, 173,
  1253. 174, 175, 161, 0, 162, 0, 158, 163, 159, 763,
  1254. 172, 157, 0, 78, 0, 388, 0, 763, 0, 0,
  1255. 763, 0, 0, 763, 0, 763, 763, 763, 763, 763,
  1256. 0, 243, 242, 0, 763, 85, 410, 214, 0, 0,
  1257. 71, 0, 763, 0, 0, 763, 0, 0, 0, 0,
  1258. 0, 0, 0, 0, 0, 68, 763, 763, 176, 0,
  1259. 316, 0, 0, 0, 0, 0, 328, 329, 613, 0,
  1260. 610, 0, 736, 0, 103, 0, 0, 97, 105, 100,
  1261. 104, 99, 101, 0, 98, 102, 0, 191, 640, 281,
  1262. 0, 0, 0, 763, 0, 763, 763, 0, 0, 763,
  1263. 199, 202, 763, 257, 253, 254, 256, 255, 0, 763,
  1264. 232, 0, 263, 268, 264, 265, 267, 266, 0, 763,
  1265. 235, 292, 369, 0, 338, 0, 0, 763, 346, 763,
  1266. 345, 66, 0, 0, 0, 687, 0, 0, 0, 0,
  1267. 0, 695, 694, 693, 692, 0, 0, 691, 65, 207,
  1268. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  1269. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  1270. 0, 0, 0, 0, 61, 60, 385, 763, 0, 0,
  1271. 763, 0, 0, 0, 763, 0, 41, 763, 763, 0,
  1272. 166, 164, 0, 763, 763, 763, 763, 763, 763, 763,
  1273. 170, 77, 763, 387, 0, 0, 0, 0, 320, 319,
  1274. 0, 763, 248, 244, 245, 247, 246, 91, 763, 321,
  1275. 14, 763, 0, 0, 8, 0, 0, 0, 220, 411,
  1276. 412, 222, 223, 763, 0, 226, 228, 225, 221, 0,
  1277. 183, 179, 0, 120, 121, 122, 123, 124, 125, 128,
  1278. 129, 144, 132, 133, 134, 135, 136, 137, 138, 139,
  1279. 140, 141, 142, 143, 148, 147, 131, 130, 117, 119,
  1280. 118, 126, 127, 115, 116, 112, 113, 114, 111, 0,
  1281. 0, 110, 177, 180, 182, 181, 0, 0, 187, 763,
  1282. 189, 0, 0, 74, 317, 0, 0, 662, 665, 666,
  1283. 0, 0, 763, 0, 763, 0, 0, 410, 282, 763,
  1284. 239, 763, 763, 233, 236, 763, 763, 293, 258, 261,
  1285. 0, 269, 272, 0, 373, 340, 339, 342, 0, 0,
  1286. 348, 347, 0, 0, 0, 763, 0, 0, 0, 0,
  1287. 0, 0, 0, 0, 720, 206, 209, 704, 705, 706,
  1288. 707, 708, 709, 712, 713, 719, 0, 701, 702, 703,
  1289. 710, 711, 699, 700, 696, 697, 698, 718, 717, 0,
  1290. 0, 763, 0, 0, 0, 0, 0, 194, 0, 0,
  1291. 0, 381, 0, 763, 171, 151, 149, 154, 150, 160,
  1292. 167, 0, 763, 0, 168, 210, 0, 79, 763, 0,
  1293. 0, 763, 93, 249, 763, 0, 0, 215, 410, 0,
  1294. 763, 763, 217, 218, 414, 415, 419, 416, 424, 417,
  1295. 418, 420, 421, 422, 423, 425, 426, 427, 428, 429,
  1296. 430, 431, 432, 433, 434, 435, 436, 437, 438, 439,
  1297. 440, 441, 442, 443, 444, 445, 446, 447, 448, 449,
  1298. 450, 451, 452, 453, 454, 455, 456, 457, 458, 459,
  1299. 460, 461, 462, 463, 464, 465, 466, 467, 468, 469,
  1300. 470, 471, 472, 492, 473, 474, 475, 476, 477, 478,
  1301. 479, 480, 481, 482, 483, 484, 485, 486, 487, 488,
  1302. 489, 490, 491, 493, 494, 495, 496, 497, 498, 499,
  1303. 500, 501, 502, 503, 504, 505, 506, 507, 508, 509,
  1304. 510, 511, 512, 513, 514, 515, 516, 517, 518, 519,
  1305. 763, 536, 537, 538, 529, 541, 525, 526, 524, 531,
  1306. 532, 520, 521, 522, 523, 530, 528, 535, 533, 539,
  1307. 534, 527, 540, 413, 0, 224, 227, 184, 178, 146,
  1308. 145, 186, 190, 763, 0, 213, 0, 592, 591, 593,
  1309. 590, 763, 763, 192, 109, 106, 0, 0, 0, 234,
  1310. 237, 0, 0, 763, 259, 763, 270, 370, 752, 0,
  1311. 751, 0, 0, 349, 351, 741, 763, 0, 686, 0,
  1312. 0, 0, 0, 0, 684, 683, 0, 689, 690, 678,
  1313. 0, 716, 715, 383, 0, 0, 33, 195, 0, 0,
  1314. 0, 0, 40, 169, 165, 0, 0, 0, 0, 0,
  1315. 0, 0, 0, 0, 0, 0, 0, 0, 211, 549,
  1316. 0, 82, 0, 87, 84, 763, 0, 250, 763, 0,
  1317. 9, 0, 0, 0, 229, 763, 230, 0, 185, 75,
  1318. 0, 193, 0, 107, 658, 763, 763, 763, 0, 0,
  1319. 0, 354, 0, 353, 0, 352, 742, 0, 0, 0,
  1320. 743, 763, 350, 0, 0, 688, 0, 685, 0, 714,
  1321. 0, 0, 0, 0, 27, 0, 0, 0, 0, 0,
  1322. 0, 0, 0, 0, 0, 0, 0, 564, 562, 561,
  1323. 563, 560, 0, 0, 559, 0, 0, 0, 0, 0,
  1324. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  1325. 0, 0, 0, 0, 0, 0, 80, 89, 763, 0,
  1326. 763, 86, 216, 12, 10, 542, 0, 763, 410, 108,
  1327. 763, 763, 763, 763, 763, 360, 359, 358, 357, 356,
  1328. 355, 344, 0, 0, 0, 0, 36, 763, 34, 0,
  1329. 0, 37, 39, 0, 29, 0, 0, 0, 0, 0,
  1330. 0, 0, 0, 0, 587, 573, 574, 575, 576, 577,
  1331. 578, 579, 580, 586, 0, 570, 571, 572, 568, 569,
  1332. 565, 566, 567, 585, 584, 0, 0, 763, 0, 763,
  1333. 92, 11, 231, 188, 0, 296, 295, 294, 260, 271,
  1334. 681, 680, 682, 679, 0, 0, 0, 0, 0, 0,
  1335. 558, 0, 0, 0, 0, 556, 555, 0, 550, 0,
  1336. 583, 582, 0, 763, 94, 659, 195, 0, 28, 0,
  1337. 0, 30, 0, 0, 0, 557, 0, 581, 763, 763,
  1338. 35, 0, 0, 0, 0, 0, 0, 0, 763, 88,
  1339. 38, 0, 31, 553, 552, 554, 551, 90, 0, 32
  1340. };
  1341. /* YYPGOTO[NTERM-NUM]. */
  1342. static const yytype_int16 yypgoto[] =
  1343. {
  1344. -926, -926, -313, -926, -13, -926, -926, 785, -128, -926,
  1345. 104, -430, 449, -126, -926, -926, -155, -926, -926, -228,
  1346. -926, -926, -926, 773, -926, -926, -926, -926, -926, -608,
  1347. -926, -926, -111, -926, -926, -926, -926, 218, 409, -636,
  1348. -926, -703, -728, -349, -576, -926, -142, -926, 30, -513,
  1349. -926, -510, -925, -926, -428, 265, -648, 312, -218, 93,
  1350. -82, -10, 22, -279, -640, 786, 1002, -159, -109, -926,
  1351. -94, -926, -926, -926, -926, -171, -87, -926, -455, -926,
  1352. -926, -18, -12, -926, -926, -926, -926, -32, -39, -926,
  1353. -926, -715, -926, -103, -926, -561, -136, -60, 302, 715,
  1354. -276, -926, -926, -926, 707, 13, 1196, -61, -492, -1
  1355. };
  1356. /* YYDEFGOTO[NTERM-NUM]. */
  1357. static const yytype_int16 yydefgoto[] =
  1358. {
  1359. -1, 4, 5, 923, 924, 139, 528, 140, 141, 310,
  1360. 142, 295, 296, 143, 536, 530, 755, 334, 714, 901,
  1361. 348, 717, 720, 349, 921, 1428, 1497, 1104, 1335, 591,
  1362. 982, 1087, 144, 331, 705, 706, 707, 708, 709, 756,
  1363. 1253, 757, 786, 1076, 469, 470, 677, 678, 1094, 414,
  1364. 740, 534, 934, 935, 471, 680, 730, 803, 813, 281,
  1365. 282, 91, 92, 350, 182, 351, 93, 292, 94, 647,
  1366. 95, 648, 829, 1029, 1030, 1283, 96, 97, 480, 476,
  1367. 477, 98, 99, 145, 696, 877, 146, 100, 101, 102,
  1368. 103, 741, 742, 929, 1243, 639, 358, 359, 1328, 215,
  1369. 65, 681, 682, 230, 231, 1284, 1285, 628, 66, 147
  1370. };
  1371. /* YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM. If
  1372. positive, shift that token. If negative, reduce the rule whose
  1373. number is the opposite. If YYTABLE_NINF, syntax error. */
  1374. static const yytype_int16 yytable[] =
  1375. {
  1376. 6, 214, 307, 683, 328, 713, 330, 509, 1244, 799,
  1377. 284, 902, 185, 361, 773, 363, 364, 365, 366, 497,
  1378. 368, 922, 370, 835, 372, 394, 183, 644, 990, 258,
  1379. 1352, 259, 184, 352, 610, 189, 263, 291, 614, 104,
  1380. 388, 775, 267, 268, 269, 608, 791, 790, 353, 272,
  1381. 837, 396, 397, 1394, 516, 354, 645, 404, 405, 718,
  1382. -755, 233, -756, 411, 651, 260, 150, 679, 618, 849,
  1383. 407, 1017, -757, 556, 407, 910, 772, 912, 913, 914,
  1384. 915, 916, 407, 906, -95, 412, -95, 155, -95, 408,
  1385. 283, 283, 557, 595, 413, 151, 822, 261, 293, 823,
  1386. 1073, 1044, 521, 264, 407, 286, 287, 288, 407, 809,
  1387. 357, 148, 940, 941, 810, 983, 984, 985, 986, 1074,
  1388. 407, 243, 1110, 1257, 355, 820, 407, 1258, 152, 149,
  1389. 356, -755, 153, -756, -755, 1004, -756, 608, 797, 1259,
  1390. 1111, 904, 407, -757, 907, 1260, -757, 360, 360, 1381,
  1391. 360, 360, 360, 360, 154, 360, 1413, 360, 987, 360,
  1392. 156, 1301, 1385, 447, 258, 448, 259, 449, 1382, 267,
  1393. 268, 269, 272, 988, 989, 360, 608, 798, 440, 441,
  1394. 157, 1386, 1353, 293, 158, 190, 360, 360, 687, 352,
  1395. 1082, 801, 360, 360, 457, 459, 438, 539, 159, 243,
  1396. 838, 619, 850, 1395, 353, 885, 719, 1388, 289, 160,
  1397. 450, 354, 301, 302, 303, 734, 304, 306, 308, -758,
  1398. 352, 312, 161, 519, 352, 520, 1389, 267, 319, 162,
  1399. 415, 491, 163, 325, 326, 353, 329, 332, 333, 353,
  1400. 337, 338, 354, 164, 992, 290, 354, 993, 1020, 407,
  1401. 413, 481, 255, 256, 257, 638, 572, 165, 1023, 283,
  1402. 283, 166, 407, 1103, 186, 819, 357, 167, 1474, 1099,
  1403. 472, 216, 217, 218, 455, 283, 283, 455, 455, 474,
  1404. 355, 1510, 1013, 1014, 478, 1093, 356, 1423, 1424, 1425,
  1405. -758, 451, 1267, -758, 538, 407, 10, 357, 11, 285,
  1406. 809, 357, 473, 1247, 994, 452, 1, 2, 3, 168,
  1407. 453, 355, 926, 927, 1511, 355, 407, 356, 273, 6,
  1408. 274, 356, 275, 407, 1518, 219, 252, 253, 254, 407,
  1409. 255, 256, 257, 525, 827, 1512, 169, 220, 221, 170,
  1410. 1552, 407, 1513, 1519, 171, 1106, 1005, 407, 1530, 736,
  1411. 172, 737, 738, 739, 407, 293, 173, 1105, 683, 1553,
  1412. 1563, 407, 174, 1262, 1010, 276, 1564, 825, 454, 456,
  1413. 458, 460, 461, 1565, 222, 223, 175, 224, 809, 1019,
  1414. 1566, 176, 225, 884, 226, 187, 531, 188, 532, 1096,
  1415. 533, 360, 1097, 1339, 1261, 796, -95, 531, -95, 532,
  1416. -95, 991, 191, 306, 312, 988, 989, 1100, 192, 499,
  1417. 193, 592, 988, 989, 1251, 814, 815, 816, 817, 818,
  1418. 1436, 194, 679, 286, 287, 288, 747, -274, 1254, 262,
  1419. 748, 917, 918, 1268, 988, 989, 1332, 271, 1413, 1271,
  1420. 1272, 819, 1022, 481, 455, 298, 277, 309, 455, 455,
  1421. 455, 455, 455, 1102, 918, 612, 472, 1367, 1368, 1369,
  1422. 278, 313, 455, 314, 731, 279, 455, 455, 1108, 1109,
  1423. 280, 629, 315, 749, 641, 758, 988, 989, 491, 316,
  1424. 710, 216, 217, 218, 317, 472, 322, 613, 473, 318,
  1425. 1331, 900, 323, 1334, 684, 324, 327, 389, 1269, 1270,
  1426. 6, 406, 391, 392, 398, 286, 287, 288, 892, 413,
  1427. 631, 711, 893, 445, 723, 475, -273, 473, 482, 494,
  1428. 493, 495, 510, 512, 732, 750, 289, 6, 1336, 522,
  1429. 523, 527, 535, 1350, 407, 219, 541, 352, 600, 587,
  1430. 540, 542, 603, 604, 605, 606, 607, 220, 221, 543,
  1431. 547, 544, 353, 549, 751, 894, 609, 545, 546, 354,
  1432. 615, 616, 548, 554, 1071, 1420, 1421, 1422, 752, 1423,
  1433. 1424, 1425, 558, 753, 550, 551, 1012, 552, 754, 553,
  1434. 472, 555, 574, 559, 222, 223, 560, 224, 415, 474,
  1435. 787, 580, 225, 1021, 226, 561, 562, 650, 563, 564,
  1436. 455, 793, 565, 566, 567, 568, 569, 641, 289, 472,
  1437. 575, 629, 473, 576, 357, 846, 592, 578, 579, 581,
  1438. 629, 629, 629, 629, 629, 629, 415, 902, 355, 583,
  1439. 584, 185, 590, 794, 356, 597, 895, 415, 1265, 601,
  1440. 599, 473, -275, 608, 649, 183, 6, 830, 617, 685,
  1441. 896, 184, 643, 758, 646, 897, 688, 712, 758, 689,
  1442. 898, 690, 731, 691, 731, 731, 731, 731, 731, 1084,
  1443. 692, 710, 715, 693, 694, 735, 814, 815, 816, 817,
  1444. 818, 759, 286, 287, 288, 620, 761, 758, 758, 621,
  1445. 758, 758, 758, 758, 789, 6, 767, 1358, 762, 1359,
  1446. 769, 995, 996, 768, 770, 771, 792, 472, 629, 1000,
  1447. 472, 1001, 1505, 1506, 1507, 802, 474, 64, 811, 474,
  1448. 481, 821, 732, 1504, 732, 732, 732, 732, 732, -364,
  1449. 1431, 824, 622, 630, 832, 631, 828, 632, 840, 473,
  1450. 833, 930, 473, 185, 937, 834, 836, 1440, 1441, 1442,
  1451. 839, 878, 848, 879, 880, 787, 415, 183, 881, 1429,
  1452. 1085, 683, 1086, 184, 882, 883, 886, 888, 889, 905,
  1453. 903, 195, 196, 197, 198, 199, 911, 1088, 234, 908,
  1454. 633, 919, 472, 928, 627, 289, 931, 932, 939, 874,
  1455. 875, 997, 629, 998, 415, 415, 999, 1002, 787, 1006,
  1456. 1007, 629, 483, 484, 485, 1008, 1009, 1015, 641, 1016,
  1457. 1025, 809, 1069, 623, 473, 819, -282, 1329, 641, 1028,
  1458. 1035, 1559, 1500, 1043, 1037, 679, 1072, 624, 1031, 1503,
  1459. 1567, 1091, 625, 1075, 1078, 1508, 1509, 626, 1079, 1080,
  1460. 472, 1092, 1098, 1101, 758, 918, 1112, 1113, 1246, 1248,
  1461. 731, 1249, 1498, 1252, 1256, 1107, 219, 710, 1250, 1264,
  1462. 1245, 634, 1287, 1274, 1273, 1276, 1275, 1289, 220, 221,
  1463. 1286, 1288, 473, 1290, 1021, 635, 6, 1304, 758, 1077,
  1464. 636, 1292, 1296, 1305, 1294, 637, 629, 1306, 1295, 1297,
  1465. 1307, 1534, 629, 629, 629, 629, 629, 629, 1095, 1291,
  1466. 1308, 415, 1309, 1310, 1311, 488, 223, 403, 224, 1312,
  1467. 732, 472, 1330, 225, 1333, 226, 1337, 641, 1338, 1355,
  1468. 474, 1532, 1263, 1348, 795, 1549, 286, 287, 288, 724,
  1469. 241, 242, 937, 725, 804, 805, 806, 807, 808, 1344,
  1470. 1558, 243, 290, 473, 1354, 1356, 1357, 1370, 1373, 1374,
  1471. 416, 417, 418, 419, 420, 421, 422, 423, 424, 425,
  1472. 426, 427, 428, 429, 430, 431, 432, 433, 434, 435,
  1473. 436, 185, 439, 1371, 1341, 1342, 726, 443, 1376, 1375,
  1474. 1378, 1377, 1383, 1380, 1384, 183, 1387, 1390, 641, 1391,
  1475. 1427, 184, 329, 1392, 1393, 1430, 1396, 1432, 1433, 472,
  1476. 1438, 592, 1457, 283, 1456, 472, 472, 1458, 474, 1434,
  1477. 415, 415, 1437, 498, 474, 474, 1459, 1439, 1443, 1444,
  1478. 1460, 899, 1463, 1461, 1462, 1464, 1469, 1473, 1501, 289,
  1479. 1499, 473, 1502, 1514, 360, 1516, 1517, 473, 473, 1520,
  1480. 1521, 1522, 511, 1523, 1525, 1329, 1329, 1329, 1329, 1329,
  1481. 1535, 1329, 1527, 1536, 1526, 1538, 1533, 727, 1537, 1539,
  1482. 1540, 1541, 1542, 213, 1543, 1544, 250, 251, 252, 253,
  1483. 254, 728, 255, 256, 257, 1550, 729, 1545, 1546, 1560,
  1484. 1561, 1548, 1095, 1562, 237, 238, 239, 240, 241, 242,
  1485. 1551, 629, 1568, 1569, 472, 500, 1340, 592, 831, 243,
  1486. 592, 1349, 1426, 474, 570, 1011, 515, 1089, 1515, 360,
  1487. 360, 1347, 887, 1313, 1018, 1046, 1372, 1343, 589, 517,
  1488. 0, 585, 586, 0, 0, 0, 473, 0, 593, 1329,
  1489. 1329, 1329, 1329, 1329, 1329, 1329, 1329, 1329, 1329, 1329,
  1490. 1329, 1329, 1329, 1329, 1329, 1329, 1329, 1329, 0, 0,
  1491. 0, 0, 362, 0, 0, 0, 0, 367, 0, 369,
  1492. 0, 371, 0, 373, 374, 375, 376, 377, 378, 379,
  1493. 380, 381, 382, 383, 384, 385, 386, 387, 0, 0,
  1494. 1351, 0, 0, 216, 217, 218, 0, 0, 395, 0,
  1495. 640, 0, 400, 401, 402, 758, 0, 1329, 0, 1083,
  1496. 0, 1409, 1410, 1411, 1412, 0, 804, 805, 806, 807,
  1497. 808, 0, 0, 0, 1413, 0, 216, 217, 218, 930,
  1498. 246, 247, 248, 249, 250, 251, 252, 253, 254, 0,
  1499. 255, 256, 257, 0, 0, 0, 0, 219, 722, 0,
  1500. 0, 0, 0, 472, 0, 0, 0, 0, 746, 220,
  1501. 221, 0, 684, 1329, 0, 0, 0, 0, 232, 0,
  1502. 787, 283, 0, 472, 0, 472, 1403, 0, 0, 758,
  1503. 219, 0, 474, 444, 474, 473, 0, 0, 0, 0,
  1504. 0, 270, 220, 221, 0, 6, 222, 223, 0, 224,
  1505. 0, 1361, 1363, 1365, 225, 473, 226, 473, 0, 0,
  1506. 0, 297, 0, 0, 216, 217, 218, 0, 0, 788,
  1507. 0, 0, 0, 1452, 1453, 0, 1454, 0, 1455, 222,
  1508. 223, 321, 224, 640, 227, 472, 0, 225, 228, 226,
  1509. 0, 336, 0, 229, 474, 0, 0, 592, 0, 1418,
  1510. 1419, 1420, 1421, 1422, 937, 1423, 1424, 1425, 0, 479,
  1511. 0, 0, 0, 320, 592, 592, 592, 473, 219, 0,
  1512. 0, 826, 0, 0, 1495, 216, 217, 218, 0, 0,
  1513. 220, 221, 0, 1445, 0, 1446, 390, 1447, 0, 393,
  1514. 1448, 1449, 1450, 0, 0, 0, 841, 842, 843, 844,
  1515. 0, 847, 70, 571, 71, 72, 73, 0, 0, 0,
  1516. 0, 0, 0, 0, 1018, 0, 0, 222, 223, 0,
  1517. 224, 0, 0, 0, 0, 225, 0, 226, 472, 219,
  1518. 0, 0, 80, 0, 409, 410, 0, 474, 0, 592,
  1519. 0, 220, 221, 0, 0, 0, 592, 0, 266, 787,
  1520. 787, 787, 592, 592, 0, 0, 0, 0, 0, 588,
  1521. 473, 0, 0, 0, 229, 0, 1077, 0, 82, 83,
  1522. 936, 236, 237, 238, 239, 240, 241, 242, 222, 223,
  1523. 446, 224, 0, 0, 0, 88, 225, 243, 226, 0,
  1524. 90, 0, 1554, 1555, 1556, 0, 1557, 472, 490, 0,
  1525. 492, 0, 0, 0, 0, 0, 474, 0, 592, 0,
  1526. 0, 0, 501, 0, 0, 0, 0, 502, 0, 503,
  1527. 504, 505, 506, 507, 508, 0, 0, 0, 0, 473,
  1528. 0, 0, 716, 0, 640, 0, 0, 0, 0, 733,
  1529. 0, 518, 592, 0, 640, 0, 0, 0, 1024, 0,
  1530. 526, 0, 0, 529, 0, 0, 0, 592, 787, 0,
  1531. 0, 537, 0, 0, 0, 1042, 763, 787, 764, 0,
  1532. 765, 0, 0, 0, 0, 0, 1047, 1048, 1049, 1050,
  1533. 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060,
  1534. 1061, 1062, 1063, 1064, 1065, 1066, 1067, 0, 1070, 0,
  1535. 573, 0, 0, 0, 577, 0, 0, 245, 246, 247,
  1536. 248, 249, 250, 251, 252, 253, 254, 232, 255, 256,
  1537. 257, 235, 236, 237, 238, 239, 240, 241, 242, 0,
  1538. 0, 0, 0, 1397, 1398, 1399, 1400, 1401, 243, 1404,
  1539. 1411, 1412, 0, 640, 0, 0, 0, 0, 0, 0,
  1540. 0, 1413, 0, 0, 602, 0, 0, 0, 936, 239,
  1541. 240, 241, 242, 0, 0, 0, 0, 0, 0, 0,
  1542. 297, 0, 243, 0, 0, 0, 1407, 1408, 1409, 1410,
  1543. 1411, 1412, 642, 0, 0, 0, 0, 845, 0, 0,
  1544. 0, 1413, 297, 0, 0, 0, 0, 0, 0, 0,
  1545. 297, 243, 0, 0, 0, 0, 0, 0, 0, 0,
  1546. 0, 0, 0, 0, 640, 0, 1255, 1475, 1476, 1477,
  1547. 1478, 1479, 1480, 1481, 1482, 1483, 1484, 1485, 1486, 1487,
  1548. 1488, 1489, 1490, 1491, 1492, 1493, 0, 0, 0, 0,
  1549. 0, 0, 0, 0, 0, 760, 0, 0, 0, 0,
  1550. 0, 0, 0, 0, 0, 0, 0, 244, 245, 246,
  1551. 247, 248, 249, 250, 251, 252, 253, 254, 1299, 255,
  1552. 256, 257, 0, 0, 0, 596, 1418, 1419, 1420, 1421,
  1553. 1422, 0, 1423, 1424, 1425, 1528, 0, 0, 0, 0,
  1554. 0, 0, 0, 0, 409, 248, 249, 250, 251, 252,
  1555. 253, 254, 0, 255, 256, 257, 7, 8, 9, 10,
  1556. 0, 11, 12, 13, 200, 68, 1418, 1419, 1420, 1421,
  1557. 1422, 0, 1423, 1424, 1425, 0, 250, 251, 252, 253,
  1558. 254, 0, 255, 256, 257, 0, 0, 812, 0, 0,
  1559. 0, 1547, 0, 0, 1032, 1033, 1034, 0, 1036, 0,
  1560. 1039, 1040, 1041, 15, 69, 297, 0, 201, 0, 202,
  1561. 203, 204, 74, 75, 0, 20, 76, 0, 0, 205,
  1562. 22, 0, 0, 78, 0, 0, 0, 0, 23, 24,
  1563. 206, 0, 0, 0, 26, 0, 0, 207, 28, 29,
  1564. 30, 31, 32, 33, 34, 35, 36, 37, 38, 39,
  1565. 40, 41, 42, 208, 0, 0, 0, 0, 0, 0,
  1566. 0, 0, 44, 891, 45, 0, 46, 0, 0, 0,
  1567. 0, 47, 0, 209, 210, 50, 0, 0, 51, 84,
  1568. 0, 0, 0, 52, 0, 0, 53, 85, 86, 87,
  1569. 211, 0, 0, 89, 925, 212, 0, 0, 0, 7,
  1570. 8, 9, 10, 0, 11, 12, 13, 496, 56, 0,
  1571. 0, 57, 58, 59, 0, 0, 60, 0, 61, 62,
  1572. 0, 1346, 63, 0, 0, 0, 0, 0, 0, 0,
  1573. 0, 0, 297, 0, 235, 236, 237, 238, 239, 240,
  1574. 241, 242, 0, 0, 0, 0, 15, 341, 0, 0,
  1575. 201, 243, 202, 203, 204, 74, 0, 0, 20, 342,
  1576. 0, 0, 205, 22, 0, 0, 78, 0, 0, 0,
  1577. 0, 23, 24, 206, 0, 1379, 0, 26, 0, 0,
  1578. 207, 28, 29, 30, 31, 32, 33, 34, 35, 36,
  1579. 37, 38, 39, 40, 41, 42, 208, 0, 0, 0,
  1580. 0, 0, 0, 0, 0, 44, 0, 45, 0, 46,
  1581. 0, 0, 0, 0, 47, 0, 209, 210, 50, 0,
  1582. 936, 51, 84, 0, 0, 0, 52, 0, 0, 53,
  1583. 344, 345, 87, 211, 0, 0, 89, 0, 212, 0,
  1584. 0, 0, 7, 8, 9, 10, 1090, 11, 12, 13,
  1585. 14, 56, 0, 1314, 57, 58, 59, 0, 0, 60,
  1586. 0, 61, 62, 0, 0, 63, 0, 0, 0, 0,
  1587. 244, 245, 246, 247, 248, 249, 250, 251, 252, 253,
  1588. 254, 0, 255, 256, 257, 0, 0, 0, 1302, 15,
  1589. 0, 0, 0, 16, 0, 17, 18, 19, 0, 0,
  1590. 1496, 20, 0, 743, 744, 21, 22, 0, 0, 1413,
  1591. 0, 0, 0, 0, 23, 24, 25, 0, 0, 0,
  1592. 26, 0, 0, 27, 28, 29, 30, 31, 32, 33,
  1593. 34, 35, 36, 37, 38, 39, 40, 41, 42, 43,
  1594. 0, 0, 0, 0, 0, 0, 0, 0, 44, 0,
  1595. 45, 0, 46, 0, 0, 0, 0, 47, 0, 48,
  1596. 49, 50, 1266, 0, 51, 339, 340, 0, 0, 52,
  1597. 0, 0, 53, 0, 0, 0, 54, 0, 0, 0,
  1598. 0, 55, 0, 0, 0, 70, 745, 71, 72, 73,
  1599. 0, 0, 0, 1293, 56, 0, 0, 57, 58, 59,
  1600. 0, 0, 60, 774, 61, 62, 341, 0, 63, 70,
  1601. 0, 71, 72, 73, 74, 80, 0, 0, 342, 775,
  1602. 0, 77, 0, 0, 0, 78, 0, 0, 0, 0,
  1603. 0, 266, 79, 776, 1418, 1419, 1420, 1421, 1422, 80,
  1604. 1423, 1424, 1425, 0, 0, 0, 777, 778, 0, 0,
  1605. 0, 82, 83, 0, 70, 81, 71, 72, 73, 0,
  1606. 0, 0, 779, 0, 0, 925, 265, 343, 88, 0,
  1607. 0, 0, 0, 90, 0, 82, 83, 0, 0, 0,
  1608. 0, 84, 0, 0, 80, 0, 0, 0, 1402, 344,
  1609. 345, 87, 88, 780, 0, 89, 781, 90, 0, 782,
  1610. 266, 0, 346, 0, 0, 235, 236, 237, 238, 239,
  1611. 240, 241, 242, 0, 0, 783, 0, 0, 347, 0,
  1612. 82, 83, 243, 0, 0, 0, 0, 784, 0, 0,
  1613. 0, 0, 0, 0, 0, 0, 0, 88, 0, 0,
  1614. 0, 785, 90, 0, 0, 0, 0, 0, 0, 0,
  1615. 0, 0, 1465, 1466, 1467, 1468, 0, 1471, 1472, 1114,
  1616. 1115, 1116, 1117, 1118, 1119, 1120, 1121, 1122, 1123, 1124,
  1617. 0, 1125, 1126, 1127, 1128, 1129, 1130, 1131, 1132, 1133,
  1618. 1134, 1135, 0, 0, 0, 0, 0, 0, 0, 1136,
  1619. 1137, 1138, 1139, 1140, 1141, 1142, 1143, 1144, 1145, 1146,
  1620. 1147, 1148, 1149, 1150, 1151, 1152, 1153, 1154, 0, 0,
  1621. 1155, 1156, 1157, 1158, 1159, 1160, 1161, 1162, 1163, 1164,
  1622. 1165, 1166, 1167, 1168, 1169, 0, 1170, 0, 1171, 1172,
  1623. 1173, 1174, 1175, 1176, 1177, 1178, 1179, 1366, 1180, 1181,
  1624. 1182, 244, 245, 246, 247, 248, 249, 250, 251, 252,
  1625. 253, 254, 0, 255, 256, 257, 1183, 0, 0, 1531,
  1626. 0, 0, 0, 1184, 1185, 1186, 0, 1187, 1188, 1189,
  1627. 1190, 1191, 1192, 1193, 1194, 1195, 1196, 1197, 1198, 1199,
  1628. 1200, 1201, 1202, 1203, 1204, 1205, 1206, 1207, 1208, 1209,
  1629. 1210, 1211, 1212, 1213, 1214, 1215, 1216, 1217, 1218, 1219,
  1630. 0, 0, 0, 1220, 1221, 1222, 1223, 1224, 1225, 1226,
  1631. 1227, 1228, 1229, 1230, 1231, 1232, 1233, 1234, 1235, 1236,
  1632. 1237, 1238, 1239, 1240, 1435, 1241, 1242, 1114, 1115, 1116,
  1633. 1117, 1118, 1119, 1120, 1121, 1122, 1123, 1124, 0, 1125,
  1634. 1126, 1127, 1128, 1129, 1130, 1131, 1132, 1133, 1134, 1135,
  1635. 0, 0, 0, 0, 0, 0, 0, 1136, 1137, 1138,
  1636. 1139, 1140, 1141, 1142, 1143, 1144, 1145, 1146, 1147, 1148,
  1637. 1149, 1150, 1151, 1152, 1153, 1154, 0, 0, 1155, 1156,
  1638. 1157, 1158, 1159, 1160, 1161, 1162, 1163, 1164, 1165, 1166,
  1639. 1167, 1168, 1169, 0, 1170, 0, 1171, 1172, 1173, 1174,
  1640. 1175, 1176, 1177, 1178, 1179, 0, 1180, 1181, 1182, 0,
  1641. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  1642. 0, 0, 0, 0, 1183, 1524, 0, 0, 0, 0,
  1643. 0, 1184, 1185, 1186, 0, 1187, 1188, 1189, 1190, 1191,
  1644. 1192, 1193, 1194, 1195, 1196, 1197, 1198, 1199, 1200, 1201,
  1645. 1202, 1203, 1204, 1205, 1206, 1207, 1208, 1209, 1210, 1211,
  1646. 1212, 1213, 1214, 1215, 1216, 1217, 1218, 1219, 0, 0,
  1647. 0, 1220, 1221, 1222, 1223, 1224, 1225, 1226, 1227, 1228,
  1648. 1229, 1230, 1231, 1232, 1233, 1234, 1235, 1236, 1237, 1238,
  1649. 1239, 1240, 0, 1241, 1242, 7, 8, 9, 10, 0,
  1650. 11, 12, 13, 14, 0, 0, 0, 0, 0, 0,
  1651. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  1652. 0, 0, 0, 0, 0, 0, 235, 236, 237, 238,
  1653. 239, 240, 241, 242, 0, 0, 0, 0, 0, 0,
  1654. 0, 0, 15, 243, 0, 0, 16, 0, 17, 18,
  1655. 19, 0, 0, 0, 20, 0, 0, 0, 21, 22,
  1656. 0, 0, 0, 0, 0, 0, 0, 23, 24, 25,
  1657. 0, 0, 0, 26, 0, 0, 27, 28, 29, 30,
  1658. 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
  1659. 41, 42, 43, 0, 0, 0, 0, 0, 0, 0,
  1660. 0, 44, 0, 45, 0, 46, 0, 0, 0, 0,
  1661. 47, 0, 48, 49, 50, 0, 0, 51, 0, 0,
  1662. 0, 0, 52, 0, 0, 53, 0, 0, 0, 54,
  1663. 7, 8, 9, 10, 55, 11, 12, 13, 14, 0,
  1664. 0, 0, 0, 0, 0, 0, 0, 56, 0, 0,
  1665. 57, 58, 59, 0, 0, 60, 0, 61, 62, 437,
  1666. 594, 63, 244, 245, 246, 247, 248, 249, 250, 251,
  1667. 252, 253, 254, 0, 255, 256, 257, 15, 442, 0,
  1668. 0, 16, 0, 17, 18, 19, 0, 0, 0, 20,
  1669. 0, 0, 0, 21, 22, 0, 0, 0, 0, 0,
  1670. 0, 0, 23, 24, 25, 0, 0, 0, 26, 0,
  1671. 0, 27, 28, 29, 30, 31, 32, 33, 34, 35,
  1672. 36, 37, 38, 39, 40, 41, 42, 43, 0, 0,
  1673. 0, 0, 0, 0, 0, 0, 44, 0, 45, 0,
  1674. 46, 0, 0, 0, 0, 47, 0, 48, 49, 50,
  1675. 0, 0, 51, 0, 0, 0, 0, 52, 0, 0,
  1676. 53, 0, 0, 0, 54, 7, 8, 9, 10, 55,
  1677. 11, 12, 13, 14, 0, 0, 0, 0, 0, 0,
  1678. 0, 0, 56, 0, 0, 57, 58, 59, 0, 0,
  1679. 60, 0, 61, 62, 0, 0, 63, 0, 0, 0,
  1680. 235, 236, 237, 238, 239, 240, 241, 242, 0, 0,
  1681. 0, 0, 15, 721, 0, 0, 16, 243, 17, 18,
  1682. 19, 0, 0, 0, 20, 0, 0, 0, 21, 22,
  1683. 0, 0, 0, 0, 0, 0, 0, 23, 24, 25,
  1684. 0, 0, 0, 26, 0, 0, 27, 28, 29, 30,
  1685. 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
  1686. 41, 42, 43, 0, 0, 0, 0, 0, 0, 0,
  1687. 0, 44, 0, 45, 0, 46, 0, 0, 0, 0,
  1688. 47, 0, 48, 49, 50, 0, 0, 51, 0, 0,
  1689. 0, 0, 52, 0, 0, 53, 0, 0, 0, 54,
  1690. 7, 8, 9, 10, 55, 11, 12, 13, 14, 0,
  1691. 0, 0, 0, 0, 0, 0, 0, 56, 0, 0,
  1692. 57, 58, 59, 0, 0, 60, 0, 61, 62, 0,
  1693. 0, 63, 0, 938, 0, 0, 244, 245, 246, 247,
  1694. 248, 249, 250, 251, 252, 253, 254, 15, 255, 256,
  1695. 257, 16, 0, 17, 18, 19, 0, 0, 0, 20,
  1696. 0, 0, 0, 21, 22, 0, 0, 0, 0, 0,
  1697. 0, 0, 23, 24, 25, 0, 0, 0, 26, 0,
  1698. 0, 27, 28, 29, 30, 31, 32, 33, 34, 35,
  1699. 36, 37, 38, 39, 40, 41, 42, 43, 0, 0,
  1700. 0, 0, 0, 0, 0, 0, 44, 0, 45, 0,
  1701. 46, 0, 0, 0, 0, 47, 0, 48, 49, 50,
  1702. 0, 0, 51, 0, 0, 0, 0, 52, 0, 0,
  1703. 53, 0, 0, 0, 54, 7, 8, 9, 10, 55,
  1704. 11, 12, 13, 14, 933, 0, 0, 0, 0, 0,
  1705. 0, 0, 56, 0, 0, 57, 58, 59, 0, 0,
  1706. 60, 0, 61, 62, 0, 0, 63, 0, 0, 0,
  1707. 235, 236, 237, 238, 239, 240, 241, 242, 0, 0,
  1708. 0, 0, 15, 0, 0, 0, 16, 243, 17, 18,
  1709. 19, 0, 0, 0, 20, 0, 0, 0, 21, 22,
  1710. 0, 0, 0, 0, 0, 0, 0, 23, 24, 25,
  1711. 0, 0, 0, 26, 0, 0, 27, 28, 29, 30,
  1712. 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
  1713. 41, 42, 43, 0, 0, 0, 0, 0, 0, 0,
  1714. 0, 44, 0, 45, 0, 46, 0, 0, 0, 0,
  1715. 47, 0, 48, 49, 50, 0, 0, 51, 0, 0,
  1716. 0, 0, 52, 0, 0, 53, 0, 0, 0, 54,
  1717. 7, 8, 9, 10, 55, 11, 12, 13, 14, 0,
  1718. 0, 0, 0, 0, 0, 0, 0, 56, 0, 0,
  1719. 57, 58, 59, 0, 0, 60, 0, 61, 62, 1068,
  1720. 0, 63, 1277, 0, 0, 0, 244, 245, 246, 247,
  1721. 248, 249, 250, 251, 252, 253, 254, 15, 255, 256,
  1722. 257, 16, 0, 17, 18, 19, 0, 0, 0, 20,
  1723. 0, 0, 0, 21, 22, 0, 0, 0, 0, 0,
  1724. 0, 0, 23, 24, 25, 0, 0, 0, 26, 0,
  1725. 0, 27, 28, 29, 30, 31, 32, 33, 34, 35,
  1726. 36, 37, 38, 39, 40, 41, 42, 43, 0, 0,
  1727. 0, 0, 0, 0, 0, 0, 44, 0, 45, 0,
  1728. 46, 0, 0, 0, 0, 47, 0, 48, 49, 50,
  1729. 0, 0, 51, 0, 0, 0, 0, 52, 0, 0,
  1730. 53, 0, 0, 0, 54, 7, 8, 9, 10, 55,
  1731. 11, 12, 13, 14, 1345, 0, 0, 0, 0, 0,
  1732. 0, 0, 56, 0, 0, 57, 58, 59, 0, 0,
  1733. 60, 0, 61, 62, 0, 0, 63, 0, 0, 0,
  1734. 235, 236, 237, 238, 239, 240, 241, 242, 0, 0,
  1735. 0, 0, 15, 0, 0, 0, 16, 243, 17, 18,
  1736. 19, 0, 0, 0, 20, 0, 0, 0, 21, 22,
  1737. 0, 0, 0, 0, 0, 0, 0, 23, 24, 25,
  1738. 0, 0, 0, 26, 0, 0, 27, 28, 29, 30,
  1739. 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
  1740. 41, 42, 43, 0, 0, 0, 0, 0, 0, 0,
  1741. 0, 44, 0, 45, 0, 46, 0, 0, 0, 0,
  1742. 47, 0, 48, 49, 50, 0, 0, 51, 0, 0,
  1743. 0, 0, 52, 0, 0, 53, 0, 0, 0, 54,
  1744. 7, 8, 9, 10, 55, 11, 12, 13, 14, 0,
  1745. 0, 0, 0, 0, 0, 0, 0, 56, 0, 0,
  1746. 57, 58, 59, 0, 0, 60, 0, 61, 62, 1494,
  1747. 0, 63, 0, 0, 1300, 0, 244, 245, 246, 247,
  1748. 248, 249, 250, 251, 252, 253, 254, 15, 255, 256,
  1749. 257, 16, 0, 17, 18, 19, 0, 0, 0, 20,
  1750. 0, 0, 0, 21, 22, 0, 0, 0, 0, 0,
  1751. 0, 0, 23, 24, 25, 0, 0, 0, 26, 0,
  1752. 0, 27, 28, 29, 30, 31, 32, 33, 34, 35,
  1753. 36, 37, 38, 39, 40, 41, 42, 43, 0, 0,
  1754. 0, 0, 0, 0, 0, 0, 44, 0, 45, 0,
  1755. 46, 0, 0, 0, 0, 47, 0, 48, 49, 50,
  1756. 0, 0, 51, 0, 0, 0, 0, 52, 0, 0,
  1757. 53, 0, 0, 0, 54, 652, 653, 654, 10, 55,
  1758. 11, 655, 656, 67, 68, 0, 0, 657, 0, 0,
  1759. 0, 0, 56, 0, 0, 57, 58, 59, 0, 0,
  1760. 60, 0, 61, 62, 0, 0, 63, 235, 236, 237,
  1761. 238, 239, 240, 241, 242, 0, 0, 0, 0, 464,
  1762. 0, 0, 658, 69, 243, 0, 70, 0, 71, 72,
  1763. 73, 74, 465, 0, 659, 76, 0, 0, 77, 660,
  1764. 0, 0, 78, 0, 0, 0, 0, 661, 662, 79,
  1765. 0, 0, 0, 0, 0, 0, 80, 0, 0, 0,
  1766. 0, 0, 235, 236, 237, 238, 239, 240, 241, 242,
  1767. 0, 0, 81, 0, 0, 0, 0, 0, 0, 243,
  1768. 0, 663, 0, 664, 0, 665, 0, 0, 0, 466,
  1769. 666, 0, 82, 83, 667, 0, 0, 668, 84, 0,
  1770. 0, 0, 669, 0, 0, 670, 85, 86, 87, 88,
  1771. 0, 0, 89, 0, 90, 0, 652, 653, 654, 10,
  1772. 0, 11, 655, 656, 67, 68, 0, 671, 1045, 0,
  1773. 672, 673, 0, 0, 0, 674, 0, 675, 0, 697,
  1774. 0, 676, 0, 244, 245, 246, 247, 248, 249, 250,
  1775. 251, 252, 253, 254, 0, 255, 256, 257, 698, 0,
  1776. 464, 0, 0, 658, 69, 0, 0, 70, 0, 71,
  1777. 72, 73, 74, 465, 0, 659, 76, 0, 0, 77,
  1778. 660, 0, 0, 78, 0, 0, 0, 0, 661, 662,
  1779. 79, 0, 0, 774, 0, 0, 0, 80, 244, 245,
  1780. 246, 247, 248, 249, 250, 251, 252, 253, 254, 0,
  1781. 255, 256, 257, 81, 0, 0, 0, 0, 0, 0,
  1782. 0, 0, 663, 776, 664, 0, 665, 0, 0, 0,
  1783. 466, 666, 0, 82, 83, 667, 777, 778, 668, 84,
  1784. 0, 0, 0, 669, 0, 0, 670, 85, 86, 87,
  1785. 88, 0, 779, 89, 0, 90, 7, 8, 9, 10,
  1786. 0, 11, 12, 13, 0, 0, 0, 0, 671, 0,
  1787. 0, 672, 673, 0, 0, 0, 674, 0, 675, 0,
  1788. 0, 0, 676, 780, 0, 0, 781, 0, 0, 782,
  1789. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  1790. 0, 0, 0, 1315, 0, 783, 0, 0, 0, 0,
  1791. 0, 0, 0, 0, 0, 1316, 0, 784, 0, 0,
  1792. 1317, 1406, 1407, 1408, 1409, 1410, 1411, 1412, 23, 24,
  1793. 0, 785, 0, 0, 26, 0, 0, 1413, 28, 29,
  1794. 30, 31, 32, 33, 34, 35, 36, 37, 38, 39,
  1795. 40, 41, 42, 235, 236, 237, 238, 239, 240, 241,
  1796. 242, 0, 0, 0, 45, 0, 46, 0, 0, 0,
  1797. 243, 1318, 0, 0, 0, 1319, 0, 0, 1320, 0,
  1798. 0, 0, 0, 52, 0, 0, 0, 0, 0, 0,
  1799. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  1800. 0, 0, 0, 0, 0, 0, 0, 0, 1321, 0,
  1801. 0, 1322, 1323, 1324, 942, 0, 1325, 0, 1326, 62,
  1802. 0, 0, 1327, 0, 943, 944, 945, 946, 947, 948,
  1803. 949, 950, 0, 0, 0, 0, 0, 0, 0, 0,
  1804. 0, 951, 0, 952, 953, 954, 955, 956, 957, 958,
  1805. 959, 960, 961, 962, 963, 0, 0, 1415, 1416, 1417,
  1806. 0, 0, 1418, 1419, 1420, 1421, 1422, 0, 1423, 1424,
  1807. 1425, 0, 0, 964, 0, 0, 0, 0, 0, 0,
  1808. 0, 0, 0, 0, 0, 0, 339, 340, 0, 244,
  1809. 245, 246, 247, 248, 249, 250, 251, 252, 253, 254,
  1810. 0, 255, 256, 257, 582, 0, 0, 0, 0, 0,
  1811. 0, 0, 0, 0, 0, 0, 0, 965, 0, 0,
  1812. 0, 0, 0, 0, 0, 0, 0, 341, 0, 0,
  1813. 70, 0, 71, 72, 73, 74, 0, 0, 0, 342,
  1814. 0, 0, 77, 0, 0, 0, 78, 0, 0, 0,
  1815. 0, 0, 0, 79, 0, 0, 966, 0, 0, 967,
  1816. 80, 968, 969, 970, 971, 972, 973, 974, 975, 976,
  1817. 977, 978, 0, 979, 980, 0, 81, 981, 513, 514,
  1818. 0, 0, 0, 0, 0, 0, 0, 0, 343, 0,
  1819. 0, 0, 0, 0, 0, 0, 82, 83, 0, 0,
  1820. 0, 0, 84, 0, 0, 0, 0, 0, 0, 0,
  1821. 344, 345, 87, 88, 0, 0, 89, 0, 90, 341,
  1822. 0, 0, 70, 0, 71, 72, 73, 74, 0, 0,
  1823. 0, 342, 0, 0, 77, 0, 0, 0, 78, 347,
  1824. 0, 0, 0, 0, 0, 79, 0, 0, 0, 0,
  1825. 0, 0, 80, 235, 236, 237, 238, 239, 240, 241,
  1826. 242, 0, 0, 0, 0, 0, 0, 0, 81, 0,
  1827. 243, 0, 0, 0, 0, 216, 217, 218, 0, 0,
  1828. 343, 0, 0, 0, 0, 0, 0, 0, 82, 83,
  1829. 0, 0, 0, 0, 84, 0, 0, 0, 0, 0,
  1830. 0, 0, 344, 345, 87, 88, 0, 0, 89, 0,
  1831. 90, 235, 236, 237, 238, 239, 240, 241, 242, 0,
  1832. 0, 0, 0, 0, 0, 0, 0, 0, 243, 219,
  1833. 0, 347, 235, 236, 237, 238, 239, 240, 241, 242,
  1834. 0, 220, 221, 0, 0, 0, 0, 0, 0, 243,
  1835. 235, 236, 237, 238, 239, 240, 241, 242, 0, 0,
  1836. 0, 0, 0, 0, 0, 0, 0, 243, 235, 236,
  1837. 237, 238, 239, 240, 241, 242, 0, 0, 222, 223,
  1838. 0, 224, 0, 0, 0, 243, 225, 0, 226, 244,
  1839. 245, 246, 247, 248, 249, 250, 251, 252, 253, 254,
  1840. 0, 255, 256, 257, 598, 235, 236, 237, 238, 239,
  1841. 240, 241, 242, 0, 0, 0, 0, 0, 0, 0,
  1842. 0, 0, 243, 851, 852, 853, 854, 855, 856, 857,
  1843. 858, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  1844. 859, 0, 0, 0, 0, 0, 0, 244, 245, 246,
  1845. 247, 248, 249, 250, 251, 252, 253, 254, 0, 255,
  1846. 256, 257, 686, 0, 0, 0, 0, 0, 244, 245,
  1847. 246, 247, 248, 249, 250, 251, 252, 253, 254, 0,
  1848. 255, 256, 257, 766, 0, 0, 244, 245, 246, 247,
  1849. 248, 249, 250, 251, 252, 253, 254, 0, 255, 256,
  1850. 257, 909, 0, 0, 244, 245, 246, 247, 248, 249,
  1851. 250, 251, 252, 253, 254, 0, 255, 256, 257, 1026,
  1852. 1405, 1406, 1407, 1408, 1409, 1410, 1411, 1412, 0, 0,
  1853. 0, 0, 0, 0, 0, 0, 0, 1413, 0, 0,
  1854. 0, 244, 245, 246, 247, 248, 249, 250, 251, 252,
  1855. 253, 254, 0, 255, 256, 257, 1298, 0, 0, 860,
  1856. 861, 862, 863, 864, 865, 866, 867, 868, 869, 870,
  1857. 0, 871, 872, 873, 1405, 1406, 1407, 1408, 1409, 1410,
  1858. 1411, 1412, 0, 0, 0, 0, 0, 0, 0, 0,
  1859. 0, 1413, 0, 0, 0, 0, 0, 0, 0, 0,
  1860. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  1861. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  1862. 0, 0, 0, 0, -2, 0, 0, 0, 0, 0,
  1863. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  1864. 237, 238, 239, 240, 241, 242, 0, 0, 0, 0,
  1865. 0, 0, 0, 0, 1529, 243, 1414, 1415, 1416, 1417,
  1866. 0, 0, 1418, 1419, 1420, 1421, 1422, 0, 1423, 1424,
  1867. 1425, 105, 0, 106, 0, 0, 107, 108, 0, 0,
  1868. 0, 0, 0, 0, 109, 110, 237, 238, 239, 240,
  1869. 241, 242, 0, 111, 0, 112, 113, 114, 115, 0,
  1870. 0, 243, 116, 0, 0, 0, 0, 117, 0, 0,
  1871. 1414, 1415, 1416, 1417, 0, 0, 1418, 1419, 1420, 1421,
  1872. 1422, 0, 1423, 1424, 1425, 118, 119, 120, 121, 122,
  1873. 123, 124, 125, 0, 0, 0, 0, 0, 126, 127,
  1874. 128, 129, 0, 0, 0, 0, 0, 130, 131, 67,
  1875. 68, 132, 133, 462, 0, 463, 134, 0, 0, 0,
  1876. 0, 0, 135, 136, 0, 137, 0, 0, 0, 0,
  1877. 0, 0, 0, 138, 0, 245, 246, 247, 248, 249,
  1878. 250, 251, 252, 253, 254, 464, 255, 256, 257, 69,
  1879. 0, 0, 70, 0, 71, 72, 73, 74, 465, 0,
  1880. 0, 76, 0, 0, 77, 0, 0, 0, 78, 0,
  1881. 0, 0, 0, 0, 0, 79, 1407, 1408, 1409, 1410,
  1882. 1411, 1412, 80, 247, 248, 249, 250, 251, 252, 253,
  1883. 254, 1413, 255, 256, 257, 216, 217, 218, 81, 237,
  1884. 238, 239, 240, 241, 242, 0, 0, 0, 0, 0,
  1885. 0, 0, 0, 0, 243, 466, 0, 0, 82, 83,
  1886. 0, 0, 0, 0, 84, 0, 1407, 1408, 1409, 1410,
  1887. 1411, 1412, 85, 86, 87, 88, 0, 0, 89, 0,
  1888. 90, 1413, 1407, 1408, 1409, 1410, 1411, 1412, 0, 219,
  1889. 0, 0, 0, 467, 0, 0, 0, 1413, 468, 0,
  1890. 0, 220, 221, 0, 0, 0, 0, 0, 0, 0,
  1891. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  1892. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  1893. 483, 484, 485, 335, 0, 0, 0, 0, 222, 223,
  1894. 0, 224, 0, 0, 0, 0, 225, 0, 226, 0,
  1895. 0, 1415, 1416, 1417, 0, 0, 1418, 1419, 1420, 1421,
  1896. 1422, 0, 1423, 1424, 1425, 0, 0, 486, 0, 487,
  1897. 0, 0, 0, 0, 0, 0, 0, 248, 249, 250,
  1898. 251, 252, 253, 254, 219, 255, 256, 257, 0, 0,
  1899. 0, 0, 0, 0, 0, 0, 220, 221, 0, 305,
  1900. 0, 0, 1416, 1417, 0, 0, 1418, 1419, 1420, 1421,
  1901. 1422, 0, 1423, 1424, 1425, 0, 305, 0, 0, 1417,
  1902. 0, 0, 1418, 1419, 1420, 1421, 1422, 0, 1423, 1424,
  1903. 1425, 0, 0, 488, 223, 0, 224, 0, 0, 0,
  1904. 105, 225, 106, 226, 0, 0, 108, 0, 0, 0,
  1905. 0, 0, 0, 109, 110, 0, 0, 105, 70, 106,
  1906. 71, 72, 73, 108, 112, 113, 114, 489, 0, 0,
  1907. 109, 110, 0, 0, 0, 0, 300, 0, 0, 0,
  1908. 0, 112, 299, 114, 0, 0, 0, 0, 80, 0,
  1909. 0, 0, 0, 300, 216, 217, 218, 0, 0, 0,
  1910. 124, 0, 0, 0, 266, 0, 399, 67, 68, 0,
  1911. 129, 0, 0, 0, 0, 0, 130, 124, 0, 0,
  1912. 132, 133, 0, 0, 82, 83, 0, 129, 0, 0,
  1913. 0, 0, 136, 130, 137, 1038, 67, 68, 133, 0,
  1914. 0, 88, 0, 0, 0, 0, 90, 69, 219, 136,
  1915. 70, 137, 71, 72, 73, 74, 75, 0, 0, 76,
  1916. 220, 221, 77, 0, 0, 0, 78, 0, 0, 187,
  1917. 0, 0, 0, 79, 0, 0, 69, 0, 0, 70,
  1918. 80, 71, 72, 73, 74, 75, 0, 0, 76, 0,
  1919. 0, 77, 0, 0, 0, 78, 81, 222, 1278, 1279,
  1920. 1280, 0, 79, 0, 0, 225, 0, 226, 0, 80,
  1921. 0, 0, 0, 0, 0, 0, 82, 83, 1281, 0,
  1922. 0, 0, 84, 1282, 0, 81, 0, 1470, 67, 68,
  1923. 85, 86, 87, 88, 0, 0, 89, 0, 90, 0,
  1924. 0, 0, 0, 0, 0, 82, 83, 0, 0, 0,
  1925. 0, 84, 0, 0, 0, 0, 699, 700, 701, 85,
  1926. 86, 87, 88, 0, 0, 89, 0, 90, 69, 0,
  1927. 0, 70, 0, 71, 72, 73, 74, 75, 0, 0,
  1928. 76, 0, 0, 77, 0, 0, 0, 78, 699, 700,
  1929. 701, 0, 0, 0, 79, 0, 0, 0, 0, 0,
  1930. 70, 80, 71, 72, 73, 702, 703, 0, 0, 0,
  1931. 0, 0, 77, 0, 0, 0, 0, 81, 0, 0,
  1932. 0, 0, 0, 79, 0, 0, 0, 0, 0, 0,
  1933. 80, 0, 70, 0, 71, 72, 73, 82, 83, 0,
  1934. 0, 0, 0, 84, 77, 0, 81, 0, 0, 0,
  1935. 0, 85, 86, 87, 88, 79, 0, 89, 0, 90,
  1936. 0, 0, 80, 0, 67, 68, 82, 83, 462, 0,
  1937. 0, 0, 0, 0, 0, 0, 0, 0, 81, 0,
  1938. 704, 0, 0, 88, 0, 0, 89, 0, 90, 0,
  1939. 0, 0, 0, 67, 68, 0, 0, 800, 82, 83,
  1940. 464, 0, 0, 0, 69, 0, 0, 70, 0, 71,
  1941. 72, 73, 74, 465, 0, 88, 76, 0, 89, 77,
  1942. 90, 0, 0, 78, 0, 0, 0, 0, 0, 464,
  1943. 79, 0, 0, 69, 0, 0, 70, 80, 71, 72,
  1944. 73, 74, 465, 0, 0, 76, 0, 0, 77, 0,
  1945. 0, 0, 78, 81, 0, 0, 0, 0, 0, 79,
  1946. 0, 0, 0, 0, 0, 0, 80, 0, 0, 0,
  1947. 466, 0, 0, 82, 83, 216, 217, 218, 0, 84,
  1948. 0, 0, 81, 0, 0, 67, 68, 85, 86, 87,
  1949. 88, 0, 0, 89, 0, 90, 0, 0, 0, 466,
  1950. 0, 0, 82, 83, 0, 0, 0, 0, 84, 70,
  1951. 0, 71, 72, 73, 67, 68, 85, 86, 87, 88,
  1952. 0, 464, 89, 0, 90, 69, 0, 0, 70, 219,
  1953. 71, 72, 73, 74, 465, 0, 0, 76, 0, 80,
  1954. 77, 220, 221, 0, 78, 0, 0, 0, 0, 0,
  1955. 0, 79, 0, 0, 69, 266, 0, 70, 80, 71,
  1956. 72, 73, 74, 75, 0, 0, 76, 0, 0, 77,
  1957. 0, 0, 0, 78, 81, 82, 83, 0, 222, 223,
  1958. 79, 224, 0, 0, 0, 0, 225, 80, 226, 0,
  1959. 0, 466, 88, 0, 82, 83, 0, 90, 0, 1281,
  1960. 84, 67, 68, 81, 1360, 0, 0, 0, 85, 86,
  1961. 87, 88, 0, 0, 89, 0, 90, 0, 0, 0,
  1962. 188, 0, 0, 82, 83, 67, 68, 0, 0, 84,
  1963. 0, 0, 0, 0, 0, 0, 0, 85, 86, 87,
  1964. 88, 69, 0, 89, 70, 90, 71, 72, 73, 74,
  1965. 0, 0, 0, 76, 0, 0, 77, 0, 0, 0,
  1966. 78, 0, 0, 0, 0, 69, 0, 79, 70, 0,
  1967. 71, 72, 73, 74, 80, 0, 0, 76, 0, 0,
  1968. 77, 0, 0, 0, 78, 0, 0, 0, 0, 0,
  1969. 81, 79, 0, 0, 0, 0, 0, 0, 80, 216,
  1970. 217, 218, 0, 0, 0, 0, 0, 611, 0, 0,
  1971. 82, 83, 67, 0, 81, 0, 84, 0, 0, 0,
  1972. 0, 0, 0, 0, 85, 86, 87, 88, 0, 0,
  1973. 89, 0, 90, 0, 82, 83, 0, 0, 0, 0,
  1974. 84, 177, 0, 0, 0, 0, 0, 0, 85, 86,
  1975. 87, 88, 69, 219, 89, 70, 90, 71, 72, 73,
  1976. 74, 524, 0, 0, 76, 220, 221, 77, 0, 0,
  1977. 0, 78, 0, 0, 0, 0, 0, 0, 79, 0,
  1978. 0, 178, 0, 0, 70, 80, 71, 72, 73, 74,
  1979. 1003, 0, 0, 179, 0, 0, 77, 0, 0, 0,
  1980. 78, 81, 222, 223, 0, 224, 0, 79, 0, 0,
  1981. 225, 0, 226, 0, 80, 0, 0, 0, 0, 0,
  1982. 0, 82, 83, 1281, 0, 0, 0, 84, 177, 0,
  1983. 81, 0, 0, 0, 0, 85, 86, 87, 88, 0,
  1984. 0, 89, 0, 90, 0, 0, 0, 0, 0, 0,
  1985. 82, 83, 67, 0, 0, 0, 84, 0, 0, 0,
  1986. 216, 217, 218, 0, 180, 181, 87, 88, 178, 0,
  1987. 89, 70, 90, 71, 72, 73, 74, 0, 0, 0,
  1988. 179, 0, 70, 77, 71, 72, 73, 78, 0, 0,
  1989. 0, 0, 69, 0, 79, 70, 0, 71, 72, 73,
  1990. 74, 80, 0, 0, 76, 0, 0, 77, 0, 0,
  1991. 0, 78, 80, 0, 219, 0, 0, 81, 79, 0,
  1992. 216, 217, 218, 0, 0, 80, 220, 221, 266, 0,
  1993. 0, 0, 0, 0, 216, 217, 218, 82, 83, 0,
  1994. 0, 81, 0, 84, 0, 0, 0, 0, 82, 83,
  1995. 0, 180, 181, 87, 88, 0, 0, 89, 0, 90,
  1996. 0, 82, 83, 222, 223, 88, 224, 84, 0, 0,
  1997. 90, 225, 0, 226, 219, 85, 86, 87, 88, 0,
  1998. 0, 89, 0, 90, 1281, 0, 220, 221, 219, 1362,
  1999. 0, 0, 0, 193, 0, 0, 0, 0, 0, 0,
  2000. 220, 221, 0, 0, 0, 0, 0, 0, 0, 70,
  2001. 0, 71, 72, 73, 0, 0, 0, 0, 0, 0,
  2002. 0, 265, 0, 222, 223, 0, 224, 0, 0, 0,
  2003. 0, 225, 0, 226, 0, 0, 0, 222, 223, 80,
  2004. 224, 0, 0, 0, 1281, 225, 105, 226, 106, 1364,
  2005. 0, 107, 108, 0, 0, 266, 0, 0, 0, 109,
  2006. 110, 0, 294, 0, 0, 0, 0, 0, 111, 0,
  2007. 112, 113, 114, 115, 0, 82, 83, 116, 0, 0,
  2008. 0, 0, 117, 0, 0, 0, 0, 0, 0, 0,
  2009. 0, 0, 88, 0, 0, 0, 0, 90, 0, 0,
  2010. 118, 119, 120, 121, 122, 123, 124, 125, 0, 0,
  2011. 0, 0, 0, 126, 127, 128, 129, 0, 0, 105,
  2012. 176, 106, 130, 131, 107, 108, 132, 133, 0, 0,
  2013. 0, 134, 109, 110, 0, 0, 0, 135, 136, 0,
  2014. 137, 111, 0, 112, 113, 114, 115, 0, 138, 0,
  2015. 116, 0, 0, 0, 0, 117, 0, 0, 0, 0,
  2016. 0, 0, 0, 0, 0, 0, 0, 695, 0, 0,
  2017. 0, 0, 0, 118, 119, 120, 121, 122, 123, 124,
  2018. 125, 0, 0, 0, 0, 0, 126, 127, 128, 129,
  2019. 0, 0, 105, 0, 106, 130, 131, 107, 108, 132,
  2020. 133, 0, 0, 0, 134, 109, 110, 0, 0, 0,
  2021. 135, 136, 0, 137, 111, 0, 112, 113, 114, 115,
  2022. 0, 138, 0, 116, 0, 0, 0, 0, 117, 0,
  2023. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  2024. 876, 0, 0, 0, 0, 0, 118, 119, 120, 121,
  2025. 122, 123, 124, 125, 0, 0, 0, 0, 0, 126,
  2026. 127, 128, 129, 0, 0, 105, 0, 106, 130, 131,
  2027. 107, 108, 132, 133, 0, 0, 0, 134, 109, 110,
  2028. 0, 0, 0, 135, 136, 0, 137, 111, 0, 112,
  2029. 113, 114, 115, 0, 138, 0, 116, 0, 0, 0,
  2030. 0, 117, 0, 0, 0, 0, 0, 0, 0, 0,
  2031. 0, 0, 0, 920, 0, 0, 0, 0, 0, 118,
  2032. 119, 120, 121, 122, 123, 124, 125, 0, 0, 0,
  2033. 0, 0, 126, 127, 128, 129, 0, 0, 105, 0,
  2034. 106, 130, 131, 107, 108, 132, 133, 0, 0, 0,
  2035. 134, 109, 110, 0, 0, 0, 135, 136, 0, 137,
  2036. 111, 0, 112, 113, 114, 115, 0, 138, 0, 116,
  2037. 0, 0, 0, 0, 117, 0, 0, 0, 0, 0,
  2038. 0, 0, 0, 0, 0, 0, 1027, 0, 0, 0,
  2039. 0, 0, 118, 119, 120, 121, 122, 123, 124, 125,
  2040. 0, 0, 0, 0, 0, 126, 127, 128, 129, 0,
  2041. 0, 105, 0, 106, 130, 131, 107, 108, 132, 133,
  2042. 0, 0, 0, 134, 109, 110, 0, 0, 0, 135,
  2043. 136, 0, 137, 111, 0, 112, 113, 114, 115, 0,
  2044. 138, 0, 116, 0, 0, 0, 0, 117, 0, 0,
  2045. 0, 0, 0, 0, 0, 0, 0, 0, 0, 1081,
  2046. 0, 0, 0, 0, 0, 118, 119, 120, 121, 122,
  2047. 123, 124, 125, 0, 0, 0, 0, 0, 126, 127,
  2048. 128, 129, 0, 0, 105, 0, 106, 130, 131, 107,
  2049. 108, 132, 133, 0, 0, 0, 134, 109, 110, 0,
  2050. 0, 0, 135, 136, 0, 137, 111, 0, 112, 113,
  2051. 114, 115, 0, 138, 0, 116, 0, 0, 0, 0,
  2052. 117, 0, 0, 216, 217, 218, 0, 0, 890, 216,
  2053. 217, 218, 1303, 0, 0, 0, 0, 0, 118, 119,
  2054. 120, 121, 122, 123, 124, 125, 0, 0, 0, 0,
  2055. 0, 126, 127, 128, 129, 0, 0, 0, 0, 0,
  2056. 130, 131, 0, 0, 132, 133, 486, 0, 487, 134,
  2057. 0, 0, 0, 0, 0, 135, 136, 219, 137, 0,
  2058. 0, 0, 0, 219, 0, 105, 138, 106, 0, 220,
  2059. 221, 108, 0, 0, 0, 220, 221, 0, 109, 110,
  2060. 0, 0, 0, 0, 0, 1451, 0, 0, 0, 112,
  2061. 299, 114, 0, 0, 0, 0, 116, 0, 0, 0,
  2062. 0, 300, 0, 0, 0, 0, 222, 223, 0, 224,
  2063. 0, 0, 222, 223, 225, 224, 226, 0, 0, 0,
  2064. 225, 0, 226, 0, 0, 124, 0, 0, 0, 0,
  2065. 0, 0, 0, 0, 0, 129, 0, 0, 0, 0,
  2066. 0, 130, 0, 0, 0, 0, 133, 0, 0, 0,
  2067. 0, 0, 0, 0, 0, 0, 135, 136, 105, 137,
  2068. 106, 0, 0, 107, 108, 0, 0, 0, 0, 0,
  2069. 0, 109, 110, 0, -153, 0, 0, 0, 0, 0,
  2070. 111, 0, 112, 113, 114, 115, 0, 0, 0, 116,
  2071. 0, 0, 0, 0, 117, 0, 0, 0, 0, 0,
  2072. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  2073. 0, 0, 118, 119, 120, 121, 122, 123, 124, 125,
  2074. 0, 0, 0, 0, 0, 126, 127, 128, 129, 0,
  2075. 0, 105, 0, 106, 130, 131, 0, 108, 132, 133,
  2076. 0, 0, 0, 134, 109, 110, 0, 0, 0, 135,
  2077. 136, 0, 137, 0, 0, 112, 113, 114, 105, 0,
  2078. 106, 0, 116, 0, 108, 0, 0, 300, 0, 0,
  2079. 0, 109, 110, 105, 0, 106, 0, 0, 0, 108,
  2080. 0, 0, 112, 299, 114, 0, 109, 110, 0, 0,
  2081. 0, 124, 0, 0, 300, 0, 0, 112, 299, 114,
  2082. 0, 129, 0, 0, 0, 0, 0, 130, 0, 300,
  2083. 0, 132, 133, 0, 0, 0, 0, 0, 124, 311,
  2084. 0, 0, 135, 136, 0, 137, 0, 0, 129, 0,
  2085. 0, 0, 0, 124, 130, 0, 0, 0, 0, 133,
  2086. 0, 0, 0, 129, 0, 0, 0, 0, 0, 130,
  2087. 136, 0, 137, 0, 133, 0, 0, 0, 0, 0,
  2088. 0, 0, 0, 0, 0, 136, 0, 137
  2089. };
  2090. static const yytype_int16 yycheck[] =
  2091. {
  2092. 1, 61, 113, 495, 132, 515, 132, 320, 933, 617,
  2093. 92, 714, 44, 149, 590, 151, 152, 153, 154, 298,
  2094. 156, 736, 158, 663, 160, 184, 44, 482, 756, 6,
  2095. 15, 8, 44, 142, 464, 15, 59, 98, 466, 0,
  2096. 176, 33, 81, 82, 83, 166, 167, 608, 142, 88,
  2097. 15, 187, 188, 15, 333, 142, 486, 193, 194, 13,
  2098. 76, 62, 76, 148, 494, 75, 165, 495, 15, 15,
  2099. 148, 799, 76, 148, 148, 723, 589, 725, 726, 727,
  2100. 728, 729, 148, 719, 147, 170, 149, 156, 151, 167,
  2101. 91, 92, 167, 167, 151, 165, 148, 75, 99, 151,
  2102. 148, 167, 165, 126, 148, 10, 11, 12, 148, 166,
  2103. 142, 147, 748, 749, 627, 751, 752, 753, 754, 167,
  2104. 148, 33, 147, 167, 142, 638, 148, 167, 165, 165,
  2105. 142, 147, 165, 147, 150, 775, 150, 166, 167, 167,
  2106. 165, 717, 148, 147, 720, 167, 150, 148, 149, 148,
  2107. 151, 152, 153, 154, 165, 156, 33, 158, 150, 160,
  2108. 165, 167, 148, 13, 6, 15, 8, 17, 167, 208,
  2109. 209, 210, 211, 165, 166, 176, 166, 167, 260, 261,
  2110. 156, 167, 167, 184, 165, 165, 187, 188, 501, 298,
  2111. 167, 619, 193, 194, 276, 277, 256, 356, 165, 33,
  2112. 165, 148, 148, 165, 298, 697, 160, 148, 113, 165,
  2113. 60, 298, 108, 109, 110, 528, 112, 113, 114, 76,
  2114. 329, 117, 165, 149, 333, 151, 167, 266, 124, 165,
  2115. 231, 292, 165, 129, 130, 329, 132, 133, 134, 333,
  2116. 136, 137, 329, 165, 757, 150, 333, 757, 809, 148,
  2117. 151, 290, 164, 165, 166, 473, 392, 165, 819, 260,
  2118. 261, 165, 148, 911, 156, 166, 298, 165, 167, 905,
  2119. 280, 10, 11, 12, 275, 276, 277, 278, 279, 280,
  2120. 298, 167, 795, 796, 285, 151, 298, 164, 165, 166,
  2121. 147, 141, 1007, 150, 355, 148, 6, 329, 8, 147,
  2122. 166, 333, 280, 939, 759, 155, 144, 145, 146, 165,
  2123. 160, 329, 64, 65, 167, 333, 148, 329, 13, 320,
  2124. 15, 333, 17, 148, 148, 64, 160, 161, 162, 148,
  2125. 164, 165, 166, 343, 647, 167, 165, 76, 77, 165,
  2126. 148, 148, 167, 167, 165, 921, 776, 148, 167, 147,
  2127. 165, 149, 150, 151, 148, 356, 165, 918, 850, 167,
  2128. 167, 148, 165, 1003, 792, 60, 167, 646, 275, 276,
  2129. 277, 278, 279, 167, 113, 114, 165, 116, 166, 167,
  2130. 167, 165, 121, 696, 123, 165, 147, 165, 149, 902,
  2131. 151, 392, 902, 1108, 1002, 613, 147, 147, 149, 149,
  2132. 151, 151, 156, 299, 300, 165, 166, 167, 165, 305,
  2133. 165, 412, 165, 166, 167, 633, 634, 635, 636, 637,
  2134. 1345, 165, 850, 10, 11, 12, 13, 166, 989, 165,
  2135. 17, 165, 166, 1009, 165, 166, 167, 165, 33, 1015,
  2136. 1016, 166, 167, 482, 445, 165, 141, 150, 449, 450,
  2137. 451, 452, 453, 165, 166, 465, 466, 114, 115, 116,
  2138. 155, 165, 463, 165, 525, 160, 467, 468, 147, 148,
  2139. 165, 472, 165, 60, 475, 536, 165, 166, 539, 165,
  2140. 512, 10, 11, 12, 165, 495, 150, 465, 466, 165,
  2141. 1098, 709, 150, 1101, 495, 150, 165, 165, 1011, 1012,
  2142. 501, 167, 165, 165, 165, 10, 11, 12, 13, 151,
  2143. 15, 512, 17, 160, 524, 166, 166, 495, 150, 148,
  2144. 48, 165, 147, 156, 525, 112, 113, 528, 1104, 165,
  2145. 165, 165, 149, 1261, 148, 64, 167, 646, 445, 15,
  2146. 168, 167, 449, 450, 451, 452, 453, 76, 77, 167,
  2147. 157, 167, 646, 157, 141, 60, 463, 167, 167, 646,
  2148. 467, 468, 167, 148, 877, 160, 161, 162, 155, 164,
  2149. 165, 166, 148, 160, 167, 167, 794, 167, 165, 167,
  2150. 590, 167, 157, 167, 113, 114, 167, 116, 589, 590,
  2151. 591, 157, 121, 811, 123, 167, 167, 493, 167, 167,
  2152. 601, 611, 167, 167, 167, 167, 167, 608, 113, 619,
  2153. 167, 612, 590, 167, 646, 675, 617, 167, 167, 167,
  2154. 621, 622, 623, 624, 625, 626, 627, 1330, 646, 167,
  2155. 167, 663, 165, 611, 646, 167, 141, 638, 167, 160,
  2156. 167, 619, 166, 166, 150, 663, 647, 648, 167, 167,
  2157. 155, 663, 168, 714, 165, 160, 147, 165, 719, 148,
  2158. 165, 148, 723, 148, 725, 726, 727, 728, 729, 887,
  2159. 148, 703, 149, 148, 148, 165, 894, 895, 896, 897,
  2160. 898, 150, 10, 11, 12, 13, 165, 748, 749, 17,
  2161. 751, 752, 753, 754, 601, 696, 167, 1273, 165, 1275,
  2162. 165, 761, 762, 167, 167, 165, 48, 717, 709, 769,
  2163. 720, 771, 1440, 1441, 1442, 160, 717, 2, 160, 720,
  2164. 759, 170, 723, 1438, 725, 726, 727, 728, 729, 147,
  2165. 1338, 48, 60, 13, 165, 15, 76, 17, 165, 717,
  2166. 156, 742, 720, 775, 745, 156, 156, 1355, 1356, 1357,
  2167. 156, 10, 167, 10, 10, 756, 757, 775, 10, 1335,
  2168. 888, 1253, 888, 775, 10, 10, 149, 157, 148, 160,
  2169. 149, 56, 57, 58, 59, 60, 160, 888, 63, 167,
  2170. 60, 167, 792, 168, 472, 113, 149, 149, 160, 685,
  2171. 686, 167, 793, 167, 795, 796, 167, 167, 799, 165,
  2172. 147, 802, 10, 11, 12, 170, 165, 165, 809, 165,
  2173. 167, 166, 872, 141, 792, 166, 166, 1093, 819, 150,
  2174. 165, 1549, 1430, 167, 165, 1253, 148, 155, 829, 1437,
  2175. 1558, 151, 160, 148, 148, 1443, 1444, 165, 148, 148,
  2176. 850, 160, 167, 167, 905, 166, 149, 149, 148, 10,
  2177. 911, 167, 1428, 4, 148, 168, 64, 889, 170, 48,
  2178. 168, 141, 148, 170, 165, 170, 165, 157, 76, 77,
  2179. 147, 167, 850, 157, 1092, 155, 877, 10, 939, 880,
  2180. 160, 157, 157, 10, 167, 165, 887, 149, 167, 167,
  2181. 10, 1499, 893, 894, 895, 896, 897, 898, 899, 1035,
  2182. 167, 902, 10, 10, 10, 113, 114, 192, 116, 149,
  2183. 911, 921, 148, 121, 165, 123, 170, 918, 167, 167,
  2184. 921, 1497, 1004, 170, 612, 1533, 10, 11, 12, 13,
  2185. 22, 23, 933, 17, 622, 623, 624, 625, 626, 168,
  2186. 1548, 33, 150, 921, 168, 167, 167, 15, 165, 165,
  2187. 235, 236, 237, 238, 239, 240, 241, 242, 243, 244,
  2188. 245, 246, 247, 248, 249, 250, 251, 252, 253, 254,
  2189. 255, 1003, 257, 1286, 1110, 1111, 60, 262, 165, 167,
  2190. 165, 167, 148, 167, 149, 1003, 167, 165, 989, 156,
  2191. 165, 1003, 888, 156, 156, 167, 156, 168, 168, 1009,
  2192. 147, 1002, 10, 1004, 149, 1015, 1016, 149, 1009, 167,
  2193. 1011, 1012, 167, 298, 1015, 1016, 10, 167, 167, 167,
  2194. 10, 709, 10, 149, 149, 149, 165, 167, 15, 113,
  2195. 167, 1009, 168, 148, 1035, 167, 148, 1015, 1016, 167,
  2196. 157, 157, 327, 157, 167, 1321, 1322, 1323, 1324, 1325,
  2197. 168, 1327, 157, 10, 167, 149, 167, 141, 167, 10,
  2198. 10, 149, 165, 61, 165, 165, 158, 159, 160, 161,
  2199. 162, 155, 164, 165, 166, 149, 160, 167, 165, 149,
  2200. 10, 167, 1083, 149, 18, 19, 20, 21, 22, 23,
  2201. 167, 1092, 167, 149, 1104, 310, 1109, 1098, 649, 33,
  2202. 1101, 1256, 1330, 1104, 389, 793, 333, 889, 1457, 1110,
  2203. 1111, 1253, 703, 1083, 802, 850, 1287, 1220, 411, 333,
  2204. -1, 406, 407, -1, -1, -1, 1104, -1, 413, 1405,
  2205. 1406, 1407, 1408, 1409, 1410, 1411, 1412, 1413, 1414, 1415,
  2206. 1416, 1417, 1418, 1419, 1420, 1421, 1422, 1423, -1, -1,
  2207. -1, -1, 150, -1, -1, -1, -1, 155, -1, 157,
  2208. -1, 159, -1, 161, 162, 163, 164, 165, 166, 167,
  2209. 168, 169, 170, 171, 172, 173, 174, 175, -1, -1,
  2210. 1262, -1, -1, 10, 11, 12, -1, -1, 186, -1,
  2211. 475, -1, 190, 191, 192, 1256, -1, 1473, -1, 887,
  2212. -1, 20, 21, 22, 23, -1, 894, 895, 896, 897,
  2213. 898, -1, -1, -1, 33, -1, 10, 11, 12, 1220,
  2214. 154, 155, 156, 157, 158, 159, 160, 161, 162, -1,
  2215. 164, 165, 166, -1, -1, -1, -1, 64, 523, -1,
  2216. -1, -1, -1, 1253, -1, -1, -1, -1, 533, 76,
  2217. 77, -1, 1253, 1529, -1, -1, -1, -1, 62, -1,
  2218. 1261, 1262, -1, 1273, -1, 1275, 1326, -1, -1, 1330,
  2219. 64, -1, 1273, 271, 1275, 1253, -1, -1, -1, -1,
  2220. -1, 85, 76, 77, -1, 1286, 113, 114, -1, 116,
  2221. -1, 1278, 1279, 1280, 121, 1273, 123, 1275, -1, -1,
  2222. -1, 105, -1, -1, 10, 11, 12, -1, -1, 594,
  2223. -1, -1, -1, 1373, 1374, -1, 1376, -1, 1378, 113,
  2224. 114, 125, 116, 608, 151, 1335, -1, 121, 155, 123,
  2225. -1, 135, -1, 160, 1335, -1, -1, 1338, -1, 158,
  2226. 159, 160, 161, 162, 1345, 164, 165, 166, -1, 11,
  2227. -1, -1, -1, 147, 1355, 1356, 1357, 1335, 64, -1,
  2228. -1, 646, -1, -1, 1424, 10, 11, 12, -1, -1,
  2229. 76, 77, -1, 1360, -1, 1362, 180, 1364, -1, 183,
  2230. 1367, 1368, 1369, -1, -1, -1, 671, 672, 673, 674,
  2231. -1, 676, 54, 391, 56, 57, 58, -1, -1, -1,
  2232. -1, -1, -1, -1, 1092, -1, -1, 113, 114, -1,
  2233. 116, -1, -1, -1, -1, 121, -1, 123, 1428, 64,
  2234. -1, -1, 84, -1, 228, 229, -1, 1428, -1, 1430,
  2235. -1, 76, 77, -1, -1, -1, 1437, -1, 100, 1440,
  2236. 1441, 1442, 1443, 1444, -1, -1, -1, -1, -1, 155,
  2237. 1428, -1, -1, -1, 160, -1, 1457, -1, 120, 121,
  2238. 745, 17, 18, 19, 20, 21, 22, 23, 113, 114,
  2239. 274, 116, -1, -1, -1, 137, 121, 33, 123, -1,
  2240. 142, -1, 1542, 1543, 1544, -1, 1546, 1497, 292, -1,
  2241. 294, -1, -1, -1, -1, -1, 1497, -1, 1499, -1,
  2242. -1, -1, 147, -1, -1, -1, -1, 311, -1, 313,
  2243. 314, 315, 316, 317, 318, -1, -1, -1, -1, 1497,
  2244. -1, -1, 520, -1, 809, -1, -1, -1, -1, 527,
  2245. -1, 335, 1533, -1, 819, -1, -1, -1, 823, -1,
  2246. 344, -1, -1, 347, -1, -1, -1, 1548, 1549, -1,
  2247. -1, 355, -1, -1, -1, 840, 554, 1558, 556, -1,
  2248. 558, -1, -1, -1, -1, -1, 851, 852, 853, 854,
  2249. 855, 856, 857, 858, 859, 860, 861, 862, 863, 864,
  2250. 865, 866, 867, 868, 869, 870, 871, -1, 873, -1,
  2251. 394, -1, -1, -1, 398, -1, -1, 153, 154, 155,
  2252. 156, 157, 158, 159, 160, 161, 162, 411, 164, 165,
  2253. 166, 16, 17, 18, 19, 20, 21, 22, 23, -1,
  2254. -1, -1, -1, 1321, 1322, 1323, 1324, 1325, 33, 1327,
  2255. 22, 23, -1, 918, -1, -1, -1, -1, -1, -1,
  2256. -1, 33, -1, -1, 448, -1, -1, -1, 933, 20,
  2257. 21, 22, 23, -1, -1, -1, -1, -1, -1, -1,
  2258. 464, -1, 33, -1, -1, -1, 18, 19, 20, 21,
  2259. 22, 23, 476, -1, -1, -1, -1, 675, -1, -1,
  2260. -1, 33, 486, -1, -1, -1, -1, -1, -1, -1,
  2261. 494, 33, -1, -1, -1, -1, -1, -1, -1, -1,
  2262. -1, -1, -1, -1, 989, -1, 991, 1405, 1406, 1407,
  2263. 1408, 1409, 1410, 1411, 1412, 1413, 1414, 1415, 1416, 1417,
  2264. 1418, 1419, 1420, 1421, 1422, 1423, -1, -1, -1, -1,
  2265. -1, -1, -1, -1, -1, 539, -1, -1, -1, -1,
  2266. -1, -1, -1, -1, -1, -1, -1, 152, 153, 154,
  2267. 155, 156, 157, 158, 159, 160, 161, 162, 1043, 164,
  2268. 165, 166, -1, -1, -1, 170, 158, 159, 160, 161,
  2269. 162, -1, 164, 165, 166, 1473, -1, -1, -1, -1,
  2270. -1, -1, -1, -1, 588, 156, 157, 158, 159, 160,
  2271. 161, 162, -1, 164, 165, 166, 3, 4, 5, 6,
  2272. -1, 8, 9, 10, 11, 12, 158, 159, 160, 161,
  2273. 162, -1, 164, 165, 166, -1, 158, 159, 160, 161,
  2274. 162, -1, 164, 165, 166, -1, -1, 631, -1, -1,
  2275. -1, 1529, -1, -1, 832, 833, 834, -1, 836, -1,
  2276. 838, 839, 840, 50, 51, 649, -1, 54, -1, 56,
  2277. 57, 58, 59, 60, -1, 62, 63, -1, -1, 66,
  2278. 67, -1, -1, 70, -1, -1, -1, -1, 75, 76,
  2279. 77, -1, -1, -1, 81, -1, -1, 84, 85, 86,
  2280. 87, 88, 89, 90, 91, 92, 93, 94, 95, 96,
  2281. 97, 98, 99, 100, -1, -1, -1, -1, -1, -1,
  2282. -1, -1, 109, 707, 111, -1, 113, -1, -1, -1,
  2283. -1, 118, -1, 120, 121, 122, -1, -1, 125, 126,
  2284. -1, -1, -1, 130, -1, -1, 133, 134, 135, 136,
  2285. 137, -1, -1, 140, 738, 142, -1, -1, -1, 3,
  2286. 4, 5, 6, -1, 8, 9, 10, 11, 155, -1,
  2287. -1, 158, 159, 160, -1, -1, 163, -1, 165, 166,
  2288. -1, 1246, 169, -1, -1, -1, -1, -1, -1, -1,
  2289. -1, -1, 776, -1, 16, 17, 18, 19, 20, 21,
  2290. 22, 23, -1, -1, -1, -1, 50, 51, -1, -1,
  2291. 54, 33, 56, 57, 58, 59, -1, -1, 62, 63,
  2292. -1, -1, 66, 67, -1, -1, 70, -1, -1, -1,
  2293. -1, 75, 76, 77, -1, 1300, -1, 81, -1, -1,
  2294. 84, 85, 86, 87, 88, 89, 90, 91, 92, 93,
  2295. 94, 95, 96, 97, 98, 99, 100, -1, -1, -1,
  2296. -1, -1, -1, -1, -1, 109, -1, 111, -1, 113,
  2297. -1, -1, -1, -1, 118, -1, 120, 121, 122, -1,
  2298. 1345, 125, 126, -1, -1, -1, 130, -1, -1, 133,
  2299. 134, 135, 136, 137, -1, -1, 140, -1, 142, -1,
  2300. -1, -1, 3, 4, 5, 6, 890, 8, 9, 10,
  2301. 11, 155, -1, 1091, 158, 159, 160, -1, -1, 163,
  2302. -1, 165, 166, -1, -1, 169, -1, -1, -1, -1,
  2303. 152, 153, 154, 155, 156, 157, 158, 159, 160, 161,
  2304. 162, -1, 164, 165, 166, -1, -1, -1, 170, 50,
  2305. -1, -1, -1, 54, -1, 56, 57, 58, -1, -1,
  2306. 1425, 62, -1, 64, 65, 66, 67, -1, -1, 33,
  2307. -1, -1, -1, -1, 75, 76, 77, -1, -1, -1,
  2308. 81, -1, -1, 84, 85, 86, 87, 88, 89, 90,
  2309. 91, 92, 93, 94, 95, 96, 97, 98, 99, 100,
  2310. -1, -1, -1, -1, -1, -1, -1, -1, 109, -1,
  2311. 111, -1, 113, -1, -1, -1, -1, 118, -1, 120,
  2312. 121, 122, 1006, -1, 125, 10, 11, -1, -1, 130,
  2313. -1, -1, 133, -1, -1, -1, 137, -1, -1, -1,
  2314. -1, 142, -1, -1, -1, 54, 147, 56, 57, 58,
  2315. -1, -1, -1, 1037, 155, -1, -1, 158, 159, 160,
  2316. -1, -1, 163, 17, 165, 166, 51, -1, 169, 54,
  2317. -1, 56, 57, 58, 59, 84, -1, -1, 63, 33,
  2318. -1, 66, -1, -1, -1, 70, -1, -1, -1, -1,
  2319. -1, 100, 77, 47, 158, 159, 160, 161, 162, 84,
  2320. 164, 165, 166, -1, -1, -1, 60, 61, -1, -1,
  2321. -1, 120, 121, -1, 54, 100, 56, 57, 58, -1,
  2322. -1, -1, 76, -1, -1, 1109, 66, 112, 137, -1,
  2323. -1, -1, -1, 142, -1, 120, 121, -1, -1, -1,
  2324. -1, 126, -1, -1, 84, -1, -1, -1, 1326, 134,
  2325. 135, 136, 137, 107, -1, 140, 110, 142, -1, 113,
  2326. 100, -1, 147, -1, -1, 16, 17, 18, 19, 20,
  2327. 21, 22, 23, -1, -1, 129, -1, -1, 163, -1,
  2328. 120, 121, 33, -1, -1, -1, -1, 141, -1, -1,
  2329. -1, -1, -1, -1, -1, -1, -1, 137, -1, -1,
  2330. -1, 155, 142, -1, -1, -1, -1, -1, -1, -1,
  2331. -1, -1, 1390, 1391, 1392, 1393, -1, 1395, 1396, 3,
  2332. 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
  2333. -1, 15, 16, 17, 18, 19, 20, 21, 22, 23,
  2334. 24, 25, -1, -1, -1, -1, -1, -1, -1, 33,
  2335. 34, 35, 36, 37, 38, 39, 40, 41, 42, 43,
  2336. 44, 45, 46, 47, 48, 49, 50, 51, -1, -1,
  2337. 54, 55, 56, 57, 58, 59, 60, 61, 62, 63,
  2338. 64, 65, 66, 67, 68, -1, 70, -1, 72, 73,
  2339. 74, 75, 76, 77, 78, 79, 80, 1281, 82, 83,
  2340. 84, 152, 153, 154, 155, 156, 157, 158, 159, 160,
  2341. 161, 162, -1, 164, 165, 166, 100, -1, -1, 170,
  2342. -1, -1, -1, 107, 108, 109, -1, 111, 112, 113,
  2343. 114, 115, 116, 117, 118, 119, 120, 121, 122, 123,
  2344. 124, 125, 126, 127, 128, 129, 130, 131, 132, 133,
  2345. 134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
  2346. -1, -1, -1, 147, 148, 149, 150, 151, 152, 153,
  2347. 154, 155, 156, 157, 158, 159, 160, 161, 162, 163,
  2348. 164, 165, 166, 167, 168, 169, 170, 3, 4, 5,
  2349. 6, 7, 8, 9, 10, 11, 12, 13, -1, 15,
  2350. 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
  2351. -1, -1, -1, -1, -1, -1, -1, 33, 34, 35,
  2352. 36, 37, 38, 39, 40, 41, 42, 43, 44, 45,
  2353. 46, 47, 48, 49, 50, 51, -1, -1, 54, 55,
  2354. 56, 57, 58, 59, 60, 61, 62, 63, 64, 65,
  2355. 66, 67, 68, -1, 70, -1, 72, 73, 74, 75,
  2356. 76, 77, 78, 79, 80, -1, 82, 83, 84, -1,
  2357. -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
  2358. -1, -1, -1, -1, 100, 1469, -1, -1, -1, -1,
  2359. -1, 107, 108, 109, -1, 111, 112, 113, 114, 115,
  2360. 116, 117, 118, 119, 120, 121, 122, 123, 124, 125,
  2361. 126, 127, 128, 129, 130, 131, 132, 133, 134, 135,
  2362. 136, 137, 138, 139, 140, 141, 142, 143, -1, -1,
  2363. -1, 147, 148, 149, 150, 151, 152, 153, 154, 155,
  2364. 156, 157, 158, 159, 160, 161, 162, 163, 164, 165,
  2365. 166, 167, -1, 169, 170, 3, 4, 5, 6, -1,
  2366. 8, 9, 10, 11, -1, -1, -1, -1, -1, -1,
  2367. -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
  2368. -1, -1, -1, -1, -1, -1, 16, 17, 18, 19,
  2369. 20, 21, 22, 23, -1, -1, -1, -1, -1, -1,
  2370. -1, -1, 50, 33, -1, -1, 54, -1, 56, 57,
  2371. 58, -1, -1, -1, 62, -1, -1, -1, 66, 67,
  2372. -1, -1, -1, -1, -1, -1, -1, 75, 76, 77,
  2373. -1, -1, -1, 81, -1, -1, 84, 85, 86, 87,
  2374. 88, 89, 90, 91, 92, 93, 94, 95, 96, 97,
  2375. 98, 99, 100, -1, -1, -1, -1, -1, -1, -1,
  2376. -1, 109, -1, 111, -1, 113, -1, -1, -1, -1,
  2377. 118, -1, 120, 121, 122, -1, -1, 125, -1, -1,
  2378. -1, -1, 130, -1, -1, 133, -1, -1, -1, 137,
  2379. 3, 4, 5, 6, 142, 8, 9, 10, 11, -1,
  2380. -1, -1, -1, -1, -1, -1, -1, 155, -1, -1,
  2381. 158, 159, 160, -1, -1, 163, -1, 165, 166, 167,
  2382. 150, 169, 152, 153, 154, 155, 156, 157, 158, 159,
  2383. 160, 161, 162, -1, 164, 165, 166, 50, 51, -1,
  2384. -1, 54, -1, 56, 57, 58, -1, -1, -1, 62,
  2385. -1, -1, -1, 66, 67, -1, -1, -1, -1, -1,
  2386. -1, -1, 75, 76, 77, -1, -1, -1, 81, -1,
  2387. -1, 84, 85, 86, 87, 88, 89, 90, 91, 92,
  2388. 93, 94, 95, 96, 97, 98, 99, 100, -1, -1,
  2389. -1, -1, -1, -1, -1, -1, 109, -1, 111, -1,
  2390. 113, -1, -1, -1, -1, 118, -1, 120, 121, 122,
  2391. -1, -1, 125, -1, -1, -1, -1, 130, -1, -1,
  2392. 133, -1, -1, -1, 137, 3, 4, 5, 6, 142,
  2393. 8, 9, 10, 11, -1, -1, -1, -1, -1, -1,
  2394. -1, -1, 155, -1, -1, 158, 159, 160, -1, -1,
  2395. 163, -1, 165, 166, -1, -1, 169, -1, -1, -1,
  2396. 16, 17, 18, 19, 20, 21, 22, 23, -1, -1,
  2397. -1, -1, 50, 51, -1, -1, 54, 33, 56, 57,
  2398. 58, -1, -1, -1, 62, -1, -1, -1, 66, 67,
  2399. -1, -1, -1, -1, -1, -1, -1, 75, 76, 77,
  2400. -1, -1, -1, 81, -1, -1, 84, 85, 86, 87,
  2401. 88, 89, 90, 91, 92, 93, 94, 95, 96, 97,
  2402. 98, 99, 100, -1, -1, -1, -1, -1, -1, -1,
  2403. -1, 109, -1, 111, -1, 113, -1, -1, -1, -1,
  2404. 118, -1, 120, 121, 122, -1, -1, 125, -1, -1,
  2405. -1, -1, 130, -1, -1, 133, -1, -1, -1, 137,
  2406. 3, 4, 5, 6, 142, 8, 9, 10, 11, -1,
  2407. -1, -1, -1, -1, -1, -1, -1, 155, -1, -1,
  2408. 158, 159, 160, -1, -1, 163, -1, 165, 166, -1,
  2409. -1, 169, -1, 149, -1, -1, 152, 153, 154, 155,
  2410. 156, 157, 158, 159, 160, 161, 162, 50, 164, 165,
  2411. 166, 54, -1, 56, 57, 58, -1, -1, -1, 62,
  2412. -1, -1, -1, 66, 67, -1, -1, -1, -1, -1,
  2413. -1, -1, 75, 76, 77, -1, -1, -1, 81, -1,
  2414. -1, 84, 85, 86, 87, 88, 89, 90, 91, 92,
  2415. 93, 94, 95, 96, 97, 98, 99, 100, -1, -1,
  2416. -1, -1, -1, -1, -1, -1, 109, -1, 111, -1,
  2417. 113, -1, -1, -1, -1, 118, -1, 120, 121, 122,
  2418. -1, -1, 125, -1, -1, -1, -1, 130, -1, -1,
  2419. 133, -1, -1, -1, 137, 3, 4, 5, 6, 142,
  2420. 8, 9, 10, 11, 147, -1, -1, -1, -1, -1,
  2421. -1, -1, 155, -1, -1, 158, 159, 160, -1, -1,
  2422. 163, -1, 165, 166, -1, -1, 169, -1, -1, -1,
  2423. 16, 17, 18, 19, 20, 21, 22, 23, -1, -1,
  2424. -1, -1, 50, -1, -1, -1, 54, 33, 56, 57,
  2425. 58, -1, -1, -1, 62, -1, -1, -1, 66, 67,
  2426. -1, -1, -1, -1, -1, -1, -1, 75, 76, 77,
  2427. -1, -1, -1, 81, -1, -1, 84, 85, 86, 87,
  2428. 88, 89, 90, 91, 92, 93, 94, 95, 96, 97,
  2429. 98, 99, 100, -1, -1, -1, -1, -1, -1, -1,
  2430. -1, 109, -1, 111, -1, 113, -1, -1, -1, -1,
  2431. 118, -1, 120, 121, 122, -1, -1, 125, -1, -1,
  2432. -1, -1, 130, -1, -1, 133, -1, -1, -1, 137,
  2433. 3, 4, 5, 6, 142, 8, 9, 10, 11, -1,
  2434. -1, -1, -1, -1, -1, -1, -1, 155, -1, -1,
  2435. 158, 159, 160, -1, -1, 163, -1, 165, 166, 167,
  2436. -1, 169, 148, -1, -1, -1, 152, 153, 154, 155,
  2437. 156, 157, 158, 159, 160, 161, 162, 50, 164, 165,
  2438. 166, 54, -1, 56, 57, 58, -1, -1, -1, 62,
  2439. -1, -1, -1, 66, 67, -1, -1, -1, -1, -1,
  2440. -1, -1, 75, 76, 77, -1, -1, -1, 81, -1,
  2441. -1, 84, 85, 86, 87, 88, 89, 90, 91, 92,
  2442. 93, 94, 95, 96, 97, 98, 99, 100, -1, -1,
  2443. -1, -1, -1, -1, -1, -1, 109, -1, 111, -1,
  2444. 113, -1, -1, -1, -1, 118, -1, 120, 121, 122,
  2445. -1, -1, 125, -1, -1, -1, -1, 130, -1, -1,
  2446. 133, -1, -1, -1, 137, 3, 4, 5, 6, 142,
  2447. 8, 9, 10, 11, 147, -1, -1, -1, -1, -1,
  2448. -1, -1, 155, -1, -1, 158, 159, 160, -1, -1,
  2449. 163, -1, 165, 166, -1, -1, 169, -1, -1, -1,
  2450. 16, 17, 18, 19, 20, 21, 22, 23, -1, -1,
  2451. -1, -1, 50, -1, -1, -1, 54, 33, 56, 57,
  2452. 58, -1, -1, -1, 62, -1, -1, -1, 66, 67,
  2453. -1, -1, -1, -1, -1, -1, -1, 75, 76, 77,
  2454. -1, -1, -1, 81, -1, -1, 84, 85, 86, 87,
  2455. 88, 89, 90, 91, 92, 93, 94, 95, 96, 97,
  2456. 98, 99, 100, -1, -1, -1, -1, -1, -1, -1,
  2457. -1, 109, -1, 111, -1, 113, -1, -1, -1, -1,
  2458. 118, -1, 120, 121, 122, -1, -1, 125, -1, -1,
  2459. -1, -1, 130, -1, -1, 133, -1, -1, -1, 137,
  2460. 3, 4, 5, 6, 142, 8, 9, 10, 11, -1,
  2461. -1, -1, -1, -1, -1, -1, -1, 155, -1, -1,
  2462. 158, 159, 160, -1, -1, 163, -1, 165, 166, 167,
  2463. -1, 169, -1, -1, 150, -1, 152, 153, 154, 155,
  2464. 156, 157, 158, 159, 160, 161, 162, 50, 164, 165,
  2465. 166, 54, -1, 56, 57, 58, -1, -1, -1, 62,
  2466. -1, -1, -1, 66, 67, -1, -1, -1, -1, -1,
  2467. -1, -1, 75, 76, 77, -1, -1, -1, 81, -1,
  2468. -1, 84, 85, 86, 87, 88, 89, 90, 91, 92,
  2469. 93, 94, 95, 96, 97, 98, 99, 100, -1, -1,
  2470. -1, -1, -1, -1, -1, -1, 109, -1, 111, -1,
  2471. 113, -1, -1, -1, -1, 118, -1, 120, 121, 122,
  2472. -1, -1, 125, -1, -1, -1, -1, 130, -1, -1,
  2473. 133, -1, -1, -1, 137, 3, 4, 5, 6, 142,
  2474. 8, 9, 10, 11, 12, -1, -1, 15, -1, -1,
  2475. -1, -1, 155, -1, -1, 158, 159, 160, -1, -1,
  2476. 163, -1, 165, 166, -1, -1, 169, 16, 17, 18,
  2477. 19, 20, 21, 22, 23, -1, -1, -1, -1, 47,
  2478. -1, -1, 50, 51, 33, -1, 54, -1, 56, 57,
  2479. 58, 59, 60, -1, 62, 63, -1, -1, 66, 67,
  2480. -1, -1, 70, -1, -1, -1, -1, 75, 76, 77,
  2481. -1, -1, -1, -1, -1, -1, 84, -1, -1, -1,
  2482. -1, -1, 16, 17, 18, 19, 20, 21, 22, 23,
  2483. -1, -1, 100, -1, -1, -1, -1, -1, -1, 33,
  2484. -1, 109, -1, 111, -1, 113, -1, -1, -1, 117,
  2485. 118, -1, 120, 121, 122, -1, -1, 125, 126, -1,
  2486. -1, -1, 130, -1, -1, 133, 134, 135, 136, 137,
  2487. -1, -1, 140, -1, 142, -1, 3, 4, 5, 6,
  2488. -1, 8, 9, 10, 11, 12, -1, 155, 15, -1,
  2489. 158, 159, -1, -1, -1, 163, -1, 165, -1, 148,
  2490. -1, 169, -1, 152, 153, 154, 155, 156, 157, 158,
  2491. 159, 160, 161, 162, -1, 164, 165, 166, 167, -1,
  2492. 47, -1, -1, 50, 51, -1, -1, 54, -1, 56,
  2493. 57, 58, 59, 60, -1, 62, 63, -1, -1, 66,
  2494. 67, -1, -1, 70, -1, -1, -1, -1, 75, 76,
  2495. 77, -1, -1, 17, -1, -1, -1, 84, 152, 153,
  2496. 154, 155, 156, 157, 158, 159, 160, 161, 162, -1,
  2497. 164, 165, 166, 100, -1, -1, -1, -1, -1, -1,
  2498. -1, -1, 109, 47, 111, -1, 113, -1, -1, -1,
  2499. 117, 118, -1, 120, 121, 122, 60, 61, 125, 126,
  2500. -1, -1, -1, 130, -1, -1, 133, 134, 135, 136,
  2501. 137, -1, 76, 140, -1, 142, 3, 4, 5, 6,
  2502. -1, 8, 9, 10, -1, -1, -1, -1, 155, -1,
  2503. -1, 158, 159, -1, -1, -1, 163, -1, 165, -1,
  2504. -1, -1, 169, 107, -1, -1, 110, -1, -1, 113,
  2505. -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
  2506. -1, -1, -1, 50, -1, 129, -1, -1, -1, -1,
  2507. -1, -1, -1, -1, -1, 62, -1, 141, -1, -1,
  2508. 67, 17, 18, 19, 20, 21, 22, 23, 75, 76,
  2509. -1, 155, -1, -1, 81, -1, -1, 33, 85, 86,
  2510. 87, 88, 89, 90, 91, 92, 93, 94, 95, 96,
  2511. 97, 98, 99, 16, 17, 18, 19, 20, 21, 22,
  2512. 23, -1, -1, -1, 111, -1, 113, -1, -1, -1,
  2513. 33, 118, -1, -1, -1, 122, -1, -1, 125, -1,
  2514. -1, -1, -1, 130, -1, -1, -1, -1, -1, -1,
  2515. -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
  2516. -1, -1, -1, -1, -1, -1, -1, -1, 155, -1,
  2517. -1, 158, 159, 160, 6, -1, 163, -1, 165, 166,
  2518. -1, -1, 169, -1, 16, 17, 18, 19, 20, 21,
  2519. 22, 23, -1, -1, -1, -1, -1, -1, -1, -1,
  2520. -1, 33, -1, 35, 36, 37, 38, 39, 40, 41,
  2521. 42, 43, 44, 45, 46, -1, -1, 153, 154, 155,
  2522. -1, -1, 158, 159, 160, 161, 162, -1, 164, 165,
  2523. 166, -1, -1, 65, -1, -1, -1, -1, -1, -1,
  2524. -1, -1, -1, -1, -1, -1, 10, 11, -1, 152,
  2525. 153, 154, 155, 156, 157, 158, 159, 160, 161, 162,
  2526. -1, 164, 165, 166, 167, -1, -1, -1, -1, -1,
  2527. -1, -1, -1, -1, -1, -1, -1, 109, -1, -1,
  2528. -1, -1, -1, -1, -1, -1, -1, 51, -1, -1,
  2529. 54, -1, 56, 57, 58, 59, -1, -1, -1, 63,
  2530. -1, -1, 66, -1, -1, -1, 70, -1, -1, -1,
  2531. -1, -1, -1, 77, -1, -1, 148, -1, -1, 151,
  2532. 84, 153, 154, 155, 156, 157, 158, 159, 160, 161,
  2533. 162, 163, -1, 165, 166, -1, 100, 169, 10, 11,
  2534. -1, -1, -1, -1, -1, -1, -1, -1, 112, -1,
  2535. -1, -1, -1, -1, -1, -1, 120, 121, -1, -1,
  2536. -1, -1, 126, -1, -1, -1, -1, -1, -1, -1,
  2537. 134, 135, 136, 137, -1, -1, 140, -1, 142, 51,
  2538. -1, -1, 54, -1, 56, 57, 58, 59, -1, -1,
  2539. -1, 63, -1, -1, 66, -1, -1, -1, 70, 163,
  2540. -1, -1, -1, -1, -1, 77, -1, -1, -1, -1,
  2541. -1, -1, 84, 16, 17, 18, 19, 20, 21, 22,
  2542. 23, -1, -1, -1, -1, -1, -1, -1, 100, -1,
  2543. 33, -1, -1, -1, -1, 10, 11, 12, -1, -1,
  2544. 112, -1, -1, -1, -1, -1, -1, -1, 120, 121,
  2545. -1, -1, -1, -1, 126, -1, -1, -1, -1, -1,
  2546. -1, -1, 134, 135, 136, 137, -1, -1, 140, -1,
  2547. 142, 16, 17, 18, 19, 20, 21, 22, 23, -1,
  2548. -1, -1, -1, -1, -1, -1, -1, -1, 33, 64,
  2549. -1, 163, 16, 17, 18, 19, 20, 21, 22, 23,
  2550. -1, 76, 77, -1, -1, -1, -1, -1, -1, 33,
  2551. 16, 17, 18, 19, 20, 21, 22, 23, -1, -1,
  2552. -1, -1, -1, -1, -1, -1, -1, 33, 16, 17,
  2553. 18, 19, 20, 21, 22, 23, -1, -1, 113, 114,
  2554. -1, 116, -1, -1, -1, 33, 121, -1, 123, 152,
  2555. 153, 154, 155, 156, 157, 158, 159, 160, 161, 162,
  2556. -1, 164, 165, 166, 167, 16, 17, 18, 19, 20,
  2557. 21, 22, 23, -1, -1, -1, -1, -1, -1, -1,
  2558. -1, -1, 33, 16, 17, 18, 19, 20, 21, 22,
  2559. 23, -1, -1, -1, -1, -1, -1, -1, -1, -1,
  2560. 33, -1, -1, -1, -1, -1, -1, 152, 153, 154,
  2561. 155, 156, 157, 158, 159, 160, 161, 162, -1, 164,
  2562. 165, 166, 167, -1, -1, -1, -1, -1, 152, 153,
  2563. 154, 155, 156, 157, 158, 159, 160, 161, 162, -1,
  2564. 164, 165, 166, 167, -1, -1, 152, 153, 154, 155,
  2565. 156, 157, 158, 159, 160, 161, 162, -1, 164, 165,
  2566. 166, 167, -1, -1, 152, 153, 154, 155, 156, 157,
  2567. 158, 159, 160, 161, 162, -1, 164, 165, 166, 167,
  2568. 16, 17, 18, 19, 20, 21, 22, 23, -1, -1,
  2569. -1, -1, -1, -1, -1, -1, -1, 33, -1, -1,
  2570. -1, 152, 153, 154, 155, 156, 157, 158, 159, 160,
  2571. 161, 162, -1, 164, 165, 166, 167, -1, -1, 152,
  2572. 153, 154, 155, 156, 157, 158, 159, 160, 161, 162,
  2573. -1, 164, 165, 166, 16, 17, 18, 19, 20, 21,
  2574. 22, 23, -1, -1, -1, -1, -1, -1, -1, -1,
  2575. -1, 33, -1, -1, -1, -1, -1, -1, -1, -1,
  2576. -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
  2577. -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
  2578. -1, -1, -1, -1, 0, -1, -1, -1, -1, -1,
  2579. -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
  2580. 18, 19, 20, 21, 22, 23, -1, -1, -1, -1,
  2581. -1, -1, -1, -1, 150, 33, 152, 153, 154, 155,
  2582. -1, -1, 158, 159, 160, 161, 162, -1, 164, 165,
  2583. 166, 47, -1, 49, -1, -1, 52, 53, -1, -1,
  2584. -1, -1, -1, -1, 60, 61, 18, 19, 20, 21,
  2585. 22, 23, -1, 69, -1, 71, 72, 73, 74, -1,
  2586. -1, 33, 78, -1, -1, -1, -1, 83, -1, -1,
  2587. 152, 153, 154, 155, -1, -1, 158, 159, 160, 161,
  2588. 162, -1, 164, 165, 166, 101, 102, 103, 104, 105,
  2589. 106, 107, 108, -1, -1, -1, -1, -1, 114, 115,
  2590. 116, 117, -1, -1, -1, -1, -1, 123, 124, 11,
  2591. 12, 127, 128, 15, -1, 17, 132, -1, -1, -1,
  2592. -1, -1, 138, 139, -1, 141, -1, -1, -1, -1,
  2593. -1, -1, -1, 149, -1, 153, 154, 155, 156, 157,
  2594. 158, 159, 160, 161, 162, 47, 164, 165, 166, 51,
  2595. -1, -1, 54, -1, 56, 57, 58, 59, 60, -1,
  2596. -1, 63, -1, -1, 66, -1, -1, -1, 70, -1,
  2597. -1, -1, -1, -1, -1, 77, 18, 19, 20, 21,
  2598. 22, 23, 84, 155, 156, 157, 158, 159, 160, 161,
  2599. 162, 33, 164, 165, 166, 10, 11, 12, 100, 18,
  2600. 19, 20, 21, 22, 23, -1, -1, -1, -1, -1,
  2601. -1, -1, -1, -1, 33, 117, -1, -1, 120, 121,
  2602. -1, -1, -1, -1, 126, -1, 18, 19, 20, 21,
  2603. 22, 23, 134, 135, 136, 137, -1, -1, 140, -1,
  2604. 142, 33, 18, 19, 20, 21, 22, 23, -1, 64,
  2605. -1, -1, -1, 155, -1, -1, -1, 33, 160, -1,
  2606. -1, 76, 77, -1, -1, -1, -1, -1, -1, -1,
  2607. -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
  2608. -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
  2609. 10, 11, 12, 108, -1, -1, -1, -1, 113, 114,
  2610. -1, 116, -1, -1, -1, -1, 121, -1, 123, -1,
  2611. -1, 153, 154, 155, -1, -1, 158, 159, 160, 161,
  2612. 162, -1, 164, 165, 166, -1, -1, 47, -1, 49,
  2613. -1, -1, -1, -1, -1, -1, -1, 156, 157, 158,
  2614. 159, 160, 161, 162, 64, 164, 165, 166, -1, -1,
  2615. -1, -1, -1, -1, -1, -1, 76, 77, -1, 6,
  2616. -1, -1, 154, 155, -1, -1, 158, 159, 160, 161,
  2617. 162, -1, 164, 165, 166, -1, 6, -1, -1, 155,
  2618. -1, -1, 158, 159, 160, 161, 162, -1, 164, 165,
  2619. 166, -1, -1, 113, 114, -1, 116, -1, -1, -1,
  2620. 47, 121, 49, 123, -1, -1, 53, -1, -1, -1,
  2621. -1, -1, -1, 60, 61, -1, -1, 47, 54, 49,
  2622. 56, 57, 58, 53, 71, 72, 73, 147, -1, -1,
  2623. 60, 61, -1, -1, -1, -1, 83, -1, -1, -1,
  2624. -1, 71, 72, 73, -1, -1, -1, -1, 84, -1,
  2625. -1, -1, -1, 83, 10, 11, 12, -1, -1, -1,
  2626. 107, -1, -1, -1, 100, -1, 10, 11, 12, -1,
  2627. 117, -1, -1, -1, -1, -1, 123, 107, -1, -1,
  2628. 127, 128, -1, -1, 120, 121, -1, 117, -1, -1,
  2629. -1, -1, 139, 123, 141, 10, 11, 12, 128, -1,
  2630. -1, 137, -1, -1, -1, -1, 142, 51, 64, 139,
  2631. 54, 141, 56, 57, 58, 59, 60, -1, -1, 63,
  2632. 76, 77, 66, -1, -1, -1, 70, -1, -1, 165,
  2633. -1, -1, -1, 77, -1, -1, 51, -1, -1, 54,
  2634. 84, 56, 57, 58, 59, 60, -1, -1, 63, -1,
  2635. -1, 66, -1, -1, -1, 70, 100, 113, 114, 115,
  2636. 116, -1, 77, -1, -1, 121, -1, 123, -1, 84,
  2637. -1, -1, -1, -1, -1, -1, 120, 121, 134, -1,
  2638. -1, -1, 126, 139, -1, 100, -1, 10, 11, 12,
  2639. 134, 135, 136, 137, -1, -1, 140, -1, 142, -1,
  2640. -1, -1, -1, -1, -1, 120, 121, -1, -1, -1,
  2641. -1, 126, -1, -1, -1, -1, 10, 11, 12, 134,
  2642. 135, 136, 137, -1, -1, 140, -1, 142, 51, -1,
  2643. -1, 54, -1, 56, 57, 58, 59, 60, -1, -1,
  2644. 63, -1, -1, 66, -1, -1, -1, 70, 10, 11,
  2645. 12, -1, -1, -1, 77, -1, -1, -1, -1, -1,
  2646. 54, 84, 56, 57, 58, 59, 60, -1, -1, -1,
  2647. -1, -1, 66, -1, -1, -1, -1, 100, -1, -1,
  2648. -1, -1, -1, 77, -1, -1, -1, -1, -1, -1,
  2649. 84, -1, 54, -1, 56, 57, 58, 120, 121, -1,
  2650. -1, -1, -1, 126, 66, -1, 100, -1, -1, -1,
  2651. -1, 134, 135, 136, 137, 77, -1, 140, -1, 142,
  2652. -1, -1, 84, -1, 11, 12, 120, 121, 15, -1,
  2653. -1, -1, -1, -1, -1, -1, -1, -1, 100, -1,
  2654. 134, -1, -1, 137, -1, -1, 140, -1, 142, -1,
  2655. -1, -1, -1, 11, 12, -1, -1, 15, 120, 121,
  2656. 47, -1, -1, -1, 51, -1, -1, 54, -1, 56,
  2657. 57, 58, 59, 60, -1, 137, 63, -1, 140, 66,
  2658. 142, -1, -1, 70, -1, -1, -1, -1, -1, 47,
  2659. 77, -1, -1, 51, -1, -1, 54, 84, 56, 57,
  2660. 58, 59, 60, -1, -1, 63, -1, -1, 66, -1,
  2661. -1, -1, 70, 100, -1, -1, -1, -1, -1, 77,
  2662. -1, -1, -1, -1, -1, -1, 84, -1, -1, -1,
  2663. 117, -1, -1, 120, 121, 10, 11, 12, -1, 126,
  2664. -1, -1, 100, -1, -1, 11, 12, 134, 135, 136,
  2665. 137, -1, -1, 140, -1, 142, -1, -1, -1, 117,
  2666. -1, -1, 120, 121, -1, -1, -1, -1, 126, 54,
  2667. -1, 56, 57, 58, 11, 12, 134, 135, 136, 137,
  2668. -1, 47, 140, -1, 142, 51, -1, -1, 54, 64,
  2669. 56, 57, 58, 59, 60, -1, -1, 63, -1, 84,
  2670. 66, 76, 77, -1, 70, -1, -1, -1, -1, -1,
  2671. -1, 77, -1, -1, 51, 100, -1, 54, 84, 56,
  2672. 57, 58, 59, 60, -1, -1, 63, -1, -1, 66,
  2673. -1, -1, -1, 70, 100, 120, 121, -1, 113, 114,
  2674. 77, 116, -1, -1, -1, -1, 121, 84, 123, -1,
  2675. -1, 117, 137, -1, 120, 121, -1, 142, -1, 134,
  2676. 126, 11, 12, 100, 139, -1, -1, -1, 134, 135,
  2677. 136, 137, -1, -1, 140, -1, 142, -1, -1, -1,
  2678. 165, -1, -1, 120, 121, 11, 12, -1, -1, 126,
  2679. -1, -1, -1, -1, -1, -1, -1, 134, 135, 136,
  2680. 137, 51, -1, 140, 54, 142, 56, 57, 58, 59,
  2681. -1, -1, -1, 63, -1, -1, 66, -1, -1, -1,
  2682. 70, -1, -1, -1, -1, 51, -1, 77, 54, -1,
  2683. 56, 57, 58, 59, 84, -1, -1, 63, -1, -1,
  2684. 66, -1, -1, -1, 70, -1, -1, -1, -1, -1,
  2685. 100, 77, -1, -1, -1, -1, -1, -1, 84, 10,
  2686. 11, 12, -1, -1, -1, -1, -1, 117, -1, -1,
  2687. 120, 121, 11, -1, 100, -1, 126, -1, -1, -1,
  2688. -1, -1, -1, -1, 134, 135, 136, 137, -1, -1,
  2689. 140, -1, 142, -1, 120, 121, -1, -1, -1, -1,
  2690. 126, 11, -1, -1, -1, -1, -1, -1, 134, 135,
  2691. 136, 137, 51, 64, 140, 54, 142, 56, 57, 58,
  2692. 59, 60, -1, -1, 63, 76, 77, 66, -1, -1,
  2693. -1, 70, -1, -1, -1, -1, -1, -1, 77, -1,
  2694. -1, 51, -1, -1, 54, 84, 56, 57, 58, 59,
  2695. 60, -1, -1, 63, -1, -1, 66, -1, -1, -1,
  2696. 70, 100, 113, 114, -1, 116, -1, 77, -1, -1,
  2697. 121, -1, 123, -1, 84, -1, -1, -1, -1, -1,
  2698. -1, 120, 121, 134, -1, -1, -1, 126, 11, -1,
  2699. 100, -1, -1, -1, -1, 134, 135, 136, 137, -1,
  2700. -1, 140, -1, 142, -1, -1, -1, -1, -1, -1,
  2701. 120, 121, 11, -1, -1, -1, 126, -1, -1, -1,
  2702. 10, 11, 12, -1, 134, 135, 136, 137, 51, -1,
  2703. 140, 54, 142, 56, 57, 58, 59, -1, -1, -1,
  2704. 63, -1, 54, 66, 56, 57, 58, 70, -1, -1,
  2705. -1, -1, 51, -1, 77, 54, -1, 56, 57, 58,
  2706. 59, 84, -1, -1, 63, -1, -1, 66, -1, -1,
  2707. -1, 70, 84, -1, 64, -1, -1, 100, 77, -1,
  2708. 10, 11, 12, -1, -1, 84, 76, 77, 100, -1,
  2709. -1, -1, -1, -1, 10, 11, 12, 120, 121, -1,
  2710. -1, 100, -1, 126, -1, -1, -1, -1, 120, 121,
  2711. -1, 134, 135, 136, 137, -1, -1, 140, -1, 142,
  2712. -1, 120, 121, 113, 114, 137, 116, 126, -1, -1,
  2713. 142, 121, -1, 123, 64, 134, 135, 136, 137, -1,
  2714. -1, 140, -1, 142, 134, -1, 76, 77, 64, 139,
  2715. -1, -1, -1, 165, -1, -1, -1, -1, -1, -1,
  2716. 76, 77, -1, -1, -1, -1, -1, -1, -1, 54,
  2717. -1, 56, 57, 58, -1, -1, -1, -1, -1, -1,
  2718. -1, 66, -1, 113, 114, -1, 116, -1, -1, -1,
  2719. -1, 121, -1, 123, -1, -1, -1, 113, 114, 84,
  2720. 116, -1, -1, -1, 134, 121, 47, 123, 49, 139,
  2721. -1, 52, 53, -1, -1, 100, -1, -1, -1, 60,
  2722. 61, -1, 138, -1, -1, -1, -1, -1, 69, -1,
  2723. 71, 72, 73, 74, -1, 120, 121, 78, -1, -1,
  2724. -1, -1, 83, -1, -1, -1, -1, -1, -1, -1,
  2725. -1, -1, 137, -1, -1, -1, -1, 142, -1, -1,
  2726. 101, 102, 103, 104, 105, 106, 107, 108, -1, -1,
  2727. -1, -1, -1, 114, 115, 116, 117, -1, -1, 47,
  2728. 165, 49, 123, 124, 52, 53, 127, 128, -1, -1,
  2729. -1, 132, 60, 61, -1, -1, -1, 138, 139, -1,
  2730. 141, 69, -1, 71, 72, 73, 74, -1, 149, -1,
  2731. 78, -1, -1, -1, -1, 83, -1, -1, -1, -1,
  2732. -1, -1, -1, -1, -1, -1, -1, 168, -1, -1,
  2733. -1, -1, -1, 101, 102, 103, 104, 105, 106, 107,
  2734. 108, -1, -1, -1, -1, -1, 114, 115, 116, 117,
  2735. -1, -1, 47, -1, 49, 123, 124, 52, 53, 127,
  2736. 128, -1, -1, -1, 132, 60, 61, -1, -1, -1,
  2737. 138, 139, -1, 141, 69, -1, 71, 72, 73, 74,
  2738. -1, 149, -1, 78, -1, -1, -1, -1, 83, -1,
  2739. -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
  2740. 168, -1, -1, -1, -1, -1, 101, 102, 103, 104,
  2741. 105, 106, 107, 108, -1, -1, -1, -1, -1, 114,
  2742. 115, 116, 117, -1, -1, 47, -1, 49, 123, 124,
  2743. 52, 53, 127, 128, -1, -1, -1, 132, 60, 61,
  2744. -1, -1, -1, 138, 139, -1, 141, 69, -1, 71,
  2745. 72, 73, 74, -1, 149, -1, 78, -1, -1, -1,
  2746. -1, 83, -1, -1, -1, -1, -1, -1, -1, -1,
  2747. -1, -1, -1, 168, -1, -1, -1, -1, -1, 101,
  2748. 102, 103, 104, 105, 106, 107, 108, -1, -1, -1,
  2749. -1, -1, 114, 115, 116, 117, -1, -1, 47, -1,
  2750. 49, 123, 124, 52, 53, 127, 128, -1, -1, -1,
  2751. 132, 60, 61, -1, -1, -1, 138, 139, -1, 141,
  2752. 69, -1, 71, 72, 73, 74, -1, 149, -1, 78,
  2753. -1, -1, -1, -1, 83, -1, -1, -1, -1, -1,
  2754. -1, -1, -1, -1, -1, -1, 168, -1, -1, -1,
  2755. -1, -1, 101, 102, 103, 104, 105, 106, 107, 108,
  2756. -1, -1, -1, -1, -1, 114, 115, 116, 117, -1,
  2757. -1, 47, -1, 49, 123, 124, 52, 53, 127, 128,
  2758. -1, -1, -1, 132, 60, 61, -1, -1, -1, 138,
  2759. 139, -1, 141, 69, -1, 71, 72, 73, 74, -1,
  2760. 149, -1, 78, -1, -1, -1, -1, 83, -1, -1,
  2761. -1, -1, -1, -1, -1, -1, -1, -1, -1, 168,
  2762. -1, -1, -1, -1, -1, 101, 102, 103, 104, 105,
  2763. 106, 107, 108, -1, -1, -1, -1, -1, 114, 115,
  2764. 116, 117, -1, -1, 47, -1, 49, 123, 124, 52,
  2765. 53, 127, 128, -1, -1, -1, 132, 60, 61, -1,
  2766. -1, -1, 138, 139, -1, 141, 69, -1, 71, 72,
  2767. 73, 74, -1, 149, -1, 78, -1, -1, -1, -1,
  2768. 83, -1, -1, 10, 11, 12, -1, -1, 15, 10,
  2769. 11, 12, 168, -1, -1, -1, -1, -1, 101, 102,
  2770. 103, 104, 105, 106, 107, 108, -1, -1, -1, -1,
  2771. -1, 114, 115, 116, 117, -1, -1, -1, -1, -1,
  2772. 123, 124, -1, -1, 127, 128, 47, -1, 49, 132,
  2773. -1, -1, -1, -1, -1, 138, 139, 64, 141, -1,
  2774. -1, -1, -1, 64, -1, 47, 149, 49, -1, 76,
  2775. 77, 53, -1, -1, -1, 76, 77, -1, 60, 61,
  2776. -1, -1, -1, -1, -1, 168, -1, -1, -1, 71,
  2777. 72, 73, -1, -1, -1, -1, 78, -1, -1, -1,
  2778. -1, 83, -1, -1, -1, -1, 113, 114, -1, 116,
  2779. -1, -1, 113, 114, 121, 116, 123, -1, -1, -1,
  2780. 121, -1, 123, -1, -1, 107, -1, -1, -1, -1,
  2781. -1, -1, -1, -1, -1, 117, -1, -1, -1, -1,
  2782. -1, 123, -1, -1, -1, -1, 128, -1, -1, -1,
  2783. -1, -1, -1, -1, -1, -1, 138, 139, 47, 141,
  2784. 49, -1, -1, 52, 53, -1, -1, -1, -1, -1,
  2785. -1, 60, 61, -1, 156, -1, -1, -1, -1, -1,
  2786. 69, -1, 71, 72, 73, 74, -1, -1, -1, 78,
  2787. -1, -1, -1, -1, 83, -1, -1, -1, -1, -1,
  2788. -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
  2789. -1, -1, 101, 102, 103, 104, 105, 106, 107, 108,
  2790. -1, -1, -1, -1, -1, 114, 115, 116, 117, -1,
  2791. -1, 47, -1, 49, 123, 124, -1, 53, 127, 128,
  2792. -1, -1, -1, 132, 60, 61, -1, -1, -1, 138,
  2793. 139, -1, 141, -1, -1, 71, 72, 73, 47, -1,
  2794. 49, -1, 78, -1, 53, -1, -1, 83, -1, -1,
  2795. -1, 60, 61, 47, -1, 49, -1, -1, -1, 53,
  2796. -1, -1, 71, 72, 73, -1, 60, 61, -1, -1,
  2797. -1, 107, -1, -1, 83, -1, -1, 71, 72, 73,
  2798. -1, 117, -1, -1, -1, -1, -1, 123, -1, 83,
  2799. -1, 127, 128, -1, -1, -1, -1, -1, 107, 108,
  2800. -1, -1, 138, 139, -1, 141, -1, -1, 117, -1,
  2801. -1, -1, -1, 107, 123, -1, -1, -1, -1, 128,
  2802. -1, -1, -1, 117, -1, -1, -1, -1, -1, 123,
  2803. 139, -1, 141, -1, 128, -1, -1, -1, -1, -1,
  2804. -1, -1, -1, -1, -1, 139, -1, 141
  2805. };
  2806. /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
  2807. symbol of state STATE-NUM. */
  2808. static const yytype_uint16 yystos[] =
  2809. {
  2810. 0, 144, 145, 146, 172, 173, 280, 3, 4, 5,
  2811. 6, 8, 9, 10, 11, 50, 54, 56, 57, 58,
  2812. 62, 66, 67, 75, 76, 77, 81, 84, 85, 86,
  2813. 87, 88, 89, 90, 91, 92, 93, 94, 95, 96,
  2814. 97, 98, 99, 100, 109, 111, 113, 118, 120, 121,
  2815. 122, 125, 130, 133, 137, 142, 155, 158, 159, 160,
  2816. 163, 165, 166, 169, 270, 271, 279, 11, 12, 51,
  2817. 54, 56, 57, 58, 59, 60, 63, 66, 70, 77,
  2818. 84, 100, 120, 121, 126, 134, 135, 136, 137, 140,
  2819. 142, 232, 233, 237, 239, 241, 247, 248, 252, 253,
  2820. 258, 259, 260, 261, 0, 47, 49, 52, 53, 60,
  2821. 61, 69, 71, 72, 73, 74, 78, 83, 101, 102,
  2822. 103, 104, 105, 106, 107, 108, 114, 115, 116, 117,
  2823. 123, 124, 127, 128, 132, 138, 139, 141, 149, 176,
  2824. 178, 179, 181, 184, 203, 254, 257, 280, 147, 165,
  2825. 165, 165, 165, 165, 165, 156, 165, 156, 165, 165,
  2826. 165, 165, 165, 165, 165, 165, 165, 165, 165, 165,
  2827. 165, 165, 165, 165, 165, 165, 165, 11, 51, 63,
  2828. 134, 135, 235, 252, 253, 258, 156, 165, 165, 15,
  2829. 165, 156, 165, 165, 165, 270, 270, 270, 270, 270,
  2830. 11, 54, 56, 57, 58, 66, 77, 84, 100, 120,
  2831. 121, 137, 142, 237, 268, 270, 10, 11, 12, 64,
  2832. 76, 77, 113, 114, 116, 121, 123, 151, 155, 160,
  2833. 274, 275, 277, 280, 270, 16, 17, 18, 19, 20,
  2834. 21, 22, 23, 33, 152, 153, 154, 155, 156, 157,
  2835. 158, 159, 160, 161, 162, 164, 165, 166, 6, 8,
  2836. 232, 233, 165, 59, 126, 66, 100, 259, 259, 259,
  2837. 277, 165, 259, 13, 15, 17, 60, 141, 155, 160,
  2838. 165, 230, 231, 280, 231, 147, 10, 11, 12, 113,
  2839. 150, 278, 238, 280, 138, 182, 183, 277, 165, 72,
  2840. 83, 181, 181, 181, 181, 6, 181, 203, 181, 150,
  2841. 180, 108, 181, 165, 165, 165, 165, 165, 165, 181,
  2842. 147, 277, 150, 150, 150, 181, 181, 165, 179, 181,
  2843. 184, 204, 181, 181, 188, 108, 277, 181, 181, 10,
  2844. 11, 51, 63, 112, 134, 135, 147, 163, 191, 194,
  2845. 234, 236, 239, 241, 247, 252, 253, 258, 267, 268,
  2846. 280, 267, 237, 267, 267, 267, 267, 237, 267, 237,
  2847. 267, 237, 267, 237, 237, 237, 237, 237, 237, 237,
  2848. 237, 237, 237, 237, 237, 237, 237, 237, 267, 165,
  2849. 277, 165, 165, 277, 238, 237, 267, 267, 165, 10,
  2850. 237, 237, 237, 270, 267, 267, 167, 148, 167, 277,
  2851. 277, 148, 170, 151, 220, 280, 270, 270, 270, 270,
  2852. 270, 270, 270, 270, 270, 270, 270, 270, 270, 270,
  2853. 270, 270, 270, 270, 270, 270, 270, 167, 268, 270,
  2854. 231, 231, 51, 270, 237, 160, 277, 13, 15, 17,
  2855. 60, 141, 155, 160, 230, 280, 230, 231, 230, 231,
  2856. 230, 230, 15, 17, 47, 60, 117, 155, 160, 215,
  2857. 216, 225, 232, 233, 280, 166, 250, 251, 280, 11,
  2858. 249, 259, 150, 10, 11, 12, 47, 49, 113, 147,
  2859. 277, 278, 277, 48, 148, 165, 11, 234, 270, 181,
  2860. 178, 147, 277, 277, 277, 277, 277, 277, 277, 173,
  2861. 147, 270, 156, 10, 11, 194, 234, 236, 277, 149,
  2862. 151, 165, 165, 165, 60, 232, 277, 165, 177, 277,
  2863. 186, 147, 149, 151, 222, 149, 185, 277, 278, 238,
  2864. 168, 167, 167, 167, 167, 167, 167, 157, 167, 157,
  2865. 167, 167, 167, 167, 148, 167, 148, 167, 148, 167,
  2866. 167, 167, 167, 167, 167, 167, 167, 167, 167, 167,
  2867. 270, 237, 267, 277, 157, 167, 167, 277, 167, 167,
  2868. 157, 167, 167, 167, 167, 270, 270, 15, 155, 275,
  2869. 165, 200, 280, 270, 150, 167, 170, 167, 167, 167,
  2870. 230, 160, 277, 230, 230, 230, 230, 230, 166, 230,
  2871. 182, 117, 232, 233, 225, 230, 230, 167, 15, 148,
  2872. 13, 17, 60, 141, 155, 160, 165, 228, 278, 280,
  2873. 13, 15, 17, 60, 141, 155, 160, 165, 229, 266,
  2874. 270, 280, 277, 168, 249, 182, 165, 240, 242, 150,
  2875. 181, 182, 3, 4, 5, 9, 10, 15, 50, 62,
  2876. 67, 75, 76, 109, 111, 113, 118, 122, 125, 130,
  2877. 133, 155, 158, 159, 163, 165, 169, 217, 218, 225,
  2878. 226, 272, 273, 279, 280, 167, 167, 173, 147, 148,
  2879. 148, 148, 148, 148, 148, 168, 255, 148, 167, 10,
  2880. 11, 12, 59, 60, 134, 205, 206, 207, 208, 209,
  2881. 258, 280, 165, 222, 189, 149, 237, 192, 13, 160,
  2882. 193, 51, 270, 232, 13, 17, 60, 141, 155, 160,
  2883. 227, 278, 280, 237, 173, 165, 147, 149, 150, 151,
  2884. 221, 262, 263, 64, 65, 147, 270, 13, 17, 60,
  2885. 112, 141, 155, 160, 165, 187, 210, 212, 278, 150,
  2886. 277, 165, 165, 237, 237, 237, 167, 167, 167, 165,
  2887. 167, 165, 220, 215, 17, 33, 47, 60, 61, 76,
  2888. 107, 110, 113, 129, 141, 155, 213, 280, 270, 230,
  2889. 266, 167, 48, 232, 233, 228, 229, 167, 167, 200,
  2890. 15, 225, 160, 228, 228, 228, 228, 228, 228, 166,
  2891. 220, 160, 277, 229, 229, 229, 229, 229, 229, 166,
  2892. 220, 170, 148, 151, 48, 234, 270, 173, 76, 243,
  2893. 280, 183, 165, 156, 156, 235, 156, 15, 165, 156,
  2894. 165, 270, 270, 270, 270, 237, 268, 270, 167, 15,
  2895. 148, 16, 17, 18, 19, 20, 21, 22, 23, 33,
  2896. 152, 153, 154, 155, 156, 157, 158, 159, 160, 161,
  2897. 162, 164, 165, 166, 181, 181, 168, 256, 10, 10,
  2898. 10, 10, 10, 10, 173, 279, 149, 209, 157, 148,
  2899. 15, 277, 13, 17, 60, 141, 155, 160, 165, 228,
  2900. 229, 190, 212, 149, 215, 160, 210, 215, 167, 167,
  2901. 227, 160, 227, 227, 227, 227, 227, 165, 166, 167,
  2902. 168, 195, 262, 174, 175, 277, 64, 65, 168, 264,
  2903. 280, 149, 149, 147, 223, 224, 270, 280, 149, 160,
  2904. 210, 210, 6, 16, 17, 18, 19, 20, 21, 22,
  2905. 23, 33, 35, 36, 37, 38, 39, 40, 41, 42,
  2906. 43, 44, 45, 46, 65, 109, 148, 151, 153, 154,
  2907. 155, 156, 157, 158, 159, 160, 161, 162, 163, 165,
  2908. 166, 169, 201, 210, 210, 210, 210, 150, 165, 166,
  2909. 213, 151, 220, 222, 249, 268, 268, 167, 167, 167,
  2910. 268, 268, 167, 60, 235, 182, 165, 147, 170, 165,
  2911. 225, 228, 229, 220, 220, 165, 165, 213, 228, 167,
  2912. 266, 229, 167, 266, 270, 167, 167, 168, 150, 244,
  2913. 245, 280, 237, 237, 237, 165, 237, 165, 10, 237,
  2914. 237, 237, 270, 167, 167, 15, 226, 270, 270, 270,
  2915. 270, 270, 270, 270, 270, 270, 270, 270, 270, 270,
  2916. 270, 270, 270, 270, 270, 270, 270, 270, 167, 268,
  2917. 270, 173, 148, 148, 167, 148, 214, 280, 148, 148,
  2918. 148, 168, 167, 228, 229, 179, 184, 202, 203, 208,
  2919. 277, 151, 160, 151, 219, 280, 220, 222, 167, 210,
  2920. 167, 167, 165, 227, 198, 266, 215, 168, 147, 148,
  2921. 147, 165, 149, 149, 3, 4, 5, 6, 7, 8,
  2922. 9, 10, 11, 12, 13, 15, 16, 17, 18, 19,
  2923. 20, 21, 22, 23, 24, 25, 33, 34, 35, 36,
  2924. 37, 38, 39, 40, 41, 42, 43, 44, 45, 46,
  2925. 47, 48, 49, 50, 51, 54, 55, 56, 57, 58,
  2926. 59, 60, 61, 62, 63, 64, 65, 66, 67, 68,
  2927. 70, 72, 73, 74, 75, 76, 77, 78, 79, 80,
  2928. 82, 83, 84, 100, 107, 108, 109, 111, 112, 113,
  2929. 114, 115, 116, 117, 118, 119, 120, 121, 122, 123,
  2930. 124, 125, 126, 127, 128, 129, 130, 131, 132, 133,
  2931. 134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
  2932. 147, 148, 149, 150, 151, 152, 153, 154, 155, 156,
  2933. 157, 158, 159, 160, 161, 162, 163, 164, 165, 166,
  2934. 167, 169, 170, 265, 223, 168, 148, 210, 10, 167,
  2935. 170, 167, 4, 211, 266, 270, 148, 167, 167, 167,
  2936. 167, 200, 235, 231, 48, 167, 277, 262, 215, 220,
  2937. 220, 215, 215, 165, 170, 165, 170, 148, 114, 115,
  2938. 116, 134, 139, 246, 276, 277, 147, 148, 167, 157,
  2939. 157, 267, 157, 277, 167, 167, 157, 167, 167, 270,
  2940. 150, 167, 170, 168, 10, 10, 149, 10, 167, 10,
  2941. 10, 10, 149, 219, 237, 50, 62, 67, 118, 122,
  2942. 125, 155, 158, 159, 160, 163, 165, 169, 269, 271,
  2943. 148, 200, 167, 165, 200, 199, 215, 170, 167, 262,
  2944. 175, 267, 267, 264, 168, 147, 270, 217, 170, 187,
  2945. 213, 231, 15, 167, 168, 167, 167, 167, 215, 215,
  2946. 139, 276, 139, 276, 139, 276, 277, 114, 115, 116,
  2947. 15, 173, 246, 165, 165, 167, 165, 167, 165, 270,
  2948. 167, 148, 167, 148, 149, 148, 167, 167, 148, 167,
  2949. 165, 156, 156, 156, 15, 165, 156, 269, 269, 269,
  2950. 269, 269, 237, 268, 269, 16, 17, 18, 19, 20,
  2951. 21, 22, 23, 33, 152, 153, 154, 155, 158, 159,
  2952. 160, 161, 162, 164, 165, 166, 190, 165, 196, 215,
  2953. 167, 200, 168, 168, 167, 168, 223, 167, 147, 167,
  2954. 200, 200, 200, 167, 167, 276, 276, 276, 276, 276,
  2955. 276, 168, 268, 268, 268, 268, 149, 10, 149, 10,
  2956. 10, 149, 149, 10, 149, 237, 237, 237, 237, 165,
  2957. 10, 237, 237, 167, 167, 269, 269, 269, 269, 269,
  2958. 269, 269, 269, 269, 269, 269, 269, 269, 269, 269,
  2959. 269, 269, 269, 269, 167, 268, 270, 197, 215, 167,
  2960. 200, 15, 168, 200, 262, 213, 213, 213, 200, 200,
  2961. 167, 167, 167, 167, 148, 214, 167, 148, 148, 167,
  2962. 167, 157, 157, 157, 277, 167, 167, 157, 269, 150,
  2963. 167, 170, 215, 167, 200, 168, 10, 167, 149, 10,
  2964. 10, 149, 165, 165, 165, 167, 165, 269, 167, 200,
  2965. 149, 167, 148, 167, 268, 268, 268, 268, 200, 213,
  2966. 149, 10, 149, 167, 167, 167, 167, 213, 167, 149
  2967. };
  2968. /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
  2969. static const yytype_uint16 yyr1[] =
  2970. {
  2971. 0, 171, 172, 172, 172, 173, 173, 173, 174, 174,
  2972. 175, 175, 175, 177, 176, 178, 178, 178, 178, 178,
  2973. 178, 178, 178, 178, 178, 178, 178, 178, 178, 178,
  2974. 178, 178, 178, 178, 178, 178, 178, 178, 178, 178,
  2975. 178, 178, 180, 179, 181, 181, 181, 181, 181, 181,
  2976. 181, 181, 181, 181, 181, 181, 181, 181, 181, 181,
  2977. 181, 181, 182, 182, 183, 183, 183, 185, 184, 184,
  2978. 186, 184, 184, 184, 187, 187, 189, 188, 188, 190,
  2979. 190, 192, 191, 193, 191, 195, 194, 196, 194, 197,
  2980. 194, 198, 194, 199, 194, 194, 200, 200, 200, 200,
  2981. 200, 200, 200, 200, 200, 200, 200, 200, 200, 200,
  2982. 201, 201, 201, 201, 201, 201, 201, 201, 201, 201,
  2983. 201, 201, 201, 201, 201, 201, 201, 201, 201, 201,
  2984. 201, 201, 201, 201, 201, 201, 201, 201, 201, 201,
  2985. 201, 201, 201, 201, 201, 201, 201, 201, 201, 202,
  2986. 202, 202, 203, 204, 203, 203, 203, 205, 205, 206,
  2987. 206, 207, 207, 208, 208, 208, 208, 208, 208, 208,
  2988. 208, 208, 209, 209, 209, 209, 210, 210, 210, 210,
  2989. 210, 210, 210, 210, 210, 210, 210, 211, 210, 212,
  2990. 212, 213, 213, 213, 214, 214, 215, 215, 215, 215,
  2991. 215, 216, 216, 217, 217, 217, 217, 217, 218, 218,
  2992. 219, 219, 220, 220, 221, 221, 221, 221, 221, 222,
  2993. 222, 222, 222, 222, 222, 223, 223, 223, 224, 224,
  2994. 224, 224, 225, 225, 225, 225, 225, 225, 225, 225,
  2995. 226, 226, 227, 227, 227, 227, 227, 227, 227, 227,
  2996. 227, 228, 228, 228, 228, 228, 228, 228, 228, 228,
  2997. 228, 228, 229, 229, 229, 229, 229, 229, 229, 229,
  2998. 229, 229, 229, 230, 230, 230, 230, 230, 230, 230,
  2999. 230, 230, 230, 231, 231, 231, 231, 231, 231, 231,
  3000. 231, 231, 231, 231, 231, 231, 231, 232, 232, 232,
  3001. 232, 232, 232, 232, 232, 232, 232, 232, 232, 233,
  3002. 234, 234, 234, 234, 234, 234, 234, 234, 234, 234,
  3003. 234, 234, 234, 235, 235, 235, 235, 235, 235, 235,
  3004. 235, 236, 236, 237, 237, 237, 237, 238, 238, 238,
  3005. 238, 240, 239, 242, 241, 243, 243, 244, 244, 245,
  3006. 245, 246, 246, 246, 246, 246, 246, 246, 246, 246,
  3007. 246, 247, 248, 248, 248, 248, 249, 249, 250, 250,
  3008. 250, 251, 251, 251, 252, 252, 252, 253, 253, 253,
  3009. 255, 254, 256, 254, 254, 254, 257, 257, 257, 258,
  3010. 258, 258, 259, 259, 259, 259, 259, 259, 259, 259,
  3011. 259, 259, 259, 259, 259, 259, 260, 260, 260, 261,
  3012. 263, 262, 264, 264, 265, 265, 265, 265, 265, 265,
  3013. 265, 265, 265, 265, 265, 265, 265, 265, 265, 265,
  3014. 265, 265, 265, 265, 265, 265, 265, 265, 265, 265,
  3015. 265, 265, 265, 265, 265, 265, 265, 265, 265, 265,
  3016. 265, 265, 265, 265, 265, 265, 265, 265, 265, 265,
  3017. 265, 265, 265, 265, 265, 265, 265, 265, 265, 265,
  3018. 265, 265, 265, 265, 265, 265, 265, 265, 265, 265,
  3019. 265, 265, 265, 265, 265, 265, 265, 265, 265, 265,
  3020. 265, 265, 265, 265, 265, 265, 265, 265, 265, 265,
  3021. 265, 265, 265, 265, 265, 265, 265, 265, 265, 265,
  3022. 265, 265, 265, 265, 265, 265, 265, 265, 265, 265,
  3023. 265, 265, 265, 265, 265, 265, 265, 265, 265, 265,
  3024. 265, 265, 265, 265, 265, 265, 265, 265, 265, 265,
  3025. 265, 265, 265, 266, 266, 267, 267, 268, 268, 269,
  3026. 269, 269, 269, 269, 269, 269, 269, 269, 269, 269,
  3027. 269, 269, 269, 269, 269, 269, 269, 269, 269, 269,
  3028. 269, 269, 269, 269, 269, 269, 269, 269, 269, 269,
  3029. 269, 269, 269, 269, 269, 269, 269, 269, 270, 270,
  3030. 270, 270, 270, 270, 270, 270, 270, 270, 270, 270,
  3031. 270, 270, 270, 270, 270, 270, 270, 270, 270, 270,
  3032. 270, 270, 270, 270, 270, 270, 270, 270, 270, 270,
  3033. 270, 270, 270, 270, 270, 270, 270, 270, 270, 270,
  3034. 270, 270, 270, 270, 270, 270, 270, 270, 270, 270,
  3035. 270, 270, 270, 270, 270, 270, 270, 271, 271, 271,
  3036. 271, 271, 271, 271, 271, 271, 271, 271, 271, 271,
  3037. 271, 271, 271, 271, 271, 271, 271, 271, 271, 271,
  3038. 271, 271, 271, 271, 271, 271, 271, 272, 272, 272,
  3039. 272, 272, 272, 272, 272, 272, 272, 272, 272, 272,
  3040. 272, 272, 272, 272, 272, 272, 272, 272, 272, 272,
  3041. 272, 272, 272, 272, 272, 272, 272, 272, 272, 272,
  3042. 272, 272, 272, 272, 272, 272, 272, 272, 272, 272,
  3043. 272, 273, 273, 273, 273, 273, 273, 273, 273, 273,
  3044. 273, 273, 274, 274, 274, 274, 274, 275, 275, 275,
  3045. 275, 276, 276, 276, 277, 277, 277, 277, 277, 277,
  3046. 277, 277, 277, 277, 277, 278, 278, 278, 278, 279,
  3047. 279, 279, 279, 280
  3048. };
  3049. /* YYR2[YYN] -- Number of symbols on the right hand side of rule YYN. */
  3050. static const yytype_uint8 yyr2[] =
  3051. {
  3052. 0, 2, 2, 2, 2, 1, 2, 2, 1, 3,
  3053. 4, 5, 4, 0, 5, 1, 1, 1, 1, 1,
  3054. 2, 1, 1, 2, 2, 2, 2, 8, 11, 9,
  3055. 11, 13, 15, 7, 9, 12, 9, 9, 13, 9,
  3056. 7, 5, 0, 3, 1, 2, 2, 3, 2, 2,
  3057. 2, 2, 2, 2, 2, 2, 2, 2, 2, 4,
  3058. 5, 5, 1, 3, 1, 4, 4, 0, 4, 3,
  3059. 0, 4, 3, 1, 2, 4, 0, 4, 3, 2,
  3060. 4, 0, 6, 0, 6, 0, 7, 0, 11, 0,
  3061. 12, 0, 8, 0, 9, 1, 1, 2, 2, 2,
  3062. 2, 2, 2, 2, 2, 2, 4, 5, 6, 4,
  3063. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3064. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3065. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3066. 1, 1, 1, 1, 1, 2, 2, 1, 1, 1,
  3067. 1, 1, 2, 0, 6, 2, 2, 1, 1, 1,
  3068. 3, 1, 1, 1, 2, 4, 2, 3, 3, 4,
  3069. 2, 3, 1, 1, 1, 1, 1, 2, 3, 2,
  3070. 2, 2, 2, 2, 3, 4, 3, 0, 6, 2,
  3071. 3, 1, 3, 4, 1, 2, 1, 1, 1, 3,
  3072. 2, 1, 3, 1, 1, 1, 3, 2, 1, 3,
  3073. 1, 2, 1, 2, 1, 3, 5, 3, 3, 1,
  3074. 3, 3, 3, 3, 4, 1, 1, 2, 1, 3,
  3075. 3, 5, 3, 4, 5, 3, 4, 5, 2, 4,
  3076. 1, 1, 1, 1, 2, 2, 2, 2, 2, 3,
  3077. 4, 1, 1, 2, 2, 2, 2, 2, 3, 4,
  3078. 7, 3, 1, 2, 2, 2, 2, 2, 2, 3,
  3079. 4, 7, 3, 1, 1, 2, 2, 2, 2, 2,
  3080. 2, 3, 4, 1, 1, 2, 2, 2, 2, 2,
  3081. 2, 3, 4, 5, 9, 9, 9, 1, 1, 2,
  3082. 1, 1, 1, 3, 4, 4, 4, 4, 1, 1,
  3083. 1, 1, 2, 1, 1, 1, 3, 4, 2, 4,
  3084. 4, 4, 1, 1, 1, 2, 3, 2, 4, 4,
  3085. 1, 1, 1, 2, 3, 2, 3, 1, 4, 5,
  3086. 5, 0, 6, 0, 9, 1, 1, 1, 1, 2,
  3087. 3, 1, 2, 2, 2, 3, 3, 3, 3, 3,
  3088. 3, 4, 3, 1, 4, 2, 1, 1, 1, 3,
  3089. 5, 1, 2, 4, 1, 2, 2, 1, 1, 1,
  3090. 0, 6, 0, 7, 4, 5, 3, 5, 4, 1,
  3091. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3092. 1, 1, 2, 2, 2, 2, 1, 1, 2, 1,
  3093. 0, 2, 1, 2, 1, 1, 1, 1, 1, 1,
  3094. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3095. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3096. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3097. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3098. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3099. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3100. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3101. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3102. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3103. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3104. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3105. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3106. 1, 1, 3, 1, 1, 1, 1, 1, 3, 1,
  3107. 4, 7, 7, 7, 7, 4, 4, 5, 4, 2,
  3108. 2, 2, 2, 2, 2, 3, 3, 3, 3, 3,
  3109. 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
  3110. 3, 5, 4, 4, 3, 3, 3, 3, 1, 4,
  3111. 7, 7, 7, 7, 4, 4, 4, 4, 4, 4,
  3112. 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
  3113. 5, 4, 2, 5, 4, 4, 2, 2, 2, 2,
  3114. 2, 2, 3, 3, 3, 3, 3, 3, 3, 3,
  3115. 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
  3116. 5, 4, 4, 3, 3, 3, 3, 1, 1, 1,
  3117. 1, 1, 1, 1, 1, 1, 1, 1, 8, 11,
  3118. 4, 4, 6, 4, 4, 6, 6, 4, 4, 4,
  3119. 4, 4, 4, 4, 4, 4, 4, 1, 4, 7,
  3120. 7, 7, 7, 4, 4, 5, 4, 2, 5, 4,
  3121. 4, 2, 2, 2, 2, 2, 3, 3, 3, 3,
  3122. 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
  3123. 3, 3, 3, 3, 5, 4, 4, 3, 3, 3,
  3124. 3, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3125. 1, 1, 1, 1, 1, 2, 4, 2, 3, 1,
  3126. 2, 1, 2, 2, 1, 1, 1, 1, 1, 1,
  3127. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  3128. 1, 2, 2, 0
  3129. };
  3130. #define yyerrok (yyerrstatus = 0)
  3131. #define yyclearin (yychar = YYEMPTY)
  3132. #define YYEMPTY (-2)
  3133. #define YYEOF 0
  3134. #define YYACCEPT goto yyacceptlab
  3135. #define YYABORT goto yyabortlab
  3136. #define YYERROR goto yyerrorlab
  3137. #define YYRECOVERING() (!!yyerrstatus)
  3138. #define YYBACKUP(Token, Value) \
  3139. do \
  3140. if (yychar == YYEMPTY) \
  3141. { \
  3142. yychar = (Token); \
  3143. yylval = (Value); \
  3144. YYPOPSTACK (yylen); \
  3145. yystate = *yyssp; \
  3146. goto yybackup; \
  3147. } \
  3148. else \
  3149. { \
  3150. yyerror (&yylloc, YY_("syntax error: cannot back up")); \
  3151. YYERROR; \
  3152. } \
  3153. while (0)
  3154. /* Error token number */
  3155. #define YYTERROR 1
  3156. #define YYERRCODE 256
  3157. /* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N].
  3158. If N is 0, then set CURRENT to the empty location which ends
  3159. the previous symbol: RHS[0] (always defined). */
  3160. #ifndef YYLLOC_DEFAULT
  3161. # define YYLLOC_DEFAULT(Current, Rhs, N) \
  3162. do \
  3163. if (N) \
  3164. { \
  3165. (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
  3166. (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \
  3167. (Current).last_line = YYRHSLOC (Rhs, N).last_line; \
  3168. (Current).last_column = YYRHSLOC (Rhs, N).last_column; \
  3169. } \
  3170. else \
  3171. { \
  3172. (Current).first_line = (Current).last_line = \
  3173. YYRHSLOC (Rhs, 0).last_line; \
  3174. (Current).first_column = (Current).last_column = \
  3175. YYRHSLOC (Rhs, 0).last_column; \
  3176. } \
  3177. while (0)
  3178. #endif
  3179. #define YYRHSLOC(Rhs, K) ((Rhs)[K])
  3180. /* Enable debugging if requested. */
  3181. #if YYDEBUG
  3182. # ifndef YYFPRINTF
  3183. # include <stdio.h> /* INFRINGES ON USER NAME SPACE */
  3184. # define YYFPRINTF fprintf
  3185. # endif
  3186. # define YYDPRINTF(Args) \
  3187. do { \
  3188. if (yydebug) \
  3189. YYFPRINTF Args; \
  3190. } while (0)
  3191. /* YY_LOCATION_PRINT -- Print the location on the stream.
  3192. This macro was not mandated originally: define only if we know
  3193. we won't break user code: when these are the locations we know. */
  3194. #ifndef YY_LOCATION_PRINT
  3195. # if defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL
  3196. /* Print *YYLOCP on YYO. Private, do not rely on its existence. */
  3197. YY_ATTRIBUTE_UNUSED
  3198. static unsigned
  3199. yy_location_print_ (FILE *yyo, YYLTYPE const * const yylocp)
  3200. {
  3201. unsigned res = 0;
  3202. int end_col = 0 != yylocp->last_column ? yylocp->last_column - 1 : 0;
  3203. if (0 <= yylocp->first_line)
  3204. {
  3205. res += YYFPRINTF (yyo, "%d", yylocp->first_line);
  3206. if (0 <= yylocp->first_column)
  3207. res += YYFPRINTF (yyo, ".%d", yylocp->first_column);
  3208. }
  3209. if (0 <= yylocp->last_line)
  3210. {
  3211. if (yylocp->first_line < yylocp->last_line)
  3212. {
  3213. res += YYFPRINTF (yyo, "-%d", yylocp->last_line);
  3214. if (0 <= end_col)
  3215. res += YYFPRINTF (yyo, ".%d", end_col);
  3216. }
  3217. else if (0 <= end_col && yylocp->first_column < end_col)
  3218. res += YYFPRINTF (yyo, "-%d", end_col);
  3219. }
  3220. return res;
  3221. }
  3222. # define YY_LOCATION_PRINT(File, Loc) \
  3223. yy_location_print_ (File, &(Loc))
  3224. # else
  3225. # define YY_LOCATION_PRINT(File, Loc) ((void) 0)
  3226. # endif
  3227. #endif
  3228. # define YY_SYMBOL_PRINT(Title, Type, Value, Location) \
  3229. do { \
  3230. if (yydebug) \
  3231. { \
  3232. YYFPRINTF (stderr, "%s ", Title); \
  3233. yy_symbol_print (stderr, \
  3234. Type, Value, Location); \
  3235. YYFPRINTF (stderr, "\n"); \
  3236. } \
  3237. } while (0)
  3238. /*----------------------------------------.
  3239. | Print this symbol's value on YYOUTPUT. |
  3240. `----------------------------------------*/
  3241. static void
  3242. yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, YYLTYPE const * const yylocationp)
  3243. {
  3244. FILE *yyo = yyoutput;
  3245. YYUSE (yyo);
  3246. YYUSE (yylocationp);
  3247. if (!yyvaluep)
  3248. return;
  3249. # ifdef YYPRINT
  3250. if (yytype < YYNTOKENS)
  3251. YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
  3252. # endif
  3253. YYUSE (yytype);
  3254. }
  3255. /*--------------------------------.
  3256. | Print this symbol on YYOUTPUT. |
  3257. `--------------------------------*/
  3258. static void
  3259. yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, YYLTYPE const * const yylocationp)
  3260. {
  3261. YYFPRINTF (yyoutput, "%s %s (",
  3262. yytype < YYNTOKENS ? "token" : "nterm", yytname[yytype]);
  3263. YY_LOCATION_PRINT (yyoutput, *yylocationp);
  3264. YYFPRINTF (yyoutput, ": ");
  3265. yy_symbol_value_print (yyoutput, yytype, yyvaluep, yylocationp);
  3266. YYFPRINTF (yyoutput, ")");
  3267. }
  3268. /*------------------------------------------------------------------.
  3269. | yy_stack_print -- Print the state stack from its BOTTOM up to its |
  3270. | TOP (included). |
  3271. `------------------------------------------------------------------*/
  3272. static void
  3273. yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop)
  3274. {
  3275. YYFPRINTF (stderr, "Stack now");
  3276. for (; yybottom <= yytop; yybottom++)
  3277. {
  3278. int yybot = *yybottom;
  3279. YYFPRINTF (stderr, " %d", yybot);
  3280. }
  3281. YYFPRINTF (stderr, "\n");
  3282. }
  3283. # define YY_STACK_PRINT(Bottom, Top) \
  3284. do { \
  3285. if (yydebug) \
  3286. yy_stack_print ((Bottom), (Top)); \
  3287. } while (0)
  3288. /*------------------------------------------------.
  3289. | Report that the YYRULE is going to be reduced. |
  3290. `------------------------------------------------*/
  3291. static void
  3292. yy_reduce_print (yytype_int16 *yyssp, YYSTYPE *yyvsp, YYLTYPE *yylsp, int yyrule)
  3293. {
  3294. unsigned long int yylno = yyrline[yyrule];
  3295. int yynrhs = yyr2[yyrule];
  3296. int yyi;
  3297. YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
  3298. yyrule - 1, yylno);
  3299. /* The symbols being reduced. */
  3300. for (yyi = 0; yyi < yynrhs; yyi++)
  3301. {
  3302. YYFPRINTF (stderr, " $%d = ", yyi + 1);
  3303. yy_symbol_print (stderr,
  3304. yystos[yyssp[yyi + 1 - yynrhs]],
  3305. &(yyvsp[(yyi + 1) - (yynrhs)])
  3306. , &(yylsp[(yyi + 1) - (yynrhs)]) );
  3307. YYFPRINTF (stderr, "\n");
  3308. }
  3309. }
  3310. # define YY_REDUCE_PRINT(Rule) \
  3311. do { \
  3312. if (yydebug) \
  3313. yy_reduce_print (yyssp, yyvsp, yylsp, Rule); \
  3314. } while (0)
  3315. /* Nonzero means print parse trace. It is left uninitialized so that
  3316. multiple parsers can coexist. */
  3317. int yydebug;
  3318. #else /* !YYDEBUG */
  3319. # define YYDPRINTF(Args)
  3320. # define YY_SYMBOL_PRINT(Title, Type, Value, Location)
  3321. # define YY_STACK_PRINT(Bottom, Top)
  3322. # define YY_REDUCE_PRINT(Rule)
  3323. #endif /* !YYDEBUG */
  3324. /* YYINITDEPTH -- initial size of the parser's stacks. */
  3325. #ifndef YYINITDEPTH
  3326. # define YYINITDEPTH 200
  3327. #endif
  3328. /* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
  3329. if the built-in stack extension method is used).
  3330. Do not make this value too large; the results are undefined if
  3331. YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH)
  3332. evaluated with infinite-precision integer arithmetic. */
  3333. #ifndef YYMAXDEPTH
  3334. # define YYMAXDEPTH 10000
  3335. #endif
  3336. #if YYERROR_VERBOSE
  3337. # ifndef yystrlen
  3338. # if defined __GLIBC__ && defined _STRING_H
  3339. # define yystrlen strlen
  3340. # else
  3341. /* Return the length of YYSTR. */
  3342. static YYSIZE_T
  3343. yystrlen (const char *yystr)
  3344. {
  3345. YYSIZE_T yylen;
  3346. for (yylen = 0; yystr[yylen]; yylen++)
  3347. continue;
  3348. return yylen;
  3349. }
  3350. # endif
  3351. # endif
  3352. # ifndef yystpcpy
  3353. # if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE
  3354. # define yystpcpy stpcpy
  3355. # else
  3356. /* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
  3357. YYDEST. */
  3358. static char *
  3359. yystpcpy (char *yydest, const char *yysrc)
  3360. {
  3361. char *yyd = yydest;
  3362. const char *yys = yysrc;
  3363. while ((*yyd++ = *yys++) != '\0')
  3364. continue;
  3365. return yyd - 1;
  3366. }
  3367. # endif
  3368. # endif
  3369. # ifndef yytnamerr
  3370. /* Copy to YYRES the contents of YYSTR after stripping away unnecessary
  3371. quotes and backslashes, so that it's suitable for yyerror. The
  3372. heuristic is that double-quoting is unnecessary unless the string
  3373. contains an apostrophe, a comma, or backslash (other than
  3374. backslash-backslash). YYSTR is taken from yytname. If YYRES is
  3375. null, do not copy; instead, return the length of what the result
  3376. would have been. */
  3377. static YYSIZE_T
  3378. yytnamerr (char *yyres, const char *yystr)
  3379. {
  3380. if (*yystr == '"')
  3381. {
  3382. YYSIZE_T yyn = 0;
  3383. char const *yyp = yystr;
  3384. for (;;)
  3385. switch (*++yyp)
  3386. {
  3387. case '\'':
  3388. case ',':
  3389. goto do_not_strip_quotes;
  3390. case '\\':
  3391. if (*++yyp != '\\')
  3392. goto do_not_strip_quotes;
  3393. /* Fall through. */
  3394. default:
  3395. if (yyres)
  3396. yyres[yyn] = *yyp;
  3397. yyn++;
  3398. break;
  3399. case '"':
  3400. if (yyres)
  3401. yyres[yyn] = '\0';
  3402. return yyn;
  3403. }
  3404. do_not_strip_quotes: ;
  3405. }
  3406. if (! yyres)
  3407. return yystrlen (yystr);
  3408. return yystpcpy (yyres, yystr) - yyres;
  3409. }
  3410. # endif
  3411. /* Copy into *YYMSG, which is of size *YYMSG_ALLOC, an error message
  3412. about the unexpected token YYTOKEN for the state stack whose top is
  3413. YYSSP.
  3414. Return 0 if *YYMSG was successfully written. Return 1 if *YYMSG is
  3415. not large enough to hold the message. In that case, also set
  3416. *YYMSG_ALLOC to the required number of bytes. Return 2 if the
  3417. required number of bytes is too large to store. */
  3418. static int
  3419. yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg,
  3420. yytype_int16 *yyssp, int yytoken)
  3421. {
  3422. YYSIZE_T yysize0 = yytnamerr (YY_NULLPTR, yytname[yytoken]);
  3423. YYSIZE_T yysize = yysize0;
  3424. enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
  3425. /* Internationalized format string. */
  3426. const char *yyformat = YY_NULLPTR;
  3427. /* Arguments of yyformat. */
  3428. char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
  3429. /* Number of reported tokens (one for the "unexpected", one per
  3430. "expected"). */
  3431. int yycount = 0;
  3432. /* There are many possibilities here to consider:
  3433. - If this state is a consistent state with a default action, then
  3434. the only way this function was invoked is if the default action
  3435. is an error action. In that case, don't check for expected
  3436. tokens because there are none.
  3437. - The only way there can be no lookahead present (in yychar) is if
  3438. this state is a consistent state with a default action. Thus,
  3439. detecting the absence of a lookahead is sufficient to determine
  3440. that there is no unexpected or expected token to report. In that
  3441. case, just report a simple "syntax error".
  3442. - Don't assume there isn't a lookahead just because this state is a
  3443. consistent state with a default action. There might have been a
  3444. previous inconsistent state, consistent state with a non-default
  3445. action, or user semantic action that manipulated yychar.
  3446. - Of course, the expected token list depends on states to have
  3447. correct lookahead information, and it depends on the parser not
  3448. to perform extra reductions after fetching a lookahead from the
  3449. scanner and before detecting a syntax error. Thus, state merging
  3450. (from LALR or IELR) and default reductions corrupt the expected
  3451. token list. However, the list is correct for canonical LR with
  3452. one exception: it will still contain any token that will not be
  3453. accepted due to an error action in a later state.
  3454. */
  3455. if (yytoken != YYEMPTY)
  3456. {
  3457. int yyn = yypact[*yyssp];
  3458. yyarg[yycount++] = yytname[yytoken];
  3459. if (!yypact_value_is_default (yyn))
  3460. {
  3461. /* Start YYX at -YYN if negative to avoid negative indexes in
  3462. YYCHECK. In other words, skip the first -YYN actions for
  3463. this state because they are default actions. */
  3464. int yyxbegin = yyn < 0 ? -yyn : 0;
  3465. /* Stay within bounds of both yycheck and yytname. */
  3466. int yychecklim = YYLAST - yyn + 1;
  3467. int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
  3468. int yyx;
  3469. for (yyx = yyxbegin; yyx < yyxend; ++yyx)
  3470. if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR
  3471. && !yytable_value_is_error (yytable[yyx + yyn]))
  3472. {
  3473. if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
  3474. {
  3475. yycount = 1;
  3476. yysize = yysize0;
  3477. break;
  3478. }
  3479. yyarg[yycount++] = yytname[yyx];
  3480. {
  3481. YYSIZE_T yysize1 = yysize + yytnamerr (YY_NULLPTR, yytname[yyx]);
  3482. if (! (yysize <= yysize1
  3483. && yysize1 <= YYSTACK_ALLOC_MAXIMUM))
  3484. return 2;
  3485. yysize = yysize1;
  3486. }
  3487. }
  3488. }
  3489. }
  3490. switch (yycount)
  3491. {
  3492. # define YYCASE_(N, S) \
  3493. case N: \
  3494. yyformat = S; \
  3495. break
  3496. YYCASE_(0, YY_("syntax error"));
  3497. YYCASE_(1, YY_("syntax error, unexpected %s"));
  3498. YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s"));
  3499. YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s"));
  3500. YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s"));
  3501. YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"));
  3502. # undef YYCASE_
  3503. }
  3504. {
  3505. YYSIZE_T yysize1 = yysize + yystrlen (yyformat);
  3506. if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM))
  3507. return 2;
  3508. yysize = yysize1;
  3509. }
  3510. if (*yymsg_alloc < yysize)
  3511. {
  3512. *yymsg_alloc = 2 * yysize;
  3513. if (! (yysize <= *yymsg_alloc
  3514. && *yymsg_alloc <= YYSTACK_ALLOC_MAXIMUM))
  3515. *yymsg_alloc = YYSTACK_ALLOC_MAXIMUM;
  3516. return 1;
  3517. }
  3518. /* Avoid sprintf, as that infringes on the user's name space.
  3519. Don't have undefined behavior even if the translation
  3520. produced a string with the wrong number of "%s"s. */
  3521. {
  3522. char *yyp = *yymsg;
  3523. int yyi = 0;
  3524. while ((*yyp = *yyformat) != '\0')
  3525. if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount)
  3526. {
  3527. yyp += yytnamerr (yyp, yyarg[yyi++]);
  3528. yyformat += 2;
  3529. }
  3530. else
  3531. {
  3532. yyp++;
  3533. yyformat++;
  3534. }
  3535. }
  3536. return 0;
  3537. }
  3538. #endif /* YYERROR_VERBOSE */
  3539. /*-----------------------------------------------.
  3540. | Release the memory associated to this symbol. |
  3541. `-----------------------------------------------*/
  3542. static void
  3543. yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep, YYLTYPE *yylocationp)
  3544. {
  3545. YYUSE (yyvaluep);
  3546. YYUSE (yylocationp);
  3547. if (!yymsg)
  3548. yymsg = "Deleting";
  3549. YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp);
  3550. YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
  3551. YYUSE (yytype);
  3552. YY_IGNORE_MAYBE_UNINITIALIZED_END
  3553. }
  3554. /*----------.
  3555. | yyparse. |
  3556. `----------*/
  3557. int
  3558. yyparse (void)
  3559. {
  3560. /* The lookahead symbol. */
  3561. int yychar;
  3562. /* The semantic value of the lookahead symbol. */
  3563. /* Default value used for initialization, for pacifying older GCCs
  3564. or non-GCC compilers. */
  3565. YY_INITIAL_VALUE (static YYSTYPE yyval_default;)
  3566. YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default);
  3567. /* Location data for the lookahead symbol. */
  3568. static YYLTYPE yyloc_default
  3569. # if defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL
  3570. = { 1, 1, 1, 1 }
  3571. # endif
  3572. ;
  3573. YYLTYPE yylloc = yyloc_default;
  3574. /* Number of syntax errors so far. */
  3575. int yynerrs;
  3576. int yystate;
  3577. /* Number of tokens to shift before error messages enabled. */
  3578. int yyerrstatus;
  3579. /* The stacks and their tools:
  3580. 'yyss': related to states.
  3581. 'yyvs': related to semantic values.
  3582. 'yyls': related to locations.
  3583. Refer to the stacks through separate pointers, to allow yyoverflow
  3584. to reallocate them elsewhere. */
  3585. /* The state stack. */
  3586. yytype_int16 yyssa[YYINITDEPTH];
  3587. yytype_int16 *yyss;
  3588. yytype_int16 *yyssp;
  3589. /* The semantic value stack. */
  3590. YYSTYPE yyvsa[YYINITDEPTH];
  3591. YYSTYPE *yyvs;
  3592. YYSTYPE *yyvsp;
  3593. /* The location stack. */
  3594. YYLTYPE yylsa[YYINITDEPTH];
  3595. YYLTYPE *yyls;
  3596. YYLTYPE *yylsp;
  3597. /* The locations where the error started and ended. */
  3598. YYLTYPE yyerror_range[3];
  3599. YYSIZE_T yystacksize;
  3600. int yyn;
  3601. int yyresult;
  3602. /* Lookahead token as an internal (translated) token number. */
  3603. int yytoken = 0;
  3604. /* The variables used to return semantic value and location from the
  3605. action routines. */
  3606. YYSTYPE yyval;
  3607. YYLTYPE yyloc;
  3608. #if YYERROR_VERBOSE
  3609. /* Buffer for error messages, and its allocated size. */
  3610. char yymsgbuf[128];
  3611. char *yymsg = yymsgbuf;
  3612. YYSIZE_T yymsg_alloc = sizeof yymsgbuf;
  3613. #endif
  3614. #define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N), yylsp -= (N))
  3615. /* The number of symbols on the RHS of the reduced rule.
  3616. Keep to zero when no symbol should be popped. */
  3617. int yylen = 0;
  3618. yyssp = yyss = yyssa;
  3619. yyvsp = yyvs = yyvsa;
  3620. yylsp = yyls = yylsa;
  3621. yystacksize = YYINITDEPTH;
  3622. YYDPRINTF ((stderr, "Starting parse\n"));
  3623. yystate = 0;
  3624. yyerrstatus = 0;
  3625. yynerrs = 0;
  3626. yychar = YYEMPTY; /* Cause a token to be read. */
  3627. yylsp[0] = yylloc;
  3628. goto yysetstate;
  3629. /*------------------------------------------------------------.
  3630. | yynewstate -- Push a new state, which is found in yystate. |
  3631. `------------------------------------------------------------*/
  3632. yynewstate:
  3633. /* In all cases, when you get here, the value and location stacks
  3634. have just been pushed. So pushing a state here evens the stacks. */
  3635. yyssp++;
  3636. yysetstate:
  3637. *yyssp = yystate;
  3638. if (yyss + yystacksize - 1 <= yyssp)
  3639. {
  3640. /* Get the current used size of the three stacks, in elements. */
  3641. YYSIZE_T yysize = yyssp - yyss + 1;
  3642. #ifdef yyoverflow
  3643. {
  3644. /* Give user a chance to reallocate the stack. Use copies of
  3645. these so that the &'s don't force the real ones into
  3646. memory. */
  3647. YYSTYPE *yyvs1 = yyvs;
  3648. yytype_int16 *yyss1 = yyss;
  3649. YYLTYPE *yyls1 = yyls;
  3650. /* Each stack pointer address is followed by the size of the
  3651. data in use in that stack, in bytes. This used to be a
  3652. conditional around just the two extra args, but that might
  3653. be undefined if yyoverflow is a macro. */
  3654. yyoverflow (YY_("memory exhausted"),
  3655. &yyss1, yysize * sizeof (*yyssp),
  3656. &yyvs1, yysize * sizeof (*yyvsp),
  3657. &yyls1, yysize * sizeof (*yylsp),
  3658. &yystacksize);
  3659. yyls = yyls1;
  3660. yyss = yyss1;
  3661. yyvs = yyvs1;
  3662. }
  3663. #else /* no yyoverflow */
  3664. # ifndef YYSTACK_RELOCATE
  3665. goto yyexhaustedlab;
  3666. # else
  3667. /* Extend the stack our own way. */
  3668. if (YYMAXDEPTH <= yystacksize)
  3669. goto yyexhaustedlab;
  3670. yystacksize *= 2;
  3671. if (YYMAXDEPTH < yystacksize)
  3672. yystacksize = YYMAXDEPTH;
  3673. {
  3674. yytype_int16 *yyss1 = yyss;
  3675. union yyalloc *yyptr =
  3676. (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
  3677. if (! yyptr)
  3678. goto yyexhaustedlab;
  3679. YYSTACK_RELOCATE (yyss_alloc, yyss);
  3680. YYSTACK_RELOCATE (yyvs_alloc, yyvs);
  3681. YYSTACK_RELOCATE (yyls_alloc, yyls);
  3682. # undef YYSTACK_RELOCATE
  3683. if (yyss1 != yyssa)
  3684. YYSTACK_FREE (yyss1);
  3685. }
  3686. # endif
  3687. #endif /* no yyoverflow */
  3688. yyssp = yyss + yysize - 1;
  3689. yyvsp = yyvs + yysize - 1;
  3690. yylsp = yyls + yysize - 1;
  3691. YYDPRINTF ((stderr, "Stack size increased to %lu\n",
  3692. (unsigned long int) yystacksize));
  3693. if (yyss + yystacksize - 1 <= yyssp)
  3694. YYABORT;
  3695. }
  3696. YYDPRINTF ((stderr, "Entering state %d\n", yystate));
  3697. if (yystate == YYFINAL)
  3698. YYACCEPT;
  3699. goto yybackup;
  3700. /*-----------.
  3701. | yybackup. |
  3702. `-----------*/
  3703. yybackup:
  3704. /* Do appropriate processing given the current state. Read a
  3705. lookahead token if we need one and don't already have one. */
  3706. /* First try to decide what to do without reference to lookahead token. */
  3707. yyn = yypact[yystate];
  3708. if (yypact_value_is_default (yyn))
  3709. goto yydefault;
  3710. /* Not known => get a lookahead token if don't already have one. */
  3711. /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */
  3712. if (yychar == YYEMPTY)
  3713. {
  3714. YYDPRINTF ((stderr, "Reading a token: "));
  3715. yychar = yylex (&yylval, &yylloc);
  3716. }
  3717. if (yychar <= YYEOF)
  3718. {
  3719. yychar = yytoken = YYEOF;
  3720. YYDPRINTF ((stderr, "Now at end of input.\n"));
  3721. }
  3722. else
  3723. {
  3724. yytoken = YYTRANSLATE (yychar);
  3725. YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
  3726. }
  3727. /* If the proper action on seeing token YYTOKEN is to reduce or to
  3728. detect an error, take that action. */
  3729. yyn += yytoken;
  3730. if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
  3731. goto yydefault;
  3732. yyn = yytable[yyn];
  3733. if (yyn <= 0)
  3734. {
  3735. if (yytable_value_is_error (yyn))
  3736. goto yyerrlab;
  3737. yyn = -yyn;
  3738. goto yyreduce;
  3739. }
  3740. /* Count tokens shifted since error; after three, turn off error
  3741. status. */
  3742. if (yyerrstatus)
  3743. yyerrstatus--;
  3744. /* Shift the lookahead token. */
  3745. YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
  3746. /* Discard the shifted token. */
  3747. yychar = YYEMPTY;
  3748. yystate = yyn;
  3749. YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
  3750. *++yyvsp = yylval;
  3751. YY_IGNORE_MAYBE_UNINITIALIZED_END
  3752. *++yylsp = yylloc;
  3753. goto yynewstate;
  3754. /*-----------------------------------------------------------.
  3755. | yydefault -- do the default action for the current state. |
  3756. `-----------------------------------------------------------*/
  3757. yydefault:
  3758. yyn = yydefact[yystate];
  3759. if (yyn == 0)
  3760. goto yyerrlab;
  3761. goto yyreduce;
  3762. /*-----------------------------.
  3763. | yyreduce -- Do a reduction. |
  3764. `-----------------------------*/
  3765. yyreduce:
  3766. /* yyn is the number of a rule to reduce with. */
  3767. yylen = yyr2[yyn];
  3768. /* If YYLEN is nonzero, implement the default value of the action:
  3769. '$$ = $1'.
  3770. Otherwise, the following line sets YYVAL to garbage.
  3771. This behavior is undocumented and Bison
  3772. users should not rely upon it. Assigning to YYVAL
  3773. unconditionally makes the parser a bit smaller, and it avoids a
  3774. GCC warning that YYVAL may be used uninitialized. */
  3775. yyval = yyvsp[1-yylen];
  3776. /* Default location. */
  3777. YYLLOC_DEFAULT (yyloc, (yylsp - yylen), yylen);
  3778. YY_REDUCE_PRINT (yyn);
  3779. switch (yyn)
  3780. {
  3781. case 3:
  3782. #line 452 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  3783. {
  3784. current_expr = (yyvsp[0].u.expr);
  3785. }
  3786. #line 4026 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  3787. break;
  3788. case 4:
  3789. #line 456 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  3790. {
  3791. current_type = (yyvsp[0].u.type);
  3792. }
  3793. #line 4034 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  3794. break;
  3795. case 10:
  3796. #line 474 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  3797. {
  3798. delete (yyvsp[-1].u.expr);
  3799. }
  3800. #line 4042 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  3801. break;
  3802. case 11:
  3803. #line 478 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  3804. {
  3805. delete (yyvsp[-2].u.expr);
  3806. }
  3807. #line 4050 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  3808. break;
  3809. case 12:
  3810. #line 482 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  3811. {
  3812. delete (yyvsp[-1].u.expr);
  3813. }
  3814. #line 4058 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  3815. break;
  3816. case 13:
  3817. #line 494 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  3818. {
  3819. push_storage_class((current_storage_class & ~CPPInstance::SC_c_binding) |
  3820. ((yyvsp[-1].u.integer) & CPPInstance::SC_c_binding));
  3821. }
  3822. #line 4067 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  3823. break;
  3824. case 14:
  3825. #line 499 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  3826. {
  3827. pop_storage_class();
  3828. }
  3829. #line 4075 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  3830. break;
  3831. case 21:
  3832. #line 512 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  3833. {
  3834. if (publish_nest_level != 0) {
  3835. yyerror("Unclosed __begin_publish", publish_loc);
  3836. publish_nest_level = 0;
  3837. current_scope->set_current_vis(V_public);
  3838. }
  3839. publish_previous = current_scope->get_current_vis();
  3840. publish_loc = (yylsp[0]);
  3841. publish_nest_level++;
  3842. current_scope->set_current_vis(V_published);
  3843. }
  3844. #line 4092 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  3845. break;
  3846. case 22:
  3847. #line 525 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  3848. {
  3849. if (publish_nest_level != 1) {
  3850. yyerror("Unmatched __end_publish", (yylsp[0]));
  3851. } else {
  3852. current_scope->set_current_vis(publish_previous);
  3853. }
  3854. publish_nest_level = 0;
  3855. }
  3856. #line 4105 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  3857. break;
  3858. case 23:
  3859. #line 534 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  3860. {
  3861. current_scope->set_current_vis(V_published);
  3862. }
  3863. #line 4113 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  3864. break;
  3865. case 24:
  3866. #line 538 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  3867. {
  3868. if (publish_nest_level > 0) {
  3869. current_scope->set_current_vis(V_published);
  3870. } else {
  3871. current_scope->set_current_vis(V_public);
  3872. }
  3873. }
  3874. #line 4125 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  3875. break;
  3876. case 25:
  3877. #line 546 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  3878. {
  3879. current_scope->set_current_vis(V_protected);
  3880. }
  3881. #line 4133 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  3882. break;
  3883. case 26:
  3884. #line 550 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  3885. {
  3886. current_scope->set_current_vis(V_private);
  3887. }
  3888. #line 4141 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  3889. break;
  3890. case 27:
  3891. #line 554 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  3892. {
  3893. CPPDeclaration *getter = (yyvsp[-3].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  3894. if (getter == nullptr || getter->get_subtype() != CPPDeclaration::ST_function_group) {
  3895. yyerror("Reference to non-existent or invalid getter: " + (yyvsp[-3].u.identifier)->get_fully_scoped_name(), (yylsp[-3]));
  3896. } else {
  3897. CPPMakeProperty *make_property = new CPPMakeProperty((yyvsp[-5].u.identifier), CPPMakeProperty::T_normal, current_scope, (yylsp[-7]).file);
  3898. make_property->_get_function = getter->as_function_group();
  3899. if ((yyvsp[-2].u.identifier) != nullptr) {
  3900. CPPDeclaration *setter = (yyvsp[-2].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  3901. if (setter == nullptr || setter->get_subtype() != CPPDeclaration::ST_function_group) {
  3902. yyerror("Reference to non-existent or invalid setter: " + (yyvsp[-2].u.identifier)->get_fully_scoped_name(), (yylsp[-2]));
  3903. } else {
  3904. make_property->_set_function = setter->as_function_group();
  3905. }
  3906. }
  3907. current_scope->add_declaration(make_property, global_scope, current_lexer, (yylsp[-7]));
  3908. }
  3909. }
  3910. #line 4166 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  3911. break;
  3912. case 28:
  3913. #line 575 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  3914. {
  3915. CPPDeclaration *getter = (yyvsp[-6].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  3916. if (getter == nullptr || getter->get_subtype() != CPPDeclaration::ST_function_group) {
  3917. yyerror("Reference to non-existent or invalid getter: " + (yyvsp[-6].u.identifier)->get_fully_scoped_name(), (yylsp[-6]));
  3918. } else {
  3919. CPPMakeProperty *make_property = new CPPMakeProperty((yyvsp[-8].u.identifier), CPPMakeProperty::T_normal, current_scope, (yylsp[-10]).file);
  3920. make_property->_get_function = getter->as_function_group();
  3921. CPPDeclaration *setter = (yyvsp[-4].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  3922. if (setter == nullptr || setter->get_subtype() != CPPDeclaration::ST_function_group) {
  3923. yyerror("Reference to non-existent or invalid setter: " + (yyvsp[-4].u.identifier)->get_fully_scoped_name(), (yylsp[-4]));
  3924. } else {
  3925. make_property->_set_function = setter->as_function_group();
  3926. }
  3927. CPPDeclaration *deleter = (yyvsp[-2].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  3928. if (deleter == nullptr || deleter->get_subtype() != CPPDeclaration::ST_function_group) {
  3929. yyerror("reference to non-existent or invalid delete method: " + (yyvsp[-2].u.identifier)->get_fully_scoped_name(), (yylsp[-2]));
  3930. } else {
  3931. make_property->_del_function = deleter->as_function_group();
  3932. }
  3933. current_scope->add_declaration(make_property, global_scope, current_lexer, (yylsp[-10]));
  3934. }
  3935. }
  3936. #line 4197 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  3937. break;
  3938. case 29:
  3939. #line 602 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  3940. {
  3941. CPPDeclaration *length_getter = (yyvsp[-4].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  3942. if (length_getter == nullptr || length_getter->get_subtype() != CPPDeclaration::ST_function_group) {
  3943. yyerror("reference to non-existent or invalid length method: " + (yyvsp[-4].u.identifier)->get_fully_scoped_name(), (yylsp[-4]));
  3944. length_getter = nullptr;
  3945. }
  3946. CPPDeclaration *getter = (yyvsp[-2].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  3947. if (getter == nullptr || getter->get_subtype() != CPPDeclaration::ST_function_group) {
  3948. yyerror("Reference to non-existent or invalid getter: " + (yyvsp[-2].u.identifier)->get_fully_scoped_name(), (yylsp[-2]));
  3949. getter = nullptr;
  3950. }
  3951. if (getter != nullptr && length_getter != nullptr) {
  3952. CPPMakeProperty *make_property = new CPPMakeProperty((yyvsp[-6].u.identifier), CPPMakeProperty::T_sequence, current_scope, (yylsp[-8]).file);
  3953. make_property->_get_function = getter->as_function_group();
  3954. make_property->_length_function = length_getter->as_function_group();
  3955. current_scope->add_declaration(make_property, global_scope, current_lexer, (yylsp[-8]));
  3956. }
  3957. }
  3958. #line 4222 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  3959. break;
  3960. case 30:
  3961. #line 623 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  3962. {
  3963. CPPDeclaration *length_getter = (yyvsp[-6].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  3964. if (length_getter == nullptr || length_getter->get_subtype() != CPPDeclaration::ST_function_group) {
  3965. yyerror("reference to non-existent or invalid length method: " + (yyvsp[-6].u.identifier)->get_fully_scoped_name(), (yylsp[-6]));
  3966. length_getter = nullptr;
  3967. }
  3968. CPPDeclaration *getter = (yyvsp[-4].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  3969. if (getter == nullptr || getter->get_subtype() != CPPDeclaration::ST_function_group) {
  3970. yyerror("Reference to non-existent or invalid getter: " + (yyvsp[-4].u.identifier)->get_fully_scoped_name(), (yylsp[-4]));
  3971. getter = nullptr;
  3972. }
  3973. if (getter != nullptr && length_getter != nullptr) {
  3974. CPPMakeProperty *make_property = new CPPMakeProperty((yyvsp[-8].u.identifier), CPPMakeProperty::T_sequence, current_scope, (yylsp[-10]).file);
  3975. make_property->_get_function = getter->as_function_group();
  3976. make_property->_length_function = length_getter->as_function_group();
  3977. CPPDeclaration *setter = (yyvsp[-2].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  3978. if (setter == nullptr || setter->get_subtype() != CPPDeclaration::ST_function_group) {
  3979. yyerror("Reference to non-existent or invalid setter: " + (yyvsp[-2].u.identifier)->get_fully_scoped_name(), (yylsp[-2]));
  3980. } else {
  3981. make_property->_set_function = setter->as_function_group();
  3982. }
  3983. current_scope->add_declaration(make_property, global_scope, current_lexer, (yylsp[-10]));
  3984. }
  3985. }
  3986. #line 4255 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  3987. break;
  3988. case 31:
  3989. #line 652 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  3990. {
  3991. CPPDeclaration *length_getter = (yyvsp[-8].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  3992. if (length_getter == nullptr || length_getter->get_subtype() != CPPDeclaration::ST_function_group) {
  3993. yyerror("reference to non-existent or invalid length method: " + (yyvsp[-8].u.identifier)->get_fully_scoped_name(), (yylsp[-8]));
  3994. length_getter = NULL;
  3995. }
  3996. CPPDeclaration *getter = (yyvsp[-6].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  3997. if (getter == nullptr || getter->get_subtype() != CPPDeclaration::ST_function_group) {
  3998. yyerror("Reference to non-existent or invalid getter: " + (yyvsp[-6].u.identifier)->get_fully_scoped_name(), (yylsp[-6]));
  3999. getter = nullptr;
  4000. }
  4001. if (getter != nullptr && length_getter != nullptr) {
  4002. CPPMakeProperty *make_property = new CPPMakeProperty((yyvsp[-10].u.identifier), CPPMakeProperty::T_sequence, current_scope, (yylsp[-12]).file);
  4003. make_property->_get_function = getter->as_function_group();
  4004. make_property->_length_function = length_getter->as_function_group();
  4005. CPPDeclaration *setter = (yyvsp[-4].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  4006. if (setter == nullptr || setter->get_subtype() != CPPDeclaration::ST_function_group) {
  4007. yyerror("Reference to non-existent or invalid setter: " + (yyvsp[-4].u.identifier)->get_fully_scoped_name(), (yylsp[-4]));
  4008. } else {
  4009. make_property->_set_function = setter->as_function_group();
  4010. }
  4011. CPPDeclaration *deleter = (yyvsp[-2].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  4012. if (deleter == nullptr || deleter->get_subtype() != CPPDeclaration::ST_function_group) {
  4013. yyerror("reference to non-existent or invalid delete method: " + (yyvsp[-2].u.identifier)->get_fully_scoped_name(), (yylsp[-2]));
  4014. } else {
  4015. make_property->_del_function = deleter->as_function_group();
  4016. }
  4017. current_scope->add_declaration(make_property, global_scope, current_lexer, (yylsp[-12]));
  4018. }
  4019. }
  4020. #line 4295 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4021. break;
  4022. case 32:
  4023. #line 688 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4024. {
  4025. CPPDeclaration *length_getter = (yyvsp[-10].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  4026. if (length_getter == nullptr || length_getter->get_subtype() != CPPDeclaration::ST_function_group) {
  4027. yyerror("reference to non-existent or invalid length method: " + (yyvsp[-10].u.identifier)->get_fully_scoped_name(), (yylsp[-10]));
  4028. length_getter = NULL;
  4029. }
  4030. CPPDeclaration *getter = (yyvsp[-8].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  4031. if (getter == nullptr || getter->get_subtype() != CPPDeclaration::ST_function_group) {
  4032. yyerror("Reference to non-existent or invalid getter: " + (yyvsp[-8].u.identifier)->get_fully_scoped_name(), (yylsp[-8]));
  4033. getter = nullptr;
  4034. }
  4035. if (getter != nullptr && length_getter != nullptr) {
  4036. CPPMakeProperty *make_property = new CPPMakeProperty((yyvsp[-12].u.identifier), CPPMakeProperty::T_sequence, current_scope, (yylsp[-14]).file);
  4037. make_property->_get_function = getter->as_function_group();
  4038. make_property->_length_function = length_getter->as_function_group();
  4039. CPPDeclaration *setter = (yyvsp[-6].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  4040. if (setter == nullptr || setter->get_subtype() != CPPDeclaration::ST_function_group) {
  4041. yyerror("Reference to non-existent or invalid setter: " + (yyvsp[-6].u.identifier)->get_fully_scoped_name(), (yylsp[-6]));
  4042. } else {
  4043. make_property->_set_function = setter->as_function_group();
  4044. }
  4045. CPPDeclaration *deleter = (yyvsp[-4].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  4046. if (deleter == nullptr || deleter->get_subtype() != CPPDeclaration::ST_function_group) {
  4047. yyerror("reference to non-existent or invalid delete method: " + (yyvsp[-4].u.identifier)->get_fully_scoped_name(), (yylsp[-4]));
  4048. } else {
  4049. make_property->_del_function = deleter->as_function_group();
  4050. }
  4051. CPPDeclaration *inserter = (yyvsp[-2].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  4052. if (inserter == nullptr || inserter->get_subtype() != CPPDeclaration::ST_function_group) {
  4053. yyerror("reference to non-existent or invalid append method: " + (yyvsp[-2].u.identifier)->get_fully_scoped_name(), (yylsp[-2]));
  4054. } else {
  4055. make_property->_insert_function = inserter->as_function_group();
  4056. }
  4057. current_scope->add_declaration(make_property, global_scope, current_lexer, (yylsp[-14]));
  4058. }
  4059. }
  4060. #line 4342 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4061. break;
  4062. case 33:
  4063. #line 731 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4064. {
  4065. CPPDeclaration *getter = (yyvsp[-2].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  4066. if (getter == nullptr || getter->get_subtype() != CPPDeclaration::ST_function_group) {
  4067. yyerror("reference to non-existent or invalid item getter method: " + (yyvsp[-2].u.identifier)->get_fully_scoped_name(), (yylsp[-2]));
  4068. } else {
  4069. CPPMakeProperty *make_property = new CPPMakeProperty((yyvsp[-4].u.identifier), CPPMakeProperty::T_mapping, current_scope, (yylsp[-6]).file);
  4070. make_property->_get_function = getter->as_function_group();
  4071. current_scope->add_declaration(make_property, global_scope, current_lexer, (yylsp[-6]));
  4072. }
  4073. }
  4074. #line 4358 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4075. break;
  4076. case 34:
  4077. #line 743 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4078. {
  4079. CPPDeclaration *getter = (yyvsp[-2].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  4080. if (getter == nullptr || getter->get_subtype() != CPPDeclaration::ST_function_group) {
  4081. yyerror("Reference to non-existent or invalid getter: " + (yyvsp[-2].u.identifier)->get_fully_scoped_name(), (yylsp[-2]));
  4082. } else {
  4083. CPPMakeProperty *make_property;
  4084. make_property = new CPPMakeProperty((yyvsp[-6].u.identifier), CPPMakeProperty::T_mapping, current_scope, (yylsp[-8]).file);
  4085. make_property->_get_function = getter->as_function_group();
  4086. CPPDeclaration *hasser = (yyvsp[-4].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  4087. if (hasser == nullptr || hasser->get_subtype() != CPPDeclaration::ST_function_group) {
  4088. yyerror("reference to non-existent or invalid has/find method: " + (yyvsp[-4].u.identifier)->get_fully_scoped_name(), (yylsp[-4]));
  4089. } else {
  4090. make_property->_has_function = hasser->as_function_group();
  4091. }
  4092. current_scope->add_declaration(make_property, global_scope, current_lexer, (yylsp[-8]));
  4093. }
  4094. }
  4095. #line 4383 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4096. break;
  4097. case 35:
  4098. #line 764 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4099. {
  4100. CPPDeclaration *getter = (yyvsp[-5].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  4101. if (getter == nullptr || getter->get_subtype() != CPPDeclaration::ST_function_group) {
  4102. yyerror("Reference to non-existent or invalid getter: " + (yyvsp[-5].u.identifier)->get_fully_scoped_name(), (yylsp[-5]));
  4103. } else {
  4104. CPPMakeProperty *make_property = new CPPMakeProperty((yyvsp[-9].u.identifier), CPPMakeProperty::T_mapping, current_scope, (yylsp[-11]).file);
  4105. make_property->_get_function = getter->as_function_group();
  4106. CPPDeclaration *hasser = (yyvsp[-7].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  4107. if (hasser == nullptr || hasser->get_subtype() != CPPDeclaration::ST_function_group) {
  4108. yyerror("reference to non-existent or invalid has/find method: " + (yyvsp[-7].u.identifier)->get_fully_scoped_name(), (yylsp[-7]));
  4109. } else {
  4110. make_property->_has_function = hasser->as_function_group();
  4111. }
  4112. CPPDeclaration *setter = (yyvsp[-3].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  4113. if (setter == nullptr || setter->get_subtype() != CPPDeclaration::ST_function_group) {
  4114. yyerror("Reference to non-existent or invalid setter: " + (yyvsp[-3].u.identifier)->get_fully_scoped_name(), (yylsp[-3]));
  4115. } else {
  4116. make_property->_set_function = setter->as_function_group();
  4117. }
  4118. if ((yyvsp[-2].u.identifier) != nullptr) {
  4119. CPPDeclaration *deleter = (yyvsp[-2].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  4120. if (deleter == nullptr || deleter->get_subtype() != CPPDeclaration::ST_function_group) {
  4121. yyerror("reference to non-existent or invalid delete method: " + (yyvsp[-2].u.identifier)->get_fully_scoped_name(), (yylsp[-2]));
  4122. } else {
  4123. make_property->_del_function = deleter->as_function_group();
  4124. }
  4125. }
  4126. current_scope->add_declaration(make_property, global_scope, current_lexer, (yylsp[-11]));
  4127. }
  4128. }
  4129. #line 4423 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4130. break;
  4131. case 36:
  4132. #line 800 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4133. {
  4134. CPPDeclaration *length_getter = (yyvsp[-4].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  4135. if (length_getter == nullptr || length_getter->get_subtype() != CPPDeclaration::ST_function_group) {
  4136. yyerror("reference to non-existent or invalid length method: " + (yyvsp[-4].u.identifier)->get_fully_scoped_name(), (yylsp[-4]));
  4137. length_getter = nullptr;
  4138. }
  4139. CPPDeclaration *getter = (yyvsp[-2].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  4140. if (getter == nullptr || getter->get_subtype() != CPPDeclaration::ST_function_group) {
  4141. yyerror("reference to non-existent or invalid getter: " + (yyvsp[-2].u.identifier)->get_fully_scoped_name(), (yylsp[-2]));
  4142. getter = nullptr;
  4143. }
  4144. if (getter != nullptr && length_getter != nullptr) {
  4145. CPPMakeProperty *make_property = nullptr;
  4146. for (size_t i = 0; i < current_scope->_declarations.size(); ++i) {
  4147. make_property = current_scope->_declarations[i]->as_make_property();
  4148. if (make_property != nullptr) {
  4149. if (make_property->get_fully_scoped_name() == (yyvsp[-6].u.identifier)->get_fully_scoped_name()) {
  4150. break;
  4151. } else {
  4152. make_property = nullptr;
  4153. }
  4154. }
  4155. }
  4156. if (make_property != nullptr) {
  4157. make_property->_get_key_function = getter->as_function_group();
  4158. make_property->_length_function = length_getter->as_function_group();
  4159. } else {
  4160. yyerror("reference to non-existent MAKE_MAP_PROPERTY: " + (yyvsp[-6].u.identifier)->get_fully_scoped_name(), (yylsp[-6]));
  4161. }
  4162. }
  4163. }
  4164. #line 4461 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4165. break;
  4166. case 37:
  4167. #line 834 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4168. {
  4169. CPPDeclaration *getter = (yyvsp[-2].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  4170. if (getter == nullptr || getter->get_subtype() != CPPDeclaration::ST_function_group) {
  4171. yyerror("Reference to non-existent or invalid getter: " + (yyvsp[-2].u.identifier)->get_fully_scoped_name(), (yylsp[-2]));
  4172. } else {
  4173. CPPMakeProperty *make_property;
  4174. make_property = new CPPMakeProperty((yyvsp[-6].u.identifier), CPPMakeProperty::T_normal,
  4175. current_scope, (yylsp[-8]).file);
  4176. make_property->_get_function = getter->as_function_group();
  4177. CPPDeclaration *hasser = (yyvsp[-4].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  4178. if (hasser == nullptr || hasser->get_subtype() != CPPDeclaration::ST_function_group) {
  4179. yyerror("reference to non-existent or invalid has/find method: " + (yyvsp[-4].u.identifier)->get_fully_scoped_name(), (yylsp[-4]));
  4180. } else {
  4181. make_property->_has_function = hasser->as_function_group();
  4182. }
  4183. current_scope->add_declaration(make_property, global_scope, current_lexer, (yylsp[-8]));
  4184. }
  4185. }
  4186. #line 4487 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4187. break;
  4188. case 38:
  4189. #line 856 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4190. {
  4191. CPPDeclaration *getter = (yyvsp[-6].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  4192. if (getter == nullptr || getter->get_subtype() != CPPDeclaration::ST_function_group) {
  4193. yyerror("Reference to non-existent or invalid getter: " + (yyvsp[-6].u.identifier)->get_fully_scoped_name(), (yylsp[-6]));
  4194. } else {
  4195. CPPMakeProperty *make_property;
  4196. make_property = new CPPMakeProperty((yyvsp[-10].u.identifier), CPPMakeProperty::T_normal,
  4197. current_scope, (yylsp[-12]).file);
  4198. make_property->_get_function = getter->as_function_group();
  4199. CPPDeclaration *hasser = (yyvsp[-8].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  4200. if (hasser == nullptr || hasser->get_subtype() != CPPDeclaration::ST_function_group) {
  4201. yyerror("reference to non-existent or invalid has/find method: " + (yyvsp[-8].u.identifier)->get_fully_scoped_name(), (yylsp[-8]));
  4202. } else {
  4203. make_property->_has_function = hasser->as_function_group();
  4204. }
  4205. CPPDeclaration *setter = (yyvsp[-4].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  4206. if (setter == nullptr || setter->get_subtype() != CPPDeclaration::ST_function_group) {
  4207. yyerror("reference to non-existent or invalid setter: " + (yyvsp[-4].u.identifier)->get_fully_scoped_name(), (yylsp[-4]));
  4208. } else {
  4209. make_property->_set_function = setter->as_function_group();
  4210. }
  4211. CPPDeclaration *clearer = (yyvsp[-2].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  4212. if (clearer == nullptr || clearer->get_subtype() != CPPDeclaration::ST_function_group) {
  4213. yyerror("reference to non-existent or invalid clear method: " + (yyvsp[-2].u.identifier)->get_fully_scoped_name(), (yylsp[-2]));
  4214. } else {
  4215. make_property->_clear_function = clearer->as_function_group();
  4216. }
  4217. current_scope->add_declaration(make_property, global_scope, current_lexer, (yylsp[-12]));
  4218. }
  4219. }
  4220. #line 4527 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4221. break;
  4222. case 39:
  4223. #line 892 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4224. {
  4225. CPPDeclaration *length_getter = (yyvsp[-4].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  4226. if (length_getter == (CPPDeclaration *)NULL || length_getter->get_subtype() != CPPDeclaration::ST_function_group) {
  4227. yyerror("reference to non-existent or invalid length method: " + (yyvsp[-4].u.identifier)->get_fully_scoped_name(), (yylsp[-4]));
  4228. length_getter = NULL;
  4229. }
  4230. CPPDeclaration *element_getter = (yyvsp[-2].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  4231. if (element_getter == (CPPDeclaration *)NULL || element_getter->get_subtype() != CPPDeclaration::ST_function_group) {
  4232. yyerror("reference to non-existent or invalid element method: " + (yyvsp[-2].u.identifier)->get_fully_scoped_name(), (yylsp[-4]));
  4233. element_getter = NULL;
  4234. }
  4235. if (length_getter != (CPPDeclaration *)NULL && element_getter != (CPPDeclaration *)NULL) {
  4236. CPPMakeSeq *make_seq = new CPPMakeSeq((yyvsp[-6].u.identifier),
  4237. length_getter->as_function_group(),
  4238. element_getter->as_function_group(),
  4239. current_scope, (yylsp[-8]).file);
  4240. current_scope->add_declaration(make_seq, global_scope, current_lexer, (yylsp[-8]));
  4241. }
  4242. }
  4243. #line 4553 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4244. break;
  4245. case 40:
  4246. #line 914 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4247. {
  4248. CPPExpression::Result result = (yyvsp[-4].u.expr)->evaluate();
  4249. if (result._type == CPPExpression::RT_error) {
  4250. yywarning("static_assert requires a constant expression", (yylsp[-4]));
  4251. } else if (!result.as_boolean()) {
  4252. stringstream str;
  4253. str << *(yyvsp[-2].u.expr);
  4254. yywarning("static_assert failed: " + str.str(), (yylsp[-4]));
  4255. }
  4256. }
  4257. #line 4568 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4258. break;
  4259. case 41:
  4260. #line 925 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4261. {
  4262. // This alternative version of static_assert was introduced in C++17.
  4263. CPPExpression::Result result = (yyvsp[-2].u.expr)->evaluate();
  4264. if (result._type == CPPExpression::RT_error) {
  4265. yywarning("static_assert requires a constant expression", (yylsp[-2]));
  4266. } else if (!result.as_boolean()) {
  4267. yywarning("static_assert failed", (yylsp[-2]));
  4268. }
  4269. }
  4270. #line 4582 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4271. break;
  4272. case 42:
  4273. #line 938 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4274. {
  4275. CPPScope *new_scope = new CPPScope(current_scope, CPPNameComponent("temp"),
  4276. V_public);
  4277. push_scope(new_scope);
  4278. }
  4279. #line 4592 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4280. break;
  4281. case 43:
  4282. #line 944 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4283. {
  4284. delete current_scope;
  4285. pop_scope();
  4286. }
  4287. #line 4601 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4288. break;
  4289. case 44:
  4290. #line 953 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4291. {
  4292. (yyval.u.integer) = 0;
  4293. }
  4294. #line 4609 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4295. break;
  4296. case 45:
  4297. #line 957 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4298. {
  4299. // This isn't really a storage class, but it helps with parsing.
  4300. (yyval.u.integer) = (yyvsp[0].u.integer) | (int)CPPInstance::SC_const;
  4301. }
  4302. #line 4618 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4303. break;
  4304. case 46:
  4305. #line 962 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4306. {
  4307. (yyval.u.integer) = (yyvsp[0].u.integer) | (int)CPPInstance::SC_extern;
  4308. }
  4309. #line 4626 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4310. break;
  4311. case 47:
  4312. #line 966 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4313. {
  4314. (yyval.u.integer) = (yyvsp[0].u.integer) | (int)CPPInstance::SC_extern;
  4315. if ((yyvsp[-1].str) == "C") {
  4316. (yyval.u.integer) |= (int)CPPInstance::SC_c_binding;
  4317. } else if ((yyvsp[-1].str) == "C++") {
  4318. (yyval.u.integer) &= ~(int)CPPInstance::SC_c_binding;
  4319. } else {
  4320. yywarning("Ignoring unknown linkage type \"" + (yyvsp[-1].str) + "\"", (yylsp[-1]));
  4321. }
  4322. }
  4323. #line 4641 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4324. break;
  4325. case 48:
  4326. #line 977 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4327. {
  4328. (yyval.u.integer) = (yyvsp[0].u.integer) | (int)CPPInstance::SC_static;
  4329. }
  4330. #line 4649 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4331. break;
  4332. case 49:
  4333. #line 981 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4334. {
  4335. (yyval.u.integer) = (yyvsp[0].u.integer) | (int)CPPInstance::SC_inline;
  4336. }
  4337. #line 4657 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4338. break;
  4339. case 50:
  4340. #line 985 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4341. {
  4342. (yyval.u.integer) = (yyvsp[0].u.integer) | (int)CPPInstance::SC_virtual;
  4343. }
  4344. #line 4665 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4345. break;
  4346. case 51:
  4347. #line 989 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4348. {
  4349. (yyval.u.integer) = (yyvsp[0].u.integer) | (int)CPPInstance::SC_explicit;
  4350. }
  4351. #line 4673 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4352. break;
  4353. case 52:
  4354. #line 993 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4355. {
  4356. (yyval.u.integer) = (yyvsp[0].u.integer) | (int)CPPInstance::SC_register;
  4357. }
  4358. #line 4681 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4359. break;
  4360. case 53:
  4361. #line 997 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4362. {
  4363. (yyval.u.integer) = (yyvsp[0].u.integer) | (int)CPPInstance::SC_volatile;
  4364. }
  4365. #line 4689 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4366. break;
  4367. case 54:
  4368. #line 1001 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4369. {
  4370. (yyval.u.integer) = (yyvsp[0].u.integer) | (int)CPPInstance::SC_mutable;
  4371. }
  4372. #line 4697 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4373. break;
  4374. case 55:
  4375. #line 1005 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4376. {
  4377. (yyval.u.integer) = (yyvsp[0].u.integer) | (int)CPPInstance::SC_constexpr;
  4378. }
  4379. #line 4705 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4380. break;
  4381. case 56:
  4382. #line 1009 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4383. {
  4384. (yyval.u.integer) = (yyvsp[0].u.integer) | (int)CPPInstance::SC_blocking;
  4385. }
  4386. #line 4713 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4387. break;
  4388. case 57:
  4389. #line 1013 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4390. {
  4391. (yyval.u.integer) = (yyvsp[0].u.integer) | (int)CPPInstance::SC_extension;
  4392. }
  4393. #line 4721 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4394. break;
  4395. case 58:
  4396. #line 1017 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4397. {
  4398. (yyval.u.integer) = (yyvsp[0].u.integer) | (int)CPPInstance::SC_thread_local;
  4399. }
  4400. #line 4729 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4401. break;
  4402. case 59:
  4403. #line 1021 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4404. {
  4405. // Ignore attribute specifiers for now.
  4406. (yyval.u.integer) = (yyvsp[0].u.integer);
  4407. }
  4408. #line 4738 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4409. break;
  4410. case 60:
  4411. #line 1026 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4412. {
  4413. (yyval.u.integer) = (yyvsp[0].u.integer);
  4414. }
  4415. #line 4746 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4416. break;
  4417. case 61:
  4418. #line 1030 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4419. {
  4420. (yyval.u.integer) = (yyvsp[0].u.integer);
  4421. }
  4422. #line 4754 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4423. break;
  4424. case 67:
  4425. #line 1048 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4426. {
  4427. // We don't need to push/pop type, because we can't nest
  4428. // type_like_declaration.
  4429. if ((yyvsp[0].u.decl)->as_type_declaration()) {
  4430. current_type = (yyvsp[0].u.decl)->as_type_declaration()->_type;
  4431. } else {
  4432. current_type = (yyvsp[0].u.decl)->as_type();
  4433. }
  4434. push_storage_class((yyvsp[-1].u.integer));
  4435. }
  4436. #line 4769 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4437. break;
  4438. case 68:
  4439. #line 1059 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4440. {
  4441. pop_storage_class();
  4442. }
  4443. #line 4777 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4444. break;
  4445. case 69:
  4446. #line 1064 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4447. {
  4448. // We don't really care about the storage class here. In fact, it's
  4449. // not actually legal to define a class or struct using a particular
  4450. // storage class, but we require it just to help yacc out in its
  4451. // parsing.
  4452. current_scope->add_declaration((yyvsp[-1].u.decl), global_scope, current_lexer, (yylsp[-1]));
  4453. }
  4454. #line 4790 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4455. break;
  4456. case 70:
  4457. #line 1073 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4458. {
  4459. if ((yyvsp[0].u.instance) != (CPPInstance *)NULL) {
  4460. // Push the scope so that the initializers can make use of things defined
  4461. // in the class body.
  4462. push_scope((yyvsp[0].u.instance)->get_scope(current_scope, global_scope));
  4463. (yyvsp[0].u.instance)->_storage_class |= (current_storage_class | (yyvsp[-1].u.integer));
  4464. }
  4465. }
  4466. #line 4803 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4467. break;
  4468. case 71:
  4469. #line 1082 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4470. {
  4471. if ((yyvsp[-2].u.instance) != (CPPInstance *)NULL) {
  4472. pop_scope();
  4473. current_scope->add_declaration((yyvsp[-2].u.instance), global_scope, current_lexer, (yylsp[-2]));
  4474. (yyvsp[-2].u.instance)->set_initializer((yyvsp[0].u.expr));
  4475. }
  4476. }
  4477. #line 4815 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4478. break;
  4479. case 72:
  4480. #line 1090 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4481. {
  4482. if ((yyvsp[-1].u.instance) != (CPPInstance *)NULL) {
  4483. (yyvsp[-1].u.instance)->_storage_class |= (current_storage_class | (yyvsp[-2].u.integer));
  4484. current_scope->add_declaration((yyvsp[-1].u.instance), global_scope, current_lexer, (yylsp[-1]));
  4485. (yyvsp[-1].u.instance)->set_initializer((yyvsp[0].u.expr));
  4486. }
  4487. }
  4488. #line 4827 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4489. break;
  4490. case 74:
  4491. #line 1106 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4492. {
  4493. if (current_storage_class & CPPInstance::SC_const) {
  4494. (yyvsp[-1].u.inst_ident)->add_modifier(IIT_const);
  4495. }
  4496. CPPInstance *inst = new CPPInstance(current_type, (yyvsp[-1].u.inst_ident),
  4497. current_storage_class,
  4498. (yylsp[-1]).file);
  4499. inst->set_initializer((yyvsp[0].u.expr));
  4500. current_scope->add_declaration(inst, global_scope, current_lexer, (yylsp[-1]));
  4501. }
  4502. #line 4842 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4503. break;
  4504. case 75:
  4505. #line 1117 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4506. {
  4507. if (current_storage_class & CPPInstance::SC_const) {
  4508. (yyvsp[-3].u.inst_ident)->add_modifier(IIT_const);
  4509. }
  4510. CPPInstance *inst = new CPPInstance(current_type, (yyvsp[-3].u.inst_ident),
  4511. current_storage_class,
  4512. (yylsp[-3]).file);
  4513. inst->set_initializer((yyvsp[-2].u.expr));
  4514. current_scope->add_declaration(inst, global_scope, current_lexer, (yylsp[-3]));
  4515. }
  4516. #line 4857 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4517. break;
  4518. case 76:
  4519. #line 1132 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4520. {
  4521. // We don't need to push/pop type, because we can't nest
  4522. // multiple_var_declarations.
  4523. if ((yyvsp[0].u.decl)->as_type_declaration()) {
  4524. current_type = (yyvsp[0].u.decl)->as_type_declaration()->_type;
  4525. } else {
  4526. current_type = (yyvsp[0].u.decl)->as_type();
  4527. }
  4528. push_storage_class((yyvsp[-1].u.integer));
  4529. }
  4530. #line 4872 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4531. break;
  4532. case 77:
  4533. #line 1143 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4534. {
  4535. pop_storage_class();
  4536. }
  4537. #line 4880 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4538. break;
  4539. case 78:
  4540. #line 1147 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4541. {
  4542. if ((yyvsp[-1].u.instance) != (CPPDeclaration *)NULL) {
  4543. CPPInstance *inst = (yyvsp[-1].u.instance)->as_instance();
  4544. if (inst != (CPPInstance *)NULL) {
  4545. inst->_storage_class |= (current_storage_class | (yyvsp[-2].u.integer));
  4546. current_scope->add_declaration(inst, global_scope, current_lexer, (yylsp[-1]));
  4547. CPPTypedefType *typedef_type = new CPPTypedefType(inst->_type, inst->_ident, current_scope);
  4548. current_scope->add_declaration(CPPType::new_type(typedef_type), global_scope, current_lexer, (yylsp[-1]));
  4549. }
  4550. }
  4551. }
  4552. #line 4896 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4553. break;
  4554. case 79:
  4555. #line 1162 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4556. {
  4557. if (current_storage_class & CPPInstance::SC_const) {
  4558. (yyvsp[-1].u.inst_ident)->add_modifier(IIT_const);
  4559. }
  4560. CPPType *target_type = current_type;
  4561. CPPTypedefType *typedef_type = new CPPTypedefType(target_type, (yyvsp[-1].u.inst_ident), current_scope, (yylsp[-1]).file);
  4562. current_scope->add_declaration(CPPType::new_type(typedef_type), global_scope, current_lexer, (yylsp[-1]));
  4563. }
  4564. #line 4909 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4565. break;
  4566. case 80:
  4567. #line 1171 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4568. {
  4569. if (current_storage_class & CPPInstance::SC_const) {
  4570. (yyvsp[-3].u.inst_ident)->add_modifier(IIT_const);
  4571. }
  4572. CPPType *target_type = current_type;
  4573. CPPTypedefType *typedef_type = new CPPTypedefType(target_type, (yyvsp[-3].u.inst_ident), current_scope, (yylsp[-3]).file);
  4574. current_scope->add_declaration(CPPType::new_type(typedef_type), global_scope, current_lexer, (yylsp[-3]));
  4575. }
  4576. #line 4922 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4577. break;
  4578. case 81:
  4579. #line 1185 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4580. {
  4581. push_scope((yyvsp[-1].u.identifier)->get_scope(current_scope, global_scope));
  4582. }
  4583. #line 4930 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4584. break;
  4585. case 82:
  4586. #line 1189 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4587. {
  4588. CPPType *type;
  4589. if ((yyvsp[-5].u.identifier)->get_simple_name() == current_scope->get_simple_name() ||
  4590. (yyvsp[-5].u.identifier)->get_simple_name() == string("~") + current_scope->get_simple_name()) {
  4591. // This is a constructor, and has no return.
  4592. type = new CPPSimpleType(CPPSimpleType::T_void);
  4593. } else {
  4594. // This isn't a constructor, so it has an implicit return type of
  4595. // int.
  4596. yywarning("function has no return type, assuming int", (yylsp[-5]));
  4597. type = new CPPSimpleType(CPPSimpleType::T_int);
  4598. }
  4599. pop_scope();
  4600. CPPInstanceIdentifier *ii = new CPPInstanceIdentifier((yyvsp[-5].u.identifier));
  4601. ii->add_func_modifier((yyvsp[-2].u.param_list), (yyvsp[0].u.integer));
  4602. (yyval.u.instance) = new CPPInstance(type, ii, 0, (yylsp[-5]).file);
  4603. }
  4604. #line 4954 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4605. break;
  4606. case 83:
  4607. #line 1209 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4608. {
  4609. push_scope((yyvsp[-1].u.identifier)->get_scope(current_scope, global_scope));
  4610. }
  4611. #line 4962 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4612. break;
  4613. case 84:
  4614. #line 1213 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4615. {
  4616. pop_scope();
  4617. CPPType *type;
  4618. if ((yyvsp[-5].u.identifier)->get_simple_name() == current_scope->get_simple_name()) {
  4619. // This is a constructor, and has no return.
  4620. type = new CPPSimpleType(CPPSimpleType::T_void);
  4621. } else {
  4622. // This isn't a constructor, so it has an implicit return type of
  4623. // int.
  4624. type = new CPPSimpleType(CPPSimpleType::T_int);
  4625. }
  4626. CPPInstanceIdentifier *ii = new CPPInstanceIdentifier((yyvsp[-5].u.identifier));
  4627. ii->add_func_modifier((yyvsp[-2].u.param_list), (yyvsp[0].u.integer));
  4628. (yyval.u.instance) = new CPPInstance(type, ii, 0, (yylsp[-5]).file);
  4629. }
  4630. #line 4984 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4631. break;
  4632. case 85:
  4633. #line 1236 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4634. {
  4635. push_scope((yyvsp[-1].u.identifier)->get_scope(current_scope, global_scope));
  4636. }
  4637. #line 4992 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4638. break;
  4639. case 86:
  4640. #line 1240 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4641. {
  4642. pop_scope();
  4643. if ((yyvsp[-5].u.identifier)->is_scoped()) {
  4644. yyerror("Invalid destructor name: ~" + (yyvsp[-5].u.identifier)->get_fully_scoped_name(), (yylsp[-5]));
  4645. } else {
  4646. CPPIdentifier *ident =
  4647. new CPPIdentifier("~" + (yyvsp[-5].u.identifier)->get_simple_name(), (yylsp[-5]));
  4648. delete (yyvsp[-5].u.identifier);
  4649. CPPType *type;
  4650. type = new CPPSimpleType(CPPSimpleType::T_void);
  4651. CPPInstanceIdentifier *ii = new CPPInstanceIdentifier(ident);
  4652. ii->add_func_modifier((yyvsp[-2].u.param_list), (yyvsp[0].u.integer));
  4653. (yyval.u.instance) = new CPPInstance(type, ii, 0, (yylsp[-5]).file);
  4654. }
  4655. }
  4656. #line 5015 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4657. break;
  4658. case 87:
  4659. #line 1266 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4660. {
  4661. push_scope((yyvsp[-2].u.inst_ident)->get_scope(current_scope, global_scope));
  4662. }
  4663. #line 5023 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4664. break;
  4665. case 88:
  4666. #line 1270 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4667. {
  4668. pop_scope();
  4669. CPPType *type = (yyvsp[-10].u.identifier)->find_type(current_scope, global_scope, false, current_lexer);
  4670. if (type == NULL) {
  4671. yyerror(string("internal error resolving type ") + (yyvsp[-10].u.identifier)->get_fully_scoped_name(), (yylsp[-10]));
  4672. }
  4673. assert(type != NULL);
  4674. CPPInstanceIdentifier *ii = (yyvsp[-7].u.inst_ident);
  4675. ii->add_modifier(IIT_pointer);
  4676. ii->add_func_modifier((yyvsp[-3].u.param_list), (yyvsp[-1].u.integer));
  4677. (yyval.u.instance) = new CPPInstance(type, ii, 0, (yylsp[-10]).file);
  4678. }
  4679. #line 5041 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4680. break;
  4681. case 89:
  4682. #line 1284 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4683. {
  4684. push_scope((yyvsp[-2].u.inst_ident)->get_scope(current_scope, global_scope));
  4685. }
  4686. #line 5049 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4687. break;
  4688. case 90:
  4689. #line 1288 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4690. {
  4691. pop_scope();
  4692. CPPType *type = (yyvsp[-11].u.identifier)->find_type(current_scope, global_scope, false, current_lexer);
  4693. if (type == NULL) {
  4694. yyerror(string("internal error resolving type ") + (yyvsp[-11].u.identifier)->get_fully_scoped_name(), (yylsp[-11]));
  4695. }
  4696. assert(type != NULL);
  4697. CPPInstanceIdentifier *ii = (yyvsp[-7].u.inst_ident);
  4698. ii->add_scoped_pointer_modifier((yyvsp[-9].u.identifier));
  4699. ii->add_func_modifier((yyvsp[-3].u.param_list), (yyvsp[-1].u.integer));
  4700. (yyval.u.instance) = new CPPInstance(type, ii, 0, (yylsp[-11]).file);
  4701. }
  4702. #line 5067 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4703. break;
  4704. case 91:
  4705. #line 1304 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4706. {
  4707. if ((yyvsp[-3].u.identifier) != NULL) {
  4708. push_scope((yyvsp[-3].u.identifier)->get_scope(current_scope, global_scope));
  4709. }
  4710. }
  4711. #line 5077 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4712. break;
  4713. case 92:
  4714. #line 1310 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4715. {
  4716. if ((yyvsp[-7].u.identifier) != NULL) {
  4717. pop_scope();
  4718. }
  4719. // We use formal_parameter_identifier, because that can match a type
  4720. // name with or without an identifier, but especially without, which
  4721. // is what follows the keyword "operator" in a typecast function.
  4722. // As an added bonus, the type of the formal_parameter will be the
  4723. // typecast type, i.e. the return type of the typecast function.
  4724. // We give typecast operators the name "operator typecast <name>",
  4725. // where <name> is a simple name of the type to be typecast. Use
  4726. // the method's return type to determine the full type description.
  4727. string name = "operator typecast " + (yyvsp[-6].u.type)->get_simple_name();
  4728. CPPIdentifier *ident = (yyvsp[-7].u.identifier);
  4729. if (ident == NULL) {
  4730. ident = new CPPIdentifier(name, (yylsp[-6]));
  4731. } else {
  4732. ident->add_name(name);
  4733. }
  4734. (yyval.u.instance) = CPPInstance::make_typecast_function
  4735. (new CPPInstance((yyvsp[-6].u.type), (yyvsp[-5].u.inst_ident), 0, (yylsp[-5]).file), ident, (yyvsp[-2].u.param_list), (yyvsp[0].u.integer));
  4736. }
  4737. #line 5106 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4738. break;
  4739. case 93:
  4740. #line 1335 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4741. {
  4742. if ((yyvsp[-4].u.identifier) != NULL) {
  4743. push_scope((yyvsp[-4].u.identifier)->get_scope(current_scope, global_scope));
  4744. }
  4745. }
  4746. #line 5116 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4747. break;
  4748. case 94:
  4749. #line 1341 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4750. {
  4751. if ((yyvsp[-8].u.identifier) != NULL) {
  4752. pop_scope();
  4753. }
  4754. CPPIdentifier *ident = (yyvsp[-8].u.identifier);
  4755. if (ident == NULL) {
  4756. ident = new CPPIdentifier("operator typecast", (yylsp[-5]));
  4757. } else {
  4758. ident->add_name("operator typecast");
  4759. }
  4760. (yyvsp[-5].u.inst_ident)->add_modifier(IIT_const);
  4761. (yyval.u.instance) = CPPInstance::make_typecast_function
  4762. (new CPPInstance((yyvsp[-6].u.type), (yyvsp[-5].u.inst_ident), 0, (yylsp[-5]).file), ident, (yyvsp[-2].u.param_list), (yyvsp[0].u.integer));
  4763. }
  4764. #line 5136 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4765. break;
  4766. case 95:
  4767. #line 1361 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4768. {
  4769. CPPDeclaration *decl =
  4770. (yyvsp[0].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  4771. if (decl != (CPPDeclaration *)NULL) {
  4772. (yyval.u.instance) = decl->as_instance();
  4773. } else {
  4774. (yyval.u.instance) = (CPPInstance *)NULL;
  4775. }
  4776. }
  4777. #line 5150 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4778. break;
  4779. case 96:
  4780. #line 1374 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4781. {
  4782. (yyval.u.integer) = 0;
  4783. }
  4784. #line 5158 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4785. break;
  4786. case 97:
  4787. #line 1378 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4788. {
  4789. (yyval.u.integer) = (yyvsp[-1].u.integer) | (int)CPPFunctionType::F_const_method;
  4790. }
  4791. #line 5166 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4792. break;
  4793. case 98:
  4794. #line 1382 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4795. {
  4796. (yyval.u.integer) = (yyvsp[-1].u.integer) | (int)CPPFunctionType::F_volatile_method;
  4797. }
  4798. #line 5174 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4799. break;
  4800. case 99:
  4801. #line 1386 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4802. {
  4803. (yyval.u.integer) = (yyvsp[-1].u.integer) | (int)CPPFunctionType::F_noexcept;
  4804. }
  4805. #line 5182 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4806. break;
  4807. case 100:
  4808. #line 1399 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4809. {
  4810. (yyval.u.integer) = (yyvsp[-1].u.integer) | (int)CPPFunctionType::F_final;
  4811. }
  4812. #line 5190 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4813. break;
  4814. case 101:
  4815. #line 1403 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4816. {
  4817. (yyval.u.integer) = (yyvsp[-1].u.integer) | (int)CPPFunctionType::F_override;
  4818. }
  4819. #line 5198 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4820. break;
  4821. case 102:
  4822. #line 1407 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4823. {
  4824. (yyval.u.integer) = (yyvsp[-1].u.integer) | (int)CPPFunctionType::F_lvalue_method;
  4825. }
  4826. #line 5206 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4827. break;
  4828. case 103:
  4829. #line 1411 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4830. {
  4831. (yyval.u.integer) = (yyvsp[-1].u.integer) | (int)CPPFunctionType::F_rvalue_method;
  4832. }
  4833. #line 5214 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4834. break;
  4835. case 104:
  4836. #line 1415 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4837. {
  4838. // Used for lambdas, currently ignored.
  4839. (yyval.u.integer) = (yyvsp[-1].u.integer);
  4840. }
  4841. #line 5223 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4842. break;
  4843. case 105:
  4844. #line 1420 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4845. {
  4846. // Used for lambdas in C++17, currently ignored.
  4847. (yyval.u.integer) = (yyvsp[-1].u.integer);
  4848. }
  4849. #line 5232 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4850. break;
  4851. case 106:
  4852. #line 1425 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4853. {
  4854. (yyval.u.integer) = (yyvsp[-3].u.integer);
  4855. }
  4856. #line 5240 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4857. break;
  4858. case 107:
  4859. #line 1429 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4860. {
  4861. (yyval.u.integer) = (yyvsp[-4].u.integer);
  4862. }
  4863. #line 5248 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4864. break;
  4865. case 108:
  4866. #line 1433 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4867. {
  4868. (yyval.u.integer) = (yyvsp[-5].u.integer);
  4869. }
  4870. #line 5256 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4871. break;
  4872. case 109:
  4873. #line 1437 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4874. {
  4875. (yyval.u.integer) = (yyvsp[-3].u.integer);
  4876. }
  4877. #line 5264 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4878. break;
  4879. case 110:
  4880. #line 1444 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4881. {
  4882. (yyval.str) = "!";
  4883. }
  4884. #line 5272 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4885. break;
  4886. case 111:
  4887. #line 1448 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4888. {
  4889. (yyval.str) = "~";
  4890. }
  4891. #line 5280 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4892. break;
  4893. case 112:
  4894. #line 1452 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4895. {
  4896. (yyval.str) = "*";
  4897. }
  4898. #line 5288 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4899. break;
  4900. case 113:
  4901. #line 1456 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4902. {
  4903. (yyval.str) = "/";
  4904. }
  4905. #line 5296 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4906. break;
  4907. case 114:
  4908. #line 1460 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4909. {
  4910. (yyval.str) = "%";
  4911. }
  4912. #line 5304 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4913. break;
  4914. case 115:
  4915. #line 1464 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4916. {
  4917. (yyval.str) = "+";
  4918. }
  4919. #line 5312 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4920. break;
  4921. case 116:
  4922. #line 1468 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4923. {
  4924. (yyval.str) = "-";
  4925. }
  4926. #line 5320 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4927. break;
  4928. case 117:
  4929. #line 1472 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4930. {
  4931. (yyval.str) = "|";
  4932. }
  4933. #line 5328 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4934. break;
  4935. case 118:
  4936. #line 1476 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4937. {
  4938. (yyval.str) = "&";
  4939. }
  4940. #line 5336 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4941. break;
  4942. case 119:
  4943. #line 1480 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4944. {
  4945. (yyval.str) = "^";
  4946. }
  4947. #line 5344 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4948. break;
  4949. case 120:
  4950. #line 1484 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4951. {
  4952. (yyval.str) = "||";
  4953. }
  4954. #line 5352 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4955. break;
  4956. case 121:
  4957. #line 1488 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4958. {
  4959. (yyval.str) = "&&";
  4960. }
  4961. #line 5360 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4962. break;
  4963. case 122:
  4964. #line 1492 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4965. {
  4966. (yyval.str) = "==";
  4967. }
  4968. #line 5368 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4969. break;
  4970. case 123:
  4971. #line 1496 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4972. {
  4973. (yyval.str) = "!=";
  4974. }
  4975. #line 5376 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4976. break;
  4977. case 124:
  4978. #line 1500 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4979. {
  4980. (yyval.str) = "<=";
  4981. }
  4982. #line 5384 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4983. break;
  4984. case 125:
  4985. #line 1504 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4986. {
  4987. (yyval.str) = ">=";
  4988. }
  4989. #line 5392 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4990. break;
  4991. case 126:
  4992. #line 1508 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  4993. {
  4994. (yyval.str) = "<";
  4995. }
  4996. #line 5400 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  4997. break;
  4998. case 127:
  4999. #line 1512 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5000. {
  5001. (yyval.str) = ">";
  5002. }
  5003. #line 5408 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5004. break;
  5005. case 128:
  5006. #line 1516 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5007. {
  5008. (yyval.str) = "<<";
  5009. }
  5010. #line 5416 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5011. break;
  5012. case 129:
  5013. #line 1520 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5014. {
  5015. (yyval.str) = ">>";
  5016. }
  5017. #line 5424 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5018. break;
  5019. case 130:
  5020. #line 1524 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5021. {
  5022. (yyval.str) = "=";
  5023. }
  5024. #line 5432 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5025. break;
  5026. case 131:
  5027. #line 1528 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5028. {
  5029. (yyval.str) = ",";
  5030. }
  5031. #line 5440 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5032. break;
  5033. case 132:
  5034. #line 1532 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5035. {
  5036. (yyval.str) = "++";
  5037. }
  5038. #line 5448 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5039. break;
  5040. case 133:
  5041. #line 1536 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5042. {
  5043. (yyval.str) = "--";
  5044. }
  5045. #line 5456 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5046. break;
  5047. case 134:
  5048. #line 1540 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5049. {
  5050. (yyval.str) = "*=";
  5051. }
  5052. #line 5464 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5053. break;
  5054. case 135:
  5055. #line 1544 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5056. {
  5057. (yyval.str) = "/=";
  5058. }
  5059. #line 5472 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5060. break;
  5061. case 136:
  5062. #line 1548 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5063. {
  5064. (yyval.str) = "%=";
  5065. }
  5066. #line 5480 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5067. break;
  5068. case 137:
  5069. #line 1552 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5070. {
  5071. (yyval.str) = "+=";
  5072. }
  5073. #line 5488 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5074. break;
  5075. case 138:
  5076. #line 1556 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5077. {
  5078. (yyval.str) = "-=";
  5079. }
  5080. #line 5496 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5081. break;
  5082. case 139:
  5083. #line 1560 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5084. {
  5085. (yyval.str) = "|=";
  5086. }
  5087. #line 5504 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5088. break;
  5089. case 140:
  5090. #line 1564 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5091. {
  5092. (yyval.str) = "&=";
  5093. }
  5094. #line 5512 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5095. break;
  5096. case 141:
  5097. #line 1568 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5098. {
  5099. (yyval.str) = "^=";
  5100. }
  5101. #line 5520 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5102. break;
  5103. case 142:
  5104. #line 1572 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5105. {
  5106. (yyval.str) = "<<=";
  5107. }
  5108. #line 5528 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5109. break;
  5110. case 143:
  5111. #line 1576 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5112. {
  5113. (yyval.str) = ">>=";
  5114. }
  5115. #line 5536 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5116. break;
  5117. case 144:
  5118. #line 1580 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5119. {
  5120. (yyval.str) = "->";
  5121. }
  5122. #line 5544 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5123. break;
  5124. case 145:
  5125. #line 1584 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5126. {
  5127. (yyval.str) = "[]";
  5128. }
  5129. #line 5552 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5130. break;
  5131. case 146:
  5132. #line 1588 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5133. {
  5134. (yyval.str) = "()";
  5135. }
  5136. #line 5560 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5137. break;
  5138. case 147:
  5139. #line 1592 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5140. {
  5141. (yyval.str) = "new";
  5142. }
  5143. #line 5568 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5144. break;
  5145. case 148:
  5146. #line 1596 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5147. {
  5148. (yyval.str) = "delete";
  5149. }
  5150. #line 5576 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5151. break;
  5152. case 153:
  5153. #line 1610 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5154. {
  5155. push_scope(new CPPTemplateScope(current_scope));
  5156. }
  5157. #line 5584 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5158. break;
  5159. case 154:
  5160. #line 1614 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5161. {
  5162. pop_scope();
  5163. }
  5164. #line 5592 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5165. break;
  5166. case 159:
  5167. #line 1628 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5168. {
  5169. CPPTemplateScope *ts = current_scope->as_template_scope();
  5170. assert(ts != NULL);
  5171. ts->add_template_parameter((yyvsp[0].u.decl));
  5172. }
  5173. #line 5602 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5174. break;
  5175. case 160:
  5176. #line 1634 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5177. {
  5178. CPPTemplateScope *ts = current_scope->as_template_scope();
  5179. assert(ts != NULL);
  5180. ts->add_template_parameter((yyvsp[0].u.decl));
  5181. }
  5182. #line 5612 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5183. break;
  5184. case 163:
  5185. #line 1648 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5186. {
  5187. (yyval.u.decl) = CPPType::new_type(new CPPClassTemplateParameter((CPPIdentifier *)NULL));
  5188. }
  5189. #line 5620 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5190. break;
  5191. case 164:
  5192. #line 1652 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5193. {
  5194. (yyval.u.decl) = CPPType::new_type(new CPPClassTemplateParameter((yyvsp[0].u.identifier)));
  5195. }
  5196. #line 5628 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5197. break;
  5198. case 165:
  5199. #line 1656 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5200. {
  5201. (yyval.u.decl) = CPPType::new_type(new CPPClassTemplateParameter((yyvsp[-2].u.identifier), (yyvsp[0].u.type)));
  5202. }
  5203. #line 5636 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5204. break;
  5205. case 166:
  5206. #line 1660 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5207. {
  5208. CPPClassTemplateParameter *ctp = new CPPClassTemplateParameter((CPPIdentifier *)NULL);
  5209. ctp->_packed = true;
  5210. (yyval.u.decl) = CPPType::new_type(ctp);
  5211. }
  5212. #line 5646 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5213. break;
  5214. case 167:
  5215. #line 1666 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5216. {
  5217. CPPClassTemplateParameter *ctp = new CPPClassTemplateParameter((yyvsp[0].u.identifier));
  5218. ctp->_packed = true;
  5219. (yyval.u.decl) = CPPType::new_type(ctp);
  5220. }
  5221. #line 5656 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5222. break;
  5223. case 168:
  5224. #line 1672 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5225. {
  5226. CPPInstance *inst = new CPPInstance((yyvsp[-2].u.type), (yyvsp[-1].u.inst_ident), 0, (yylsp[-1]).file);
  5227. inst->set_initializer((yyvsp[0].u.expr));
  5228. (yyval.u.decl) = inst;
  5229. }
  5230. #line 5666 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5231. break;
  5232. case 169:
  5233. #line 1678 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5234. {
  5235. (yyvsp[-1].u.inst_ident)->add_modifier(IIT_const);
  5236. CPPInstance *inst = new CPPInstance((yyvsp[-2].u.type), (yyvsp[-1].u.inst_ident), 0, (yylsp[-1]).file);
  5237. inst->set_initializer((yyvsp[0].u.expr));
  5238. (yyval.u.decl) = inst;
  5239. }
  5240. #line 5677 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5241. break;
  5242. case 170:
  5243. #line 1685 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5244. {
  5245. CPPInstance *inst = new CPPInstance((yyvsp[-1].u.type), (yyvsp[0].u.inst_ident), 0, (yylsp[0]).file);
  5246. (yyval.u.decl) = inst;
  5247. }
  5248. #line 5686 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5249. break;
  5250. case 171:
  5251. #line 1690 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5252. {
  5253. (yyvsp[0].u.inst_ident)->add_modifier(IIT_const);
  5254. CPPInstance *inst = new CPPInstance((yyvsp[-1].u.type), (yyvsp[0].u.inst_ident), 0, (yylsp[0]).file);
  5255. (yyval.u.decl) = inst;
  5256. }
  5257. #line 5696 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5258. break;
  5259. case 172:
  5260. #line 1699 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5261. {
  5262. (yyval.u.type) = CPPType::new_type((yyvsp[0].u.simple_type));
  5263. }
  5264. #line 5704 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5265. break;
  5266. case 173:
  5267. #line 1703 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5268. {
  5269. yywarning("Not a type: " + (yyvsp[0].u.identifier)->get_fully_scoped_name(), (yylsp[0]));
  5270. (yyval.u.type) = CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_unknown));
  5271. }
  5272. #line 5713 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5273. break;
  5274. case 174:
  5275. #line 1708 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5276. {
  5277. (yyval.u.type) = (yyvsp[0].u.identifier)->find_type(current_scope, global_scope, false, current_lexer);
  5278. if ((yyval.u.type) == NULL) {
  5279. yyerror(string("internal error resolving type ") + (yyvsp[0].u.identifier)->get_fully_scoped_name(), (yylsp[0]));
  5280. }
  5281. assert((yyval.u.type) != NULL);
  5282. }
  5283. #line 5725 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5284. break;
  5285. case 175:
  5286. #line 1716 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5287. {
  5288. (yyval.u.type) = (yyvsp[0].u.identifier)->find_type(current_scope, global_scope, false, current_lexer);
  5289. if ((yyval.u.type) == NULL) {
  5290. yyerror(string("internal error resolving type ") + (yyvsp[0].u.identifier)->get_fully_scoped_name(), (yylsp[0]));
  5291. }
  5292. assert((yyval.u.type) != NULL);
  5293. }
  5294. #line 5737 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5295. break;
  5296. case 176:
  5297. #line 1728 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5298. {
  5299. (yyval.u.inst_ident) = new CPPInstanceIdentifier((yyvsp[0].u.identifier));
  5300. }
  5301. #line 5745 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5302. break;
  5303. case 177:
  5304. #line 1732 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5305. {
  5306. // For an operator function. We implement this simply by building a
  5307. // ficticious name for the function; in other respects it's just
  5308. // like a regular function.
  5309. CPPIdentifier *ident = (yyvsp[-1].u.identifier);
  5310. if (ident == NULL) {
  5311. ident = new CPPIdentifier("operator "+(yyvsp[0].str), (yylsp[0]));
  5312. } else {
  5313. ident->_names.push_back("operator "+(yyvsp[0].str));
  5314. }
  5315. (yyval.u.inst_ident) = new CPPInstanceIdentifier(ident);
  5316. }
  5317. #line 5763 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5318. break;
  5319. case 178:
  5320. #line 1746 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5321. {
  5322. // A C++11 literal operator.
  5323. if (!(yyvsp[-1].str).empty()) {
  5324. yyerror("expected empty string", (yylsp[-1]));
  5325. }
  5326. CPPIdentifier *ident = (yyvsp[-2].u.identifier);
  5327. if (ident == NULL) {
  5328. ident = new CPPIdentifier("operator \"\" "+(yyvsp[0].u.identifier)->get_simple_name(), (yylsp[0]));
  5329. } else {
  5330. ident->_names.push_back("operator \"\" "+(yyvsp[0].u.identifier)->get_simple_name());
  5331. }
  5332. (yyval.u.inst_ident) = new CPPInstanceIdentifier(ident);
  5333. }
  5334. #line 5782 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5335. break;
  5336. case 179:
  5337. #line 1761 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5338. {
  5339. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  5340. (yyval.u.inst_ident)->add_modifier(IIT_const);
  5341. }
  5342. #line 5791 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5343. break;
  5344. case 180:
  5345. #line 1766 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5346. {
  5347. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  5348. (yyval.u.inst_ident)->add_modifier(IIT_volatile);
  5349. }
  5350. #line 5800 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5351. break;
  5352. case 181:
  5353. #line 1771 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5354. {
  5355. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  5356. (yyval.u.inst_ident)->add_modifier(IIT_pointer);
  5357. }
  5358. #line 5809 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5359. break;
  5360. case 182:
  5361. #line 1776 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5362. {
  5363. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  5364. (yyval.u.inst_ident)->add_modifier(IIT_reference);
  5365. }
  5366. #line 5818 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5367. break;
  5368. case 183:
  5369. #line 1781 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5370. {
  5371. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  5372. (yyval.u.inst_ident)->add_modifier(IIT_rvalue_reference);
  5373. }
  5374. #line 5827 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5375. break;
  5376. case 184:
  5377. #line 1786 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5378. {
  5379. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  5380. (yyval.u.inst_ident)->add_scoped_pointer_modifier((yyvsp[-2].u.identifier));
  5381. }
  5382. #line 5836 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5383. break;
  5384. case 185:
  5385. #line 1791 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5386. {
  5387. (yyval.u.inst_ident) = (yyvsp[-3].u.inst_ident);
  5388. (yyval.u.inst_ident)->add_array_modifier((yyvsp[-1].u.expr));
  5389. }
  5390. #line 5845 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5391. break;
  5392. case 186:
  5393. #line 1796 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5394. {
  5395. (yyval.u.inst_ident) = (yyvsp[-1].u.inst_ident);
  5396. (yyval.u.inst_ident)->add_modifier(IIT_paren);
  5397. }
  5398. #line 5854 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5399. break;
  5400. case 187:
  5401. #line 1801 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5402. {
  5403. // Create a scope for this function (in case it is a function)
  5404. CPPScope *scope = new CPPScope((yyvsp[-1].u.inst_ident)->get_scope(current_scope, global_scope),
  5405. CPPNameComponent(""), V_private);
  5406. // It still needs to be able to pick up any template arguments, if this is
  5407. // a definition for a method template. Add a fake "using" declaration to
  5408. // accomplish this.
  5409. scope->_using.insert(current_scope);
  5410. push_scope(scope);
  5411. }
  5412. #line 5871 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5413. break;
  5414. case 188:
  5415. #line 1814 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5416. {
  5417. pop_scope();
  5418. (yyval.u.inst_ident) = (yyvsp[-5].u.inst_ident);
  5419. if ((yyvsp[-2].u.param_list)->is_parameter_expr() && (yyvsp[0].u.integer) == 0) {
  5420. // Oops, this must have been an instance declaration with a
  5421. // parameter list, not a function prototype.
  5422. (yyval.u.inst_ident)->add_initializer_modifier((yyvsp[-2].u.param_list));
  5423. } else {
  5424. // This was (probably) a function prototype.
  5425. (yyval.u.inst_ident)->add_func_modifier((yyvsp[-2].u.param_list), (yyvsp[0].u.integer));
  5426. }
  5427. }
  5428. #line 5889 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5429. break;
  5430. case 189:
  5431. #line 1832 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5432. {
  5433. // This is handled a bit awkwardly right now. Ideally it'd be wrapped
  5434. // up in the instance_identifier rule, but then more needs to happen in
  5435. // order to avoid shift/reduce conflicts.
  5436. if ((yyvsp[0].u.type) != NULL) {
  5437. (yyvsp[-1].u.inst_ident)->add_trailing_return_type((yyvsp[0].u.type));
  5438. }
  5439. (yyval.u.inst_ident) = (yyvsp[-1].u.inst_ident);
  5440. }
  5441. #line 5903 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5442. break;
  5443. case 190:
  5444. #line 1842 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5445. {
  5446. // Bitfield definition.
  5447. (yyvsp[-2].u.inst_ident)->_bit_width = (yyvsp[0].u.integer);
  5448. (yyval.u.inst_ident) = (yyvsp[-2].u.inst_ident);
  5449. }
  5450. #line 5913 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5451. break;
  5452. case 191:
  5453. #line 1852 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5454. {
  5455. (yyval.u.type) = NULL;
  5456. }
  5457. #line 5921 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5458. break;
  5459. case 192:
  5460. #line 1856 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5461. {
  5462. (yyval.u.type) = (yyvsp[0].u.inst_ident)->unroll_type((yyvsp[-1].u.type));
  5463. }
  5464. #line 5929 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5465. break;
  5466. case 193:
  5467. #line 1860 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5468. {
  5469. (yyvsp[0].u.inst_ident)->add_modifier(IIT_const);
  5470. (yyval.u.type) = (yyvsp[0].u.inst_ident)->unroll_type((yyvsp[-1].u.type));
  5471. }
  5472. #line 5938 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5473. break;
  5474. case 194:
  5475. #line 1869 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5476. {
  5477. (yyval.u.identifier) = NULL;
  5478. }
  5479. #line 5946 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5480. break;
  5481. case 195:
  5482. #line 1873 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5483. {
  5484. (yyval.u.identifier) = (yyvsp[0].u.identifier);
  5485. }
  5486. #line 5954 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5487. break;
  5488. case 196:
  5489. #line 1881 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5490. {
  5491. (yyval.u.param_list) = new CPPParameterList;
  5492. }
  5493. #line 5962 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5494. break;
  5495. case 197:
  5496. #line 1885 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5497. {
  5498. (yyval.u.param_list) = new CPPParameterList;
  5499. (yyval.u.param_list)->_includes_ellipsis = true;
  5500. }
  5501. #line 5971 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5502. break;
  5503. case 198:
  5504. #line 1890 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5505. {
  5506. (yyval.u.param_list) = (yyvsp[0].u.param_list);
  5507. }
  5508. #line 5979 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5509. break;
  5510. case 199:
  5511. #line 1894 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5512. {
  5513. (yyval.u.param_list) = (yyvsp[-2].u.param_list);
  5514. (yyval.u.param_list)->_includes_ellipsis = true;
  5515. }
  5516. #line 5988 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5517. break;
  5518. case 200:
  5519. #line 1899 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5520. {
  5521. (yyval.u.param_list) = (yyvsp[-1].u.param_list);
  5522. (yyval.u.param_list)->_includes_ellipsis = true;
  5523. }
  5524. #line 5997 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5525. break;
  5526. case 201:
  5527. #line 1907 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5528. {
  5529. (yyval.u.param_list) = new CPPParameterList;
  5530. (yyval.u.param_list)->_parameters.push_back((yyvsp[0].u.instance));
  5531. }
  5532. #line 6006 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5533. break;
  5534. case 202:
  5535. #line 1912 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5536. {
  5537. (yyval.u.param_list) = (yyvsp[-2].u.param_list);
  5538. (yyval.u.param_list)->_parameters.push_back((yyvsp[0].u.instance));
  5539. }
  5540. #line 6015 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5541. break;
  5542. case 203:
  5543. #line 1920 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5544. {
  5545. (yyval.u.param_list) = new CPPParameterList;
  5546. }
  5547. #line 6023 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5548. break;
  5549. case 204:
  5550. #line 1924 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5551. {
  5552. (yyval.u.param_list) = new CPPParameterList;
  5553. (yyval.u.param_list)->_includes_ellipsis = true;
  5554. }
  5555. #line 6032 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5556. break;
  5557. case 205:
  5558. #line 1929 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5559. {
  5560. (yyval.u.param_list) = (yyvsp[0].u.param_list);
  5561. }
  5562. #line 6040 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5563. break;
  5564. case 206:
  5565. #line 1933 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5566. {
  5567. (yyval.u.param_list) = (yyvsp[-2].u.param_list);
  5568. (yyval.u.param_list)->_includes_ellipsis = true;
  5569. }
  5570. #line 6049 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5571. break;
  5572. case 207:
  5573. #line 1938 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5574. {
  5575. (yyval.u.param_list) = (yyvsp[-1].u.param_list);
  5576. (yyval.u.param_list)->_includes_ellipsis = true;
  5577. }
  5578. #line 6058 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5579. break;
  5580. case 208:
  5581. #line 1946 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5582. {
  5583. (yyval.u.param_list) = new CPPParameterList;
  5584. (yyval.u.param_list)->_parameters.push_back((yyvsp[0].u.instance));
  5585. }
  5586. #line 6067 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5587. break;
  5588. case 209:
  5589. #line 1951 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5590. {
  5591. (yyval.u.param_list) = (yyvsp[-2].u.param_list);
  5592. (yyval.u.param_list)->_parameters.push_back((yyvsp[0].u.instance));
  5593. }
  5594. #line 6076 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5595. break;
  5596. case 210:
  5597. #line 1959 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5598. {
  5599. (yyval.u.expr) = (CPPExpression *)NULL;
  5600. }
  5601. #line 6084 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5602. break;
  5603. case 211:
  5604. #line 1963 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5605. {
  5606. (yyval.u.expr) = (yyvsp[0].u.expr);
  5607. }
  5608. #line 6092 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5609. break;
  5610. case 212:
  5611. #line 1970 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5612. {
  5613. (yyval.u.expr) = (CPPExpression *)NULL;
  5614. }
  5615. #line 6100 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5616. break;
  5617. case 213:
  5618. #line 1974 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5619. {
  5620. (yyval.u.expr) = (yyvsp[0].u.expr);
  5621. }
  5622. #line 6108 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5623. break;
  5624. case 214:
  5625. #line 1981 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5626. {
  5627. (yyval.u.expr) = (CPPExpression *)NULL;
  5628. }
  5629. #line 6116 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5630. break;
  5631. case 215:
  5632. #line 1985 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5633. {
  5634. (yyval.u.expr) = (CPPExpression *)NULL;
  5635. }
  5636. #line 6124 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5637. break;
  5638. case 216:
  5639. #line 1989 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5640. {
  5641. (yyval.u.expr) = (CPPExpression *)NULL;
  5642. }
  5643. #line 6132 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5644. break;
  5645. case 217:
  5646. #line 1993 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5647. {
  5648. (yyval.u.expr) = new CPPExpression(CPPExpression::get_default());
  5649. }
  5650. #line 6140 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5651. break;
  5652. case 218:
  5653. #line 1997 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5654. {
  5655. (yyval.u.expr) = new CPPExpression(CPPExpression::get_delete());
  5656. }
  5657. #line 6148 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5658. break;
  5659. case 219:
  5660. #line 2004 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5661. {
  5662. (yyval.u.expr) = (CPPExpression *)NULL;
  5663. }
  5664. #line 6156 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5665. break;
  5666. case 220:
  5667. #line 2008 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5668. {
  5669. (yyval.u.expr) = (CPPExpression *)NULL;
  5670. }
  5671. #line 6164 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5672. break;
  5673. case 221:
  5674. #line 2012 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5675. {
  5676. (yyval.u.expr) = (yyvsp[-1].u.expr);
  5677. }
  5678. #line 6172 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5679. break;
  5680. case 222:
  5681. #line 2016 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5682. {
  5683. (yyval.u.expr) = new CPPExpression(CPPExpression::get_default());
  5684. }
  5685. #line 6180 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5686. break;
  5687. case 223:
  5688. #line 2020 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5689. {
  5690. (yyval.u.expr) = new CPPExpression(CPPExpression::get_delete());
  5691. }
  5692. #line 6188 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5693. break;
  5694. case 224:
  5695. #line 2024 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5696. {
  5697. (yyval.u.expr) = (CPPExpression *)NULL;
  5698. }
  5699. #line 6196 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5700. break;
  5701. case 228:
  5702. #line 2037 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5703. {
  5704. }
  5705. #line 6203 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5706. break;
  5707. case 232:
  5708. #line 2046 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5709. {
  5710. (yyval.u.instance) = new CPPInstance((yyvsp[-2].u.type), (yyvsp[-1].u.inst_ident), 0, (yylsp[-1]).file);
  5711. (yyval.u.instance)->set_initializer((yyvsp[0].u.expr));
  5712. }
  5713. #line 6212 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5714. break;
  5715. case 233:
  5716. #line 2051 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5717. {
  5718. (yyvsp[-1].u.inst_ident)->add_modifier(IIT_const);
  5719. (yyval.u.instance) = new CPPInstance((yyvsp[-2].u.type), (yyvsp[-1].u.inst_ident), 0, (yylsp[-1]).file);
  5720. (yyval.u.instance)->set_initializer((yyvsp[0].u.expr));
  5721. }
  5722. #line 6222 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5723. break;
  5724. case 234:
  5725. #line 2057 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5726. {
  5727. (yyvsp[-1].u.inst_ident)->add_modifier(IIT_const);
  5728. (yyval.u.instance) = new CPPInstance((yyvsp[-2].u.type), (yyvsp[-1].u.inst_ident), 0, (yylsp[-2]).file);
  5729. (yyval.u.instance)->set_initializer((yyvsp[0].u.expr));
  5730. }
  5731. #line 6232 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5732. break;
  5733. case 235:
  5734. #line 2063 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5735. {
  5736. (yyval.u.instance) = new CPPInstance((yyvsp[-2].u.type), (yyvsp[-1].u.inst_ident), 0, (yylsp[-1]).file);
  5737. (yyval.u.instance)->set_initializer((yyvsp[0].u.expr));
  5738. }
  5739. #line 6241 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5740. break;
  5741. case 236:
  5742. #line 2068 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5743. {
  5744. (yyvsp[-1].u.inst_ident)->add_modifier(IIT_const);
  5745. (yyval.u.instance) = new CPPInstance((yyvsp[-2].u.type), (yyvsp[-1].u.inst_ident), 0, (yylsp[-1]).file);
  5746. (yyval.u.instance)->set_initializer((yyvsp[0].u.expr));
  5747. }
  5748. #line 6251 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5749. break;
  5750. case 237:
  5751. #line 2074 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5752. {
  5753. (yyvsp[-1].u.inst_ident)->add_modifier(IIT_const);
  5754. (yyval.u.instance) = new CPPInstance((yyvsp[-2].u.type), (yyvsp[-1].u.inst_ident), 0, (yylsp[-2]).file);
  5755. (yyval.u.instance)->set_initializer((yyvsp[0].u.expr));
  5756. }
  5757. #line 6261 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5758. break;
  5759. case 238:
  5760. #line 2080 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5761. {
  5762. (yyval.u.instance) = (yyvsp[0].u.instance);
  5763. }
  5764. #line 6269 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5765. break;
  5766. case 239:
  5767. #line 2084 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5768. {
  5769. (yyval.u.instance) = (yyvsp[0].u.instance);
  5770. }
  5771. #line 6277 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5772. break;
  5773. case 240:
  5774. #line 2095 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5775. {
  5776. (yyval.u.instance) = (yyvsp[0].u.instance);
  5777. }
  5778. #line 6285 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5779. break;
  5780. case 241:
  5781. #line 2099 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5782. {
  5783. CPPType *type =
  5784. CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_parameter));
  5785. (yyval.u.instance) = new CPPInstance(type, "expr");
  5786. (yyval.u.instance)->set_initializer((yyvsp[0].u.expr));
  5787. }
  5788. #line 6296 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5789. break;
  5790. case 242:
  5791. #line 2109 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5792. {
  5793. (yyval.u.inst_ident) = new CPPInstanceIdentifier((CPPIdentifier *)NULL);
  5794. }
  5795. #line 6304 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5796. break;
  5797. case 243:
  5798. #line 2113 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5799. {
  5800. (yyval.u.inst_ident) = new CPPInstanceIdentifier((yyvsp[0].u.identifier));
  5801. }
  5802. #line 6312 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5803. break;
  5804. case 244:
  5805. #line 2117 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5806. {
  5807. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  5808. (yyval.u.inst_ident)->add_modifier(IIT_const);
  5809. }
  5810. #line 6321 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5811. break;
  5812. case 245:
  5813. #line 2122 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5814. {
  5815. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  5816. (yyval.u.inst_ident)->add_modifier(IIT_volatile);
  5817. }
  5818. #line 6330 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5819. break;
  5820. case 246:
  5821. #line 2127 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5822. {
  5823. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  5824. (yyval.u.inst_ident)->add_modifier(IIT_pointer);
  5825. }
  5826. #line 6339 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5827. break;
  5828. case 247:
  5829. #line 2132 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5830. {
  5831. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  5832. (yyval.u.inst_ident)->add_modifier(IIT_reference);
  5833. }
  5834. #line 6348 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5835. break;
  5836. case 248:
  5837. #line 2137 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5838. {
  5839. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  5840. (yyval.u.inst_ident)->add_modifier(IIT_rvalue_reference);
  5841. }
  5842. #line 6357 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5843. break;
  5844. case 249:
  5845. #line 2142 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5846. {
  5847. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  5848. (yyval.u.inst_ident)->add_scoped_pointer_modifier((yyvsp[-2].u.identifier));
  5849. }
  5850. #line 6366 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5851. break;
  5852. case 250:
  5853. #line 2147 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5854. {
  5855. (yyval.u.inst_ident) = (yyvsp[-3].u.inst_ident);
  5856. (yyval.u.inst_ident)->add_array_modifier((yyvsp[-1].u.expr));
  5857. }
  5858. #line 6375 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5859. break;
  5860. case 251:
  5861. #line 2155 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5862. {
  5863. (yyval.u.inst_ident) = new CPPInstanceIdentifier((CPPIdentifier *)NULL);
  5864. }
  5865. #line 6383 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5866. break;
  5867. case 252:
  5868. #line 2159 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5869. {
  5870. (yyval.u.inst_ident) = new CPPInstanceIdentifier((yyvsp[0].u.identifier));
  5871. }
  5872. #line 6391 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5873. break;
  5874. case 253:
  5875. #line 2163 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5876. {
  5877. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  5878. (yyval.u.inst_ident)->add_modifier(IIT_const);
  5879. }
  5880. #line 6400 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5881. break;
  5882. case 254:
  5883. #line 2168 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5884. {
  5885. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  5886. (yyval.u.inst_ident)->add_modifier(IIT_volatile);
  5887. }
  5888. #line 6409 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5889. break;
  5890. case 255:
  5891. #line 2173 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5892. {
  5893. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  5894. (yyval.u.inst_ident)->add_modifier(IIT_pointer);
  5895. }
  5896. #line 6418 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5897. break;
  5898. case 256:
  5899. #line 2178 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5900. {
  5901. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  5902. (yyval.u.inst_ident)->add_modifier(IIT_reference);
  5903. }
  5904. #line 6427 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5905. break;
  5906. case 257:
  5907. #line 2183 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5908. {
  5909. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  5910. (yyval.u.inst_ident)->add_modifier(IIT_rvalue_reference);
  5911. }
  5912. #line 6436 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5913. break;
  5914. case 258:
  5915. #line 2188 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5916. {
  5917. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  5918. (yyval.u.inst_ident)->add_scoped_pointer_modifier((yyvsp[-2].u.identifier));
  5919. }
  5920. #line 6445 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5921. break;
  5922. case 259:
  5923. #line 2193 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5924. {
  5925. (yyval.u.inst_ident) = (yyvsp[-3].u.inst_ident);
  5926. (yyval.u.inst_ident)->add_array_modifier((yyvsp[-1].u.expr));
  5927. }
  5928. #line 6454 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5929. break;
  5930. case 260:
  5931. #line 2198 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5932. {
  5933. (yyval.u.inst_ident) = (yyvsp[-5].u.inst_ident);
  5934. (yyval.u.inst_ident)->add_modifier(IIT_paren);
  5935. (yyval.u.inst_ident)->add_func_modifier((yyvsp[-2].u.param_list), (yyvsp[0].u.integer));
  5936. }
  5937. #line 6464 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5938. break;
  5939. case 261:
  5940. #line 2204 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5941. {
  5942. (yyval.u.inst_ident) = (yyvsp[-1].u.inst_ident);
  5943. (yyval.u.inst_ident)->add_modifier(IIT_paren);
  5944. }
  5945. #line 6473 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5946. break;
  5947. case 262:
  5948. #line 2212 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5949. {
  5950. (yyval.u.inst_ident) = new CPPInstanceIdentifier((CPPIdentifier *)NULL);
  5951. (yyval.u.inst_ident)->_packed = true;
  5952. }
  5953. #line 6482 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5954. break;
  5955. case 263:
  5956. #line 2217 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5957. {
  5958. (yyval.u.inst_ident) = new CPPInstanceIdentifier((yyvsp[0].u.identifier));
  5959. (yyval.u.inst_ident)->_packed = true;
  5960. }
  5961. #line 6491 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5962. break;
  5963. case 264:
  5964. #line 2222 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5965. {
  5966. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  5967. (yyval.u.inst_ident)->add_modifier(IIT_const);
  5968. }
  5969. #line 6500 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5970. break;
  5971. case 265:
  5972. #line 2227 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5973. {
  5974. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  5975. (yyval.u.inst_ident)->add_modifier(IIT_volatile);
  5976. }
  5977. #line 6509 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5978. break;
  5979. case 266:
  5980. #line 2232 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5981. {
  5982. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  5983. (yyval.u.inst_ident)->add_modifier(IIT_pointer);
  5984. }
  5985. #line 6518 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5986. break;
  5987. case 267:
  5988. #line 2237 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5989. {
  5990. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  5991. (yyval.u.inst_ident)->add_modifier(IIT_reference);
  5992. }
  5993. #line 6527 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  5994. break;
  5995. case 268:
  5996. #line 2242 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  5997. {
  5998. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  5999. (yyval.u.inst_ident)->add_modifier(IIT_rvalue_reference);
  6000. }
  6001. #line 6536 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6002. break;
  6003. case 269:
  6004. #line 2247 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6005. {
  6006. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  6007. (yyval.u.inst_ident)->add_scoped_pointer_modifier((yyvsp[-2].u.identifier));
  6008. }
  6009. #line 6545 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6010. break;
  6011. case 270:
  6012. #line 2252 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6013. {
  6014. (yyval.u.inst_ident) = (yyvsp[-3].u.inst_ident);
  6015. (yyval.u.inst_ident)->add_array_modifier((yyvsp[-1].u.expr));
  6016. }
  6017. #line 6554 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6018. break;
  6019. case 271:
  6020. #line 2257 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6021. {
  6022. (yyval.u.inst_ident) = (yyvsp[-5].u.inst_ident);
  6023. (yyval.u.inst_ident)->add_modifier(IIT_paren);
  6024. (yyval.u.inst_ident)->add_func_modifier((yyvsp[-2].u.param_list), (yyvsp[0].u.integer));
  6025. }
  6026. #line 6564 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6027. break;
  6028. case 272:
  6029. #line 2263 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6030. {
  6031. (yyval.u.inst_ident) = (yyvsp[-1].u.inst_ident);
  6032. (yyval.u.inst_ident)->add_modifier(IIT_paren);
  6033. }
  6034. #line 6573 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6035. break;
  6036. case 273:
  6037. #line 2271 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6038. {
  6039. (yyval.u.inst_ident) = new CPPInstanceIdentifier((CPPIdentifier *)NULL);
  6040. }
  6041. #line 6581 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6042. break;
  6043. case 274:
  6044. #line 2275 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6045. {
  6046. (yyval.u.inst_ident) = new CPPInstanceIdentifier((CPPIdentifier *)NULL);
  6047. (yyval.u.inst_ident)->_packed = true;
  6048. }
  6049. #line 6590 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6050. break;
  6051. case 275:
  6052. #line 2280 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6053. {
  6054. (yyval.u.inst_ident) = new CPPInstanceIdentifier((yyvsp[0].u.identifier));
  6055. (yyval.u.inst_ident)->_packed = true;
  6056. }
  6057. #line 6599 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6058. break;
  6059. case 276:
  6060. #line 2285 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6061. {
  6062. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  6063. (yyval.u.inst_ident)->add_modifier(IIT_const);
  6064. }
  6065. #line 6608 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6066. break;
  6067. case 277:
  6068. #line 2290 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6069. {
  6070. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  6071. (yyval.u.inst_ident)->add_modifier(IIT_volatile);
  6072. }
  6073. #line 6617 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6074. break;
  6075. case 278:
  6076. #line 2295 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6077. {
  6078. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  6079. (yyval.u.inst_ident)->add_modifier(IIT_pointer);
  6080. }
  6081. #line 6626 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6082. break;
  6083. case 279:
  6084. #line 2300 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6085. {
  6086. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  6087. (yyval.u.inst_ident)->add_modifier(IIT_reference);
  6088. }
  6089. #line 6635 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6090. break;
  6091. case 280:
  6092. #line 2305 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6093. {
  6094. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  6095. (yyval.u.inst_ident)->add_modifier(IIT_rvalue_reference);
  6096. }
  6097. #line 6644 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6098. break;
  6099. case 281:
  6100. #line 2310 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6101. {
  6102. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  6103. (yyval.u.inst_ident)->add_scoped_pointer_modifier((yyvsp[-2].u.identifier));
  6104. }
  6105. #line 6653 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6106. break;
  6107. case 282:
  6108. #line 2315 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6109. {
  6110. (yyval.u.inst_ident) = (yyvsp[-3].u.inst_ident);
  6111. (yyval.u.inst_ident)->add_array_modifier((yyvsp[-1].u.expr));
  6112. }
  6113. #line 6662 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6114. break;
  6115. case 283:
  6116. #line 2323 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6117. {
  6118. (yyval.u.inst_ident) = new CPPInstanceIdentifier((CPPIdentifier *)NULL);
  6119. }
  6120. #line 6670 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6121. break;
  6122. case 284:
  6123. #line 2327 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6124. {
  6125. (yyval.u.inst_ident) = new CPPInstanceIdentifier((CPPIdentifier *)NULL);
  6126. (yyval.u.inst_ident)->_packed = true;
  6127. }
  6128. #line 6679 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6129. break;
  6130. case 285:
  6131. #line 2332 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6132. {
  6133. (yyval.u.inst_ident) = new CPPInstanceIdentifier((yyvsp[0].u.identifier));
  6134. (yyval.u.inst_ident)->_packed = true;
  6135. }
  6136. #line 6688 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6137. break;
  6138. case 286:
  6139. #line 2337 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6140. {
  6141. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  6142. (yyval.u.inst_ident)->add_modifier(IIT_const);
  6143. }
  6144. #line 6697 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6145. break;
  6146. case 287:
  6147. #line 2342 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6148. {
  6149. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  6150. (yyval.u.inst_ident)->add_modifier(IIT_volatile);
  6151. }
  6152. #line 6706 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6153. break;
  6154. case 288:
  6155. #line 2347 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6156. {
  6157. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  6158. (yyval.u.inst_ident)->add_modifier(IIT_pointer);
  6159. }
  6160. #line 6715 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6161. break;
  6162. case 289:
  6163. #line 2352 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6164. {
  6165. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  6166. (yyval.u.inst_ident)->add_modifier(IIT_reference);
  6167. }
  6168. #line 6724 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6169. break;
  6170. case 290:
  6171. #line 2357 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6172. {
  6173. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  6174. (yyval.u.inst_ident)->add_modifier(IIT_rvalue_reference);
  6175. }
  6176. #line 6733 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6177. break;
  6178. case 291:
  6179. #line 2362 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6180. {
  6181. (yyval.u.inst_ident) = (yyvsp[0].u.inst_ident);
  6182. (yyval.u.inst_ident)->add_scoped_pointer_modifier((yyvsp[-2].u.identifier));
  6183. }
  6184. #line 6742 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6185. break;
  6186. case 292:
  6187. #line 2367 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6188. {
  6189. (yyval.u.inst_ident) = (yyvsp[-3].u.inst_ident);
  6190. (yyval.u.inst_ident)->add_array_modifier((yyvsp[-1].u.expr));
  6191. }
  6192. #line 6751 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6193. break;
  6194. case 293:
  6195. #line 2372 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6196. {
  6197. (yyval.u.inst_ident) = new CPPInstanceIdentifier((CPPIdentifier *)NULL);
  6198. (yyval.u.inst_ident)->add_modifier(IIT_paren);
  6199. (yyval.u.inst_ident)->add_func_modifier((yyvsp[-3].u.param_list), (yyvsp[-1].u.integer), (yyvsp[0].u.type));
  6200. }
  6201. #line 6761 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6202. break;
  6203. case 294:
  6204. #line 2378 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6205. {
  6206. (yyval.u.inst_ident) = (yyvsp[-6].u.inst_ident);
  6207. (yyval.u.inst_ident)->add_modifier(IIT_pointer);
  6208. (yyval.u.inst_ident)->add_modifier(IIT_paren);
  6209. (yyval.u.inst_ident)->add_func_modifier((yyvsp[-3].u.param_list), (yyvsp[-1].u.integer), (yyvsp[0].u.type));
  6210. }
  6211. #line 6772 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6212. break;
  6213. case 295:
  6214. #line 2385 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6215. {
  6216. (yyval.u.inst_ident) = (yyvsp[-6].u.inst_ident);
  6217. (yyval.u.inst_ident)->add_modifier(IIT_reference);
  6218. (yyval.u.inst_ident)->add_modifier(IIT_paren);
  6219. (yyval.u.inst_ident)->add_func_modifier((yyvsp[-3].u.param_list), (yyvsp[-1].u.integer), (yyvsp[0].u.type));
  6220. }
  6221. #line 6783 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6222. break;
  6223. case 296:
  6224. #line 2392 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6225. {
  6226. (yyval.u.inst_ident) = (yyvsp[-6].u.inst_ident);
  6227. (yyval.u.inst_ident)->add_modifier(IIT_rvalue_reference);
  6228. (yyval.u.inst_ident)->add_modifier(IIT_paren);
  6229. (yyval.u.inst_ident)->add_func_modifier((yyvsp[-3].u.param_list), (yyvsp[-1].u.integer), (yyvsp[0].u.type));
  6230. }
  6231. #line 6794 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6232. break;
  6233. case 297:
  6234. #line 2402 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6235. {
  6236. (yyval.u.type) = CPPType::new_type((yyvsp[0].u.simple_type));
  6237. }
  6238. #line 6802 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6239. break;
  6240. case 298:
  6241. #line 2406 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6242. {
  6243. (yyval.u.type) = (yyvsp[0].u.identifier)->find_type(current_scope, global_scope, false, current_lexer);
  6244. if ((yyval.u.type) == NULL) {
  6245. yyerror(string("internal error resolving type ") + (yyvsp[0].u.identifier)->get_fully_scoped_name(), (yylsp[0]));
  6246. }
  6247. assert((yyval.u.type) != NULL);
  6248. }
  6249. #line 6814 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6250. break;
  6251. case 299:
  6252. #line 2414 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6253. {
  6254. (yyval.u.type) = CPPType::new_type(new CPPTBDType((yyvsp[0].u.identifier)));
  6255. }
  6256. #line 6822 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6257. break;
  6258. case 300:
  6259. #line 2418 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6260. {
  6261. (yyval.u.type) = CPPType::new_type((yyvsp[0].u.struct_type));
  6262. }
  6263. #line 6830 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6264. break;
  6265. case 301:
  6266. #line 2422 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6267. {
  6268. (yyval.u.type) = CPPType::new_type((yyvsp[0].u.struct_type));
  6269. }
  6270. #line 6838 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6271. break;
  6272. case 302:
  6273. #line 2426 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6274. {
  6275. (yyval.u.type) = CPPType::new_type((yyvsp[0].u.enum_type));
  6276. }
  6277. #line 6846 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6278. break;
  6279. case 303:
  6280. #line 2430 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6281. {
  6282. CPPType *type = (yyvsp[0].u.identifier)->find_type(current_scope, global_scope, false, current_lexer);
  6283. if (type != NULL) {
  6284. (yyval.u.type) = type;
  6285. } else {
  6286. CPPExtensionType *et =
  6287. CPPType::new_type(new CPPExtensionType((yyvsp[-2].u.extension_enum), (yyvsp[0].u.identifier), current_scope, (yylsp[-2]).file))
  6288. ->as_extension_type();
  6289. CPPScope *scope = (yyvsp[0].u.identifier)->get_scope(current_scope, global_scope);
  6290. if (scope != NULL) {
  6291. scope->define_extension_type(et);
  6292. }
  6293. (yyval.u.type) = et;
  6294. }
  6295. }
  6296. #line 6866 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6297. break;
  6298. case 304:
  6299. #line 2446 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6300. {
  6301. CPPType *type = (yyvsp[-2].u.identifier)->find_type(current_scope, global_scope, false, current_lexer);
  6302. if (type != NULL) {
  6303. (yyval.u.type) = type;
  6304. } else {
  6305. CPPExtensionType *et =
  6306. CPPType::new_type(new CPPExtensionType((yyvsp[-3].u.extension_enum), (yyvsp[-2].u.identifier), current_scope, (yylsp[-3]).file))
  6307. ->as_extension_type();
  6308. CPPScope *scope = (yyvsp[-2].u.identifier)->get_scope(current_scope, global_scope);
  6309. if (scope != NULL) {
  6310. scope->define_extension_type(et);
  6311. }
  6312. (yyval.u.type) = et;
  6313. }
  6314. }
  6315. #line 6886 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6316. break;
  6317. case 305:
  6318. #line 2462 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6319. {
  6320. (yyval.u.type) = (yyvsp[-1].u.expr)->determine_type();
  6321. if ((yyval.u.type) == (CPPType *)NULL) {
  6322. stringstream str;
  6323. str << *(yyvsp[-1].u.expr);
  6324. yyerror("could not determine type of " + str.str(), (yylsp[-1]));
  6325. }
  6326. }
  6327. #line 6899 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6328. break;
  6329. case 306:
  6330. #line 2471 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6331. {
  6332. (yyval.u.type) = CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_auto));
  6333. }
  6334. #line 6907 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6335. break;
  6336. case 307:
  6337. #line 2475 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6338. {
  6339. CPPEnumType *enum_type = (yyvsp[-1].u.type)->as_enum_type();
  6340. if (enum_type == NULL) {
  6341. yyerror("an enumeration type is required", (yylsp[-1]));
  6342. (yyval.u.type) = (yyvsp[-1].u.type);
  6343. } else {
  6344. (yyval.u.type) = enum_type->get_underlying_type();
  6345. }
  6346. }
  6347. #line 6921 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6348. break;
  6349. case 308:
  6350. #line 2485 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6351. {
  6352. (yyval.u.type) = CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_auto));
  6353. }
  6354. #line 6929 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6355. break;
  6356. case 309:
  6357. #line 2492 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6358. {
  6359. (yyval.u.type) = (yyvsp[0].u.identifier)->find_type(current_scope, global_scope, false, current_lexer);
  6360. if ((yyval.u.type) == NULL) {
  6361. yyerror(string("internal error resolving type ") + (yyvsp[0].u.identifier)->get_fully_scoped_name(), (yylsp[0]));
  6362. }
  6363. assert((yyval.u.type) != NULL);
  6364. }
  6365. #line 6941 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6366. break;
  6367. case 310:
  6368. #line 2503 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6369. {
  6370. (yyval.u.decl) = CPPType::new_type((yyvsp[0].u.simple_type));
  6371. }
  6372. #line 6949 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6373. break;
  6374. case 311:
  6375. #line 2507 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6376. {
  6377. (yyval.u.decl) = (yyvsp[0].u.identifier)->find_type(current_scope, global_scope, false, current_lexer);
  6378. if ((yyval.u.decl) == NULL) {
  6379. yyerror(string("internal error resolving type ") + (yyvsp[0].u.identifier)->get_fully_scoped_name(), (yylsp[0]));
  6380. }
  6381. assert((yyval.u.decl) != NULL);
  6382. }
  6383. #line 6961 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6384. break;
  6385. case 312:
  6386. #line 2515 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6387. {
  6388. (yyval.u.decl) = CPPType::new_type(new CPPTBDType((yyvsp[0].u.identifier)));
  6389. }
  6390. #line 6969 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6391. break;
  6392. case 313:
  6393. #line 2519 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6394. {
  6395. (yyval.u.decl) = CPPType::new_type((yyvsp[0].u.struct_type));
  6396. }
  6397. #line 6977 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6398. break;
  6399. case 314:
  6400. #line 2523 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6401. {
  6402. (yyval.u.decl) = new CPPTypeDeclaration(CPPType::new_type((yyvsp[0].u.struct_type)));
  6403. }
  6404. #line 6985 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6405. break;
  6406. case 315:
  6407. #line 2527 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6408. {
  6409. (yyval.u.decl) = new CPPTypeDeclaration(CPPType::new_type((yyvsp[0].u.enum_type)));
  6410. }
  6411. #line 6993 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6412. break;
  6413. case 316:
  6414. #line 2531 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6415. {
  6416. CPPType *type = (yyvsp[0].u.identifier)->find_type(current_scope, global_scope, false, current_lexer);
  6417. if (type != NULL) {
  6418. (yyval.u.decl) = type;
  6419. } else {
  6420. CPPExtensionType *et =
  6421. CPPType::new_type(new CPPExtensionType((yyvsp[-2].u.extension_enum), (yyvsp[0].u.identifier), current_scope, (yylsp[-2]).file))
  6422. ->as_extension_type();
  6423. CPPScope *scope = (yyvsp[0].u.identifier)->get_scope(current_scope, global_scope);
  6424. if (scope != NULL) {
  6425. scope->define_extension_type(et);
  6426. }
  6427. (yyval.u.decl) = et;
  6428. }
  6429. }
  6430. #line 7013 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6431. break;
  6432. case 317:
  6433. #line 2547 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6434. {
  6435. CPPType *type = (yyvsp[-2].u.identifier)->find_type(current_scope, global_scope, false, current_lexer);
  6436. if (type != NULL) {
  6437. (yyval.u.decl) = type;
  6438. } else {
  6439. CPPExtensionType *et =
  6440. CPPType::new_type(new CPPExtensionType((yyvsp[-3].u.extension_enum), (yyvsp[-2].u.identifier), current_scope, (yylsp[-3]).file))
  6441. ->as_extension_type();
  6442. CPPScope *scope = (yyvsp[-2].u.identifier)->get_scope(current_scope, global_scope);
  6443. if (scope != NULL) {
  6444. scope->define_extension_type(et);
  6445. }
  6446. (yyval.u.decl) = et;
  6447. }
  6448. }
  6449. #line 7033 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6450. break;
  6451. case 318:
  6452. #line 2563 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6453. {
  6454. yywarning(string("C++ does not permit forward declaration of untyped enum ") + (yyvsp[0].u.identifier)->get_fully_scoped_name(), (yylsp[-1]));
  6455. CPPType *type = (yyvsp[0].u.identifier)->find_type(current_scope, global_scope, false, current_lexer);
  6456. if (type != NULL) {
  6457. (yyval.u.decl) = type;
  6458. } else {
  6459. CPPExtensionType *et =
  6460. CPPType::new_type(new CPPExtensionType((yyvsp[-1].u.extension_enum), (yyvsp[0].u.identifier), current_scope, (yylsp[-1]).file))
  6461. ->as_extension_type();
  6462. CPPScope *scope = (yyvsp[0].u.identifier)->get_scope(current_scope, global_scope);
  6463. if (scope != NULL) {
  6464. scope->define_extension_type(et);
  6465. }
  6466. (yyval.u.decl) = et;
  6467. }
  6468. }
  6469. #line 7055 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6470. break;
  6471. case 319:
  6472. #line 2581 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6473. {
  6474. (yyval.u.decl) = (yyvsp[-1].u.expr)->determine_type();
  6475. if ((yyval.u.decl) == (CPPType *)NULL) {
  6476. stringstream str;
  6477. str << *(yyvsp[-1].u.expr);
  6478. yyerror("could not determine type of " + str.str(), (yylsp[-1]));
  6479. }
  6480. }
  6481. #line 7068 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6482. break;
  6483. case 320:
  6484. #line 2590 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6485. {
  6486. (yyval.u.decl) = CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_auto));
  6487. }
  6488. #line 7076 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6489. break;
  6490. case 321:
  6491. #line 2594 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6492. {
  6493. CPPEnumType *enum_type = (yyvsp[-1].u.type)->as_enum_type();
  6494. if (enum_type == NULL) {
  6495. yyerror("an enumeration type is required", (yylsp[-1]));
  6496. (yyval.u.decl) = (yyvsp[-1].u.type);
  6497. } else {
  6498. (yyval.u.decl) = enum_type->get_underlying_type();
  6499. }
  6500. }
  6501. #line 7090 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6502. break;
  6503. case 322:
  6504. #line 2604 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6505. {
  6506. (yyval.u.decl) = CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_auto));
  6507. }
  6508. #line 7098 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6509. break;
  6510. case 323:
  6511. #line 2611 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6512. {
  6513. (yyval.u.type) = CPPType::new_type((yyvsp[0].u.simple_type));
  6514. }
  6515. #line 7106 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6516. break;
  6517. case 324:
  6518. #line 2615 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6519. {
  6520. (yyval.u.type) = (yyvsp[0].u.identifier)->find_type(current_scope, global_scope, false, current_lexer);
  6521. if ((yyval.u.type) == NULL) {
  6522. yyerror(string("internal error resolving type ") + (yyvsp[0].u.identifier)->get_fully_scoped_name(), (yylsp[0]));
  6523. }
  6524. assert((yyval.u.type) != NULL);
  6525. }
  6526. #line 7118 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6527. break;
  6528. case 325:
  6529. #line 2623 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6530. {
  6531. (yyval.u.type) = CPPType::new_type(new CPPTBDType((yyvsp[0].u.identifier)));
  6532. }
  6533. #line 7126 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6534. break;
  6535. case 326:
  6536. #line 2627 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6537. {
  6538. CPPType *type = (yyvsp[0].u.identifier)->find_type(current_scope, global_scope, false, current_lexer);
  6539. if (type != NULL) {
  6540. (yyval.u.type) = type;
  6541. } else {
  6542. CPPExtensionType *et =
  6543. CPPType::new_type(new CPPExtensionType((yyvsp[-2].u.extension_enum), (yyvsp[0].u.identifier), current_scope, (yylsp[-2]).file))
  6544. ->as_extension_type();
  6545. CPPScope *scope = (yyvsp[0].u.identifier)->get_scope(current_scope, global_scope);
  6546. if (scope != NULL) {
  6547. scope->define_extension_type(et);
  6548. }
  6549. (yyval.u.type) = et;
  6550. }
  6551. }
  6552. #line 7146 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6553. break;
  6554. case 327:
  6555. #line 2643 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6556. {
  6557. CPPType *type = (yyvsp[0].u.identifier)->find_type(current_scope, global_scope, false, current_lexer);
  6558. if (type != NULL) {
  6559. (yyval.u.type) = type;
  6560. } else {
  6561. CPPExtensionType *et =
  6562. CPPType::new_type(new CPPExtensionType((yyvsp[-1].u.extension_enum), (yyvsp[0].u.identifier), current_scope, (yylsp[-1]).file))
  6563. ->as_extension_type();
  6564. CPPScope *scope = (yyvsp[0].u.identifier)->get_scope(current_scope, global_scope);
  6565. if (scope != NULL) {
  6566. scope->define_extension_type(et);
  6567. }
  6568. (yyval.u.type) = et;
  6569. }
  6570. }
  6571. #line 7166 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6572. break;
  6573. case 328:
  6574. #line 2659 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6575. {
  6576. (yyval.u.type) = (yyvsp[-1].u.expr)->determine_type();
  6577. if ((yyval.u.type) == (CPPType *)NULL) {
  6578. stringstream str;
  6579. str << *(yyvsp[-1].u.expr);
  6580. yyerror("could not determine type of " + str.str(), (yylsp[-1]));
  6581. }
  6582. }
  6583. #line 7179 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6584. break;
  6585. case 329:
  6586. #line 2668 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6587. {
  6588. CPPEnumType *enum_type = (yyvsp[-1].u.type)->as_enum_type();
  6589. if (enum_type == NULL) {
  6590. yyerror("an enumeration type is required", (yylsp[-1]));
  6591. (yyval.u.type) = (yyvsp[-1].u.type);
  6592. } else {
  6593. (yyval.u.type) = enum_type->get_underlying_type();
  6594. }
  6595. }
  6596. #line 7193 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6597. break;
  6598. case 330:
  6599. #line 2678 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6600. {
  6601. (yyval.u.type) = CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_auto));
  6602. }
  6603. #line 7201 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6604. break;
  6605. case 331:
  6606. #line 2685 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6607. {
  6608. (yyval.u.decl) = (yyvsp[0].u.decl);
  6609. }
  6610. #line 7209 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6611. break;
  6612. case 332:
  6613. #line 2689 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6614. {
  6615. yyerror(string("unknown type '") + (yyvsp[0].u.identifier)->get_fully_scoped_name() + "'", (yylsp[0]));
  6616. (yyval.u.decl) = CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_unknown));
  6617. }
  6618. #line 7219 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6619. break;
  6620. case 333:
  6621. #line 2697 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6622. {
  6623. (yyval.u.type) = (yyvsp[0].u.inst_ident)->unroll_type((yyvsp[-1].u.type));
  6624. }
  6625. #line 7227 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6626. break;
  6627. case 334:
  6628. #line 2701 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6629. {
  6630. (yyvsp[0].u.inst_ident)->add_modifier(IIT_const);
  6631. (yyval.u.type) = (yyvsp[0].u.inst_ident)->unroll_type((yyvsp[-1].u.type));
  6632. }
  6633. #line 7236 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6634. break;
  6635. case 335:
  6636. #line 2706 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6637. {
  6638. (yyval.u.type) = (yyvsp[0].u.inst_ident)->unroll_type((yyvsp[-1].u.type));
  6639. }
  6640. #line 7244 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6641. break;
  6642. case 336:
  6643. #line 2710 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6644. {
  6645. (yyvsp[0].u.inst_ident)->add_modifier(IIT_const);
  6646. (yyval.u.type) = (yyvsp[0].u.inst_ident)->unroll_type((yyvsp[-1].u.type));
  6647. }
  6648. #line 7253 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6649. break;
  6650. case 341:
  6651. #line 2725 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6652. {
  6653. CPPVisibility starting_vis =
  6654. ((yyvsp[-2].u.extension_enum) == CPPExtensionType::T_class) ? V_private : V_public;
  6655. CPPScope *new_scope = new CPPScope(current_scope, CPPNameComponent("anon"),
  6656. starting_vis);
  6657. CPPStructType *st = new CPPStructType((yyvsp[-2].u.extension_enum), NULL, current_scope,
  6658. new_scope, (yylsp[-2]).file);
  6659. new_scope->set_struct_type(st);
  6660. push_scope(new_scope);
  6661. push_struct(st);
  6662. }
  6663. #line 7271 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6664. break;
  6665. case 342:
  6666. #line 2739 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6667. {
  6668. (yyval.u.struct_type) = current_struct;
  6669. current_struct->_incomplete = false;
  6670. pop_struct();
  6671. pop_scope();
  6672. }
  6673. #line 7282 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6674. break;
  6675. case 343:
  6676. #line 2749 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6677. {
  6678. CPPVisibility starting_vis =
  6679. ((yyvsp[-2].u.extension_enum) == CPPExtensionType::T_class) ? V_private : V_public;
  6680. CPPScope *scope = (yyvsp[0].u.identifier)->get_scope(current_scope, global_scope, current_lexer);
  6681. if (scope == NULL) {
  6682. scope = current_scope;
  6683. }
  6684. CPPScope *new_scope = new CPPScope(scope, (yyvsp[0].u.identifier)->_names.back(),
  6685. starting_vis);
  6686. CPPStructType *st = new CPPStructType((yyvsp[-2].u.extension_enum), (yyvsp[0].u.identifier), current_scope,
  6687. new_scope, (yylsp[-2]).file);
  6688. new_scope->set_struct_type(st);
  6689. current_scope->define_extension_type(st);
  6690. push_scope(new_scope);
  6691. push_struct(st);
  6692. }
  6693. #line 7306 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6694. break;
  6695. case 344:
  6696. #line 2769 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6697. {
  6698. (yyval.u.struct_type) = current_struct;
  6699. current_struct->_incomplete = false;
  6700. pop_struct();
  6701. pop_scope();
  6702. }
  6703. #line 7317 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6704. break;
  6705. case 346:
  6706. #line 2780 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6707. {
  6708. current_struct->_final = true;
  6709. }
  6710. #line 7325 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6711. break;
  6712. case 351:
  6713. #line 2797 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6714. {
  6715. current_struct->append_derivation((yyvsp[0].u.type), V_unknown, false);
  6716. }
  6717. #line 7333 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6718. break;
  6719. case 352:
  6720. #line 2801 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6721. {
  6722. current_struct->append_derivation((yyvsp[0].u.type), V_public, false);
  6723. }
  6724. #line 7341 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6725. break;
  6726. case 353:
  6727. #line 2805 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6728. {
  6729. current_struct->append_derivation((yyvsp[0].u.type), V_protected, false);
  6730. }
  6731. #line 7349 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6732. break;
  6733. case 354:
  6734. #line 2809 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6735. {
  6736. current_struct->append_derivation((yyvsp[0].u.type), V_private, false);
  6737. }
  6738. #line 7357 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6739. break;
  6740. case 355:
  6741. #line 2813 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6742. {
  6743. current_struct->append_derivation((yyvsp[0].u.type), V_public, true);
  6744. }
  6745. #line 7365 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6746. break;
  6747. case 356:
  6748. #line 2817 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6749. {
  6750. current_struct->append_derivation((yyvsp[0].u.type), V_protected, true);
  6751. }
  6752. #line 7373 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6753. break;
  6754. case 357:
  6755. #line 2821 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6756. {
  6757. current_struct->append_derivation((yyvsp[0].u.type), V_private, true);
  6758. }
  6759. #line 7381 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6760. break;
  6761. case 358:
  6762. #line 2825 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6763. {
  6764. current_struct->append_derivation((yyvsp[0].u.type), V_public, true);
  6765. }
  6766. #line 7389 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6767. break;
  6768. case 359:
  6769. #line 2829 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6770. {
  6771. current_struct->append_derivation((yyvsp[0].u.type), V_protected, true);
  6772. }
  6773. #line 7397 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6774. break;
  6775. case 360:
  6776. #line 2833 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6777. {
  6778. current_struct->append_derivation((yyvsp[0].u.type), V_private, true);
  6779. }
  6780. #line 7405 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6781. break;
  6782. case 361:
  6783. #line 2840 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6784. {
  6785. (yyval.u.enum_type) = current_enum;
  6786. current_enum = NULL;
  6787. }
  6788. #line 7414 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6789. break;
  6790. case 362:
  6791. #line 2848 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6792. {
  6793. current_enum = new CPPEnumType((yyvsp[-2].u.extension_enum), NULL, (yyvsp[0].u.type), current_scope, NULL, (yylsp[-2]).file);
  6794. }
  6795. #line 7422 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6796. break;
  6797. case 363:
  6798. #line 2852 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6799. {
  6800. current_enum = new CPPEnumType((yyvsp[0].u.extension_enum), NULL, current_scope, NULL, (yylsp[0]).file);
  6801. }
  6802. #line 7430 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6803. break;
  6804. case 364:
  6805. #line 2856 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6806. {
  6807. CPPScope *new_scope = new CPPScope(current_scope, (yyvsp[-2].u.identifier)->_names.back(), V_public);
  6808. current_enum = new CPPEnumType((yyvsp[-3].u.extension_enum), (yyvsp[-2].u.identifier), (yyvsp[0].u.type), current_scope, new_scope, (yylsp[-3]).file);
  6809. }
  6810. #line 7439 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6811. break;
  6812. case 365:
  6813. #line 2861 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6814. {
  6815. CPPScope *new_scope = new CPPScope(current_scope, (yyvsp[0].u.identifier)->_names.back(), V_public);
  6816. current_enum = new CPPEnumType((yyvsp[-1].u.extension_enum), (yyvsp[0].u.identifier), current_scope, new_scope, (yylsp[-1]).file);
  6817. }
  6818. #line 7448 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6819. break;
  6820. case 366:
  6821. #line 2869 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6822. {
  6823. (yyval.u.type) = CPPType::new_type((yyvsp[0].u.simple_type));
  6824. }
  6825. #line 7456 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6826. break;
  6827. case 367:
  6828. #line 2873 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6829. {
  6830. (yyval.u.type) = (yyvsp[0].u.identifier)->find_type(current_scope, global_scope, false, current_lexer);
  6831. }
  6832. #line 7464 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6833. break;
  6834. case 369:
  6835. #line 2881 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6836. {
  6837. assert(current_enum != NULL);
  6838. current_enum->add_element((yyvsp[-1].u.identifier)->get_simple_name(), NULL, current_lexer, (yylsp[-1]));
  6839. }
  6840. #line 7473 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6841. break;
  6842. case 370:
  6843. #line 2886 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6844. {
  6845. assert(current_enum != NULL);
  6846. current_enum->add_element((yyvsp[-3].u.identifier)->get_simple_name(), (yyvsp[-1].u.expr), current_lexer, (yylsp[-3]));
  6847. }
  6848. #line 7482 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6849. break;
  6850. case 372:
  6851. #line 2894 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6852. {
  6853. assert(current_enum != NULL);
  6854. current_enum->add_element((yyvsp[0].u.identifier)->get_simple_name(), NULL, current_lexer, (yylsp[0]));
  6855. }
  6856. #line 7491 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6857. break;
  6858. case 373:
  6859. #line 2899 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6860. {
  6861. assert(current_enum != NULL);
  6862. current_enum->add_element((yyvsp[-2].u.identifier)->get_simple_name(), (yyvsp[0].u.expr), current_lexer, (yylsp[-2]));
  6863. }
  6864. #line 7500 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6865. break;
  6866. case 374:
  6867. #line 2907 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6868. {
  6869. (yyval.u.extension_enum) = CPPExtensionType::T_enum;
  6870. }
  6871. #line 7508 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6872. break;
  6873. case 375:
  6874. #line 2911 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6875. {
  6876. (yyval.u.extension_enum) = CPPExtensionType::T_enum_class;
  6877. }
  6878. #line 7516 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6879. break;
  6880. case 376:
  6881. #line 2915 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6882. {
  6883. (yyval.u.extension_enum) = CPPExtensionType::T_enum_struct;
  6884. }
  6885. #line 7524 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6886. break;
  6887. case 377:
  6888. #line 2922 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6889. {
  6890. (yyval.u.extension_enum) = CPPExtensionType::T_class;
  6891. }
  6892. #line 7532 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6893. break;
  6894. case 378:
  6895. #line 2926 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6896. {
  6897. (yyval.u.extension_enum) = CPPExtensionType::T_struct;
  6898. }
  6899. #line 7540 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6900. break;
  6901. case 379:
  6902. #line 2930 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6903. {
  6904. (yyval.u.extension_enum) = CPPExtensionType::T_union;
  6905. }
  6906. #line 7548 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6907. break;
  6908. case 380:
  6909. #line 2937 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6910. {
  6911. CPPScope *scope = (yyvsp[-1].u.identifier)->find_scope(current_scope, global_scope, current_lexer);
  6912. if (scope == NULL) {
  6913. // This must be a new namespace declaration.
  6914. CPPScope *parent_scope =
  6915. (yyvsp[-1].u.identifier)->get_scope(current_scope, global_scope, current_lexer);
  6916. if (parent_scope == NULL) {
  6917. parent_scope = current_scope;
  6918. }
  6919. scope = new CPPScope(parent_scope, (yyvsp[-1].u.identifier)->_names.back(), V_public);
  6920. }
  6921. CPPNamespace *nspace = new CPPNamespace((yyvsp[-1].u.identifier), scope, (yylsp[-2]).file);
  6922. current_scope->add_declaration(nspace, global_scope, current_lexer, (yylsp[-2]));
  6923. current_scope->define_namespace(nspace);
  6924. push_scope(scope);
  6925. }
  6926. #line 7570 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6927. break;
  6928. case 381:
  6929. #line 2955 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6930. {
  6931. pop_scope();
  6932. }
  6933. #line 7578 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6934. break;
  6935. case 382:
  6936. #line 2959 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6937. {
  6938. CPPScope *scope = (yyvsp[-1].u.identifier)->find_scope(current_scope, global_scope, current_lexer);
  6939. if (scope == NULL) {
  6940. // This must be a new namespace declaration.
  6941. CPPScope *parent_scope =
  6942. (yyvsp[-1].u.identifier)->get_scope(current_scope, global_scope, current_lexer);
  6943. if (parent_scope == NULL) {
  6944. parent_scope = current_scope;
  6945. }
  6946. scope = new CPPScope(parent_scope, (yyvsp[-1].u.identifier)->_names.back(), V_public);
  6947. }
  6948. CPPNamespace *nspace = new CPPNamespace((yyvsp[-1].u.identifier), scope, (yylsp[-2]).file);
  6949. nspace->_is_inline = true;
  6950. current_scope->add_declaration(nspace, global_scope, current_lexer, (yylsp[-2]));
  6951. current_scope->define_namespace(nspace);
  6952. push_scope(scope);
  6953. }
  6954. #line 7601 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6955. break;
  6956. case 383:
  6957. #line 2978 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6958. {
  6959. pop_scope();
  6960. }
  6961. #line 7609 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6962. break;
  6963. case 386:
  6964. #line 2987 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6965. {
  6966. CPPUsing *using_decl = new CPPUsing((yyvsp[-1].u.identifier), false, (yylsp[-2]).file);
  6967. current_scope->add_declaration(using_decl, global_scope, current_lexer, (yylsp[-2]));
  6968. current_scope->add_using(using_decl, global_scope, current_lexer);
  6969. }
  6970. #line 7619 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6971. break;
  6972. case 387:
  6973. #line 2993 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6974. {
  6975. // This is really just an alternative way to declare a typedef.
  6976. CPPTypedefType *typedef_type = new CPPTypedefType((yyvsp[-1].u.type), (yyvsp[-3].u.identifier), current_scope);
  6977. typedef_type->_using = true;
  6978. current_scope->add_declaration(CPPType::new_type(typedef_type), global_scope, current_lexer, (yylsp[-4]));
  6979. }
  6980. #line 7630 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6981. break;
  6982. case 388:
  6983. #line 3000 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6984. {
  6985. CPPUsing *using_decl = new CPPUsing((yyvsp[-1].u.identifier), true, (yylsp[-3]).file);
  6986. current_scope->add_declaration(using_decl, global_scope, current_lexer, (yylsp[-3]));
  6987. current_scope->add_using(using_decl, global_scope, current_lexer);
  6988. }
  6989. #line 7640 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6990. break;
  6991. case 392:
  6992. #line 3015 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  6993. {
  6994. (yyval.u.simple_type) = new CPPSimpleType(CPPSimpleType::T_bool);
  6995. }
  6996. #line 7648 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  6997. break;
  6998. case 393:
  6999. #line 3019 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7000. {
  7001. (yyval.u.simple_type) = new CPPSimpleType(CPPSimpleType::T_char);
  7002. }
  7003. #line 7656 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7004. break;
  7005. case 394:
  7006. #line 3023 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7007. {
  7008. (yyval.u.simple_type) = new CPPSimpleType(CPPSimpleType::T_wchar_t);
  7009. }
  7010. #line 7664 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7011. break;
  7012. case 395:
  7013. #line 3027 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7014. {
  7015. (yyval.u.simple_type) = new CPPSimpleType(CPPSimpleType::T_char16_t);
  7016. }
  7017. #line 7672 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7018. break;
  7019. case 396:
  7020. #line 3031 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7021. {
  7022. (yyval.u.simple_type) = new CPPSimpleType(CPPSimpleType::T_char32_t);
  7023. }
  7024. #line 7680 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7025. break;
  7026. case 397:
  7027. #line 3035 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7028. {
  7029. (yyval.u.simple_type) = new CPPSimpleType(CPPSimpleType::T_int,
  7030. CPPSimpleType::F_short);
  7031. }
  7032. #line 7689 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7033. break;
  7034. case 398:
  7035. #line 3040 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7036. {
  7037. (yyval.u.simple_type) = new CPPSimpleType(CPPSimpleType::T_int,
  7038. CPPSimpleType::F_long);
  7039. }
  7040. #line 7698 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7041. break;
  7042. case 399:
  7043. #line 3045 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7044. {
  7045. (yyval.u.simple_type) = new CPPSimpleType(CPPSimpleType::T_int,
  7046. CPPSimpleType::F_unsigned);
  7047. }
  7048. #line 7707 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7049. break;
  7050. case 400:
  7051. #line 3050 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7052. {
  7053. (yyval.u.simple_type) = new CPPSimpleType(CPPSimpleType::T_int,
  7054. CPPSimpleType::F_signed);
  7055. }
  7056. #line 7716 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7057. break;
  7058. case 401:
  7059. #line 3055 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7060. {
  7061. (yyval.u.simple_type) = new CPPSimpleType(CPPSimpleType::T_int);
  7062. }
  7063. #line 7724 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7064. break;
  7065. case 402:
  7066. #line 3059 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7067. {
  7068. (yyval.u.simple_type) = (yyvsp[0].u.simple_type);
  7069. (yyval.u.simple_type)->_flags |= CPPSimpleType::F_short;
  7070. }
  7071. #line 7733 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7072. break;
  7073. case 403:
  7074. #line 3064 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7075. {
  7076. (yyval.u.simple_type) = (yyvsp[0].u.simple_type);
  7077. if ((yyval.u.simple_type)->_flags & CPPSimpleType::F_long) {
  7078. (yyval.u.simple_type)->_flags |= CPPSimpleType::F_longlong;
  7079. } else {
  7080. (yyval.u.simple_type)->_flags |= CPPSimpleType::F_long;
  7081. }
  7082. }
  7083. #line 7746 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7084. break;
  7085. case 404:
  7086. #line 3073 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7087. {
  7088. (yyval.u.simple_type) = (yyvsp[0].u.simple_type);
  7089. (yyval.u.simple_type)->_flags |= CPPSimpleType::F_unsigned;
  7090. }
  7091. #line 7755 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7092. break;
  7093. case 405:
  7094. #line 3078 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7095. {
  7096. (yyval.u.simple_type) = (yyvsp[0].u.simple_type);
  7097. (yyval.u.simple_type)->_flags |= CPPSimpleType::F_signed;
  7098. }
  7099. #line 7764 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7100. break;
  7101. case 406:
  7102. #line 3086 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7103. {
  7104. (yyval.u.simple_type) = new CPPSimpleType(CPPSimpleType::T_float);
  7105. }
  7106. #line 7772 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7107. break;
  7108. case 407:
  7109. #line 3090 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7110. {
  7111. (yyval.u.simple_type) = new CPPSimpleType(CPPSimpleType::T_double);
  7112. }
  7113. #line 7780 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7114. break;
  7115. case 408:
  7116. #line 3094 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7117. {
  7118. (yyval.u.simple_type) = new CPPSimpleType(CPPSimpleType::T_double,
  7119. CPPSimpleType::F_long);
  7120. }
  7121. #line 7789 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7122. break;
  7123. case 409:
  7124. #line 3102 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7125. {
  7126. (yyval.u.simple_type) = new CPPSimpleType(CPPSimpleType::T_void);
  7127. }
  7128. #line 7797 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7129. break;
  7130. case 410:
  7131. #line 3111 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7132. {
  7133. current_lexer->_resolve_identifiers = false;
  7134. }
  7135. #line 7805 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7136. break;
  7137. case 411:
  7138. #line 3115 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7139. {
  7140. current_lexer->_resolve_identifiers = true;
  7141. }
  7142. #line 7813 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7143. break;
  7144. case 519:
  7145. #line 3159 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7146. {
  7147. }
  7148. #line 7820 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7149. break;
  7150. case 543:
  7151. #line 3168 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7152. {
  7153. (yyval.u.expr) = (CPPExpression *)NULL;
  7154. }
  7155. #line 7828 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7156. break;
  7157. case 544:
  7158. #line 3172 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7159. {
  7160. (yyval.u.expr) = (yyvsp[0].u.expr);
  7161. }
  7162. #line 7836 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7163. break;
  7164. case 545:
  7165. #line 3179 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7166. {
  7167. (yyval.u.expr) = (CPPExpression *)NULL;
  7168. }
  7169. #line 7844 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7170. break;
  7171. case 546:
  7172. #line 3183 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7173. {
  7174. (yyval.u.expr) = (yyvsp[0].u.expr);
  7175. }
  7176. #line 7852 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7177. break;
  7178. case 547:
  7179. #line 3190 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7180. {
  7181. (yyval.u.expr) = (yyvsp[0].u.expr);
  7182. }
  7183. #line 7860 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7184. break;
  7185. case 548:
  7186. #line 3194 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7187. {
  7188. (yyval.u.expr) = new CPPExpression(',', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7189. }
  7190. #line 7868 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7191. break;
  7192. case 549:
  7193. #line 3201 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7194. {
  7195. (yyval.u.expr) = (yyvsp[0].u.expr);
  7196. }
  7197. #line 7876 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7198. break;
  7199. case 550:
  7200. #line 3205 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7201. {
  7202. (yyval.u.expr) = new CPPExpression(CPPExpression::typecast_op((yyvsp[-2].u.type), (yyvsp[0].u.expr)));
  7203. }
  7204. #line 7884 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7205. break;
  7206. case 551:
  7207. #line 3209 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7208. {
  7209. (yyval.u.expr) = new CPPExpression(CPPExpression::typecast_op((yyvsp[-4].u.type), (yyvsp[-1].u.expr), CPPExpression::T_static_cast));
  7210. }
  7211. #line 7892 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7212. break;
  7213. case 552:
  7214. #line 3213 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7215. {
  7216. (yyval.u.expr) = new CPPExpression(CPPExpression::typecast_op((yyvsp[-4].u.type), (yyvsp[-1].u.expr), CPPExpression::T_dynamic_cast));
  7217. }
  7218. #line 7900 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7219. break;
  7220. case 553:
  7221. #line 3217 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7222. {
  7223. (yyval.u.expr) = new CPPExpression(CPPExpression::typecast_op((yyvsp[-4].u.type), (yyvsp[-1].u.expr), CPPExpression::T_const_cast));
  7224. }
  7225. #line 7908 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7226. break;
  7227. case 554:
  7228. #line 3221 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7229. {
  7230. (yyval.u.expr) = new CPPExpression(CPPExpression::typecast_op((yyvsp[-4].u.type), (yyvsp[-1].u.expr), CPPExpression::T_reinterpret_cast));
  7231. }
  7232. #line 7916 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7233. break;
  7234. case 555:
  7235. #line 3225 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7236. {
  7237. (yyval.u.expr) = new CPPExpression(CPPExpression::sizeof_func((yyvsp[-1].u.type)));
  7238. }
  7239. #line 7924 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7240. break;
  7241. case 556:
  7242. #line 3229 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7243. {
  7244. CPPDeclaration *arg = (yyvsp[-1].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  7245. if (arg == (CPPDeclaration *)NULL) {
  7246. yyerror("undefined sizeof argument: " + (yyvsp[-1].u.identifier)->get_fully_scoped_name(), (yylsp[-1]));
  7247. } else if (arg->get_subtype() == CPPDeclaration::ST_instance) {
  7248. CPPInstance *inst = arg->as_instance();
  7249. (yyval.u.expr) = new CPPExpression(CPPExpression::sizeof_func(inst->_type));
  7250. } else {
  7251. (yyval.u.expr) = new CPPExpression(CPPExpression::sizeof_func(arg->as_type()));
  7252. }
  7253. }
  7254. #line 7940 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7255. break;
  7256. case 557:
  7257. #line 3241 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7258. {
  7259. (yyval.u.expr) = new CPPExpression(CPPExpression::sizeof_ellipsis_func((yyvsp[-1].u.identifier)));
  7260. }
  7261. #line 7948 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7262. break;
  7263. case 558:
  7264. #line 3245 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7265. {
  7266. (yyval.u.expr) = new CPPExpression(CPPExpression::alignof_func((yyvsp[-1].u.type)));
  7267. }
  7268. #line 7956 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7269. break;
  7270. case 559:
  7271. #line 3249 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7272. {
  7273. (yyval.u.expr) = new CPPExpression(UNARY_NOT, (yyvsp[0].u.expr));
  7274. }
  7275. #line 7964 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7276. break;
  7277. case 560:
  7278. #line 3253 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7279. {
  7280. (yyval.u.expr) = new CPPExpression(UNARY_NEGATE, (yyvsp[0].u.expr));
  7281. }
  7282. #line 7972 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7283. break;
  7284. case 561:
  7285. #line 3257 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7286. {
  7287. (yyval.u.expr) = new CPPExpression(UNARY_MINUS, (yyvsp[0].u.expr));
  7288. }
  7289. #line 7980 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7290. break;
  7291. case 562:
  7292. #line 3261 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7293. {
  7294. (yyval.u.expr) = new CPPExpression(UNARY_PLUS, (yyvsp[0].u.expr));
  7295. }
  7296. #line 7988 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7297. break;
  7298. case 563:
  7299. #line 3265 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7300. {
  7301. (yyval.u.expr) = new CPPExpression(UNARY_STAR, (yyvsp[0].u.expr));
  7302. }
  7303. #line 7996 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7304. break;
  7305. case 564:
  7306. #line 3269 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7307. {
  7308. (yyval.u.expr) = new CPPExpression(UNARY_REF, (yyvsp[0].u.expr));
  7309. }
  7310. #line 8004 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7311. break;
  7312. case 565:
  7313. #line 3273 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7314. {
  7315. (yyval.u.expr) = new CPPExpression('*', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7316. }
  7317. #line 8012 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7318. break;
  7319. case 566:
  7320. #line 3277 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7321. {
  7322. (yyval.u.expr) = new CPPExpression('/', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7323. }
  7324. #line 8020 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7325. break;
  7326. case 567:
  7327. #line 3281 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7328. {
  7329. (yyval.u.expr) = new CPPExpression('%', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7330. }
  7331. #line 8028 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7332. break;
  7333. case 568:
  7334. #line 3285 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7335. {
  7336. (yyval.u.expr) = new CPPExpression('+', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7337. }
  7338. #line 8036 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7339. break;
  7340. case 569:
  7341. #line 3289 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7342. {
  7343. (yyval.u.expr) = new CPPExpression('-', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7344. }
  7345. #line 8044 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7346. break;
  7347. case 570:
  7348. #line 3293 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7349. {
  7350. (yyval.u.expr) = new CPPExpression('|', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7351. }
  7352. #line 8052 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7353. break;
  7354. case 571:
  7355. #line 3297 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7356. {
  7357. (yyval.u.expr) = new CPPExpression('^', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7358. }
  7359. #line 8060 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7360. break;
  7361. case 572:
  7362. #line 3301 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7363. {
  7364. (yyval.u.expr) = new CPPExpression('&', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7365. }
  7366. #line 8068 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7367. break;
  7368. case 573:
  7369. #line 3305 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7370. {
  7371. (yyval.u.expr) = new CPPExpression(OROR, (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7372. }
  7373. #line 8076 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7374. break;
  7375. case 574:
  7376. #line 3309 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7377. {
  7378. (yyval.u.expr) = new CPPExpression(ANDAND, (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7379. }
  7380. #line 8084 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7381. break;
  7382. case 575:
  7383. #line 3313 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7384. {
  7385. (yyval.u.expr) = new CPPExpression(EQCOMPARE, (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7386. }
  7387. #line 8092 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7388. break;
  7389. case 576:
  7390. #line 3317 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7391. {
  7392. (yyval.u.expr) = new CPPExpression(NECOMPARE, (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7393. }
  7394. #line 8100 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7395. break;
  7396. case 577:
  7397. #line 3321 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7398. {
  7399. (yyval.u.expr) = new CPPExpression(LECOMPARE, (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7400. }
  7401. #line 8108 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7402. break;
  7403. case 578:
  7404. #line 3325 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7405. {
  7406. (yyval.u.expr) = new CPPExpression(GECOMPARE, (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7407. }
  7408. #line 8116 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7409. break;
  7410. case 579:
  7411. #line 3329 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7412. {
  7413. (yyval.u.expr) = new CPPExpression(LSHIFT, (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7414. }
  7415. #line 8124 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7416. break;
  7417. case 580:
  7418. #line 3333 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7419. {
  7420. (yyval.u.expr) = new CPPExpression(RSHIFT, (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7421. }
  7422. #line 8132 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7423. break;
  7424. case 581:
  7425. #line 3337 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7426. {
  7427. (yyval.u.expr) = new CPPExpression('?', (yyvsp[-4].u.expr), (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7428. }
  7429. #line 8140 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7430. break;
  7431. case 582:
  7432. #line 3341 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7433. {
  7434. (yyval.u.expr) = new CPPExpression('[', (yyvsp[-3].u.expr), (yyvsp[-1].u.expr));
  7435. }
  7436. #line 8148 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7437. break;
  7438. case 583:
  7439. #line 3345 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7440. {
  7441. (yyval.u.expr) = new CPPExpression('f', (yyvsp[-3].u.expr), (yyvsp[-1].u.expr));
  7442. }
  7443. #line 8156 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7444. break;
  7445. case 584:
  7446. #line 3349 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7447. {
  7448. (yyval.u.expr) = new CPPExpression('f', (yyvsp[-2].u.expr));
  7449. }
  7450. #line 8164 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7451. break;
  7452. case 585:
  7453. #line 3353 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7454. {
  7455. (yyval.u.expr) = new CPPExpression('.', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7456. }
  7457. #line 8172 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7458. break;
  7459. case 586:
  7460. #line 3357 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7461. {
  7462. (yyval.u.expr) = new CPPExpression(POINTSAT, (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7463. }
  7464. #line 8180 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7465. break;
  7466. case 587:
  7467. #line 3361 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7468. {
  7469. (yyval.u.expr) = (yyvsp[-1].u.expr);
  7470. }
  7471. #line 8188 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7472. break;
  7473. case 588:
  7474. #line 3369 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7475. {
  7476. (yyval.u.expr) = (yyvsp[0].u.expr);
  7477. }
  7478. #line 8196 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7479. break;
  7480. case 589:
  7481. #line 3373 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7482. {
  7483. (yyval.u.expr) = new CPPExpression(CPPExpression::typecast_op((yyvsp[-2].u.type), (yyvsp[0].u.expr)));
  7484. }
  7485. #line 8204 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7486. break;
  7487. case 590:
  7488. #line 3377 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7489. {
  7490. (yyval.u.expr) = new CPPExpression(CPPExpression::typecast_op((yyvsp[-4].u.type), (yyvsp[-1].u.expr), CPPExpression::T_static_cast));
  7491. }
  7492. #line 8212 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7493. break;
  7494. case 591:
  7495. #line 3381 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7496. {
  7497. (yyval.u.expr) = new CPPExpression(CPPExpression::typecast_op((yyvsp[-4].u.type), (yyvsp[-1].u.expr), CPPExpression::T_dynamic_cast));
  7498. }
  7499. #line 8220 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7500. break;
  7501. case 592:
  7502. #line 3385 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7503. {
  7504. (yyval.u.expr) = new CPPExpression(CPPExpression::typecast_op((yyvsp[-4].u.type), (yyvsp[-1].u.expr), CPPExpression::T_const_cast));
  7505. }
  7506. #line 8228 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7507. break;
  7508. case 593:
  7509. #line 3389 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7510. {
  7511. (yyval.u.expr) = new CPPExpression(CPPExpression::typecast_op((yyvsp[-4].u.type), (yyvsp[-1].u.expr), CPPExpression::T_reinterpret_cast));
  7512. }
  7513. #line 8236 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7514. break;
  7515. case 594:
  7516. #line 3393 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7517. {
  7518. // A constructor call.
  7519. CPPType *type = (yyvsp[-3].u.identifier)->find_type(current_scope, global_scope, false, current_lexer);
  7520. if (type == NULL) {
  7521. yyerror(string("internal error resolving type ") + (yyvsp[-3].u.identifier)->get_fully_scoped_name(), (yylsp[-3]));
  7522. }
  7523. assert(type != NULL);
  7524. (yyval.u.expr) = new CPPExpression(CPPExpression::construct_op(type, (yyvsp[-1].u.expr)));
  7525. }
  7526. #line 8250 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7527. break;
  7528. case 595:
  7529. #line 3403 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7530. {
  7531. // Aggregate initialization.
  7532. CPPType *type = (yyvsp[-3].u.identifier)->find_type(current_scope, global_scope, false, current_lexer);
  7533. if (type == NULL) {
  7534. yyerror(string("internal error resolving type ") + (yyvsp[-3].u.identifier)->get_fully_scoped_name(), (yylsp[-3]));
  7535. }
  7536. assert(type != NULL);
  7537. (yyval.u.expr) = new CPPExpression(CPPExpression::aggregate_init_op(type, (yyvsp[-1].u.expr)));
  7538. }
  7539. #line 8264 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7540. break;
  7541. case 596:
  7542. #line 3413 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7543. {
  7544. CPPType *type =
  7545. CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_int));
  7546. (yyval.u.expr) = new CPPExpression(CPPExpression::construct_op(type, (yyvsp[-1].u.expr)));
  7547. }
  7548. #line 8274 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7549. break;
  7550. case 597:
  7551. #line 3419 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7552. {
  7553. CPPType *type =
  7554. CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_char));
  7555. (yyval.u.expr) = new CPPExpression(CPPExpression::construct_op(type, (yyvsp[-1].u.expr)));
  7556. }
  7557. #line 8284 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7558. break;
  7559. case 598:
  7560. #line 3425 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7561. {
  7562. CPPType *type =
  7563. CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_wchar_t));
  7564. (yyval.u.expr) = new CPPExpression(CPPExpression::construct_op(type, (yyvsp[-1].u.expr)));
  7565. }
  7566. #line 8294 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7567. break;
  7568. case 599:
  7569. #line 3431 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7570. {
  7571. CPPType *type =
  7572. CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_char16_t));
  7573. (yyval.u.expr) = new CPPExpression(CPPExpression::construct_op(type, (yyvsp[-1].u.expr)));
  7574. }
  7575. #line 8304 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7576. break;
  7577. case 600:
  7578. #line 3437 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7579. {
  7580. CPPType *type =
  7581. CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_char32_t));
  7582. (yyval.u.expr) = new CPPExpression(CPPExpression::construct_op(type, (yyvsp[-1].u.expr)));
  7583. }
  7584. #line 8314 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7585. break;
  7586. case 601:
  7587. #line 3443 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7588. {
  7589. CPPType *type =
  7590. CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_bool));
  7591. (yyval.u.expr) = new CPPExpression(CPPExpression::construct_op(type, (yyvsp[-1].u.expr)));
  7592. }
  7593. #line 8324 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7594. break;
  7595. case 602:
  7596. #line 3449 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7597. {
  7598. CPPType *type =
  7599. CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_int,
  7600. CPPSimpleType::F_short));
  7601. (yyval.u.expr) = new CPPExpression(CPPExpression::construct_op(type, (yyvsp[-1].u.expr)));
  7602. }
  7603. #line 8335 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7604. break;
  7605. case 603:
  7606. #line 3456 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7607. {
  7608. CPPType *type =
  7609. CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_int,
  7610. CPPSimpleType::F_long));
  7611. (yyval.u.expr) = new CPPExpression(CPPExpression::construct_op(type, (yyvsp[-1].u.expr)));
  7612. }
  7613. #line 8346 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7614. break;
  7615. case 604:
  7616. #line 3463 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7617. {
  7618. CPPType *type =
  7619. CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_int,
  7620. CPPSimpleType::F_unsigned));
  7621. (yyval.u.expr) = new CPPExpression(CPPExpression::construct_op(type, (yyvsp[-1].u.expr)));
  7622. }
  7623. #line 8357 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7624. break;
  7625. case 605:
  7626. #line 3470 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7627. {
  7628. CPPType *type =
  7629. CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_int,
  7630. CPPSimpleType::F_signed));
  7631. (yyval.u.expr) = new CPPExpression(CPPExpression::construct_op(type, (yyvsp[-1].u.expr)));
  7632. }
  7633. #line 8368 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7634. break;
  7635. case 606:
  7636. #line 3477 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7637. {
  7638. CPPType *type =
  7639. CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_float));
  7640. (yyval.u.expr) = new CPPExpression(CPPExpression::construct_op(type, (yyvsp[-1].u.expr)));
  7641. }
  7642. #line 8378 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7643. break;
  7644. case 607:
  7645. #line 3483 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7646. {
  7647. CPPType *type =
  7648. CPPType::new_type(new CPPSimpleType(CPPSimpleType::T_double));
  7649. (yyval.u.expr) = new CPPExpression(CPPExpression::construct_op(type, (yyvsp[-1].u.expr)));
  7650. }
  7651. #line 8388 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7652. break;
  7653. case 608:
  7654. #line 3489 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7655. {
  7656. (yyval.u.expr) = new CPPExpression(CPPExpression::sizeof_func((yyvsp[-1].u.type)));
  7657. }
  7658. #line 8396 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7659. break;
  7660. case 609:
  7661. #line 3493 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7662. {
  7663. CPPDeclaration *arg = (yyvsp[-1].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  7664. if (arg == (CPPDeclaration *)NULL) {
  7665. yyerror("undefined sizeof argument: " + (yyvsp[-1].u.identifier)->get_fully_scoped_name(), (yylsp[-1]));
  7666. } else if (arg->get_subtype() == CPPDeclaration::ST_instance) {
  7667. CPPInstance *inst = arg->as_instance();
  7668. (yyval.u.expr) = new CPPExpression(CPPExpression::sizeof_func(inst->_type));
  7669. } else {
  7670. (yyval.u.expr) = new CPPExpression(CPPExpression::sizeof_func(arg->as_type()));
  7671. }
  7672. }
  7673. #line 8412 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7674. break;
  7675. case 610:
  7676. #line 3505 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7677. {
  7678. (yyval.u.expr) = new CPPExpression(CPPExpression::sizeof_ellipsis_func((yyvsp[-1].u.identifier)));
  7679. }
  7680. #line 8420 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7681. break;
  7682. case 611:
  7683. #line 3509 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7684. {
  7685. (yyval.u.expr) = new CPPExpression(CPPExpression::alignof_func((yyvsp[-1].u.type)));
  7686. }
  7687. #line 8428 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7688. break;
  7689. case 612:
  7690. #line 3513 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7691. {
  7692. (yyval.u.expr) = new CPPExpression(CPPExpression::new_op((yyvsp[0].u.type)));
  7693. }
  7694. #line 8436 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7695. break;
  7696. case 613:
  7697. #line 3517 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7698. {
  7699. (yyval.u.expr) = new CPPExpression(CPPExpression::new_op((yyvsp[-3].u.type), (yyvsp[-1].u.expr)));
  7700. }
  7701. #line 8444 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7702. break;
  7703. case 614:
  7704. #line 3521 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7705. {
  7706. CPPIdentifier ident("");
  7707. ident.add_name("std");
  7708. ident.add_name("type_info");
  7709. CPPType *std_type_info = ident.find_type(current_scope, global_scope, false, current_lexer);
  7710. if (!std_type_info) {
  7711. yywarning("cannot use typeid before including <typeinfo>", (yylsp[-3]));
  7712. }
  7713. (yyval.u.expr) = new CPPExpression(CPPExpression::typeid_op((yyvsp[-1].u.type), std_type_info));
  7714. }
  7715. #line 8459 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7716. break;
  7717. case 615:
  7718. #line 3532 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7719. {
  7720. CPPIdentifier ident("");
  7721. ident.add_name("std");
  7722. ident.add_name("type_info");
  7723. CPPType *std_type_info = ident.find_type(current_scope, global_scope, false, current_lexer);
  7724. if (!std_type_info) {
  7725. yywarning("cannot use typeid before including <typeinfo>", (yylsp[-3]));
  7726. }
  7727. (yyval.u.expr) = new CPPExpression(CPPExpression::typeid_op((yyvsp[-1].u.expr), std_type_info));
  7728. }
  7729. #line 8474 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7730. break;
  7731. case 616:
  7732. #line 3543 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7733. {
  7734. (yyval.u.expr) = new CPPExpression(UNARY_NOT, (yyvsp[0].u.expr));
  7735. }
  7736. #line 8482 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7737. break;
  7738. case 617:
  7739. #line 3547 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7740. {
  7741. (yyval.u.expr) = new CPPExpression(UNARY_NEGATE, (yyvsp[0].u.expr));
  7742. }
  7743. #line 8490 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7744. break;
  7745. case 618:
  7746. #line 3551 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7747. {
  7748. (yyval.u.expr) = new CPPExpression(UNARY_MINUS, (yyvsp[0].u.expr));
  7749. }
  7750. #line 8498 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7751. break;
  7752. case 619:
  7753. #line 3555 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7754. {
  7755. (yyval.u.expr) = new CPPExpression(UNARY_PLUS, (yyvsp[0].u.expr));
  7756. }
  7757. #line 8506 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7758. break;
  7759. case 620:
  7760. #line 3559 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7761. {
  7762. (yyval.u.expr) = new CPPExpression(UNARY_STAR, (yyvsp[0].u.expr));
  7763. }
  7764. #line 8514 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7765. break;
  7766. case 621:
  7767. #line 3563 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7768. {
  7769. (yyval.u.expr) = new CPPExpression(UNARY_REF, (yyvsp[0].u.expr));
  7770. }
  7771. #line 8522 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7772. break;
  7773. case 622:
  7774. #line 3567 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7775. {
  7776. (yyval.u.expr) = new CPPExpression('*', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7777. }
  7778. #line 8530 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7779. break;
  7780. case 623:
  7781. #line 3571 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7782. {
  7783. (yyval.u.expr) = new CPPExpression('/', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7784. }
  7785. #line 8538 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7786. break;
  7787. case 624:
  7788. #line 3575 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7789. {
  7790. (yyval.u.expr) = new CPPExpression('%', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7791. }
  7792. #line 8546 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7793. break;
  7794. case 625:
  7795. #line 3579 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7796. {
  7797. (yyval.u.expr) = new CPPExpression('+', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7798. }
  7799. #line 8554 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7800. break;
  7801. case 626:
  7802. #line 3583 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7803. {
  7804. (yyval.u.expr) = new CPPExpression('-', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7805. }
  7806. #line 8562 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7807. break;
  7808. case 627:
  7809. #line 3587 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7810. {
  7811. (yyval.u.expr) = new CPPExpression('|', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7812. }
  7813. #line 8570 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7814. break;
  7815. case 628:
  7816. #line 3591 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7817. {
  7818. (yyval.u.expr) = new CPPExpression('^', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7819. }
  7820. #line 8578 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7821. break;
  7822. case 629:
  7823. #line 3595 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7824. {
  7825. (yyval.u.expr) = new CPPExpression('&', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7826. }
  7827. #line 8586 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7828. break;
  7829. case 630:
  7830. #line 3599 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7831. {
  7832. (yyval.u.expr) = new CPPExpression(OROR, (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7833. }
  7834. #line 8594 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7835. break;
  7836. case 631:
  7837. #line 3603 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7838. {
  7839. (yyval.u.expr) = new CPPExpression(ANDAND, (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7840. }
  7841. #line 8602 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7842. break;
  7843. case 632:
  7844. #line 3607 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7845. {
  7846. (yyval.u.expr) = new CPPExpression(EQCOMPARE, (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7847. }
  7848. #line 8610 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7849. break;
  7850. case 633:
  7851. #line 3611 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7852. {
  7853. (yyval.u.expr) = new CPPExpression(NECOMPARE, (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7854. }
  7855. #line 8618 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7856. break;
  7857. case 634:
  7858. #line 3615 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7859. {
  7860. (yyval.u.expr) = new CPPExpression(LECOMPARE, (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7861. }
  7862. #line 8626 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7863. break;
  7864. case 635:
  7865. #line 3619 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7866. {
  7867. (yyval.u.expr) = new CPPExpression(GECOMPARE, (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7868. }
  7869. #line 8634 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7870. break;
  7871. case 636:
  7872. #line 3623 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7873. {
  7874. (yyval.u.expr) = new CPPExpression('<', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7875. }
  7876. #line 8642 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7877. break;
  7878. case 637:
  7879. #line 3627 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7880. {
  7881. (yyval.u.expr) = new CPPExpression('>', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7882. }
  7883. #line 8650 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7884. break;
  7885. case 638:
  7886. #line 3631 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7887. {
  7888. (yyval.u.expr) = new CPPExpression(LSHIFT, (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7889. }
  7890. #line 8658 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7891. break;
  7892. case 639:
  7893. #line 3635 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7894. {
  7895. (yyval.u.expr) = new CPPExpression(RSHIFT, (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7896. }
  7897. #line 8666 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7898. break;
  7899. case 640:
  7900. #line 3639 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7901. {
  7902. (yyval.u.expr) = new CPPExpression('?', (yyvsp[-4].u.expr), (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7903. }
  7904. #line 8674 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7905. break;
  7906. case 641:
  7907. #line 3643 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7908. {
  7909. (yyval.u.expr) = new CPPExpression('[', (yyvsp[-3].u.expr), (yyvsp[-1].u.expr));
  7910. }
  7911. #line 8682 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7912. break;
  7913. case 642:
  7914. #line 3647 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7915. {
  7916. (yyval.u.expr) = new CPPExpression('f', (yyvsp[-3].u.expr), (yyvsp[-1].u.expr));
  7917. }
  7918. #line 8690 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7919. break;
  7920. case 643:
  7921. #line 3651 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7922. {
  7923. (yyval.u.expr) = new CPPExpression('f', (yyvsp[-2].u.expr));
  7924. }
  7925. #line 8698 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7926. break;
  7927. case 644:
  7928. #line 3655 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7929. {
  7930. (yyval.u.expr) = new CPPExpression('.', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7931. }
  7932. #line 8706 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7933. break;
  7934. case 645:
  7935. #line 3659 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7936. {
  7937. (yyval.u.expr) = new CPPExpression(POINTSAT, (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  7938. }
  7939. #line 8714 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7940. break;
  7941. case 646:
  7942. #line 3663 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7943. {
  7944. (yyval.u.expr) = (yyvsp[-1].u.expr);
  7945. }
  7946. #line 8722 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7947. break;
  7948. case 647:
  7949. #line 3670 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7950. {
  7951. (yyval.u.expr) = new CPPExpression((yyvsp[0].u.integer));
  7952. }
  7953. #line 8730 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7954. break;
  7955. case 648:
  7956. #line 3674 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7957. {
  7958. (yyval.u.expr) = new CPPExpression(true);
  7959. }
  7960. #line 8738 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7961. break;
  7962. case 649:
  7963. #line 3678 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7964. {
  7965. (yyval.u.expr) = new CPPExpression(false);
  7966. }
  7967. #line 8746 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7968. break;
  7969. case 650:
  7970. #line 3682 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7971. {
  7972. (yyval.u.expr) = new CPPExpression((yyvsp[0].u.integer));
  7973. }
  7974. #line 8754 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7975. break;
  7976. case 651:
  7977. #line 3686 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7978. {
  7979. (yyval.u.expr) = new CPPExpression((yyvsp[0].u.real));
  7980. }
  7981. #line 8762 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7982. break;
  7983. case 652:
  7984. #line 3690 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7985. {
  7986. (yyval.u.expr) = (yyvsp[0].u.expr);
  7987. }
  7988. #line 8770 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7989. break;
  7990. case 653:
  7991. #line 3694 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7992. {
  7993. (yyval.u.expr) = (yyvsp[0].u.expr);
  7994. }
  7995. #line 8778 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  7996. break;
  7997. case 654:
  7998. #line 3698 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  7999. {
  8000. (yyval.u.expr) = new CPPExpression((yyvsp[0].u.identifier), current_scope, global_scope, current_lexer);
  8001. }
  8002. #line 8786 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8003. break;
  8004. case 655:
  8005. #line 3702 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8006. {
  8007. // A variable named "final". C++11 explicitly permits this.
  8008. CPPIdentifier *ident = new CPPIdentifier("final", (yylsp[0]));
  8009. (yyval.u.expr) = new CPPExpression(ident, current_scope, global_scope, current_lexer);
  8010. }
  8011. #line 8796 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8012. break;
  8013. case 656:
  8014. #line 3708 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8015. {
  8016. // A variable named "override". C++11 explicitly permits this.
  8017. CPPIdentifier *ident = new CPPIdentifier("override", (yylsp[0]));
  8018. (yyval.u.expr) = new CPPExpression(ident, current_scope, global_scope, current_lexer);
  8019. }
  8020. #line 8806 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8021. break;
  8022. case 657:
  8023. #line 3714 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8024. {
  8025. (yyval.u.expr) = new CPPExpression(CPPExpression::get_nullptr());
  8026. }
  8027. #line 8814 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8028. break;
  8029. case 658:
  8030. #line 3718 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8031. {
  8032. (yyvsp[-6].u.closure_type)->_flags = (yyvsp[-4].u.integer);
  8033. (yyvsp[-6].u.closure_type)->_return_type = (yyvsp[-3].u.type);
  8034. (yyval.u.expr) = new CPPExpression(CPPExpression::lambda((yyvsp[-6].u.closure_type)));
  8035. }
  8036. #line 8824 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8037. break;
  8038. case 659:
  8039. #line 3724 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8040. {
  8041. (yyvsp[-9].u.closure_type)->_parameters = (yyvsp[-6].u.param_list);
  8042. (yyvsp[-9].u.closure_type)->_flags = (yyvsp[-4].u.integer);
  8043. (yyvsp[-9].u.closure_type)->_return_type = (yyvsp[-3].u.type);
  8044. (yyval.u.expr) = new CPPExpression(CPPExpression::lambda((yyvsp[-9].u.closure_type)));
  8045. }
  8046. #line 8835 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8047. break;
  8048. case 660:
  8049. #line 3731 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8050. {
  8051. (yyval.u.expr) = new CPPExpression(CPPExpression::type_trait(KW_HAS_VIRTUAL_DESTRUCTOR, (yyvsp[-1].u.type)));
  8052. }
  8053. #line 8843 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8054. break;
  8055. case 661:
  8056. #line 3735 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8057. {
  8058. (yyval.u.expr) = new CPPExpression(CPPExpression::type_trait(KW_IS_ABSTRACT, (yyvsp[-1].u.type)));
  8059. }
  8060. #line 8851 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8061. break;
  8062. case 662:
  8063. #line 3739 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8064. {
  8065. (yyval.u.expr) = new CPPExpression(CPPExpression::type_trait(KW_IS_CLASS, (yyvsp[-3].u.type), (yyvsp[-1].u.type)));
  8066. }
  8067. #line 8859 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8068. break;
  8069. case 663:
  8070. #line 3743 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8071. {
  8072. (yyval.u.expr) = new CPPExpression(CPPExpression::type_trait(KW_IS_CLASS, (yyvsp[-1].u.type)));
  8073. }
  8074. #line 8867 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8075. break;
  8076. case 664:
  8077. #line 3747 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8078. {
  8079. (yyval.u.expr) = new CPPExpression(CPPExpression::type_trait(KW_IS_CONSTRUCTIBLE, (yyvsp[-1].u.type)));
  8080. }
  8081. #line 8875 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8082. break;
  8083. case 665:
  8084. #line 3751 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8085. {
  8086. (yyval.u.expr) = new CPPExpression(CPPExpression::type_trait(KW_IS_CONSTRUCTIBLE, (yyvsp[-3].u.type), (yyvsp[-1].u.type)));
  8087. }
  8088. #line 8883 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8089. break;
  8090. case 666:
  8091. #line 3755 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8092. {
  8093. (yyval.u.expr) = new CPPExpression(CPPExpression::type_trait(KW_IS_CONVERTIBLE_TO, (yyvsp[-3].u.type), (yyvsp[-1].u.type)));
  8094. }
  8095. #line 8891 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8096. break;
  8097. case 667:
  8098. #line 3759 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8099. {
  8100. (yyval.u.expr) = new CPPExpression(CPPExpression::type_trait(KW_IS_DESTRUCTIBLE, (yyvsp[-1].u.type)));
  8101. }
  8102. #line 8899 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8103. break;
  8104. case 668:
  8105. #line 3763 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8106. {
  8107. (yyval.u.expr) = new CPPExpression(CPPExpression::type_trait(KW_IS_EMPTY, (yyvsp[-1].u.type)));
  8108. }
  8109. #line 8907 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8110. break;
  8111. case 669:
  8112. #line 3767 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8113. {
  8114. (yyval.u.expr) = new CPPExpression(CPPExpression::type_trait(KW_IS_ENUM, (yyvsp[-1].u.type)));
  8115. }
  8116. #line 8915 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8117. break;
  8118. case 670:
  8119. #line 3771 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8120. {
  8121. (yyval.u.expr) = new CPPExpression(CPPExpression::type_trait(KW_IS_FINAL, (yyvsp[-1].u.type)));
  8122. }
  8123. #line 8923 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8124. break;
  8125. case 671:
  8126. #line 3775 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8127. {
  8128. (yyval.u.expr) = new CPPExpression(CPPExpression::type_trait(KW_IS_FUNDAMENTAL, (yyvsp[-1].u.type)));
  8129. }
  8130. #line 8931 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8131. break;
  8132. case 672:
  8133. #line 3779 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8134. {
  8135. (yyval.u.expr) = new CPPExpression(CPPExpression::type_trait(KW_IS_POD, (yyvsp[-1].u.type)));
  8136. }
  8137. #line 8939 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8138. break;
  8139. case 673:
  8140. #line 3783 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8141. {
  8142. (yyval.u.expr) = new CPPExpression(CPPExpression::type_trait(KW_IS_POLYMORPHIC, (yyvsp[-1].u.type)));
  8143. }
  8144. #line 8947 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8145. break;
  8146. case 674:
  8147. #line 3787 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8148. {
  8149. (yyval.u.expr) = new CPPExpression(CPPExpression::type_trait(KW_IS_STANDARD_LAYOUT, (yyvsp[-1].u.type)));
  8150. }
  8151. #line 8955 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8152. break;
  8153. case 675:
  8154. #line 3791 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8155. {
  8156. (yyval.u.expr) = new CPPExpression(CPPExpression::type_trait(KW_IS_TRIVIAL, (yyvsp[-1].u.type)));
  8157. }
  8158. #line 8963 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8159. break;
  8160. case 676:
  8161. #line 3795 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8162. {
  8163. (yyval.u.expr) = new CPPExpression(CPPExpression::type_trait(KW_IS_UNION, (yyvsp[-1].u.type)));
  8164. }
  8165. #line 8971 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8166. break;
  8167. case 677:
  8168. #line 3809 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8169. {
  8170. (yyval.u.expr) = (yyvsp[0].u.expr);
  8171. }
  8172. #line 8979 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8173. break;
  8174. case 678:
  8175. #line 3813 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8176. {
  8177. (yyval.u.expr) = new CPPExpression(CPPExpression::typecast_op((yyvsp[-2].u.type), (yyvsp[0].u.expr)));
  8178. }
  8179. #line 8987 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8180. break;
  8181. case 679:
  8182. #line 3817 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8183. {
  8184. (yyval.u.expr) = new CPPExpression(CPPExpression::typecast_op((yyvsp[-4].u.type), (yyvsp[-1].u.expr), CPPExpression::T_static_cast));
  8185. }
  8186. #line 8995 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8187. break;
  8188. case 680:
  8189. #line 3821 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8190. {
  8191. (yyval.u.expr) = new CPPExpression(CPPExpression::typecast_op((yyvsp[-4].u.type), (yyvsp[-1].u.expr), CPPExpression::T_dynamic_cast));
  8192. }
  8193. #line 9003 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8194. break;
  8195. case 681:
  8196. #line 3825 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8197. {
  8198. (yyval.u.expr) = new CPPExpression(CPPExpression::typecast_op((yyvsp[-4].u.type), (yyvsp[-1].u.expr), CPPExpression::T_const_cast));
  8199. }
  8200. #line 9011 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8201. break;
  8202. case 682:
  8203. #line 3829 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8204. {
  8205. (yyval.u.expr) = new CPPExpression(CPPExpression::typecast_op((yyvsp[-4].u.type), (yyvsp[-1].u.expr), CPPExpression::T_reinterpret_cast));
  8206. }
  8207. #line 9019 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8208. break;
  8209. case 683:
  8210. #line 3833 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8211. {
  8212. (yyval.u.expr) = new CPPExpression(CPPExpression::sizeof_func((yyvsp[-1].u.type)));
  8213. }
  8214. #line 9027 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8215. break;
  8216. case 684:
  8217. #line 3837 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8218. {
  8219. CPPDeclaration *arg = (yyvsp[-1].u.identifier)->find_symbol(current_scope, global_scope, current_lexer);
  8220. if (arg == (CPPDeclaration *)NULL) {
  8221. yyerror("undefined sizeof argument: " + (yyvsp[-1].u.identifier)->get_fully_scoped_name(), (yylsp[-1]));
  8222. } else if (arg->get_subtype() == CPPDeclaration::ST_instance) {
  8223. CPPInstance *inst = arg->as_instance();
  8224. (yyval.u.expr) = new CPPExpression(CPPExpression::sizeof_func(inst->_type));
  8225. } else {
  8226. (yyval.u.expr) = new CPPExpression(CPPExpression::sizeof_func(arg->as_type()));
  8227. }
  8228. }
  8229. #line 9043 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8230. break;
  8231. case 685:
  8232. #line 3849 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8233. {
  8234. (yyval.u.expr) = new CPPExpression(CPPExpression::sizeof_ellipsis_func((yyvsp[-1].u.identifier)));
  8235. }
  8236. #line 9051 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8237. break;
  8238. case 686:
  8239. #line 3853 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8240. {
  8241. (yyval.u.expr) = new CPPExpression(CPPExpression::alignof_func((yyvsp[-1].u.type)));
  8242. }
  8243. #line 9059 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8244. break;
  8245. case 687:
  8246. #line 3857 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8247. {
  8248. (yyval.u.expr) = new CPPExpression(CPPExpression::new_op((yyvsp[0].u.type)));
  8249. }
  8250. #line 9067 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8251. break;
  8252. case 688:
  8253. #line 3861 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8254. {
  8255. (yyval.u.expr) = new CPPExpression(CPPExpression::new_op((yyvsp[-3].u.type), (yyvsp[-1].u.expr)));
  8256. }
  8257. #line 9075 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8258. break;
  8259. case 689:
  8260. #line 3865 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8261. {
  8262. CPPIdentifier ident("");
  8263. ident.add_name("std");
  8264. ident.add_name("type_info");
  8265. CPPType *std_type_info = ident.find_type(current_scope, global_scope, false, current_lexer);
  8266. if (!std_type_info) {
  8267. yywarning("cannot use typeid before including <typeinfo>", (yylsp[-3]));
  8268. }
  8269. (yyval.u.expr) = new CPPExpression(CPPExpression::typeid_op((yyvsp[-1].u.type), std_type_info));
  8270. }
  8271. #line 9090 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8272. break;
  8273. case 690:
  8274. #line 3876 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8275. {
  8276. CPPIdentifier ident("");
  8277. ident.add_name("std");
  8278. ident.add_name("type_info");
  8279. CPPType *std_type_info = ident.find_type(current_scope, global_scope, false, current_lexer);
  8280. if (!std_type_info) {
  8281. yywarning("cannot use typeid before including <typeinfo>", (yylsp[-3]));
  8282. }
  8283. (yyval.u.expr) = new CPPExpression(CPPExpression::typeid_op((yyvsp[-1].u.expr), std_type_info));
  8284. }
  8285. #line 9105 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8286. break;
  8287. case 691:
  8288. #line 3887 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8289. {
  8290. (yyval.u.expr) = new CPPExpression(UNARY_NOT, (yyvsp[0].u.expr));
  8291. }
  8292. #line 9113 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8293. break;
  8294. case 692:
  8295. #line 3891 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8296. {
  8297. (yyval.u.expr) = new CPPExpression(UNARY_NEGATE, (yyvsp[0].u.expr));
  8298. }
  8299. #line 9121 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8300. break;
  8301. case 693:
  8302. #line 3895 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8303. {
  8304. (yyval.u.expr) = new CPPExpression(UNARY_MINUS, (yyvsp[0].u.expr));
  8305. }
  8306. #line 9129 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8307. break;
  8308. case 694:
  8309. #line 3899 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8310. {
  8311. (yyval.u.expr) = new CPPExpression(UNARY_PLUS, (yyvsp[0].u.expr));
  8312. }
  8313. #line 9137 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8314. break;
  8315. case 695:
  8316. #line 3903 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8317. {
  8318. (yyval.u.expr) = new CPPExpression(UNARY_REF, (yyvsp[0].u.expr));
  8319. }
  8320. #line 9145 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8321. break;
  8322. case 696:
  8323. #line 3907 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8324. {
  8325. (yyval.u.expr) = new CPPExpression('*', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  8326. }
  8327. #line 9153 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8328. break;
  8329. case 697:
  8330. #line 3911 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8331. {
  8332. (yyval.u.expr) = new CPPExpression('/', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  8333. }
  8334. #line 9161 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8335. break;
  8336. case 698:
  8337. #line 3915 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8338. {
  8339. (yyval.u.expr) = new CPPExpression('%', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  8340. }
  8341. #line 9169 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8342. break;
  8343. case 699:
  8344. #line 3919 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8345. {
  8346. (yyval.u.expr) = new CPPExpression('+', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  8347. }
  8348. #line 9177 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8349. break;
  8350. case 700:
  8351. #line 3923 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8352. {
  8353. (yyval.u.expr) = new CPPExpression('-', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  8354. }
  8355. #line 9185 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8356. break;
  8357. case 701:
  8358. #line 3927 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8359. {
  8360. (yyval.u.expr) = new CPPExpression('|', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  8361. }
  8362. #line 9193 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8363. break;
  8364. case 702:
  8365. #line 3931 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8366. {
  8367. (yyval.u.expr) = new CPPExpression('^', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  8368. }
  8369. #line 9201 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8370. break;
  8371. case 703:
  8372. #line 3935 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8373. {
  8374. (yyval.u.expr) = new CPPExpression('&', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  8375. }
  8376. #line 9209 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8377. break;
  8378. case 704:
  8379. #line 3939 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8380. {
  8381. (yyval.u.expr) = new CPPExpression(OROR, (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  8382. }
  8383. #line 9217 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8384. break;
  8385. case 705:
  8386. #line 3943 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8387. {
  8388. (yyval.u.expr) = new CPPExpression(ANDAND, (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  8389. }
  8390. #line 9225 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8391. break;
  8392. case 706:
  8393. #line 3947 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8394. {
  8395. (yyval.u.expr) = new CPPExpression(EQCOMPARE, (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  8396. }
  8397. #line 9233 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8398. break;
  8399. case 707:
  8400. #line 3951 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8401. {
  8402. (yyval.u.expr) = new CPPExpression(NECOMPARE, (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  8403. }
  8404. #line 9241 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8405. break;
  8406. case 708:
  8407. #line 3955 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8408. {
  8409. (yyval.u.expr) = new CPPExpression(LECOMPARE, (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  8410. }
  8411. #line 9249 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8412. break;
  8413. case 709:
  8414. #line 3959 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8415. {
  8416. (yyval.u.expr) = new CPPExpression(GECOMPARE, (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  8417. }
  8418. #line 9257 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8419. break;
  8420. case 710:
  8421. #line 3963 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8422. {
  8423. (yyval.u.expr) = new CPPExpression('<', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  8424. }
  8425. #line 9265 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8426. break;
  8427. case 711:
  8428. #line 3967 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8429. {
  8430. (yyval.u.expr) = new CPPExpression('>', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  8431. }
  8432. #line 9273 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8433. break;
  8434. case 712:
  8435. #line 3971 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8436. {
  8437. (yyval.u.expr) = new CPPExpression(LSHIFT, (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  8438. }
  8439. #line 9281 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8440. break;
  8441. case 713:
  8442. #line 3975 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8443. {
  8444. (yyval.u.expr) = new CPPExpression(RSHIFT, (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  8445. }
  8446. #line 9289 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8447. break;
  8448. case 714:
  8449. #line 3979 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8450. {
  8451. (yyval.u.expr) = new CPPExpression('?', (yyvsp[-4].u.expr), (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  8452. }
  8453. #line 9297 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8454. break;
  8455. case 715:
  8456. #line 3983 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8457. {
  8458. (yyval.u.expr) = new CPPExpression('[', (yyvsp[-3].u.expr), (yyvsp[-1].u.expr));
  8459. }
  8460. #line 9305 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8461. break;
  8462. case 716:
  8463. #line 3987 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8464. {
  8465. (yyval.u.expr) = new CPPExpression('f', (yyvsp[-3].u.expr), (yyvsp[-1].u.expr));
  8466. }
  8467. #line 9313 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8468. break;
  8469. case 717:
  8470. #line 3991 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8471. {
  8472. (yyval.u.expr) = new CPPExpression('f', (yyvsp[-2].u.expr));
  8473. }
  8474. #line 9321 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8475. break;
  8476. case 718:
  8477. #line 3995 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8478. {
  8479. (yyval.u.expr) = new CPPExpression('.', (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  8480. }
  8481. #line 9329 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8482. break;
  8483. case 719:
  8484. #line 3999 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8485. {
  8486. (yyval.u.expr) = new CPPExpression(POINTSAT, (yyvsp[-2].u.expr), (yyvsp[0].u.expr));
  8487. }
  8488. #line 9337 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8489. break;
  8490. case 720:
  8491. #line 4003 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8492. {
  8493. (yyval.u.expr) = (yyvsp[-1].u.expr);
  8494. }
  8495. #line 9345 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8496. break;
  8497. case 721:
  8498. #line 4010 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8499. {
  8500. (yyval.u.expr) = new CPPExpression((yyvsp[0].u.integer));
  8501. }
  8502. #line 9353 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8503. break;
  8504. case 722:
  8505. #line 4014 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8506. {
  8507. (yyval.u.expr) = new CPPExpression(true);
  8508. }
  8509. #line 9361 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8510. break;
  8511. case 723:
  8512. #line 4018 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8513. {
  8514. (yyval.u.expr) = new CPPExpression(false);
  8515. }
  8516. #line 9369 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8517. break;
  8518. case 724:
  8519. #line 4022 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8520. {
  8521. (yyval.u.expr) = new CPPExpression((yyvsp[0].u.integer));
  8522. }
  8523. #line 9377 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8524. break;
  8525. case 725:
  8526. #line 4026 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8527. {
  8528. (yyval.u.expr) = new CPPExpression((yyvsp[0].u.real));
  8529. }
  8530. #line 9385 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8531. break;
  8532. case 726:
  8533. #line 4030 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8534. {
  8535. (yyval.u.expr) = (yyvsp[0].u.expr);
  8536. }
  8537. #line 9393 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8538. break;
  8539. case 727:
  8540. #line 4034 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8541. {
  8542. (yyval.u.expr) = (yyvsp[0].u.expr);
  8543. }
  8544. #line 9401 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8545. break;
  8546. case 728:
  8547. #line 4038 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8548. {
  8549. (yyval.u.expr) = new CPPExpression((yyvsp[0].u.identifier), current_scope, global_scope, current_lexer);
  8550. }
  8551. #line 9409 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8552. break;
  8553. case 729:
  8554. #line 4042 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8555. {
  8556. // A variable named "final". C++11 explicitly permits this.
  8557. CPPIdentifier *ident = new CPPIdentifier("final", (yylsp[0]));
  8558. (yyval.u.expr) = new CPPExpression(ident, current_scope, global_scope, current_lexer);
  8559. }
  8560. #line 9419 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8561. break;
  8562. case 730:
  8563. #line 4048 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8564. {
  8565. // A variable named "override". C++11 explicitly permits this.
  8566. CPPIdentifier *ident = new CPPIdentifier("override", (yylsp[0]));
  8567. (yyval.u.expr) = new CPPExpression(ident, current_scope, global_scope, current_lexer);
  8568. }
  8569. #line 9429 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8570. break;
  8571. case 731:
  8572. #line 4054 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8573. {
  8574. (yyval.u.expr) = new CPPExpression(CPPExpression::get_nullptr());
  8575. }
  8576. #line 9437 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8577. break;
  8578. case 732:
  8579. #line 4062 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8580. {
  8581. (yyval.u.closure_type) = new CPPClosureType();
  8582. }
  8583. #line 9445 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8584. break;
  8585. case 733:
  8586. #line 4066 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8587. {
  8588. (yyval.u.closure_type) = new CPPClosureType(CPPClosureType::CT_by_value);
  8589. }
  8590. #line 9453 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8591. break;
  8592. case 734:
  8593. #line 4070 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8594. {
  8595. (yyval.u.closure_type) = new CPPClosureType(CPPClosureType::CT_by_reference);
  8596. }
  8597. #line 9461 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8598. break;
  8599. case 735:
  8600. #line 4074 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8601. {
  8602. (yyval.u.closure_type) = new CPPClosureType();
  8603. (yyvsp[-1].u.capture)->_initializer = (yyvsp[0].u.expr);
  8604. (yyval.u.closure_type)->_captures.push_back(*(yyvsp[-1].u.capture));
  8605. delete (yyvsp[-1].u.capture);
  8606. }
  8607. #line 9472 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8608. break;
  8609. case 736:
  8610. #line 4081 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8611. {
  8612. (yyval.u.closure_type) = (yyvsp[-3].u.closure_type);
  8613. (yyvsp[-1].u.capture)->_initializer = (yyvsp[0].u.expr);
  8614. (yyval.u.closure_type)->_captures.push_back(*(yyvsp[-1].u.capture));
  8615. delete (yyvsp[-1].u.capture);
  8616. }
  8617. #line 9483 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8618. break;
  8619. case 737:
  8620. #line 4091 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8621. {
  8622. (yyval.u.capture) = new CPPClosureType::Capture;
  8623. (yyval.u.capture)->_name = (yyvsp[0].u.identifier)->get_simple_name();
  8624. (yyval.u.capture)->_type = CPPClosureType::CT_by_reference;
  8625. }
  8626. #line 9493 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8627. break;
  8628. case 738:
  8629. #line 4097 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8630. {
  8631. (yyval.u.capture) = new CPPClosureType::Capture;
  8632. (yyval.u.capture)->_name = (yyvsp[-1].u.identifier)->get_simple_name();
  8633. (yyval.u.capture)->_type = CPPClosureType::CT_by_reference;
  8634. }
  8635. #line 9503 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8636. break;
  8637. case 739:
  8638. #line 4103 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8639. {
  8640. (yyval.u.capture) = new CPPClosureType::Capture;
  8641. (yyval.u.capture)->_name = (yyvsp[0].u.identifier)->get_simple_name();
  8642. if ((yyval.u.capture)->_name == "this") {
  8643. (yyval.u.capture)->_type = CPPClosureType::CT_by_reference;
  8644. } else {
  8645. (yyval.u.capture)->_type = CPPClosureType::CT_by_value;
  8646. }
  8647. }
  8648. #line 9517 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8649. break;
  8650. case 740:
  8651. #line 4113 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8652. {
  8653. (yyval.u.capture) = new CPPClosureType::Capture;
  8654. (yyval.u.capture)->_name = (yyvsp[0].u.identifier)->get_simple_name();
  8655. (yyval.u.capture)->_type = CPPClosureType::CT_by_value;
  8656. if ((yyval.u.capture)->_name != "this") {
  8657. yywarning("only capture name 'this' may be preceded by an asterisk", (yylsp[0]));
  8658. }
  8659. }
  8660. #line 9530 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8661. break;
  8662. case 741:
  8663. #line 4125 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8664. {
  8665. CPPType *type = (yyvsp[0].u.identifier)->find_type(current_scope, global_scope, true);
  8666. if (type == NULL) {
  8667. type = CPPType::new_type(new CPPTBDType((yyvsp[0].u.identifier)));
  8668. }
  8669. (yyval.u.type) = type;
  8670. }
  8671. #line 9542 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8672. break;
  8673. case 742:
  8674. #line 4133 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8675. {
  8676. (yyval.u.type) = CPPType::new_type(new CPPTBDType((yyvsp[0].u.identifier)));
  8677. }
  8678. #line 9550 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8679. break;
  8680. case 743:
  8681. #line 4137 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8682. {
  8683. CPPClassTemplateParameter *ctp = new CPPClassTemplateParameter((yyvsp[-1].u.identifier));
  8684. ctp->_packed = true;
  8685. (yyval.u.type) = CPPType::new_type(ctp);
  8686. }
  8687. #line 9560 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8688. break;
  8689. case 744:
  8690. #line 4167 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8691. {
  8692. (yyval.u.identifier) = (yyvsp[0].u.identifier);
  8693. }
  8694. #line 9568 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8695. break;
  8696. case 745:
  8697. #line 4171 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8698. {
  8699. (yyval.u.identifier) = (yyvsp[0].u.identifier);
  8700. }
  8701. #line 9576 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8702. break;
  8703. case 746:
  8704. #line 4175 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8705. {
  8706. (yyval.u.identifier) = (yyvsp[0].u.identifier);
  8707. }
  8708. #line 9584 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8709. break;
  8710. case 747:
  8711. #line 4179 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8712. {
  8713. (yyval.u.identifier) = new CPPIdentifier("final", (yylsp[0]));
  8714. }
  8715. #line 9592 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8716. break;
  8717. case 748:
  8718. #line 4183 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8719. {
  8720. (yyval.u.identifier) = new CPPIdentifier("override", (yylsp[0]));
  8721. }
  8722. #line 9600 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8723. break;
  8724. case 749:
  8725. #line 4187 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8726. {
  8727. // This is not a keyword in Python, so it is useful to be able to use this
  8728. // in MAKE_PROPERTY definitions, etc.
  8729. (yyval.u.identifier) = new CPPIdentifier("signed", (yylsp[0]));
  8730. }
  8731. #line 9610 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8732. break;
  8733. case 750:
  8734. #line 4193 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8735. {
  8736. (yyval.u.identifier) = new CPPIdentifier("float", (yylsp[0]));
  8737. }
  8738. #line 9618 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8739. break;
  8740. case 751:
  8741. #line 4197 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8742. {
  8743. (yyval.u.identifier) = new CPPIdentifier("public", (yylsp[0]));
  8744. }
  8745. #line 9626 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8746. break;
  8747. case 752:
  8748. #line 4201 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8749. {
  8750. (yyval.u.identifier) = new CPPIdentifier("private", (yylsp[0]));
  8751. }
  8752. #line 9634 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8753. break;
  8754. case 753:
  8755. #line 4205 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8756. {
  8757. (yyval.u.identifier) = new CPPIdentifier("static", (yylsp[0]));
  8758. }
  8759. #line 9642 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8760. break;
  8761. case 754:
  8762. #line 4209 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8763. {
  8764. (yyval.u.identifier) = new CPPIdentifier("default", (yylsp[0]));
  8765. }
  8766. #line 9650 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8767. break;
  8768. case 755:
  8769. #line 4220 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8770. {
  8771. (yyval.u.identifier) = (yyvsp[0].u.identifier);
  8772. }
  8773. #line 9658 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8774. break;
  8775. case 756:
  8776. #line 4224 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8777. {
  8778. (yyval.u.identifier) = (yyvsp[0].u.identifier);
  8779. }
  8780. #line 9666 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8781. break;
  8782. case 757:
  8783. #line 4228 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8784. {
  8785. (yyval.u.identifier) = (yyvsp[0].u.identifier);
  8786. }
  8787. #line 9674 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8788. break;
  8789. case 758:
  8790. #line 4232 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8791. {
  8792. (yyval.u.identifier) = new CPPIdentifier("override", (yylsp[0]));
  8793. }
  8794. #line 9682 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8795. break;
  8796. case 759:
  8797. #line 4240 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8798. {
  8799. (yyval.u.expr) = new CPPExpression((yyvsp[0].str));
  8800. }
  8801. #line 9690 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8802. break;
  8803. case 760:
  8804. #line 4244 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8805. {
  8806. (yyval.u.expr) = (yyvsp[0].u.expr);
  8807. }
  8808. #line 9698 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8809. break;
  8810. case 761:
  8811. #line 4248 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8812. {
  8813. // The right string takes on the literal type of the left.
  8814. (yyval.u.expr) = (yyvsp[-1].u.expr);
  8815. (yyval.u.expr)->_str += (yyvsp[0].str);
  8816. }
  8817. #line 9708 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8818. break;
  8819. case 762:
  8820. #line 4254 "dtool/src/cppparser/cppBison.yxx" /* yacc.c:1646 */
  8821. {
  8822. // We have to check that the two literal types match up.
  8823. (yyval.u.expr) = (yyvsp[-1].u.expr);
  8824. if ((yyvsp[0].u.expr)->_type != CPPExpression::T_string && (yyvsp[0].u.expr)->_type != (yyvsp[-1].u.expr)->_type) {
  8825. yywarning("cannot concatenate two string literals of different types", (yyloc));
  8826. }
  8827. (yyval.u.expr)->_str += (yyvsp[0].u.expr)->_str;
  8828. }
  8829. #line 9721 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8830. break;
  8831. #line 9725 "built/tmp/cppBison.yxx.c" /* yacc.c:1646 */
  8832. default: break;
  8833. }
  8834. /* User semantic actions sometimes alter yychar, and that requires
  8835. that yytoken be updated with the new translation. We take the
  8836. approach of translating immediately before every use of yytoken.
  8837. One alternative is translating here after every semantic action,
  8838. but that translation would be missed if the semantic action invokes
  8839. YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or
  8840. if it invokes YYBACKUP. In the case of YYABORT or YYACCEPT, an
  8841. incorrect destructor might then be invoked immediately. In the
  8842. case of YYERROR or YYBACKUP, subsequent parser actions might lead
  8843. to an incorrect destructor call or verbose syntax error message
  8844. before the lookahead is translated. */
  8845. YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);
  8846. YYPOPSTACK (yylen);
  8847. yylen = 0;
  8848. YY_STACK_PRINT (yyss, yyssp);
  8849. *++yyvsp = yyval;
  8850. *++yylsp = yyloc;
  8851. /* Now 'shift' the result of the reduction. Determine what state
  8852. that goes to, based on the state we popped back to and the rule
  8853. number reduced by. */
  8854. yyn = yyr1[yyn];
  8855. yystate = yypgoto[yyn - YYNTOKENS] + *yyssp;
  8856. if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp)
  8857. yystate = yytable[yystate];
  8858. else
  8859. yystate = yydefgoto[yyn - YYNTOKENS];
  8860. goto yynewstate;
  8861. /*--------------------------------------.
  8862. | yyerrlab -- here on detecting error. |
  8863. `--------------------------------------*/
  8864. yyerrlab:
  8865. /* Make sure we have latest lookahead translation. See comments at
  8866. user semantic actions for why this is necessary. */
  8867. yytoken = yychar == YYEMPTY ? YYEMPTY : YYTRANSLATE (yychar);
  8868. /* If not already recovering from an error, report this error. */
  8869. if (!yyerrstatus)
  8870. {
  8871. ++yynerrs;
  8872. #if ! YYERROR_VERBOSE
  8873. yyerror (&yylloc, YY_("syntax error"));
  8874. #else
  8875. # define YYSYNTAX_ERROR yysyntax_error (&yymsg_alloc, &yymsg, \
  8876. yyssp, yytoken)
  8877. {
  8878. char const *yymsgp = YY_("syntax error");
  8879. int yysyntax_error_status;
  8880. yysyntax_error_status = YYSYNTAX_ERROR;
  8881. if (yysyntax_error_status == 0)
  8882. yymsgp = yymsg;
  8883. else if (yysyntax_error_status == 1)
  8884. {
  8885. if (yymsg != yymsgbuf)
  8886. YYSTACK_FREE (yymsg);
  8887. yymsg = (char *) YYSTACK_ALLOC (yymsg_alloc);
  8888. if (!yymsg)
  8889. {
  8890. yymsg = yymsgbuf;
  8891. yymsg_alloc = sizeof yymsgbuf;
  8892. yysyntax_error_status = 2;
  8893. }
  8894. else
  8895. {
  8896. yysyntax_error_status = YYSYNTAX_ERROR;
  8897. yymsgp = yymsg;
  8898. }
  8899. }
  8900. yyerror (&yylloc, yymsgp);
  8901. if (yysyntax_error_status == 2)
  8902. goto yyexhaustedlab;
  8903. }
  8904. # undef YYSYNTAX_ERROR
  8905. #endif
  8906. }
  8907. yyerror_range[1] = yylloc;
  8908. if (yyerrstatus == 3)
  8909. {
  8910. /* If just tried and failed to reuse lookahead token after an
  8911. error, discard it. */
  8912. if (yychar <= YYEOF)
  8913. {
  8914. /* Return failure if at end of input. */
  8915. if (yychar == YYEOF)
  8916. YYABORT;
  8917. }
  8918. else
  8919. {
  8920. yydestruct ("Error: discarding",
  8921. yytoken, &yylval, &yylloc);
  8922. yychar = YYEMPTY;
  8923. }
  8924. }
  8925. /* Else will try to reuse lookahead token after shifting the error
  8926. token. */
  8927. goto yyerrlab1;
  8928. /*---------------------------------------------------.
  8929. | yyerrorlab -- error raised explicitly by YYERROR. |
  8930. `---------------------------------------------------*/
  8931. yyerrorlab:
  8932. /* Pacify compilers like GCC when the user code never invokes
  8933. YYERROR and the label yyerrorlab therefore never appears in user
  8934. code. */
  8935. if (/*CONSTCOND*/ 0)
  8936. goto yyerrorlab;
  8937. yyerror_range[1] = yylsp[1-yylen];
  8938. /* Do not reclaim the symbols of the rule whose action triggered
  8939. this YYERROR. */
  8940. YYPOPSTACK (yylen);
  8941. yylen = 0;
  8942. YY_STACK_PRINT (yyss, yyssp);
  8943. yystate = *yyssp;
  8944. goto yyerrlab1;
  8945. /*-------------------------------------------------------------.
  8946. | yyerrlab1 -- common code for both syntax error and YYERROR. |
  8947. `-------------------------------------------------------------*/
  8948. yyerrlab1:
  8949. yyerrstatus = 3; /* Each real token shifted decrements this. */
  8950. for (;;)
  8951. {
  8952. yyn = yypact[yystate];
  8953. if (!yypact_value_is_default (yyn))
  8954. {
  8955. yyn += YYTERROR;
  8956. if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR)
  8957. {
  8958. yyn = yytable[yyn];
  8959. if (0 < yyn)
  8960. break;
  8961. }
  8962. }
  8963. /* Pop the current state because it cannot handle the error token. */
  8964. if (yyssp == yyss)
  8965. YYABORT;
  8966. yyerror_range[1] = *yylsp;
  8967. yydestruct ("Error: popping",
  8968. yystos[yystate], yyvsp, yylsp);
  8969. YYPOPSTACK (1);
  8970. yystate = *yyssp;
  8971. YY_STACK_PRINT (yyss, yyssp);
  8972. }
  8973. YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
  8974. *++yyvsp = yylval;
  8975. YY_IGNORE_MAYBE_UNINITIALIZED_END
  8976. yyerror_range[2] = yylloc;
  8977. /* Using YYLLOC is tempting, but would change the location of
  8978. the lookahead. YYLOC is available though. */
  8979. YYLLOC_DEFAULT (yyloc, yyerror_range, 2);
  8980. *++yylsp = yyloc;
  8981. /* Shift the error token. */
  8982. YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp);
  8983. yystate = yyn;
  8984. goto yynewstate;
  8985. /*-------------------------------------.
  8986. | yyacceptlab -- YYACCEPT comes here. |
  8987. `-------------------------------------*/
  8988. yyacceptlab:
  8989. yyresult = 0;
  8990. goto yyreturn;
  8991. /*-----------------------------------.
  8992. | yyabortlab -- YYABORT comes here. |
  8993. `-----------------------------------*/
  8994. yyabortlab:
  8995. yyresult = 1;
  8996. goto yyreturn;
  8997. #if !defined yyoverflow || YYERROR_VERBOSE
  8998. /*-------------------------------------------------.
  8999. | yyexhaustedlab -- memory exhaustion comes here. |
  9000. `-------------------------------------------------*/
  9001. yyexhaustedlab:
  9002. yyerror (&yylloc, YY_("memory exhausted"));
  9003. yyresult = 2;
  9004. /* Fall through. */
  9005. #endif
  9006. yyreturn:
  9007. if (yychar != YYEMPTY)
  9008. {
  9009. /* Make sure we have latest lookahead translation. See comments at
  9010. user semantic actions for why this is necessary. */
  9011. yytoken = YYTRANSLATE (yychar);
  9012. yydestruct ("Cleanup: discarding lookahead",
  9013. yytoken, &yylval, &yylloc);
  9014. }
  9015. /* Do not reclaim the symbols of the rule whose action triggered
  9016. this YYABORT or YYACCEPT. */
  9017. YYPOPSTACK (yylen);
  9018. YY_STACK_PRINT (yyss, yyssp);
  9019. while (yyssp != yyss)
  9020. {
  9021. yydestruct ("Cleanup: popping",
  9022. yystos[*yyssp], yyvsp, yylsp);
  9023. YYPOPSTACK (1);
  9024. }
  9025. #ifndef yyoverflow
  9026. if (yyss != yyssa)
  9027. YYSTACK_FREE (yyss);
  9028. #endif
  9029. #if YYERROR_VERBOSE
  9030. if (yymsg != yymsgbuf)
  9031. YYSTACK_FREE (yymsg);
  9032. #endif
  9033. return yyresult;
  9034. }