MAXPROCARG could be 0

This commit is contained in:
ceriel 1991-09-17 09:46:12 +00:00
parent 6a970eac86
commit 8c82c2e5ef
2 changed files with 2 additions and 2 deletions

View file

@ -57,7 +57,7 @@ unsigned codegen(codep,ply,toplevel,costlimit,forced) byte *codep; unsigned cost
#endif
unsigned totalcost = 0;
int inscoerc=0;
int procarg[MAXPROCARG];
int procarg[MAXPROCARG+1];
#ifdef ALLOW_NEXTEM
static int paniced;
char *savebp = 0;

View file

@ -78,7 +78,7 @@ var.$(SUF): $(CDIR)/var.c
$(CC) -c $(CFLAGS) $(CDIR)/var.c
install: all
mkdir $(TARGET_HOME)/lib.bin/$(MACH)
-mkdir $(TARGET_HOME)/lib.bin/$(MACH)
cp cg $(TARGET_HOME)/lib.bin/$(MACH)/cg
cmp: all