/* All preprocessor arithmetic should be done in longs.
*/
-#define arith long /* dummy */
+#include <stdint.h>
+
+typedef int32_t arith; /* dummy */
#endif /* SPECIAL_ARITHMETICS */
#else /* SPECIAL_ARITHMETICS */
/* not implemented yet */
-#define arith int /* dummy */
+#include <stdint.h>
+
+typedef int32_t arith; /* dummy */
#endif /* SPECIAL_ARITHMETICS */
#include <stdint.h>
-#define arith int32_t /* dummy */
+typedef int32_t arith; /* dummy */
#endif /* LANG_CEM_CPP_ANSI_ARITH_H */
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
/* $Id$ */
+#ifndef H_EM_ARITH_H
+#define H_EM_ARITH_H
+#include <stdint.h>
-#define arith long
+typedef int32_t arith;
+
+#endif /* H_EM_ARITH_H */
\ No newline at end of file
#include "em_mesX.h"
#include "ansi.h"
+#include <em_arith.h>
+#include <em_label.h>
void C_flush();
void C_internal_error();
void C_putbyte(int c);
-#ifndef arith
-#define arith long
-#endif
-#ifndef label
-#define label unsigned int
-#endif
+struct e_instr;
_PROTOTYPE(void C_ms_com, (char *));
_PROTOTYPE(void C_ms_ego, (int, arith, arith, int));
_PROTOTYPE(void C_ms_stb_ilb, (char *, int, int, label));
_PROTOTYPE(void C_ms_stb_pnam, (char *, int, int, char *));
_PROTOTYPE(void C_ms_std, (char *, int, int));
+_PROTOTYPE(int C_out, (struct e_instr *p));
#ifdef PEEPHOLE
#include "em_codeO.h"
/* $Id$ */
#ifndef H_LABEL_H
#define H_LABEL_H
+#include <stdint.h>
-#define label unsigned int
+typedef int32_t label;
#endif /* H_LABEL_H */
\ No newline at end of file
#define __FLT_INCLUDED__
#include "ansi.h"
-
-#ifndef arith
-#define arith long
-#endif
+#include <em_arith.h>
struct flt_mantissa {
long flt_h_32; /* high order 32 bits of mantissa */