From 1fefd074f9e462d8300440220316904407901331 Mon Sep 17 00:00:00 2001 From: ceriel Date: Mon, 16 Oct 1989 14:23:25 +0000 Subject: [PATCH] Added em_private.h --- modules/src/em_code/.distr | 1 + modules/src/em_code/em_private.h | 66 ++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 modules/src/em_code/em_private.h diff --git a/modules/src/em_code/.distr b/modules/src/em_code/.distr index 0ee811f86..bccd17110 100644 --- a/modules/src/em_code/.distr +++ b/modules/src/em_code/.distr @@ -26,6 +26,7 @@ dlb.c dnam.c em.c em.nogen +em_private.h end.c endarg.c exc.c diff --git a/modules/src/em_code/em_private.h b/modules/src/em_code/em_private.h new file mode 100644 index 000000000..7fc357e45 --- /dev/null +++ b/modules/src/em_code/em_private.h @@ -0,0 +1,66 @@ +/* $Header$ */ +/* + * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. + * See the copyright notice in the ACK home directory, in the file "Copyright". + */ +/* private inclusion file */ + +#include +#include + +/* include the EM description files */ +#include +#include +#include +#include + +#ifdef READABLE_EM +/* macros used in the definitions of the interface functions C_* */ +#define OP(x) C_pt_op(x) +#define CST(x) C_pt_cst(x) +#define DCST(x) C_pt_cst(x) +#define SCON(x,y) C_pt_scon((x), (y)) +#define PS(x) C_pt_ps(x) +#define DLB(x) C_pt_dlb(x) +#define DFDLB(x) C_pt_dlb(x) +#define ILB(x) C_pt_ilb(x) +#define DFILB(x) C_pt_dfilb(x) +#define NOFF(x,y) C_pt_noff((x), (y)) +#define DOFF(x,y) C_pt_doff((x), (y)) +#define PNAM(x) C_pt_pnam(x) +#define DNAM(x) C_pt_dnam(x) +#define DFDNAM(x) C_pt_dnam(x) +#define CEND() +#define CCEND() C_pt_ccend() +#define WCON(x,y,z) C_pt_wcon((x), (y), (z)) +#define COMMA() C_pt_comma() +#define NL() C_pt_nl() +#define CILB(x) C_pt_ilb(x) + +#else +/* macros used in the definitions of the interface functions C_* */ +#define OP(x) C_pt_op(x) +#define CST(x) C_pt_cst(x) +#define DCST(x) C_pt_cst(x) +#define SCON(x,y) C_pt_scon((x), (y)) +#define PS(x) C_pt_ps(x) +#define DLB(x) C_pt_dlb(x) +#define DFDLB(x) C_pt_dlb(x) +#define ILB(x) C_pt_ilb(x) +#define DFILB(x) C_pt_ilb(x) +#define NOFF(x,y) C_pt_noff((x), (y)) +#define DOFF(x,y) C_pt_doff((x), (y)) +#define PNAM(x) C_pt_pnam(x) +#define DNAM(x) C_pt_dnam(x) +#define DFDNAM(x) C_pt_dnam(x) +#define CEND() C_pt_cend() +#define CCEND() C_pt_cend() +#define WCON(x,y,z) C_pt_wcon((x), (y), (z)) +#define COMMA() +#define NL() +#define CILB(x) CST((arith) x) + +#define C_pt_cend() C_putbyte(sp_cend) +#define C_pt_op(x) C_putbyte(x) +#define C_pt_ps(x) C_putbyte(x) +#endif /* READABLE_EM */