22 |
*/ |
*/ |
23 |
|
|
24 |
#include <stdio.h> |
#include <stdio.h> |
25 |
|
#include "utilities/ascConfig.h" |
26 |
#ifdef __WIN32__ |
#ifdef __WIN32__ |
27 |
#include <io.h> |
#include <io.h> |
28 |
#endif |
#endif |
|
#include "utilities/ascConfig.h" |
|
29 |
#include "utilities/ascMalloc.h" |
#include "utilities/ascMalloc.h" |
30 |
#include "utilities/ascPanic.h" |
#include "utilities/ascPanic.h" |
31 |
#include "compiler/redirectFile.h" |
#include "compiler/redirectFile.h" |
53 |
* 1. most of its action is text formatting & output |
* 1. most of its action is text formatting & output |
54 |
* 2. it normally exits the program |
* 2. it normally exits the program |
55 |
* |
* |
56 |
* As a first pass, we will disable exiting and just test |
* As a first pass, we will disable exiting and just test |
57 |
* whether something is getting written to ASCERR and an |
* whether something is getting written to ASCERR and an |
58 |
* output file. |
* output file. |
59 |
*/ |
*/ |
62 |
FILE *stdoutfile; |
FILE *stdoutfile; |
63 |
FILE* outfile; |
FILE* outfile; |
64 |
int i_enabled_printing = FALSE; |
int i_enabled_printing = FALSE; |
65 |
FILE *old_errfile; |
FILE *old_errfile; |
66 |
FILE *old_warnfile; |
FILE *old_warnfile; |
67 |
FILE *old_infofile; |
FILE *old_infofile; |
68 |
unsigned long prior_meminuse; |
unsigned long prior_meminuse; |