Shift all compatibility handlinmg from inpcom.c into its own source files
inpcompat.c and inpcompat.h
This commit is contained in:
parent
c90268321a
commit
797795e7c0
|
|
@ -130,6 +130,8 @@ libfte_la_SOURCES = \
|
||||||
inp.h \
|
inp.h \
|
||||||
inpcom.c \
|
inpcom.c \
|
||||||
inpcom.h \
|
inpcom.h \
|
||||||
|
inpcompat.c \
|
||||||
|
inpcompat.h \
|
||||||
inpc_probe.c \
|
inpc_probe.c \
|
||||||
interp.c \
|
interp.c \
|
||||||
interp.h \
|
interp.h \
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -9,4 +9,8 @@
|
||||||
struct card *insert_new_line(struct card *card, char *line,
|
struct card *insert_new_line(struct card *card, char *line,
|
||||||
int linenum, int linenum_orig);
|
int linenum, int linenum_orig);
|
||||||
char *inp_pathresolve(const char *name);
|
char *inp_pathresolve(const char *name);
|
||||||
|
|
||||||
|
extern char* inp_remove_ws(char* s);
|
||||||
|
extern char* search_plain_identifier(char* str, const char* identifier);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,20 @@
|
||||||
|
/**********
|
||||||
|
Copyright 2023 The ngspice team. All rights reserved.
|
||||||
|
License: Three-clause BCD
|
||||||
|
Author: 2023 Holger Vogt
|
||||||
|
**********/
|
||||||
|
|
||||||
|
/*
|
||||||
|
For dealing with compatibility transformations
|
||||||
|
|
||||||
|
PSICE, LTSPICE and others
|
||||||
|
*/
|
||||||
|
|
||||||
|
extern void print_compat_mode(void);
|
||||||
|
extern void set_compat_mode(void);
|
||||||
|
extern void pspice_compat_a(struct card* oldcard);
|
||||||
|
extern void ltspice_compat_a(struct card* oldcard);
|
||||||
|
extern struct card* pspice_compat(struct card* newcard);
|
||||||
|
extern struct card* ltspice_compat(struct card* oldcard);
|
||||||
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue