Initial revision
This commit is contained in:
12
lang/pc/comp/chk_expr.h
Normal file
12
lang/pc/comp/chk_expr.h
Normal file
@@ -0,0 +1,12 @@
|
||||
/* 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))
|
||||
Reference in New Issue
Block a user