Пример #1
0
N_NIMCALL(NimStringDesc*, canondynlibname_154459)(NimStringDesc* s) {
	NimStringDesc* result;
	NI start;
	NI ende;
	result = 0;
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = nsuStartsWith(s, ((NimStringDesc*) &TMP1863));
		if (!LOC3) goto LA4;
		start = ((NI) 3);
	}
	goto LA1;
	LA4: ;
	{
		start = ((NI) 0);
	}
	LA1: ;
	ende = nsuFindCharSet(s, TMP1864, ((NI) 0));
	{
		if (!(((NI) 0) <= ende)) goto LA9;
		result = copyStrLast(s, start, (NI)(ende - ((NI) 1)));
	}
	goto LA7;
	LA9: ;
	{
		result = copyStr(s, start);
	}
	LA7: ;
	return result;
}
Пример #2
0
N_NIMCALL(NimStringDesc*, canondynlibname_137360)(NimStringDesc* s) {
	NimStringDesc* result;
	NI start;
	NI ende;
	nimfr("canonDynlibName", "options.nim")
	result = 0;
	nimln(356, "options.nim");
	nimln(356, "options.nim");
	{
		NIM_BOOL LOC3;
		nimln(356, "options.nim");
		LOC3 = 0;
		LOC3 = nsuStartsWith(s, ((NimStringDesc*) &TMP442));
		if (!LOC3) goto LA4;
		start = 3;
	}
	goto LA1;
	LA4: ;
	{
		start = 0;
	}
	LA1: ;
	nimln(357, "options.nim");
	ende = nsuFindCharSet(s, TMP443, 0);
	nimln(358, "options.nim");
	{
		NI TMP444;
		nimln(358, "options.nim");
		if (!(0 <= ende)) goto LA9;
		nimln(359, "options.nim");
		nimln(359, "options.nim");
		nimln(359, "options.nim");
		TMP444 = subInt(ende, 1);
		result = copyStrLast(s, start, (NI32)(TMP444));
	}
	goto LA7;
	LA9: ;
	{
		nimln(361, "options.nim");
		nimln(361, "options.nim");
		result = copyStr(s, start);
	}
	LA7: ;
	popFrame();
	return result;
}
Пример #3
0
N_NIMCALL(NimStringDesc*, canondynlibname_114635)(NimStringDesc* s) {
	NimStringDesc* result;
	NI start;
	NI ende;
	nimfr("canonDynlibName", "options.nim")
	result = 0;
	nimln(310, "options.nim");
	nimln(310, "options.nim");
	{
		NIM_BOOL LOC3;
		nimln(310, "options.nim");
		LOC3 = 0;
		LOC3 = nsuStartsWith(s, ((NimStringDesc*) &TMP339));
		if (!LOC3) goto LA4;
		start = 3;
	}	goto LA1;
	LA4: ;
	{
		start = 0;
	}	LA1: ;
	nimln(311, "options.nim");
	ende = nsuFindCharSet(s, TMP361, 0);
	nimln(312, "options.nim");
	{
		NI TMP362;
		nimln(702, "system.nim");
		if (!(0 <= ende)) goto LA9;
		nimln(313, "options.nim");
		nimln(313, "options.nim");
		nimln(313, "options.nim");
		TMP362 = subInt(ende, 1);
		result = copyStrLast(s, start, (NI32)(TMP362));
	}	goto LA7;
	LA9: ;
	{
		nimln(315, "options.nim");
		nimln(315, "options.nim");
		result = copyStr(s, start);
	}	LA7: ;
	popFrame();
	return result;
}