Ejemplo n.º 1
0
N_NIMCALL(NIM_BOOL, parseandexpr_186088)(Tlexer181185* L, Ttoken181181* tok) {
	NIM_BOOL result;
	nimfr("parseAndExpr", "nimconf.nim")
	result = 0;
	nimln(39, "nimconf.nim");
	result = parseatom_186048(L, tok);
	{
		nimln(40, "nimconf.nim");
		while (1) {
			NIM_BOOL b;
			NIM_BOOL LOC3;
			if (!((*(*tok).ident).Sup.id == ((NI) 2))) goto LA2;
			nimln(41, "nimconf.nim");
			ppgettok_186009(L, tok);
			nimln(42, "nimconf.nim");
			b = parseatom_186048(L, tok);
			nimln(43, "nimconf.nim");
			LOC3 = 0;
			LOC3 = result;
			if (!(LOC3)) goto LA4;
			LOC3 = b;
			LA4: ;
			result = LOC3;
		} LA2: ;
	}
	popFrame();
	return result;
}
Ejemplo n.º 2
0
N_NIMCALL(NIM_BOOL, parseandexpr_186088)(Tlexer181185* L, Ttoken181181* tok) {
	NIM_BOOL result;
	result = 0;
	result = parseatom_186048(L, tok);
	{
		while (1) {
			NIM_BOOL b;
			NIM_BOOL LOC3;
			if (!((*(*tok).ident).Sup.id == ((NI) 2))) goto LA2;
			ppgettok_186009(L, tok);
			b = parseatom_186048(L, tok);
			LOC3 = 0;
			LOC3 = result;
			if (!(LOC3)) goto LA4;
			LOC3 = b;
			LA4: ;
			result = LOC3;
		} LA2: ;
	}
	return result;
}
Ejemplo n.º 3
0
N_NIMCALL(NIM_BOOL, parseatom_186048)(Tlexer181185* L, Ttoken181181* tok) {
	NIM_BOOL result;
	nimfr("parseAtom", "nimconf.nim")
	result = 0;
	nimln(26, "nimconf.nim");
	{
		if (!((*tok).toktype == ((NU8) 93))) goto LA3;
		nimln(27, "nimconf.nim");
		ppgettok_186009(L, tok);
		nimln(28, "nimconf.nim");
		result = parseexpr_186039(L, tok);
		nimln(29, "nimconf.nim");
		{
			if (!((*tok).toktype == ((NU8) 94))) goto LA7;
			ppgettok_186009(L, tok);
		}
		goto LA5;
		LA7: ;
		{
			nimln(30, "nimconf.nim");
			lexmessage_181483((&(*L)), ((NU16) 23), ((NimStringDesc*) &TMP2478));
		}
		LA5: ;
	}
	goto LA1;
	LA3: ;
	{
		NIM_BOOL LOC13;
		nimln(31, "nimconf.nim");
		if (!((*(*tok).ident).Sup.id == ((NI) 45))) goto LA11;
		nimln(32, "nimconf.nim");
		ppgettok_186009(L, tok);
		nimln(33, "nimconf.nim");
		LOC13 = 0;
		LOC13 = parseatom_186048(L, tok);
		result = !(LOC13);
	}
	goto LA1;
	LA11: ;
	{
		nimln(35, "nimconf.nim");
		result = isdefined_168167((*tok).ident);
		nimln(36, "nimconf.nim");
		ppgettok_186009(L, tok);
	}
	LA1: ;
	popFrame();
	return result;
}
Ejemplo n.º 4
0
N_NIMCALL(NIM_BOOL, parseatom_186048)(Tlexer181185* L, Ttoken181181* tok) {
	NIM_BOOL result;
	result = 0;
	{
		if (!((*tok).toktype == ((NU8) 93))) goto LA3;
		ppgettok_186009(L, tok);
		result = parseexpr_186039(L, tok);
		{
			if (!((*tok).toktype == ((NU8) 94))) goto LA7;
			ppgettok_186009(L, tok);
		}
		goto LA5;
		LA7: ;
		{
			lexmessage_181483((&(*L)), ((NU16) 23), ((NimStringDesc*) &TMP1878));
		}
		LA5: ;
	}
	goto LA1;
	LA3: ;
	{
		NIM_BOOL LOC13;
		if (!((*(*tok).ident).Sup.id == ((NI) 45))) goto LA11;
		ppgettok_186009(L, tok);
		LOC13 = 0;
		LOC13 = parseatom_186048(L, tok);
		result = !(LOC13);
	}
	goto LA1;
	LA11: ;
	{
		result = isdefined_168167((*tok).ident);
		ppgettok_186009(L, tok);
	}
	LA1: ;
	return result;
}