|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T p
Length: 2102 (0x836)
Types: TextFile
Names: »pass2.h«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
└─⟦041b9c0f8⟧ »EurOpenD22/isode/pepsy.system-6.0.Z«
└─⟦d49939f05⟧
└─⟦6a28ec38e⟧ »pepsy.tar«
└─⟦this⟧ »pepy/pass2.h«
/* Copyright 1989 CSIRO Division of Information Technology
* May be given away but not sold for profit - See Copyright file for details
*/
#define NBPC 8 /* Number of Bits per character - machine dependant */
#define NBPI sizeof (int)*NBPC /* Number of bits per integer */
#define PSAP_DOT_H "\"../h/psap.h\""
#define I_PSAP_DOT_H "<isode/psap.h>"
#define UNIV_TYPES_DOT_H "\"../pepsy/UNIV-types.h\""
#define I_UNIV_TYPES_DOT_H "<isode/pepsy/UNIV-types.h>"
#define HFILE1 "_defs.h"
#define HFILE2 "_pre_defs.h"
#define ACTIONDEFS "_action.h"
#define GENTYPES "-types.h"
#define INCFILE1 "../pepsy/pep.h"
#define INCFILE2 "../pepsy/pepdefs.h"
#define ACT1 "_act1"
#define ACT2 "_act2"
#define ACT3 "_act3"
#define ACT4 "_act4"
#define ACT05 "_act05"
#define PREFIX "_Z"
#define ETABLE "et_"
#define DTABLE "dt_"
#define PTABLE "pt_"
#define ENCFNCNAME "enc_f"
#define DECFNCNAME "dec_f"
#define PRNTFNCNAME "prnt_f"
#define ENC_FNCNAME "enc_f_"
#define DEC_FNCNAME "dec_f_"
#define PRNT_FNCNAME "prnt_f_"
#define ENCFILENAME "_enc.c"
#define DECFILENAME "_dec.c"
#define PRNTFILENAME "_prnt.c"
#define TBLNAME "_tables.c"
#define MODTYP_SUFFIX "_mod"
#define T_PRIM 0
#define T_CONS 1
#define T_OBJ 2
extern int p_debug;
#define DEB 1
#ifdef DEB
#define Printf(x, y) if (x <= p_debug) printf y
#else
#define Printf(x, y)
#endif
/*
* info for handling a Universal type
*/
struct univ_typ {
char *univ_name; /* Name of this Universal type */
char *univ_data; /* type to generate for it */
char *univ_tab; /* type of table entry it needs */
int univ_id; /* tag of the type */
int univ_class; /* class - probably Universal primative */
char *univ_mod; /* Name of its module if it has one */
int univ_flags; /* Information about entry */
#define UNF_EXTMOD 1 /* Use an external module reference */
};
extern struct univ_typ *univtyp();
/* How many entries in an array */
#define NENTRIES(x) (sizeof (x)/sizeof ((x)[0]))
/* used to specify which tables a routine is to generate */
#define G_ENC 0 /* encoding */
#define G_DEC 1 /* decoding */
#define G_PNT 2 /* printing */