121974Sdist /* 221974Sdist * Copyright (c) 1980 Regents of the University of California. 333767Sbostic * Copyright (c) 1976 Board of Trustees of the University of Illinois. 433767Sbostic * All rights reserved. 521974Sdist * 633767Sbostic * Redistribution and use in source and binary forms are permitted 7*34885Sbostic * provided that the above copyright notice and this paragraph are 8*34885Sbostic * duplicated in all such forms and that any documentation, 9*34885Sbostic * advertising materials, and other materials related to such 10*34885Sbostic * distribution and use acknowledge that the software was developed 11*34885Sbostic * by the University of California, Berkeley and the University 12*34885Sbostic * of Illinois, Urbana. The name of either 13*34885Sbostic * University may not be used to endorse or promote products derived 14*34885Sbostic * from this software without specific prior written permission. 15*34885Sbostic * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 16*34885Sbostic * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 17*34885Sbostic * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 1833767Sbostic * 19*34885Sbostic * @(#)indent_codes.h 5.5 (Berkeley) 06/29/88 2021974Sdist */ 218801Smckusick 228801Smckusick /* 238801Smckusick FILE NAME: 248801Smckusick indent_codes.h 258801Smckusick 268801Smckusick PURPOSE: 278801Smckusick This include file contains defines for codes used within indent. They 288801Smckusick are here so that codes passed between and within routines can be 298801Smckusick referenced symbolically. 308801Smckusick 318801Smckusick GLOBALS: 328801Smckusick No global variables, just a bunch of defines 338801Smckusick 348801Smckusick FUNCTIONS: 358801Smckusick None 368801Smckusick */ 378801Smckusick 388801Smckusick #define newline 1 398801Smckusick #define lparen 2 408801Smckusick #define rparen 3 418801Smckusick #define unary_op 4 428801Smckusick #define binary_op 5 438801Smckusick #define postop 6 448801Smckusick #define question 7 458801Smckusick #define casestmt 8 468801Smckusick #define colon 9 478801Smckusick #define semicolon 10 488801Smckusick #define lbrace 11 498801Smckusick #define rbrace 12 508801Smckusick #define ident 13 518801Smckusick #define comma 14 528801Smckusick #define comment 15 538801Smckusick #define swstmt 16 548801Smckusick #define preesc 17 558801Smckusick #define form_feed 18 568801Smckusick #define decl 19 578801Smckusick #define sp_paren 20 588801Smckusick #define sp_nparen 21 598801Smckusick #define ifstmt 22 608801Smckusick #define whilestmt 23 618801Smckusick #define forstmt 24 628801Smckusick #define stmt 25 638801Smckusick #define stmtl 26 648801Smckusick #define elselit 27 658801Smckusick #define dolit 28 668801Smckusick #define dohead 29 678801Smckusick #define ifhead 30 688801Smckusick #define elsehead 31 698801Smckusick #define period 32 70