Commit | Line | Data |
---|---|---|
367c8002 KM |
1 | /* @(#)indent_codes.h 4.1 (Berkeley) %G% */ |
2 | ||
3 | /* | |
4 | ||
5 | Copyright (C) 1976 | |
6 | by the | |
7 | Board of Trustees | |
8 | of the | |
9 | University of Illinois | |
10 | ||
11 | All rights reserved | |
12 | ||
13 | FILE NAME: | |
14 | indent_codes.h | |
15 | ||
16 | PURPOSE: | |
17 | This include file contains defines for codes used within indent. They | |
18 | are here so that codes passed between and within routines can be | |
19 | referenced symbolically. | |
20 | ||
21 | GLOBALS: | |
22 | No global variables, just a bunch of defines | |
23 | ||
24 | FUNCTIONS: | |
25 | None | |
26 | */\f | |
27 | ||
28 | #define newline 1 | |
29 | #define lparen 2 | |
30 | #define rparen 3 | |
31 | #define unary_op 4 | |
32 | #define binary_op 5 | |
33 | #define postop 6 | |
34 | #define question 7 | |
35 | #define casestmt 8 | |
36 | #define colon 9 | |
37 | #define semicolon 10 | |
38 | #define lbrace 11 | |
39 | #define rbrace 12 | |
40 | #define ident 13 | |
41 | #define comma 14 | |
42 | #define comment 15 | |
43 | #define swstmt 16 | |
44 | #define preesc 17 | |
45 | #define form_feed 18 | |
46 | #define decl 19 | |
47 | #define sp_paren 20 | |
48 | #define sp_nparen 21 | |
49 | #define ifstmt 22 | |
50 | #define whilestmt 23 | |
51 | #define forstmt 24 | |
52 | #define stmt 25 | |
53 | #define stmtl 26 | |
54 | #define elselit 27 | |
55 | #define dolit 28 | |
56 | #define dohead 29 | |
57 | #define ifhead 30 | |
58 | #define elsehead 31 | |
59 | #define period 32 |