ack/lang/pc/comp/chk_expr.h
2006-02-04 00:57:05 +00:00

13 lines
421 B
C

/* E X P R E S S I O N C H E C K I N G */
extern int (*ExprChkTable[])(); /* table of expression checking
functions, indexed by node class
*/
extern int (*VarAccChkTable[])(); /* table of variable-access checking
functions, indexed by node class
*/
#define ChkExpression(expp) ((*ExprChkTable[(expp)->nd_class])(expp))
#define ChkVarAccess(expp) ((*VarAccChkTable[(expp)->nd_class])(expp))