@@ -31,6 +31,11 @@ if "%helpCheck%" == "true" (
3131)
3232if " %1 " == " --version" goto fcversion
3333if " %2 " == " --compile" set fccompile = true
34+ if " %2 " == " --keep" (
35+ set keepmethod = true
36+ set keepinline = true
37+ set fccompile = true
38+ )
3439if " %2 " == " --candr" set fcread = true
3540if " %2 " == " --create" set fccreate = true
3641if " %1 " == " --shell" (
@@ -121,6 +126,17 @@ for /f "tokens=* delims= " %%x in (%output%.fclang) do (
121126 if exist !targetFile! .fclang call createFile.bat " !targetFile! "
122127 set deniedToken = true
123128 )
129+ if %%a == get_utils[] (
130+ if " !procadd! " == " true" (set outtar=!proctar! .bat) else if " !inlfadd! " == " true" (set outtar=!inlftar! .inline) else (set outtar=%output% .bat)
131+ (
132+ echo .set NLM=^^
133+ echo.
134+ echo .
135+ echo .set NL=^^^^^^ %%N LM%% %%N LM%%^^ %%N LM%% %%N LM%%
136+ echo .set LF=^^^^ %%N L%%
137+ )>> !outtar!
138+ set deniedToken = true
139+ )
124140 if %%a == end[] set printString = !printString:end[] =exit /b 0 !
125141 if %%a == gen_lib_func[] (
126142 call libgen !printString:gen_lib_func[] =!
@@ -195,10 +211,10 @@ for /f "tokens=* delims= " %%x in (%output%.fclang) do (
195211 echo !line:$this =%%v ! >> !objname!!_name:~%%j !
196212 ) else echo .!line! >> !objname!!_name:~%%j !
197213 )
214+ set line =
198215 )
199216 )
200217 )
201- set line =
202218 )
203219 if exist !objname! .init.bat (
204220 for %%i in (!target! ) do for %%j in (!objname! ) do set printString = !printString:new[] %%i =call %%j.init.bat !
@@ -217,10 +233,10 @@ for /f "tokens=* delims= " %%x in (%output%.fclang) do (
217233 for /L %%c in (1 1 !slen! ) do (
218234 set /p line =
219235 if " !line! " NEQ " " for %%v in (!classtar! ) do echo .!line! >> !classtar!!name:~%%j !
236+ set line =
220237 )
221238 )
222239 )
223- set line =
224240 )
225241 set deniedToken = true
226242 )
@@ -568,14 +584,14 @@ for /f "tokens=* delims= " %%x in (%output%.fclang) do (
568584 )
569585 )
570586)
571- if exist *.inline del /q *.inline
572- if exist *.method del /q *.method
587+ if " %keepinline% " NEQ " true " if exist *.inline del /q *.inline
588+ if " %keepmethod% " NEQ " true " if exist *.method del /q *.method
573589setlocal disabledelayedexpansion
574590if " %fcread% " == " true" type %output% .bat
575591if not " %fccompile% " == " true" if not " %fcread% " == " true" call %output% .bat
576592exit /b
577593:fcversion
578- echo FreakC DevKit Version 0.19.3 BETA
594+ echo FreakC DevKit Version 0.19.4 BETA
579595exit /b
580596
581597:get_len
0 commit comments