introduce struct nscope
This commit is contained in:
parent
78ffca3224
commit
1afa202fa9
|
|
@ -21,6 +21,7 @@ struct line {
|
||||||
char *li_error;
|
char *li_error;
|
||||||
struct line *li_next;
|
struct line *li_next;
|
||||||
struct line *li_actual;
|
struct line *li_actual;
|
||||||
|
struct nscope *level;
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
/* Listing types. */
|
/* Listing types. */
|
||||||
|
|
|
||||||
|
|
@ -61,6 +61,17 @@ struct INPtables{
|
||||||
GENmodel *defZmod;
|
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{
|
struct card{
|
||||||
int linenum;
|
int linenum;
|
||||||
int linenum_orig;
|
int linenum_orig;
|
||||||
|
|
@ -68,6 +79,7 @@ struct card{
|
||||||
char *error;
|
char *error;
|
||||||
card *nextcard;
|
card *nextcard;
|
||||||
card *actualLine;
|
card *actualLine;
|
||||||
|
struct nscope *level;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* structure used to save models in after they are read during pass 1 */
|
/* structure used to save models in after they are read during pass 1 */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue