Fixed problems with -I and with value conformant arrays
This commit is contained in:
parent
03a65131fc
commit
282d93dde0
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue