chk_expr.h 421 B

123456789101112
  1. /* E X P R E S S I O N C H E C K I N G */
  2. extern int (*ExprChkTable[])(); /* table of expression checking
  3. functions, indexed by node class
  4. */
  5. extern int (*VarAccChkTable[])(); /* table of variable-access checking
  6. functions, indexed by node class
  7. */
  8. #define ChkExpression(expp) ((*ExprChkTable[(expp)->nd_class])(expp))
  9. #define ChkVarAccess(expp) ((*VarAccChkTable[(expp)->nd_class])(expp))