N_NIMCALL(void, parseassignment_185441)(Tlexer180185* L, Ttoken180181* tok) { Tlineinfo162338 info; NimStringDesc* s; NimStringDesc* val; NIM_BOOL percent; Tident166021* LOC22; { NIM_BOOL LOC3; Tident166021* LOC4; Tident166021* LOC6; LOC3 = 0; LOC4 = 0; LOC4 = getident_166463(((NimStringDesc*) &TMP1886)); LOC3 = ((*(*tok).ident).Sup.id == (*LOC4).Sup.id); if (LOC3) goto LA5; LOC6 = 0; LOC6 = getident_166463(((NimStringDesc*) &TMP1887)); LOC3 = ((*(*tok).ident).Sup.id == (*LOC6).Sup.id); LA5: ; if (!LOC3) goto LA7; conftok_185379(L, tok); } LA7: ; info = getlineinfo_180218((&(*L)), (&(*tok))); checksymbol_185410((&(*L)), (&(*tok))); s = toktostr_180323((&(*tok))); conftok_185379(L, tok); val = copyString(((NimStringDesc*) &TMP1888)); { while (1) { NimStringDesc* LOC11; if (!((*tok).toktype == ((NU8) 110))) goto LA10; s = addChar(s, 46); conftok_185379(L, tok); checksymbol_185410((&(*L)), (&(*tok))); LOC11 = 0; LOC11 = toktostr_180323((&(*tok))); s = resizeString(s, LOC11->Sup.len + 0); appendString(s, LOC11); conftok_185379(L, tok); } LA10: ; } { NimStringDesc* LOC16; if (!((*tok).toktype == ((NU8) 95))) goto LA14; conftok_185379(L, tok); checksymbol_185410((&(*L)), (&(*tok))); LOC16 = 0; LOC16 = toktostr_180323((&(*tok))); val = resizeString(val, LOC16->Sup.len + 0); appendString(val, LOC16); conftok_185379(L, tok); { if (!((*tok).toktype == ((NU8) 96))) goto LA19; conftok_185379(L, tok); } goto LA17; LA19: ; { lexmessage_180483((&(*L)), ((NU16) 23), ((NimStringDesc*) &TMP1889)); } LA17: ; val = addChar(val, 93); } LA14: ; LOC22 = 0; LOC22 = getident_166463(((NimStringDesc*) &TMP1890)); percent = ((*(*tok).ident).Sup.id == (*LOC22).Sup.id); { NIM_BOOL LOC25; NimStringDesc* LOC33; LOC25 = 0; LOC25 = ((*tok).toktype == ((NU8) 107) || (*tok).toktype == ((NU8) 109)); if (LOC25) goto LA26; LOC25 = percent; LA26: ; if (!LOC25) goto LA27; { if (!(((NI) 0) < (val ? val->Sup.len : 0))) goto LA31; val = addChar(val, 58); } LA31: ; conftok_185379(L, tok); checksymbol_185410((&(*L)), (&(*tok))); LOC33 = 0; LOC33 = toktostr_180323((&(*tok))); val = resizeString(val, LOC33->Sup.len + 0); appendString(val, LOC33); conftok_185379(L, tok); { while (1) { NIM_BOOL LOC36; Tident166021* LOC38; NimStringDesc* LOC39; LOC36 = 0; LOC36 = !(((*tok).ident == NIM_NIL)); if (!(LOC36)) goto LA37; LOC38 = 0; LOC38 = getident_166463(((NimStringDesc*) &TMP1891)); LOC36 = ((*(*tok).ident).Sup.id == (*LOC38).Sup.id); LA37: ; if (!LOC36) goto LA35; conftok_185379(L, tok); checksymbol_185410((&(*L)), (&(*tok))); LOC39 = 0; LOC39 = toktostr_180323((&(*tok))); val = resizeString(val, LOC39->Sup.len + 0); appendString(val, LOC39); conftok_185379(L, tok); } LA35: ; } } LA27: ; { NimStringDesc* LOC44; if (!percent) goto LA42; LOC44 = 0; LOC44 = nstFormat(val, gconfigvars_153231, 3); processswitch_175040(s, LOC44, ((NU8) 2), info); } goto LA40; LA42: ; { processswitch_175040(s, val, ((NU8) 2), info); } LA40: ; }
N_NIMCALL(void, parseassignment_210319)(Tlexer205173* L, Ttoken205169* tok) { Tlineinfo182337 info; NimStringDesc* s; NimStringDesc* val; NIM_BOOL percent; Tident189012* LOC22; { NIM_BOOL LOC3; Tident189012* LOC4; Tident189012* LOC6; LOC3 = 0; LOC4 = 0; LOC4 = getident_189441(((NimStringDesc*) &TMP2044)); LOC3 = ((*(*tok).ident).Sup.id == (*LOC4).Sup.id); if (LOC3) goto LA5; LOC6 = 0; LOC6 = getident_189441(((NimStringDesc*) &TMP2045)); LOC3 = ((*(*tok).ident).Sup.id == (*LOC6).Sup.id); LA5: ; if (!LOC3) goto LA7; conftok_210275(L, tok); } LA7: ; info = getlineinfo_205200((&(*L)), (&(*tok))); checksymbol_210294((&(*L)), (&(*tok))); s = toktostr_205281((&(*tok))); conftok_210275(L, tok); val = copyString(((NimStringDesc*) &TMP2046)); { while (1) { NimStringDesc* LOC11; if (!((*tok).toktype == ((NU8) 110))) goto LA10; s = addChar(s, 46); conftok_210275(L, tok); checksymbol_210294((&(*L)), (&(*tok))); LOC11 = 0; LOC11 = toktostr_205281((&(*tok))); s = resizeString(s, LOC11->Sup.len + 0); appendString(s, LOC11); conftok_210275(L, tok); } LA10: ; } { NimStringDesc* LOC16; if (!((*tok).toktype == ((NU8) 95))) goto LA14; conftok_210275(L, tok); checksymbol_210294((&(*L)), (&(*tok))); LOC16 = 0; LOC16 = toktostr_205281((&(*tok))); val = resizeString(val, LOC16->Sup.len + 0); appendString(val, LOC16); conftok_210275(L, tok); { if (!((*tok).toktype == ((NU8) 96))) goto LA19; conftok_210275(L, tok); } goto LA17; LA19: ; { lexmessage_205370((&(*L)), ((NU16) 24), ((NimStringDesc*) &TMP2047)); } LA17: ; val = addChar(val, 93); } LA14: ; LOC22 = 0; LOC22 = getident_189441(((NimStringDesc*) &TMP2048)); percent = ((*(*tok).ident).Sup.id == (*LOC22).Sup.id); { NIM_BOOL LOC25; NimStringDesc* LOC33; LOC25 = 0; LOC25 = ((*tok).toktype == ((NU8) 107) || (*tok).toktype == ((NU8) 109)); if (LOC25) goto LA26; LOC25 = percent; LA26: ; if (!LOC25) goto LA27; { if (!(((NI) 0) < (val ? val->Sup.len : 0))) goto LA31; val = addChar(val, 58); } LA31: ; conftok_210275(L, tok); checksymbol_210294((&(*L)), (&(*tok))); LOC33 = 0; LOC33 = toktostr_205281((&(*tok))); val = resizeString(val, LOC33->Sup.len + 0); appendString(val, LOC33); conftok_210275(L, tok); { while (1) { NIM_BOOL LOC36; Tident189012* LOC38; NimStringDesc* LOC39; LOC36 = 0; LOC36 = !(((*tok).ident == NIM_NIL)); if (!(LOC36)) goto LA37; LOC38 = 0; LOC38 = getident_189441(((NimStringDesc*) &TMP2049)); LOC36 = ((*(*tok).ident).Sup.id == (*LOC38).Sup.id); LA37: ; if (!LOC36) goto LA35; conftok_210275(L, tok); checksymbol_210294((&(*L)), (&(*tok))); LOC39 = 0; LOC39 = toktostr_205281((&(*tok))); val = resizeString(val, LOC39->Sup.len + 0); appendString(val, LOC39); conftok_210275(L, tok); } LA35: ; } } LA27: ; { NimStringDesc* LOC44; if (!percent) goto LA42; LOC44 = 0; LOC44 = nstFormat(val, gconfigvars_160195, 3); processswitch_200016(s, LOC44, ((NU8) 2), info); } goto LA40; LA42: ; { processswitch_200016(s, val, ((NU8) 2), info); } LA40: ; }
N_NIMCALL(void, parsedirective_185344)(Tlexer180185* L, Ttoken180181* tok) { NU16 LOC1; ppgettok_185009(L, tok); LOC1 = 0; LOC1 = whichkeyword_171386((*tok).ident); switch (LOC1) { case ((NU16) 31): { NIM_BOOL res; condstack_185188 = (TY185169*) setLengthSeq(&(condstack_185188)->Sup, sizeof(NIM_BOOL), ((NI) ((NI)((condstack_185188 ? condstack_185188->Sup.len : 0) + ((NI) 1))))); res = evalppif_185147(L, tok); condstack_185188->data[(condstack_185188 ? (condstack_185188->Sup.len-1) : -1)] = res; { if (!!(res)) goto LA5; jumptodirective_185222(L, tok, ((NU8) 1)); } LA5: ; } break; case ((NU16) 20): { doelif_185253(L, tok); } break; case ((NU16) 21): { doelse_185232(L, tok); } break; case ((NU16) 22): { doend_185193(L, tok); } break; case ((NU16) 180): { NimStringDesc* LOC11; NimStringDesc* LOC12; ppgettok_185009(L, tok); LOC11 = 0; LOC11 = toktostr_180323((&(*tok))); LOC12 = 0; LOC12 = nstFormat(LOC11, gconfigvars_153231, 5); msgwriteln_163538(LOC12); ppgettok_185009(L, tok); } break; default: { NimStringDesc* LOC14; LOC14 = 0; LOC14 = nsuNormalize((*(*tok).ident).s); if (eqStrings(LOC14, ((NimStringDesc*) &TMP1883))) goto LA15; if (eqStrings(LOC14, ((NimStringDesc*) &TMP1884))) goto LA16; if (eqStrings(LOC14, ((NimStringDesc*) &TMP1885))) goto LA17; goto LA18; LA15: ; { NimStringDesc* key; NimStringDesc* LOC21; ppgettok_185009(L, tok); key = toktostr_180323((&(*tok))); ppgettok_185009(L, tok); LOC21 = 0; LOC21 = toktostr_180323((&(*tok))); putenv_121669(key, LOC21); ppgettok_185009(L, tok); } goto LA19; LA16: ; { NimStringDesc* key; NimStringDesc* LOC23; NimStringDesc* LOC24; NimStringDesc* LOC25; ppgettok_185009(L, tok); key = toktostr_180323((&(*tok))); ppgettok_185009(L, tok); LOC23 = 0; LOC24 = 0; LOC24 = toktostr_180323((&(*tok))); LOC25 = 0; LOC25 = getenv_121644(key); LOC23 = rawNewString(LOC24->Sup.len + LOC25->Sup.len + 0); appendString(LOC23, LOC24); appendString(LOC23, LOC25); putenv_121669(key, LOC23); ppgettok_185009(L, tok); } goto LA19; LA17: ; { NimStringDesc* key; NimStringDesc* LOC27; NimStringDesc* LOC28; NimStringDesc* LOC29; ppgettok_185009(L, tok); key = toktostr_180323((&(*tok))); ppgettok_185009(L, tok); LOC27 = 0; LOC28 = 0; LOC28 = getenv_121644(key); LOC29 = 0; LOC29 = toktostr_180323((&(*tok))); LOC27 = rawNewString(LOC28->Sup.len + LOC29->Sup.len + 0); appendString(LOC27, LOC28); appendString(LOC27, LOC29); putenv_121669(key, LOC27); ppgettok_185009(L, tok); } goto LA19; LA18: ; { NimStringDesc* LOC31; LOC31 = 0; LOC31 = toktostr_180323((&(*tok))); lexmessage_180483((&(*L)), ((NU16) 30), LOC31); } LA19: ; } break; } }
N_NIMCALL(void, parsedirective_210246)(Tlexer205173* L, Ttoken205169* tok) { NU16 LOC1; ppgettok_210003(L, tok); LOC1 = 0; LOC1 = whichkeyword_196362((*tok).ident); switch (LOC1) { case ((NU16) 31): { NIM_BOOL res; condstack_210129 = (TY210112*) setLengthSeq(&(condstack_210129)->Sup, sizeof(NIM_BOOL), ((NI) ((NI)((condstack_210129 ? condstack_210129->Sup.len : 0) + ((NI) 1))))); res = evalppif_210096(L, tok); condstack_210129->data[(condstack_210129 ? (condstack_210129->Sup.len-1) : -1)] = res; { if (!!(res)) goto LA5; jumptodirective_210151(L, tok, ((NU8) 1)); } LA5: ; } break; case ((NU16) 20): { doelif_210173(L, tok); } break; case ((NU16) 21): { doelse_210158(L, tok); } break; case ((NU16) 22): { doend_210131(L, tok); } break; case ((NU16) 183): { NimStringDesc* LOC11; NimStringDesc* LOC12; ppgettok_210003(L, tok); LOC11 = 0; LOC11 = toktostr_205281((&(*tok))); LOC12 = 0; LOC12 = nstFormat(LOC11, gconfigvars_160195, 5); msgwriteln_183449(LOC12, 0); ppgettok_210003(L, tok); } break; default: { NimStringDesc* LOC14; LOC14 = 0; LOC14 = nsuNormalize((*(*tok).ident).s); if (eqStrings(LOC14, ((NimStringDesc*) &TMP2041))) goto LA15; if (eqStrings(LOC14, ((NimStringDesc*) &TMP2042))) goto LA16; if (eqStrings(LOC14, ((NimStringDesc*) &TMP2043))) goto LA17; goto LA18; LA15: ; { NimStringDesc* key; NimStringDesc* LOC21; ppgettok_210003(L, tok); key = toktostr_205281((&(*tok))); ppgettok_210003(L, tok); LOC21 = 0; LOC21 = toktostr_205281((&(*tok))); putenv_125838(key, LOC21); ppgettok_210003(L, tok); } goto LA19; LA16: ; { NimStringDesc* key; NimStringDesc* LOC23; NimStringDesc* LOC24; NimStringDesc* LOC25; ppgettok_210003(L, tok); key = toktostr_205281((&(*tok))); ppgettok_210003(L, tok); LOC23 = 0; LOC24 = 0; LOC24 = toktostr_205281((&(*tok))); LOC25 = 0; LOC25 = getenv_125825(key); LOC23 = rawNewString(LOC24->Sup.len + LOC25->Sup.len + 0); appendString(LOC23, LOC24); appendString(LOC23, LOC25); putenv_125838(key, LOC23); ppgettok_210003(L, tok); } goto LA19; LA17: ; { NimStringDesc* key; NimStringDesc* LOC27; NimStringDesc* LOC28; NimStringDesc* LOC29; ppgettok_210003(L, tok); key = toktostr_205281((&(*tok))); ppgettok_210003(L, tok); LOC27 = 0; LOC28 = 0; LOC28 = getenv_125825(key); LOC29 = 0; LOC29 = toktostr_205281((&(*tok))); LOC27 = rawNewString(LOC28->Sup.len + LOC29->Sup.len + 0); appendString(LOC27, LOC28); appendString(LOC27, LOC29); putenv_125838(key, LOC27); ppgettok_210003(L, tok); } goto LA19; LA18: ; { NimStringDesc* LOC31; LOC31 = 0; LOC31 = toktostr_205281((&(*tok))); lexmessage_205370((&(*L)), ((NU16) 31), LOC31); } LA19: ; } break; } }
N_NIMCALL(void, parsedirective_186342)(Tlexer181185* L, Ttoken181181* tok) { NU16 LOC1; nimfr("parseDirective", "nimconf.nim") nimln(112, "nimconf.nim"); ppgettok_186009(L, tok); nimln(113, "nimconf.nim"); LOC1 = 0; LOC1 = whichkeyword_172386((*tok).ident); switch (LOC1) { case ((NU16) 31): { NI TMP2486; NIM_BOOL res; nimln(115, "nimconf.nim"); TMP2486 = addInt((condstack_186186 ? condstack_186186->Sup.len : 0), ((NI) 1)); condstack_186186 = (TY186169*) setLengthSeq(&(condstack_186186)->Sup, sizeof(NIM_BOOL), ((NI)chckRange((NI)(TMP2486), ((NI) 0), ((NI) IL64(9223372036854775807))))); nimln(116, "nimconf.nim"); res = evalppif_186147(L, tok); nimln(117, "nimconf.nim"); if ((NU)((condstack_186186 ? (condstack_186186->Sup.len-1) : -1)) >= (NU)(condstack_186186->Sup.len)) raiseIndexError(); condstack_186186->data[(condstack_186186 ? (condstack_186186->Sup.len-1) : -1)] = res; nimln(118, "nimconf.nim"); { if (!!(res)) goto LA5; jumptodirective_186220(L, tok, ((NU8) 1)); } LA5: ; } break; case ((NU16) 20): { nimln(119, "nimconf.nim"); doelif_186251(L, tok); } break; case ((NU16) 21): { nimln(120, "nimconf.nim"); doelse_186230(L, tok); } break; case ((NU16) 22): { nimln(121, "nimconf.nim"); doend_186191(L, tok); } break; case ((NU16) 180): { NimStringDesc* LOC11; NimStringDesc* LOC12; nimln(123, "nimconf.nim"); ppgettok_186009(L, tok); nimln(124, "nimconf.nim"); LOC11 = 0; LOC11 = toktostr_181323((&(*tok))); LOC12 = 0; LOC12 = nstFormat(LOC11, gconfigvars_154231, 5); msgwriteln_164536(LOC12); nimln(126, "nimconf.nim"); ppgettok_186009(L, tok); } break; default: { NimStringDesc* LOC14; nimln(128, "nimconf.nim"); LOC14 = 0; LOC14 = nsuNormalize((*(*tok).ident).s); if (eqStrings(LOC14, ((NimStringDesc*) &TMP2487))) goto LA15; if (eqStrings(LOC14, ((NimStringDesc*) &TMP2488))) goto LA16; if (eqStrings(LOC14, ((NimStringDesc*) &TMP2489))) goto LA17; goto LA18; LA15: ; { NimStringDesc* key; NimStringDesc* LOC21; nimln(130, "nimconf.nim"); ppgettok_186009(L, tok); nimln(131, "nimconf.nim"); key = toktostr_181323((&(*tok))); nimln(132, "nimconf.nim"); ppgettok_186009(L, tok); nimln(133, "nimconf.nim"); LOC21 = 0; LOC21 = toktostr_181323((&(*tok))); putenv_122669(key, LOC21); nimln(134, "nimconf.nim"); ppgettok_186009(L, tok); } goto LA19; LA16: ; { NimStringDesc* key; NimStringDesc* LOC23; NimStringDesc* LOC24; NimStringDesc* LOC25; nimln(136, "nimconf.nim"); ppgettok_186009(L, tok); nimln(137, "nimconf.nim"); key = toktostr_181323((&(*tok))); nimln(138, "nimconf.nim"); ppgettok_186009(L, tok); nimln(139, "nimconf.nim"); LOC23 = 0; LOC24 = 0; LOC24 = toktostr_181323((&(*tok))); LOC25 = 0; LOC25 = getenv_122644(key); LOC23 = rawNewString(LOC24->Sup.len + LOC25->Sup.len + 0); appendString(LOC23, LOC24); appendString(LOC23, LOC25); putenv_122669(key, LOC23); nimln(140, "nimconf.nim"); ppgettok_186009(L, tok); } goto LA19; LA17: ; { NimStringDesc* key; NimStringDesc* LOC27; NimStringDesc* LOC28; NimStringDesc* LOC29; nimln(142, "nimconf.nim"); ppgettok_186009(L, tok); nimln(143, "nimconf.nim"); key = toktostr_181323((&(*tok))); nimln(144, "nimconf.nim"); ppgettok_186009(L, tok); nimln(145, "nimconf.nim"); LOC27 = 0; LOC28 = 0; LOC28 = getenv_122644(key); LOC29 = 0; LOC29 = toktostr_181323((&(*tok))); LOC27 = rawNewString(LOC28->Sup.len + LOC29->Sup.len + 0); appendString(LOC27, LOC28); appendString(LOC27, LOC29); putenv_122669(key, LOC27); nimln(146, "nimconf.nim"); ppgettok_186009(L, tok); } goto LA19; LA18: ; { NimStringDesc* LOC31; nimln(147, "nimconf.nim"); LOC31 = 0; LOC31 = toktostr_181323((&(*tok))); lexmessage_181483((&(*L)), ((NU16) 30), LOC31); } LA19: ; } break; } popFrame(); }
N_NIMCALL(void, parseassignment_186439)(Tlexer181185* L, Ttoken181181* tok) { Tlineinfo163338 info; NimStringDesc* s; NimStringDesc* val; NIM_BOOL percent; Tident167021* LOC22; nimfr("parseAssignment", "nimconf.nim") nimln(159, "nimconf.nim"); { NIM_BOOL LOC3; Tident167021* LOC4; Tident167021* LOC6; LOC3 = 0; LOC4 = 0; LOC4 = getident_167463(((NimStringDesc*) &TMP2490)); LOC3 = ((*(*tok).ident).Sup.id == (*LOC4).Sup.id); if (LOC3) goto LA5; LOC6 = 0; LOC6 = getident_167463(((NimStringDesc*) &TMP2491)); LOC3 = ((*(*tok).ident).Sup.id == (*LOC6).Sup.id); LA5: ; if (!LOC3) goto LA7; nimln(160, "nimconf.nim"); conftok_186377(L, tok); } LA7: ; nimln(161, "nimconf.nim"); info = getlineinfo_181218((&(*L)), (&(*tok))); nimln(162, "nimconf.nim"); checksymbol_186408((&(*L)), (&(*tok))); nimln(163, "nimconf.nim"); s = toktostr_181323((&(*tok))); nimln(164, "nimconf.nim"); conftok_186377(L, tok); nimln(165, "nimconf.nim"); val = copyString(((NimStringDesc*) &TMP2492)); { nimln(166, "nimconf.nim"); while (1) { NimStringDesc* LOC11; if (!((*tok).toktype == ((NU8) 110))) goto LA10; nimln(167, "nimconf.nim"); s = addChar(s, 46); nimln(168, "nimconf.nim"); conftok_186377(L, tok); nimln(169, "nimconf.nim"); checksymbol_186408((&(*L)), (&(*tok))); nimln(170, "nimconf.nim"); LOC11 = 0; LOC11 = toktostr_181323((&(*tok))); s = resizeString(s, LOC11->Sup.len + 0); appendString(s, LOC11); nimln(171, "nimconf.nim"); conftok_186377(L, tok); } LA10: ; } nimln(172, "nimconf.nim"); { NimStringDesc* LOC16; if (!((*tok).toktype == ((NU8) 95))) goto LA14; nimln(175, "nimconf.nim"); conftok_186377(L, tok); nimln(176, "nimconf.nim"); checksymbol_186408((&(*L)), (&(*tok))); nimln(177, "nimconf.nim"); LOC16 = 0; LOC16 = toktostr_181323((&(*tok))); val = resizeString(val, LOC16->Sup.len + 0); appendString(val, LOC16); nimln(178, "nimconf.nim"); conftok_186377(L, tok); nimln(179, "nimconf.nim"); { if (!((*tok).toktype == ((NU8) 96))) goto LA19; conftok_186377(L, tok); } goto LA17; LA19: ; { nimln(180, "nimconf.nim"); lexmessage_181483((&(*L)), ((NU16) 23), ((NimStringDesc*) &TMP2493)); } LA17: ; nimln(181, "nimconf.nim"); val = addChar(val, 93); } LA14: ; nimln(182, "nimconf.nim"); LOC22 = 0; LOC22 = getident_167463(((NimStringDesc*) &TMP2494)); percent = ((*(*tok).ident).Sup.id == (*LOC22).Sup.id); nimln(183, "nimconf.nim"); { NIM_BOOL LOC25; NimStringDesc* LOC33; LOC25 = 0; LOC25 = ((*tok).toktype == ((NU8) 107) || (*tok).toktype == ((NU8) 109)); if (LOC25) goto LA26; LOC25 = percent; LA26: ; if (!LOC25) goto LA27; nimln(184, "nimconf.nim"); { if (!(((NI) 0) < (val ? val->Sup.len : 0))) goto LA31; val = addChar(val, 58); } LA31: ; nimln(185, "nimconf.nim"); conftok_186377(L, tok); nimln(186, "nimconf.nim"); checksymbol_186408((&(*L)), (&(*tok))); nimln(187, "nimconf.nim"); LOC33 = 0; LOC33 = toktostr_181323((&(*tok))); val = resizeString(val, LOC33->Sup.len + 0); appendString(val, LOC33); nimln(188, "nimconf.nim"); conftok_186377(L, tok); { nimln(189, "nimconf.nim"); while (1) { NIM_BOOL LOC36; Tident167021* LOC38; NimStringDesc* LOC39; LOC36 = 0; LOC36 = !(((*tok).ident == NIM_NIL)); if (!(LOC36)) goto LA37; LOC38 = 0; LOC38 = getident_167463(((NimStringDesc*) &TMP2495)); LOC36 = ((*(*tok).ident).Sup.id == (*LOC38).Sup.id); LA37: ; if (!LOC36) goto LA35; nimln(190, "nimconf.nim"); conftok_186377(L, tok); nimln(191, "nimconf.nim"); checksymbol_186408((&(*L)), (&(*tok))); nimln(192, "nimconf.nim"); LOC39 = 0; LOC39 = toktostr_181323((&(*tok))); val = resizeString(val, LOC39->Sup.len + 0); appendString(val, LOC39); nimln(193, "nimconf.nim"); conftok_186377(L, tok); } LA35: ; } } LA27: ; nimln(194, "nimconf.nim"); { NimStringDesc* LOC44; if (!percent) goto LA42; nimln(195, "nimconf.nim"); LOC44 = 0; LOC44 = nstFormat(val, gconfigvars_154231, 3); processswitch_176040(s, LOC44, ((NU8) 2), info); } goto LA40; LA42: ; { nimln(198, "nimconf.nim"); processswitch_176040(s, val, ((NU8) 2), info); } LA40: ; popFrame(); }
N_NIMCALL(void, parseassignment_291318_930198375)(Tlexer286174* L0, Ttoken286170* tok0) { Tlineinfo192336 info0; NimStringDesc* s0; NimStringDesc* val0; NIM_BOOL percent0; Tident200010* LOC22; { NIM_BOOL LOC3; Tident200010* LOC4; Tident200010* LOC6; LOC3 = (NIM_BOOL)0; LOC4 = (Tident200010*)0; LOC4 = getident_200441_791273810(((NimStringDesc*) &T930198375_12)); LOC3 = ((*(*tok0).ident).Sup.id == (*LOC4).Sup.id); if (LOC3) goto LA5; LOC6 = (Tident200010*)0; LOC6 = getident_200441_791273810(((NimStringDesc*) &T930198375_13)); LOC3 = ((*(*tok0).ident).Sup.id == (*LOC6).Sup.id); LA5: ; if (!LOC3) goto LA7; conftok_291274_930198375(L0, tok0); } LA7: ; info0 = getlineinfo_286206_689113469((&(*L0)), (&(*tok0))); checksymbol_291293_930198375((&(*L0)), (&(*tok0))); s0 = toktostr_286293_689113469((&(*tok0))); conftok_291274_930198375(L0, tok0); val0 = copyString(((NimStringDesc*) &T930198375_14)); { while (1) { NimStringDesc* LOC11; if (!((*tok0).toktype == ((Ttoktype286016) 110))) goto LA10; s0 = addChar(s0, 46); conftok_291274_930198375(L0, tok0); checksymbol_291293_930198375((&(*L0)), (&(*tok0))); LOC11 = (NimStringDesc*)0; LOC11 = toktostr_286293_689113469((&(*tok0))); s0 = resizeString(s0, LOC11->Sup.len + 0); appendString(s0, LOC11); conftok_291274_930198375(L0, tok0); } LA10: ; } { NimStringDesc* LOC16; if (!((*tok0).toktype == ((Ttoktype286016) 95))) goto LA14; conftok_291274_930198375(L0, tok0); checksymbol_291293_930198375((&(*L0)), (&(*tok0))); LOC16 = (NimStringDesc*)0; LOC16 = toktostr_286293_689113469((&(*tok0))); val0 = resizeString(val0, LOC16->Sup.len + 0); appendString(val0, LOC16); conftok_291274_930198375(L0, tok0); { if (!((*tok0).toktype == ((Ttoktype286016) 96))) goto LA19; conftok_291274_930198375(L0, tok0); } goto LA17; LA19: ; { lexmessage_286378_689113469((&(*L0)), ((Tmsgkind192002) 24), ((NimStringDesc*) &T930198375_15)); } LA17: ; val0 = addChar(val0, 93); } LA14: ; LOC22 = (Tident200010*)0; LOC22 = getident_200441_791273810(((NimStringDesc*) &T930198375_16)); percent0 = ((*(*tok0).ident).Sup.id == (*LOC22).Sup.id); { NIM_BOOL LOC25; NimStringDesc* LOC33; LOC25 = (NIM_BOOL)0; LOC25 = ((*tok0).toktype == ((Ttoktype286016) 107) || (*tok0).toktype == ((Ttoktype286016) 109)); if (LOC25) goto LA26; LOC25 = percent0; LA26: ; if (!LOC25) goto LA27; { if (!(((NI) 0) < (val0 ? val0->Sup.len : 0))) goto LA31; val0 = addChar(val0, 58); } LA31: ; conftok_291274_930198375(L0, tok0); checksymbol_291293_930198375((&(*L0)), (&(*tok0))); LOC33 = (NimStringDesc*)0; LOC33 = toktostr_286293_689113469((&(*tok0))); val0 = resizeString(val0, LOC33->Sup.len + 0); appendString(val0, LOC33); conftok_291274_930198375(L0, tok0); { while (1) { NIM_BOOL LOC36; Tident200010* LOC38; NimStringDesc* LOC39; LOC36 = (NIM_BOOL)0; LOC36 = !(((*tok0).ident == NIM_NIL)); if (!(LOC36)) goto LA37; LOC38 = (Tident200010*)0; LOC38 = getident_200441_791273810(((NimStringDesc*) &T930198375_17)); LOC36 = ((*(*tok0).ident).Sup.id == (*LOC38).Sup.id); LA37: ; if (!LOC36) goto LA35; conftok_291274_930198375(L0, tok0); checksymbol_291293_930198375((&(*L0)), (&(*tok0))); LOC39 = (NimStringDesc*)0; LOC39 = toktostr_286293_689113469((&(*tok0))); val0 = resizeString(val0, LOC39->Sup.len + 0); appendString(val0, LOC39); conftok_291274_930198375(L0, tok0); } LA35: ; } } LA27: ; { NimStringDesc* LOC44; if (!percent0) goto LA42; LOC44 = (NimStringDesc*)0; LOC44 = nstFormat(val0, gconfigvars_170204_2607990831, 3); processswitch_281016_2004575671(s0, LOC44, ((Tcmdlinepass281008) 2), info0); } goto LA40; LA42: ; { processswitch_281016_2004575671(s0, val0, ((Tcmdlinepass281008) 2), info0); } LA40: ; }
N_NIMCALL(void, parsedirective_291245_930198375)(Tlexer286174* L0, Ttoken286170* tok0) { Tspecialword276003 LOC1; ppgettok_291002_930198375(L0, tok0); LOC1 = (Tspecialword276003)0; LOC1 = whichkeyword_276365_1391470768((*tok0).ident); switch (LOC1) { case ((Tspecialword276003) 31): { NIM_BOOL res0; condstack_291128_930198375 = (TY291111*) setLengthSeq(&(condstack_291128_930198375)->Sup, sizeof(NIM_BOOL), ((NI) ((NI)((condstack_291128_930198375 ? condstack_291128_930198375->Sup.len : 0) + ((NI) 1))))); res0 = evalppif_291095_930198375(L0, tok0); condstack_291128_930198375->data[(condstack_291128_930198375 ? (condstack_291128_930198375->Sup.len-1) : -1)] = res0; { if (!!(res0)) goto LA5; jumptodirective_291150_930198375(L0, tok0, ((Tjumpdest291147) 1)); } LA5: ; } break; case ((Tspecialword276003) 20): { doelif_291172_930198375(L0, tok0); } break; case ((Tspecialword276003) 21): { doelse_291157_930198375(L0, tok0); } break; case ((Tspecialword276003) 22): { doend_291130_930198375(L0, tok0); } break; case ((Tspecialword276003) 185): { NimStringDesc* LOC11; NimStringDesc* LOC12; ppgettok_291002_930198375(L0, tok0); LOC11 = (NimStringDesc*)0; LOC11 = toktostr_286293_689113469((&(*tok0))); LOC12 = (NimStringDesc*)0; LOC12 = nstFormat(LOC11, gconfigvars_170204_2607990831, 5); msgwriteln_193450_155036129(LOC12, 0); ppgettok_291002_930198375(L0, tok0); } break; default: { NimStringDesc* LOC14; LOC14 = (NimStringDesc*)0; LOC14 = nsuNormalize((*(*tok0).ident).s); if (eqStrings(LOC14, ((NimStringDesc*) &T930198375_9))) goto LA15; if (eqStrings(LOC14, ((NimStringDesc*) &T930198375_10))) goto LA16; if (eqStrings(LOC14, ((NimStringDesc*) &T930198375_11))) goto LA17; goto LA18; LA15: ; { NimStringDesc* key0; NimStringDesc* LOC21; ppgettok_291002_930198375(L0, tok0); key0 = toktostr_286293_689113469((&(*tok0))); ppgettok_291002_930198375(L0, tok0); LOC21 = (NimStringDesc*)0; LOC21 = toktostr_286293_689113469((&(*tok0))); putenv_135638_2125978480(key0, LOC21); ppgettok_291002_930198375(L0, tok0); } goto LA19; LA16: ; { NimStringDesc* key0; NimStringDesc* LOC23; NimStringDesc* LOC24; NimStringDesc* LOC25; ppgettok_291002_930198375(L0, tok0); key0 = toktostr_286293_689113469((&(*tok0))); ppgettok_291002_930198375(L0, tok0); LOC23 = (NimStringDesc*)0; LOC24 = (NimStringDesc*)0; LOC24 = toktostr_286293_689113469((&(*tok0))); LOC25 = (NimStringDesc*)0; LOC25 = getenv_135625_2125978480(key0); LOC23 = rawNewString(LOC24->Sup.len + LOC25->Sup.len + 0); appendString(LOC23, LOC24); appendString(LOC23, LOC25); putenv_135638_2125978480(key0, LOC23); ppgettok_291002_930198375(L0, tok0); } goto LA19; LA17: ; { NimStringDesc* key0; NimStringDesc* LOC27; NimStringDesc* LOC28; NimStringDesc* LOC29; ppgettok_291002_930198375(L0, tok0); key0 = toktostr_286293_689113469((&(*tok0))); ppgettok_291002_930198375(L0, tok0); LOC27 = (NimStringDesc*)0; LOC28 = (NimStringDesc*)0; LOC28 = getenv_135625_2125978480(key0); LOC29 = (NimStringDesc*)0; LOC29 = toktostr_286293_689113469((&(*tok0))); LOC27 = rawNewString(LOC28->Sup.len + LOC29->Sup.len + 0); appendString(LOC27, LOC28); appendString(LOC27, LOC29); putenv_135638_2125978480(key0, LOC27); ppgettok_291002_930198375(L0, tok0); } goto LA19; LA18: ; { NimStringDesc* LOC31; LOC31 = (NimStringDesc*)0; LOC31 = toktostr_286293_689113469((&(*tok0))); lexmessage_286378_689113469((&(*L0)), ((Tmsgkind192002) 31), LOC31); } LA19: ; } break; } }