update on Sun stuff by Chris Torek
[unix-history] / usr / src / usr.bin / indent / indent_codes.h
CommitLineData
b2e768eb
DF
1/*
2 * Copyright (c) 1980 Regents of the University of California.
3 * All rights reserved. The Berkeley software License Agreement
4 * specifies the terms and conditions for redistribution.
5 *
c93d6f87 6 * @(#)indent_codes.h 5.3 (Berkeley) %G%
b2e768eb 7 */
367c8002
KM
8
9/*
10
11 Copyright (C) 1976
12 by the
13 Board of Trustees
14 of the
15 University of Illinois
16
17 All rights reserved
18
19FILE NAME:
20 indent_codes.h
21
22PURPOSE:
23 This include file contains defines for codes used within indent. They
24 are here so that codes passed between and within routines can be
25 referenced symbolically.
26
27GLOBALS:
28 No global variables, just a bunch of defines
29
30FUNCTIONS:
31 None
32*/\f
33
34#define newline 1
35#define lparen 2
36#define rparen 3
37#define unary_op 4
38#define binary_op 5
39#define postop 6
40#define question 7
41#define casestmt 8
42#define colon 9
43#define semicolon 10
44#define lbrace 11
45#define rbrace 12
46#define ident 13
47#define comma 14
48#define comment 15
49#define swstmt 16
50#define preesc 17
51#define form_feed 18
52#define decl 19
53#define sp_paren 20
54#define sp_nparen 21
55#define ifstmt 22
56#define whilestmt 23
57#define forstmt 24
58#define stmt 25
59#define stmtl 26
60#define elselit 27
61#define dolit 28
62#define dohead 29
63#define ifhead 30
64#define elsehead 31
65#define period 32