newer version

This commit is contained in:
ceriel
1986-05-01 19:06:53 +00:00
parent 8b07933e3d
commit 07e226dac3
26 changed files with 468 additions and 96 deletions

View File

@@ -1,6 +1,10 @@
/* S C O P E M E C H A N I S M */
#ifndef NORCSID
static char *RcsId = "$Header$";
#endif
#include "debug.h"
#include <assert.h>
#include <alloc.h>
@@ -14,8 +18,6 @@ static char *RcsId = "$Header$";
#include "def.h"
#include "node.h"
#include "debug.h"
struct scope *PervasiveScope, *GlobalScope;
struct scopelist *CurrVis;
static int scp_level;
@@ -233,7 +235,7 @@ close_scope(flag)
PrScopeDef(df)
register struct def *df;
{
debug("List of definitions in currently ended scope:");
print("List of definitions in currently ended scope:\n");
while (df) {
PrDef(df);
df = df->df_nextinscope;