1 /* $OpenBSD: indent_codes.h,v 1.5 2015/01/19 15:30:52 krw Exp $ */ 2 /* 3 * Copyright (c) 1985 Sun Microsystems, Inc. 4 * Copyright (c) 1980, 1993 5 * The Regents of the University of California. 6 * Copyright (c) 1976 Board of Trustees of the University of Illinois. 7 * All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without 10 * modification, are permitted provided that the following conditions 11 * are met: 12 * 1. Redistributions of source code must retain the above copyright 13 * notice, this list of conditions and the following disclaimer. 14 * 2. Redistributions in binary form must reproduce the above copyright 15 * notice, this list of conditions and the following disclaimer in the 16 * documentation and/or other materials provided with the distribution. 17 * 3. Neither the name of the University nor the names of its contributors 18 * may be used to endorse or promote products derived from this software 19 * without specific prior written permission. 20 * 21 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 22 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 23 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 24 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * from: @(#)indent_codes.h 8.1 (Berkeley) 6/6/93 34 */ 35 36 #define newline 1 37 #define lparen 2 38 #define rparen 3 39 #define unary_op 4 40 #define binary_op 5 41 #define postop 6 42 #define question 7 43 #define casestmt 8 44 #define colon 9 45 #define semicolon 10 46 #define lbrace 11 47 #define rbrace 12 48 #define ident 13 49 #define comma 14 50 #define comment 15 51 #define swstmt 16 52 #define preesc 17 53 #define form_feed 18 54 #define decl 19 55 #define sp_paren 20 56 #define sp_nparen 21 57 #define ifstmt 22 58 #define whilestmt 23 59 #define forstmt 24 60 #define stmt 25 61 #define stmtl 26 62 #define elselit 27 63 #define dolit 28 64 #define dohead 29 65 #define ifhead 30 66 #define elsehead 31 67 #define period 32 68