SCCS-vsn: usr.bin/pascal/src/put.c 1.17
/* Copyright (c) 1979 Regents of the University of California */
/* Copyright (c) 1979 Regents of the University of California */
-static char sccsid[] = "@(#)put.c 1.16 %G%";
+static char sccsid[] = "@(#)put.c 1.17 %G%";
#include "whoami.h"
#include "opcode.h"
#include "whoami.h"
#include "opcode.h"
- * Patchfil makes loc+2 have value
+ * Patchfil makes loc+2 have jmploc
-patchfil(loc, value, words)
+patchfil(loc, jmploc, words)
panic("patchfil");
#ifdef DEBUG
if (opt('k'))
panic("patchfil");
#ifdef DEBUG
if (opt('k'))
- printf("\tpatch %u %D\n", loc - HEADER_BYTES, value);
+ printf("\tpatch %u %D\n", loc - HEADER_BYTES, jmploc);
do {
# ifndef DEC11
if (words > 1)
do {
# ifndef DEC11
if (words > 1)
# endif DEC11
i = ((unsigned) loc + 2 - ((unsigned) lc & ~01777))/2;
if (i >= 0 && i < 1024)
# endif DEC11
i = ((unsigned) loc + 2 - ((unsigned) lc & ~01777))/2;
if (i >= 0 && i < 1024)
}
loc += 2;
# ifdef DEC11
}
loc += 2;
# ifdef DEC11
# endif DEC11
} while (--words);
}
# endif DEC11
} while (--words);
}