ack/lang/m2/comp/chk_expr.h

12 lines
414 B
C
Raw Normal View History

1986-06-17 12:04:05 +00:00
/* E X P R E S S I O N C H E C K I N G */
1986-06-26 09:39:36 +00:00
extern int (*ExprChkTable[])(); /* table of expression checking
functions, indexed by node class
*/
extern int (*DesigChkTable[])(); /* table of designator checking
1986-06-17 12:04:05 +00:00
functions, indexed by node class
*/
#define ChkExpression(expp) ((*ExprChkTable[(expp)->nd_class])(expp))
#define ChkDesignator(expp) ((*DesigChkTable[(expp)->nd_class])(expp))