add compatibility mode eg for EAGLE
clarify mode a for 'whole netlist' and ll for 'all'
This commit is contained in:
parent
dd86bdee46
commit
19a688513c
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue