#include "revision.h"
#include "warning.h"
#include "mangle.h"
+#include "printer.h"
#ifndef PREPROCESSOR
#ifndef __WIN32__
#ifndef ASSEMBLER
#ifdef __APPLE__
-#define ASSEMBLER "gcc -c -xassembler"
+#define ASSEMBLER "gcc -m32 -c -xassembler"
#else
#define ASSEMBLER "as --32"
#endif
/* prints the AST even if errors occurred */
if (mode == PrintAst) {
- type_set_output(out);
- ast_set_output(out);
+ print_to_file(out);
print_ast(unit);
}