@@ -5,6 +5,8 @@
/* $Id$ */
/* PREPROCESSOR: CONTROLLINE INTERPRETER */
+#include <stdlib.h>
+
#include "debug.h"
#include "arith.h"
#include "LLlex.h"
/* EXPRESSION TREE HANDLING */
#include "lint.h"
#include "assert.h"
@@ -5,6 +5,7 @@
#include <string.h>
@@ -33,9 +33,6 @@ struct mkey {
{0, K_UNKNOWN}
};
-//char *strcpy();
-//char *sprint();
-
void init_pp()
{
static char *months[12] = {
@@ -431,8 +431,9 @@ dopseudo() {
/* ----- input ----- */
-int getarg(typset) {
- register t,argtyp;
+int getarg(int typset)
+{
+ int t,argtyp;
argtyp = t = table2();
if (t == EOF)
@@ -8,6 +8,8 @@
are received corresponds to the order in which they must be written,
they can be written immediately.
*/
+#include <stdio.h>
#include <em_path.h>
#include <alloc.h>
@@ -55,7 +55,7 @@ PRIVATE int checkarg(struct e_arg *arg, int typset)
return 1;
}
-//#define checkarg(arg, x) (1)
+/*#define checkarg(arg, x) (1)*/
#endif /* CHECKING */
/* EM_doinstr: An EM instruction
@@ -4,6 +4,7 @@
*
#include "ack.h"
@@ -10,6 +10,8 @@
/* */
/**************************************************************************/
#include "grows.h"
@@ -4,6 +4,9 @@
#include "list.h"
#include "interface.h"
@@ -8,6 +8,7 @@
* C F _ L O O P . C
#include "../share/types.h"
#include "../share/debug.h"
@@ -3,6 +3,9 @@
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
#include "../share/alloc.h"
#include "cs.h"
@@ -211,7 +211,7 @@ call_p getcall(FILE *cf)
m = getshort();
act->ac_size = getoff();
act->ac_inl = getbyte();
- act->ac_exp = getlines(cf,m,&voided, 0); //WARN
+ act->ac_exp = getlines(cf,m,&voided, 0); /* WARN */
*app = act;
app = &act->ac_next;
@@ -16,9 +16,6 @@
#include "alloc.h"
-//char * myalloc();
#ifdef DEBUG
STATIC unsigned maxuse, curruse;
* C O R E A L L O C A T I O N A N D D E A L L O C A T I O N
char *newcore(int size);
void oldcore(char *p, int size);
#include <stdio.h>
#include <em_mnem.h>
#include <em_spec.h>
#include <em_pseu.h>
* L S E T . C
#include "types.h"
#include "lset.h"
@@ -6,6 +6,8 @@
/* P U T . C */