introduce struct nscope

This commit is contained in:
rlar 2017-04-23 18:37:06 +02:00
parent 78ffca3224
commit 1afa202fa9
2 changed files with 13 additions and 0 deletions

View File

@ -21,6 +21,7 @@ struct line {
char *li_error;
struct line *li_next;
struct line *li_actual;
struct nscope *level;
} ;
/* Listing types. */

View File

@ -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 */