ack/lang/m2/comp/walk.h

28 lines
644 B
C
Raw Normal View History

/*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*
* Author: Ceriel J.H. Jacobs
*/
1986-06-20 14:36:49 +00:00
/* P A R S E T R E E W A L K E R */
1994-06-24 14:02:31 +00:00
/* $Id$ */
1986-06-20 14:36:49 +00:00
/* Definition of WalkNode macro
*/
extern int (*WalkTable[])();
#define WalkNode(xnd, xlab, rch) (*WalkTable[(xnd)->nd_class])((xnd), (xlab),(rch))
1986-06-20 14:36:49 +00:00
extern label text_label;
extern label data_label;
#ifndef SQUEEZE
#define c_loc(x) C_loc((arith) (x))
#define c_lae_dlb(x) C_lae_dlb(x,(arith) 0)
#define CAL(nm, sz) (C_cal(nm), C_asp((arith)(sz)))
1993-11-19 09:53:47 +00:00
#define c_bra(x) C_bra((label) (x))
#endif