Commit | Line | Data |
---|---|---|
0fc6e47b | 1 | /*- |
ad787160 C |
2 | * Copyright (c) 1980, 1993 |
3 | * The Regents of the University of California. All rights reserved. | |
252367af | 4 | * |
c0567266 KB |
5 | * Redistribution and use in source and binary forms, with or without |
6 | * modification, are permitted provided that the following conditions | |
7 | * are met: | |
8 | * 1. Redistributions of source code must retain the above copyright | |
9 | * notice, this list of conditions and the following disclaimer. | |
10 | * 2. Redistributions in binary form must reproduce the above copyright | |
11 | * notice, this list of conditions and the following disclaimer in the | |
12 | * documentation and/or other materials provided with the distribution. | |
13 | * 3. All advertising materials mentioning features or use of this software | |
14 | * must display the following acknowledgement: | |
15 | * This product includes software developed by the University of | |
16 | * California, Berkeley and its contributors. | |
17 | * 4. Neither the name of the University nor the names of its contributors | |
18 | * may be used to endorse or promote products derived from this software | |
19 | * without specific prior written permission. | |
20 | * | |
21 | * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | |
22 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |
23 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | |
24 | * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | |
25 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |
26 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | |
27 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |
28 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
29 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | |
30 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | |
31 | * SUCH DAMAGE. | |
ad787160 C |
32 | * |
33 | * @(#)tree.h 8.1 (Berkeley) 6/6/93 | |
252367af | 34 | */ |
79dc99b7 PK |
35 | |
36 | #define T_MINUS 1 | |
37 | #define T_MOD 2 | |
38 | #define T_DIV 3 | |
39 | #define T_DIVD 4 | |
40 | #define T_MULT 5 | |
41 | #define T_ADD 6 | |
42 | #define T_SUB 7 | |
43 | #define T_EQ 8 | |
44 | #define T_NE 9 | |
45 | #define T_LT 10 | |
46 | #define T_GT 11 | |
47 | #define T_LE 12 | |
48 | #define T_GE 13 | |
49 | #define T_NOT 14 | |
50 | #define T_AND 15 | |
51 | #define T_OR 16 | |
52 | #define T_ASGN 17 | |
53 | #define T_PLUS 18 | |
54 | #define T_IN 19 | |
55 | #define T_LISTPP 20 | |
56 | #define T_PDEC 21 | |
57 | #define T_FDEC 22 | |
58 | #define T_PVAL 23 | |
59 | #define T_PVAR 24 | |
60 | #define T_PFUNC 25 | |
61 | #define T_PPROC 26 | |
62 | #define T_NIL 27 | |
63 | #define T_STRNG 28 | |
64 | #define T_CSTRNG 29 | |
65 | #define T_PLUSC 30 | |
66 | #define T_MINUSC 31 | |
67 | #define T_ID 32 | |
68 | #define T_INT 33 | |
69 | #define T_FINT 34 | |
70 | #define T_CINT 35 | |
71 | #define T_CFINT 36 | |
72 | #define T_TYPTR 37 | |
73 | #define T_TYPACK 38 | |
74 | #define T_TYSCAL 39 | |
75 | #define T_TYRANG 40 | |
76 | #define T_TYARY 41 | |
77 | #define T_TYFILE 42 | |
78 | #define T_TYSET 43 | |
79 | #define T_TYREC 44 | |
80 | #define T_TYFIELD 45 | |
81 | #define T_TYVARPT 46 | |
82 | #define T_TYVARNT 47 | |
83 | #define T_CSTAT 48 | |
84 | #define T_BLOCK 49 | |
85 | #define T_BSTL 50 | |
86 | #define T_LABEL 51 | |
87 | #define T_PCALL 52 | |
88 | #define T_FCALL 53 | |
89 | #define T_CASE 54 | |
90 | #define T_WITH 55 | |
91 | #define T_WHILE 56 | |
92 | #define T_REPEAT 57 | |
93 | #define T_FORU 58 | |
94 | #define T_FORD 59 | |
95 | #define T_GOTO 60 | |
96 | #define T_IF 61 | |
79dc99b7 PK |
97 | #define T_CSET 63 |
98 | #define T_RANG 64 | |
99 | #define T_VAR 65 | |
100 | #define T_ARGL 66 | |
101 | #define T_ARY 67 | |
102 | #define T_FIELD 68 | |
103 | #define T_PTR 69 | |
104 | #define T_WEXP 70 | |
105 | #define T_PROG 71 | |
106 | #define T_BINT 72 | |
107 | #define T_CBINT 73 | |
108 | #define T_IFEL 74 | |
109 | #define T_IFX 75 | |
110 | #define T_TYID 76 | |
111 | #define T_COPSTR 77 | |
112 | #define T_BOTTLE 78 | |
113 | #define T_RFIELD 79 | |
114 | #define T_FLDLST 80 | |
115 | #define T_LAST 81 | |
9965cdc3 KM |
116 | #define T_TYCRANG 82 |
117 | #define T_TYCARY 83 |