11590Srgrimes/* 21590Srgrimes * Copyright (c) 1985 Sun Microsystems, Inc. 31590Srgrimes * Copyright (c) 1980, 1993 41590Srgrimes * The Regents of the University of California. All rights reserved. 51590Srgrimes * All rights reserved. 61590Srgrimes * 71590Srgrimes * Redistribution and use in source and binary forms, with or without 81590Srgrimes * modification, are permitted provided that the following conditions 91590Srgrimes * are met: 101590Srgrimes * 1. Redistributions of source code must retain the above copyright 111590Srgrimes * notice, this list of conditions and the following disclaimer. 121590Srgrimes * 2. Redistributions in binary form must reproduce the above copyright 131590Srgrimes * notice, this list of conditions and the following disclaimer in the 141590Srgrimes * documentation and/or other materials provided with the distribution. 151590Srgrimes * 3. All advertising materials mentioning features or use of this software 161590Srgrimes * must display the following acknowledgement: 171590Srgrimes * This product includes software developed by the University of 181590Srgrimes * California, Berkeley and its contributors. 191590Srgrimes * 4. Neither the name of the University nor the names of its contributors 201590Srgrimes * may be used to endorse or promote products derived from this software 211590Srgrimes * without specific prior written permission. 221590Srgrimes * 231590Srgrimes * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 241590Srgrimes * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 251590Srgrimes * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 261590Srgrimes * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 271590Srgrimes * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 281590Srgrimes * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 291590Srgrimes * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 301590Srgrimes * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 311590Srgrimes * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 321590Srgrimes * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 331590Srgrimes * SUCH DAMAGE. 341590Srgrimes * 351590Srgrimes * @(#)indent_codes.h 8.1 (Berkeley) 6/6/93 3669796Sobrien * $FreeBSD$ 371590Srgrimes */ 381590Srgrimes 391590Srgrimes#define newline 1 401590Srgrimes#define lparen 2 411590Srgrimes#define rparen 3 421590Srgrimes#define unary_op 4 431590Srgrimes#define binary_op 5 441590Srgrimes#define postop 6 451590Srgrimes#define question 7 461590Srgrimes#define casestmt 8 471590Srgrimes#define colon 9 481590Srgrimes#define semicolon 10 491590Srgrimes#define lbrace 11 501590Srgrimes#define rbrace 12 511590Srgrimes#define ident 13 521590Srgrimes#define comma 14 531590Srgrimes#define comment 15 541590Srgrimes#define swstmt 16 551590Srgrimes#define preesc 17 561590Srgrimes#define form_feed 18 571590Srgrimes#define decl 19 581590Srgrimes#define sp_paren 20 591590Srgrimes#define sp_nparen 21 601590Srgrimes#define ifstmt 22 611590Srgrimes#define whilestmt 23 621590Srgrimes#define forstmt 24 631590Srgrimes#define stmt 25 641590Srgrimes#define stmtl 26 651590Srgrimes#define elselit 27 661590Srgrimes#define dolit 28 671590Srgrimes#define dohead 29 681590Srgrimes#define ifhead 30 691590Srgrimes#define elsehead 31 701590Srgrimes#define period 32 71