diff --git a/src/include/ngspice/fteinp.h b/src/include/ngspice/fteinp.h index 8d449c7ad..65f6faee5 100644 --- a/src/include/ngspice/fteinp.h +++ b/src/include/ngspice/fteinp.h @@ -21,6 +21,7 @@ struct line { char *li_error; struct line *li_next; struct line *li_actual; + struct nscope *level; } ; /* Listing types. */ diff --git a/src/include/ngspice/inpdefs.h b/src/include/ngspice/inpdefs.h index b4623f77b..a5ee2649e 100644 --- a/src/include/ngspice/inpdefs.h +++ b/src/include/ngspice/inpdefs.h @@ -61,6 +61,17 @@ struct INPtables{ GENmodel *defZmod; }; +struct nscope { + struct nscope *next; + struct line_assoc *subckts; +}; + +struct line_assoc { + const char *name; + struct line *line; + struct line_assoc *next; +}; + struct card{ int linenum; int linenum_orig; @@ -68,6 +79,7 @@ struct card{ char *error; card *nextcard; card *actualLine; + struct nscope *level; }; /* structure used to save models in after they are read during pass 1 */