121974Sdist /* 221974Sdist * Copyright (c) 1980 Regents of the University of California. 3*33767Sbostic * Copyright (c) 1976 Board of Trustees of the University of Illinois. 4*33767Sbostic * All rights reserved. 521974Sdist * 6*33767Sbostic * Redistribution and use in source and binary forms are permitted 7*33767Sbostic * provided that this notice is preserved and that due credit is given 8*33767Sbostic * to the University of California at Berkeley and the University of 9*33767Sbostic * Illinois at Urbana. The name of either University may not be used 10*33767Sbostic * to endorse or promote products derived from this software without 11*33767Sbostic * specific prior written permission. This software is provided 12*33767Sbostic * ``as is'' without express or implied warranty. 13*33767Sbostic * 14*33767Sbostic * @(#)indent_codes.h 5.4 (Berkeley) 03/22/88 1521974Sdist */ 168801Smckusick 178801Smckusick /* 188801Smckusick FILE NAME: 198801Smckusick indent_codes.h 208801Smckusick 218801Smckusick PURPOSE: 228801Smckusick This include file contains defines for codes used within indent. They 238801Smckusick are here so that codes passed between and within routines can be 248801Smckusick referenced symbolically. 258801Smckusick 268801Smckusick GLOBALS: 278801Smckusick No global variables, just a bunch of defines 288801Smckusick 298801Smckusick FUNCTIONS: 308801Smckusick None 318801Smckusick */ 328801Smckusick 338801Smckusick #define newline 1 348801Smckusick #define lparen 2 358801Smckusick #define rparen 3 368801Smckusick #define unary_op 4 378801Smckusick #define binary_op 5 388801Smckusick #define postop 6 398801Smckusick #define question 7 408801Smckusick #define casestmt 8 418801Smckusick #define colon 9 428801Smckusick #define semicolon 10 438801Smckusick #define lbrace 11 448801Smckusick #define rbrace 12 458801Smckusick #define ident 13 468801Smckusick #define comma 14 478801Smckusick #define comment 15 488801Smckusick #define swstmt 16 498801Smckusick #define preesc 17 508801Smckusick #define form_feed 18 518801Smckusick #define decl 19 528801Smckusick #define sp_paren 20 538801Smckusick #define sp_nparen 21 548801Smckusick #define ifstmt 22 558801Smckusick #define whilestmt 23 568801Smckusick #define forstmt 24 578801Smckusick #define stmt 25 588801Smckusick #define stmtl 26 598801Smckusick #define elselit 27 608801Smckusick #define dolit 28 618801Smckusick #define dohead 29 628801Smckusick #define ifhead 30 638801Smckusick #define elsehead 31 648801Smckusick #define period 32 65