home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / INDENT1.ZIP / CODES.H < prev    next >
Text File  |  1991-07-04  |  2KB  |  53 lines

  1. /*
  2.  * Copyright (c) 1985 Sun Microsystems, Inc. Copyright (c) 1980 The Regents
  3.  * of the University of California. Copyright (c) 1976 Board of Trustees of
  4.  * the University of Illinois. All rights reserved.
  5.  * 
  6.  * Redistribution and use in source and binary forms are permitted provided that
  7.  * the above copyright notice and this paragraph are duplicated in all such
  8.  * forms and that any documentation, advertising materials, and other
  9.  * materials related to such distribution and use acknowledge that the
  10.  * software was developed by the University of California, Berkeley, the
  11.  * University of Illinois, Urbana, and Sun Microsystems, Inc.  The name of
  12.  * either University or Sun Microsystems may not be used to endorse or
  13.  * promote products derived from this software without specific prior written
  14.  * permission. THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
  15.  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES
  16.  * OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  17.  * 
  18.  * @(#)indent_codes.h    5.6 (Berkeley) 9/15/88
  19.  */
  20.  
  21. #define newline        1
  22. #define lparen        2
  23. #define rparen        3
  24. #define unary_op    4
  25. #define binary_op    5
  26. #define postop        6
  27. #define question    7
  28. #define casestmt    8
  29. #define colon        9
  30. #define semicolon    10
  31. #define lbrace        11
  32. #define rbrace        12
  33. #define ident        13
  34. #define comma        14
  35. #define comment        15
  36. #define swstmt        16
  37. #define preesc        17
  38. #define form_feed    18
  39. #define decl        19
  40. #define sp_paren    20
  41. #define sp_nparen    21
  42. #define ifstmt        22
  43. #define whilestmt    23
  44. #define forstmt        24
  45. #define stmt        25
  46. #define stmtl        26
  47. #define elselit        27
  48. #define dolit        28
  49. #define dohead        29
  50. #define ifhead        30
  51. #define elsehead    31
  52. #define period        32
  53.