2
This software may only be used by you under license from AT&T Corp.
3
("AT&T"). A copy of AT&T's Source Code Agreement is available at
4
AT&T's Internet website having the URL:
5
<http://www.research.att.com/sw/tools/graphviz/license/source.html>
6
If you received this software without first entering into a license
7
with AT&T, you have an infringing copy of this software and cannot use
8
it without violating AT&T's intellectual property rights.
12
/* Lefteris Koutsofios - AT&T Bell Laboratories */
18
#define C_ISSTMT(ct) (ct >= C_STMT && ct <= C_RETURN)
21
C_CODE, C_ASSIGN, C_INTEGER, C_REAL, C_STRING, C_OR, C_AND,
22
C_EQ, C_NE, C_LT, C_LE, C_GT, C_GE, C_PLUS, C_MINUS, C_MUL,
23
C_DIV, C_MOD, C_UMINUS, C_NOT, C_PEXPR, C_FCALL, C_GVAR, C_LVAR,
24
C_PVAR, C_FUNCTION, C_TCONS, C_DECL, C_STMT, C_IF, C_WHILE,
25
C_FOR, C_FORIN, C_BREAK, C_CONTINUE, C_RETURN, C_INTERNAL,
29
typedef struct Code_t {
40
#define C_CODESIZE sizeof (Code_t)
42
#define Cgetstring(i) (char *) &cbufp[i].u.s[0]
43
#define Cgetindex() cbufi
45
#define Csettype(a, b) cbufp[a].ctype = b
46
#define Csetfp(a, b) cbufp[a].u.fp = b
47
#define Csetnext(a, b) cbufp[a].next = b
48
#define Csetinteger(a, b) cbufp[a].u.i = b
49
#define Csetobject(a, b) cbufp[a].u.o = b
50
#define Csetreal(a, b) cbufp[a].u.d = b
53
extern int cbufn, cbufi;