SCCS-vsn: usr.bin/pascal/pxp/const.c 1.2
SCCS-vsn: usr.bin/pascal/pxp/error.c 1.3
SCCS-vsn: usr.bin/pascal/pxp/pmon.c 1.2
SCCS-vsn: usr.bin/pascal/pxp/stat.c 1.2
SCCS-vsn: usr.bin/pascal/pxp/type.c 1.2
SCCS-vsn: usr.bin/pascal/pxp/var.c 1.2
SCCS-vsn: usr.bin/pascal/pxp/yyput.c 1.2
-static char *sccsid = "@(#)const.c 1.1 (Berkeley) %G%";
+static char *sccsid = "@(#)const.c 1.2 (Berkeley) %G%";
/* Copyright (c) 1979 Regents of the University of California */
#
/*
/* Copyright (c) 1979 Regents of the University of California */
#
/*
#include "0.h"
#include "tree.h"
#include "0.h"
#include "tree.h"
+STATIC int constcnt = -1;
/*
* The const declaration part
/*
* The const declaration part
-static char *sccsid = "@(#)error.c 1.2 (Berkeley) %G%";
+static char *sccsid = "@(#)error.c 1.3 (Berkeley) %G%";
/* Copyright (c) 1979 Regents of the University of California */
/*
* pi - Pascal interpreter code translator
/* Copyright (c) 1979 Regents of the University of California */
/*
* pi - Pascal interpreter code translator
extern char errout;
#endif
extern char errout;
#endif
extern int yyline;
/*
* Panic is called when impossible
extern int yyline;
/*
* Panic is called when impossible
-static char *sccsid = "@(#)pmon.c 1.1 (Berkeley) %G%";
+static char *sccsid = "@(#)pmon.c 1.2 (Berkeley) %G%";
/* Copyright (c) 1979 Regents of the University of California */
#
/*
/* Copyright (c) 1979 Regents of the University of California */
#
/*
-STATIC char nospcm[] "Not enough memory for count buffers\n";
+STATIC char nospcm[] = "Not enough memory for count buffers\n";
if (cp == -1)
pmnospac();
i -= sizeof(zmagic);
if (cp == -1)
pmnospac();
i -= sizeof(zmagic);
- if (read(zfil, zbuf + (sizeof(zmagic) / sizeof(zbuf)), i) != i)
+ if (read(zfil, zbuf + (sizeof(zmagic) / sizeof(*zbuf)), i) != i)
return (-1);
zbuf++;
return (0);
return (-1);
zbuf++;
return (0);
-STATIC char mism[] "Program and counter data do not correspond\n";
+STATIC char mism[] = "Program and counter data do not correspond\n";
-static char *sccsid = "@(#)stat.c 1.1 (Berkeley) %G%";
+static char *sccsid = "@(#)stat.c 1.2 (Berkeley) %G%";
/* Copyright (c) 1979 Regents of the University of California */
#
/*
/* Copyright (c) 1979 Regents of the University of California */
#
/*
#include "tree.h"
int cntstat;
#include "tree.h"
int cntstat;
-static char *sccsid = "@(#)type.c 1.1 (Berkeley) %G%";
+static char *sccsid = "@(#)type.c 1.2 (Berkeley) %G%";
/* Copyright (c) 1979 Regents of the University of California */
#
/*
/* Copyright (c) 1979 Regents of the University of California */
#
/*
#include "0.h"
#include "tree.h"
#include "0.h"
#include "tree.h"
+STATIC int typecnt = -1;
/*
* Type declaration part
*/
/*
* Type declaration part
*/
-static char *sccsid = "@(#)var.c 1.1 (Berkeley) %G%";
+static char *sccsid = "@(#)var.c 1.2 (Berkeley) %G%";
/* Copyright (c) 1979 Regents of the University of California */
#
/*
/* Copyright (c) 1979 Regents of the University of California */
#
/*
#include "0.h"
#include "tree.h"
#include "0.h"
#include "tree.h"
/*
* Var declaration part
*/
/*
* Var declaration part
*/
-static char *sccsid = "@(#)yyput.c 1.1 (Berkeley) %G%";
+static char *sccsid = "@(#)yyput.c 1.2 (Berkeley) %G%";
/* Copyright (c) 1979 Regents of the University of California */
#
/*
/* Copyright (c) 1979 Regents of the University of California */
#
/*
/*
* Set the current file name to be file,
* printing the name, or a header on a new
/*
* Set the current file name to be file,
* printing the name, or a header on a new