|
|
1.1 root 1: /*
2: * Copyright (c) 1980 Regents of the University of California.
3: * Copyright (c) 1976 Board of Trustees of the University of Illinois.
4: * All rights reserved.
5: *
6: * Redistribution and use in source and binary forms are permitted
7: * provided that the above copyright notice and this paragraph are
8: * duplicated in all such forms and that any documentation,
9: * advertising materials, and other materials related to such
10: * distribution and use acknowledge that the software was developed
11: * by the University of California, Berkeley and the University
12: * of Illinois, Urbana. The name of either
13: * University may not be used to endorse or promote products derived
14: * from this software without specific prior written permission.
15: * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
16: * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
17: * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
18: *
19: * @(#)indent_codes.h 5.5 (Berkeley) 6/29/88
20: */
21:
22: /*
23: FILE NAME:
24: indent_codes.h
25:
26: PURPOSE:
27: This include file contains defines for codes used within indent. They
28: are here so that codes passed between and within routines can be
29: referenced symbolically.
30:
31: GLOBALS:
32: No global variables, just a bunch of defines
33:
34: FUNCTIONS:
35: None
36: */
37:
38: #define newline 1
39: #define lparen 2
40: #define rparen 3
41: #define unary_op 4
42: #define binary_op 5
43: #define postop 6
44: #define question 7
45: #define casestmt 8
46: #define colon 9
47: #define semicolon 10
48: #define lbrace 11
49: #define rbrace 12
50: #define ident 13
51: #define comma 14
52: #define comment 15
53: #define swstmt 16
54: #define preesc 17
55: #define form_feed 18
56: #define decl 19
57: #define sp_paren 20
58: #define sp_nparen 21
59: #define ifstmt 22
60: #define whilestmt 23
61: #define forstmt 24
62: #define stmt 25
63: #define stmtl 26
64: #define elselit 27
65: #define dolit 28
66: #define dohead 29
67: #define ifhead 30
68: #define elsehead 31
69: #define period 32
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.