bug fixes, name changes

This commit is contained in:
ceriel
1987-07-16 19:51:40 +00:00
parent 4804ab14b8
commit e04230a126
17 changed files with 85 additions and 82 deletions

View File

@@ -23,7 +23,7 @@
*/
struct scope {
struct scope *next;
/* struct scope *next; */
char *sc_name; /* name of this scope */
struct def *sc_def; /* list of definitions in this scope */
arith sc_off; /* offsets of variables in this scope */
@@ -33,7 +33,7 @@ struct scope {
};
struct scopelist {
struct scopelist *next;
struct scopelist *sc_next;
struct scope *sc_scope;
struct scopelist *sc_encl;
};
@@ -48,6 +48,6 @@ extern struct scopelist
#define GlobalScope (GlobalVis->sc_scope)
#define enclosing(x) ((x)->sc_encl)
#define scopeclosed(x) ((x)->sc_scopeclosed)
#define nextvisible(x) ((x)->next) /* use with scopelists */
#define nextvisible(x) ((x)->sc_next) /* use with scopelists */
struct scope *open_and_close_scope();