コード例 #1
0
ファイル: wordrecg.c プロジェクト: Varriount/csources
N_NIMCALL(void, initspecials_174373)(void) {
	NU8 s_174430;
	NU8 res_174440;
	nimfr("initSpecials", "wordrecg.nim")
	s_174430 = 0;
	nimln(1451, "system.nim");
	res_174440 = ((NU8) 1);
	nimln(1452, "system.nim");
	while (1) {
		NI LOC2;
		tident170019* LOC3;
		nimln(1452, "system.nim");
		if (!(res_174440 <= ((NU8) 251))) goto LA1;
		nimln(1451, "system.nim");
		s_174430 = res_174440;
		nimln(187, "wordrecg.nim");
		nimln(187, "wordrecg.nim");
		nimln(187, "wordrecg.nim");
		LOC2 = 0;
		LOC2 = hashignorestyle_121859(specialwords_174326[(s_174430)- 0]);
		LOC3 = 0;
		LOC3 = getident_170462(specialwords_174326[(s_174430)- 0], LOC2);
		nimln(187, "wordrecg.nim");
		(*LOC3).Sup.Id = ((NI) (s_174430));
		nimln(1454, "system.nim");
		res_174440 = addInt(res_174440, 1);
	} LA1: ;
	popFrame();
}
コード例 #2
0
ファイル: idents.c プロジェクト: Varriount/csources
N_NIMCALL(tident170019*, getident_170456)(NimStringDesc* identifier) {
	tident170019* result;
	NI LOC1;
	nimfr("getIdent", "idents.nim")
	result = 0;
	nimln(99, "idents.nim");
	nimln(99, "idents.nim");
	nimln(100, "idents.nim");
	LOC1 = 0;
	LOC1 = hashignorestyle_121859(identifier);
	result = getident_170250(identifier->data, identifier->Sup.len, LOC1);
	popFrame();
	return result;
}
コード例 #3
0
ファイル: magicsys.c プロジェクト: reactormonk/csources
N_NIMCALL(tsym187843*, getcompilerproc_242028)(NimStringDesc* name) {
	tsym187843* result;
	tident167019* ident;
	NI LOC1;
	nimfr("getCompilerProc", "magicsys.nim")
	result = 0;
	nimln(164, "magicsys.nim");
	nimln(164, "magicsys.nim");
	LOC1 = 0;
	LOC1 = hashignorestyle_121859(name);
	ident = getident_167462(name, LOC1);
	nimln(165, "magicsys.nim");
	result = strtableget_196084(compilerprocs_242049, ident);
	nimln(166, "magicsys.nim");
	{
		nimln(166, "magicsys.nim");
		if (!(result == NIM_NIL)) goto LA4;
		nimln(167, "magicsys.nim");
		result = strtableget_196084(rodcompilerprocs_236058, ident);
		nimln(168, "magicsys.nim");
		{
			nimln(168, "magicsys.nim");
			nimln(168, "magicsys.nim");
			if (!!((result == NIM_NIL))) goto LA8;
			nimln(169, "magicsys.nim");
			strtableadd_196078(&compilerprocs_242049, result);
			nimln(170, "magicsys.nim");
			{
				nimln(170, "magicsys.nim");
				if (!((*result).Kind == ((NU8) 23))) goto LA12;
				nimln(170, "magicsys.nim");
				loadstub_239239(result);
			}
			LA12: ;
		}
		LA8: ;
	}
	LA4: ;
	popFrame();
	return result;
}