1*21974Sdist /* 2*21974Sdist * Copyright (c) 1980 Regents of the University of California. 3*21974Sdist * All rights reserved. The Berkeley software License Agreement 4*21974Sdist * specifies the terms and conditions for redistribution. 5*21974Sdist * 6*21974Sdist * @(#)indent_codes.h 5.1 (Berkeley) 06/04/85 7*21974Sdist */ 88801Smckusick 98801Smckusick /* 108801Smckusick 118801Smckusick Copyright (C) 1976 128801Smckusick by the 138801Smckusick Board of Trustees 148801Smckusick of the 158801Smckusick University of Illinois 168801Smckusick 178801Smckusick All rights reserved 188801Smckusick 198801Smckusick FILE NAME: 208801Smckusick indent_codes.h 218801Smckusick 228801Smckusick PURPOSE: 238801Smckusick This include file contains defines for codes used within indent. They 248801Smckusick are here so that codes passed between and within routines can be 258801Smckusick referenced symbolically. 268801Smckusick 278801Smckusick GLOBALS: 288801Smckusick No global variables, just a bunch of defines 298801Smckusick 308801Smckusick FUNCTIONS: 318801Smckusick None 328801Smckusick */ 338801Smckusick 348801Smckusick #define newline 1 358801Smckusick #define lparen 2 368801Smckusick #define rparen 3 378801Smckusick #define unary_op 4 388801Smckusick #define binary_op 5 398801Smckusick #define postop 6 408801Smckusick #define question 7 418801Smckusick #define casestmt 8 428801Smckusick #define colon 9 438801Smckusick #define semicolon 10 448801Smckusick #define lbrace 11 458801Smckusick #define rbrace 12 468801Smckusick #define ident 13 478801Smckusick #define comma 14 488801Smckusick #define comment 15 498801Smckusick #define swstmt 16 508801Smckusick #define preesc 17 518801Smckusick #define form_feed 18 528801Smckusick #define decl 19 538801Smckusick #define sp_paren 20 548801Smckusick #define sp_nparen 21 558801Smckusick #define ifstmt 22 568801Smckusick #define whilestmt 23 578801Smckusick #define forstmt 24 588801Smckusick #define stmt 25 598801Smckusick #define stmtl 26 608801Smckusick #define elselit 27 618801Smckusick #define dolit 28 628801Smckusick #define dohead 29 638801Smckusick #define ifhead 30 648801Smckusick #define elsehead 31 658801Smckusick #define period 32 66