Fixed problems with -I and with value conformant arrays

This commit is contained in:
ceriel 1990-09-27 17:01:01 +00:00
parent 03a65131fc
commit 282d93dde0
4 changed files with 12 additions and 5 deletions

View file

@ -140,10 +140,10 @@ DoOption(text)
Realloc(DEFPATH,(mDEF+=10)*sizeof(char *));
}
for (i = ndirs++; i <= nDEF; i++) {
for (i = ndirs++; i < nDEF; i++) {
char *tmp = DEFPATH[i];
DEFPATH[i++] = new;
DEFPATH[i] = new;
new = tmp;
}
}

View file

@ -13,7 +13,9 @@
#include "debug.h"
#include <alloc.h>
#include <em.h>
#include <em_arith.h>
#include <em_label.h>
#include <em_code.h>
#include <stb.h>
#include "strict3rd.h"

View file

@ -10,7 +10,9 @@
/* $Header$ */
#include <alloc.h>
#include <em.h>
#include <em_arith.h>
#include <em_label.h>
#include <em_code.h>
#include <flt_arith.h>
#include <stb.h>

View file

@ -354,7 +354,10 @@ WalkProcedure(procedure)
}
continue;
}
if (param->par_def->df_flags & D_DEFINED) {
#ifdef PASS_BIG_VAL_AS_VAR
if (param->par_def->df_flags & D_DEFINED)
#endif
{
/* Here, we have to make a copy of the
array. We must also remember how much
room is reserved for copies, because