Add function readdegparams in file inpdeg.c

This commit is contained in:
Holger Vogt 2025-08-27 23:56:44 +02:00
parent 5dc913d73a
commit 18bb9175b4
4 changed files with 8 additions and 0 deletions

View File

@ -1095,6 +1095,10 @@ struct card *inp_readall(FILE *fp, const char *dir_name, const char* file_name,
/* some syntax checks, excluding title line */
inp_check_syntax(working);
/* collect .agemodel data */
if (newcompat.de)
readdegparams(working);
if (newcompat.lt && newcompat.a)
ltspice_compat_a(working);
if (newcompat.ps && newcompat.a)

View File

@ -13,4 +13,6 @@ char *inp_pathresolve(const char *name);
extern char* inp_remove_ws(char* s);
extern char* search_plain_identifier(char* str, const char* identifier);
extern int readdegparams(struct card* deck);
#endif

View File

@ -1302,6 +1302,7 @@ lib /machine:x64 /def:..\..\fftw-3.3-dll64\libfftw3-3.def /out:$(IntDir)libfftw3
<ClCompile Include="..\src\frontend\inpcom.c" />
<ClCompile Include="..\src\frontend\inpcompat.c" />
<ClCompile Include="..\src\frontend\inpc_probe.c" />
<ClCompile Include="..\src\frontend\inpdeg.c" />
<ClCompile Include="..\src\frontend\interp.c" />
<ClCompile Include="..\src\frontend\inventory.c" />
<ClCompile Include="..\src\frontend\linear.c" />

View File

@ -1533,6 +1533,7 @@
<ClCompile Include="..\src\frontend\inpcom.c" />
<ClCompile Include="..\src\frontend\inpc_probe.c" />
<ClCompile Include="..\src\frontend\inpcompat.c" />
<ClCompile Include="..\src\frontend\inpdeg.c" />
<ClCompile Include="..\src\frontend\interp.c" />
<ClCompile Include="..\src\frontend\inventory.c" />
<ClCompile Include="..\src\frontend\linear.c" />