From 4a4b1ae1564bd2b2f8ca4ed843650c8a1cb4cee0 Mon Sep 17 00:00:00 2001 From: bal Date: Fri, 30 Nov 1984 10:25:21 +0000 Subject: [PATCH] core allocation macros added --- util/ego/ic/ic_lookup.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/util/ego/ic/ic_lookup.c b/util/ego/ic/ic_lookup.c index 69f2f4d3..6c0d2b80 100644 --- a/util/ego/ic/ic_lookup.c +++ b/util/ego/ic/ic_lookup.c @@ -20,6 +20,15 @@ num_p numhash[NNUMHASH]; +#define newsym() (sym_p) newstruct(sym) +#define newprc() (prc_p) newstruct(prc) +#define newnum() (num_p) newstruct(num) + +#define oldsym(x) oldstruct(sym,x) +#define oldprc(x) oldstruct(prc,x) +#define oldnum(x) oldstruct(num,x) + + /* instr_lab */