Debian Codegraph @

terps/alan3/checkentry.h

raw symbols SCIP
1 #ifndef _CHECKENTRY_H_
2 #define _CHECKENTRY_H_
3 /*----------------------------------------------------------------------*\
4
5 CheckEntries
6
7 \*----------------------------------------------------------------------*/
8
9 #include "types.h"
10 #include "acode.h"
11
12
13 /* CONSTANTS */
14 #ifndef EXECUTE_CHECK_BODY_ON_FAIL
15 #define EXECUTE_CHECK_BODY_ON_FAIL true
16 #define DONT_EXECUTE_CHECK_BODY_ON_FAIL false
17 #endif
18
19
20 /* TYPES */
21 typedef struct CheckEntry { /* CHECK TABLE */
22 Aaddr exp; /* ACODE address to expression code */
23 Aaddr stms; /* ACODE address to statement code */
24 } CheckEntry;
25
26
27 /* DATA */
28 typedef CheckEntry CheckEntryArray[];
29
30
31 /* FUNCTIONS */
32 extern bool checksFailed(Aaddr adr, bool execute);
33
34 #endif