include ultrix -> vaxuba
[unix-history] / usr / src / usr.bin / indent / indent_codes.h
CommitLineData
b2e768eb
DF
1/*
2 * Copyright (c) 1980 Regents of the University of California.
b0627149
KB
3 * Copyright (c) 1976 Board of Trustees of the University of Illinois.
4 * All rights reserved.
b2e768eb 5 *
b0627149
KB
6 * Redistribution and use in source and binary forms are permitted
7 * provided that this notice is preserved and that due credit is given
8 * to the University of California at Berkeley and the University of
9 * Illinois at Urbana. The name of either University may not be used
10 * to endorse or promote products derived from this software without
11 * specific prior written permission. This software is provided
12 * ``as is'' without express or implied warranty.
13 *
14 * @(#)indent_codes.h 5.4 (Berkeley) %G%
b2e768eb 15 */
367c8002
KM
16
17/*
367c8002
KM
18FILE NAME:
19 indent_codes.h
20
21PURPOSE:
22 This include file contains defines for codes used within indent. They
23 are here so that codes passed between and within routines can be
24 referenced symbolically.
25
26GLOBALS:
27 No global variables, just a bunch of defines
28
29FUNCTIONS:
30 None
31*/\f
32
33#define newline 1
34#define lparen 2
35#define rparen 3
36#define unary_op 4
37#define binary_op 5
38#define postop 6
39#define question 7
40#define casestmt 8
41#define colon 9
42#define semicolon 10
43#define lbrace 11
44#define rbrace 12
45#define ident 13
46#define comma 14
47#define comment 15
48#define swstmt 16
49#define preesc 17
50#define form_feed 18
51#define decl 19
52#define sp_paren 20
53#define sp_nparen 21
54#define ifstmt 22
55#define whilestmt 23
56#define forstmt 24
57#define stmt 25
58#define stmtl 26
59#define elselit 27
60#define dolit 28
61#define dohead 29
62#define ifhead 30
63#define elsehead 31
64#define period 32