Add function readdegparams in file inpdeg.c
This commit is contained in:
parent
2c07f89930
commit
b510a21e2f
|
|
@ -1100,6 +1100,10 @@ struct card *inp_readall(FILE *fp, const char *dir_name, const char* file_name,
|
||||||
/* some syntax checks, excluding title line */
|
/* some syntax checks, excluding title line */
|
||||||
inp_check_syntax(working);
|
inp_check_syntax(working);
|
||||||
|
|
||||||
|
/* collect .agemodel data */
|
||||||
|
if (newcompat.de)
|
||||||
|
readdegparams(working);
|
||||||
|
|
||||||
if (newcompat.lt && newcompat.a)
|
if (newcompat.lt && newcompat.a)
|
||||||
ltspice_compat_a(working);
|
ltspice_compat_a(working);
|
||||||
if (newcompat.ps && newcompat.a)
|
if (newcompat.ps && newcompat.a)
|
||||||
|
|
|
||||||
|
|
@ -13,4 +13,6 @@ char *inp_pathresolve(const char *name);
|
||||||
extern char* inp_remove_ws(char* s);
|
extern char* inp_remove_ws(char* s);
|
||||||
extern char* search_plain_identifier(char* str, const char* identifier);
|
extern char* search_plain_identifier(char* str, const char* identifier);
|
||||||
|
|
||||||
|
extern int readdegparams(struct card* deck);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -1299,6 +1299,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\inpcom.c" />
|
||||||
<ClCompile Include="..\src\frontend\inpcompat.c" />
|
<ClCompile Include="..\src\frontend\inpcompat.c" />
|
||||||
<ClCompile Include="..\src\frontend\inpc_probe.c" />
|
<ClCompile Include="..\src\frontend\inpc_probe.c" />
|
||||||
|
<ClCompile Include="..\src\frontend\inpdeg.c" />
|
||||||
<ClCompile Include="..\src\frontend\interp.c" />
|
<ClCompile Include="..\src\frontend\interp.c" />
|
||||||
<ClCompile Include="..\src\frontend\inventory.c" />
|
<ClCompile Include="..\src\frontend\inventory.c" />
|
||||||
<ClCompile Include="..\src\frontend\linear.c" />
|
<ClCompile Include="..\src\frontend\linear.c" />
|
||||||
|
|
|
||||||
|
|
@ -1530,6 +1530,7 @@
|
||||||
<ClCompile Include="..\src\frontend\inpcom.c" />
|
<ClCompile Include="..\src\frontend\inpcom.c" />
|
||||||
<ClCompile Include="..\src\frontend\inpc_probe.c" />
|
<ClCompile Include="..\src\frontend\inpc_probe.c" />
|
||||||
<ClCompile Include="..\src\frontend\inpcompat.c" />
|
<ClCompile Include="..\src\frontend\inpcompat.c" />
|
||||||
|
<ClCompile Include="..\src\frontend\inpdeg.c" />
|
||||||
<ClCompile Include="..\src\frontend\interp.c" />
|
<ClCompile Include="..\src\frontend\interp.c" />
|
||||||
<ClCompile Include="..\src\frontend\inventory.c" />
|
<ClCompile Include="..\src\frontend\inventory.c" />
|
||||||
<ClCompile Include="..\src\frontend\linear.c" />
|
<ClCompile Include="..\src\frontend\linear.c" />
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue