home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_300 / 329_01 / csubst.h < prev    next >
C/C++ Source or Header  |  1990-11-29  |  742b  |  28 lines

  1. /* csubst.h */
  2.  
  3. #include <stdio.h>
  4. #include <string.h>
  5. #include <stdlib.h>
  6. #ifndef MEGAMAX
  7. #include <assert.h>
  8. #else
  9. #define assert(X)
  10. #endif 
  11.  
  12.  
  13. /* These are the values of the global variable Mode */
  14. #define APPLY_SUBSTS 1   /* apply the substitutions */
  15. #define EXTRACT_SYMBOLS 2 /* extract the symbols  */
  16. #define READ_SUBSTS 3 /* read in the substitutions */
  17. #define PRINT_TRUNCATED 4 /* print the truncated symbols */
  18. #define READ_IGNORES 5     /* read the ignore symbols */
  19.  
  20. #define SYMBOL_SIZE 132 /* the maximum length of an identifier */
  21. typedef int symbol_type_t;     /* to indicate type of symbol */
  22.  
  23. /* values for symbol_type_t: */
  24. #define TYPE_MACRO         1
  25. #define TYPE_IDENTIFIER     2
  26. #define TYPE_STRING         3
  27.  
  28.