source: trunk/minix/commands/indent/codes.h@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

File size: 1.6 KB
Line 
1/**
2 * Copyright (c) 1985 Sun Microsystems, Inc.
3 * Copyright (c) 1980 The Regents of the University of California.
4 * Copyright (c) 1976 Board of Trustees of the University of Illinois.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms are permitted
8 * provided that the above copyright notice and this paragraph are
9 * duplicated in all such forms and that any documentation,
10 * advertising materials, and other materials related to such
11 * distribution and use acknowledge that the software was developed
12 * by the University of California, Berkeley, the University of Illinois,
13 * Urbana, and Sun Microsystems, Inc. The name of either University
14 * or Sun Microsystems may not be used to endorse or promote products
15 * derived from this software without specific prior written permission.
16 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
17 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
18 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
19 *
20 * @(#)indent_codes.h 5.6 (Berkeley) 9/15/88
21 */
22
23#define newline 1
24#define lparen 2
25#define rparen 3
26#define unary_op 4
27#define binary_op 5
28#define postop 6
29#define question 7
30#define casestmt 8
31#define colon 9
32#define semicolon 10
33#define lbrace 11
34#define rbrace 12
35#define ident 13
36#define comma 14
37#define comment 15
38#define swstmt 16
39#define preesc 17
40#define form_feed 18
41#define decl 19
42#define sp_paren 20
43#define sp_nparen 21
44#define ifstmt 22
45#define whilestmt 23
46#define forstmt 24
47#define stmt 25
48#define stmtl 26
49#define elselit 27
50#define dolit 28
51#define dohead 29
52#define ifhead 30
53#define elsehead 31
54#define period 32
Note: See TracBrowser for help on using the repository browser.