add compatibility mode eg for EAGLE

clarify mode a for 'whole netlist' and ll for 'all'
This commit is contained in:
Holger Vogt 2020-10-28 11:55:33 +01:00
parent dd86bdee46
commit 19a688513c
2 changed files with 13 additions and 8 deletions

View File

@ -548,6 +548,10 @@ static void new_compat_mode(void)
newcompat.ki = TRUE;
if (strstr(behaviour, "a"))
newcompat.a = TRUE;
if (strstr(behaviour, "ll"))
newcompat.ll = TRUE;
if (strstr(behaviour, "eg"))
newcompat.eg = TRUE;
if (strstr(behaviour, "spe")) {
newcompat.spe = TRUE;
newcompat.ps = newcompat.lt = newcompat.ki = newcompat.a = FALSE;

View File

@ -5,14 +5,15 @@
struct compat
{
bool hs;
bool s3;
bool all;
bool ps;
bool lt;
bool ki;
bool a;
bool spe;
bool hs; /* HSPICE */
bool s3; /* spice3 */
bool ll; /* all */
bool ps; /* PSPICE */
bool lt; /* LTSPICE */
bool ki; /* KiCad */
bool a; /* whole netlist */
bool spe; /* spectre */
bool eg; /* EAGLE */
};
extern struct compat newcompat;