home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / icon / dos / src / icont / globals.h < prev    next >
C/C++ Source or Header  |  1992-02-10  |  1KB  |  47 lines

  1. /*
  2.  *  Global variables.
  3.  */
  4.  
  5. #ifndef Global
  6. #define Global extern
  7. #define Init(v)
  8. #endif                    /* Global */
  9.  
  10. /*
  11.  * Table sizes and defaults come from sizes.h.
  12.  */
  13.  
  14. #define Size(cmd,vname,defalt) Global unsigned int vname Init(defalt);
  15. #define MinSize(x,y,z)
  16. #include "sizes.h"
  17. #undef Size
  18. #undef MinSize
  19.  
  20. /*
  21.  * Masks for accessing hash tables.
  22.  */
  23. Global int cmask;            /* mask for constant table hash */
  24. Global int fmask;            /* mask for field table hash */
  25. Global int gmask;            /* mask for global table hash */    
  26. Global int imask;            /* mask for identifier table hash */
  27. Global int lmask;            /* mask for local table hash */
  28.  
  29. /*
  30.  * Variables related to command processing.
  31.  */
  32. Global char *progname    Init("icont");    /* program name for diagnostics */
  33.  
  34. #if ATARI_ST
  35. Global char *patharg    Init(0);    /* -p: path for finding iconx */
  36. #endif                    /* ATARI_ST */
  37.  
  38. Global int silent    Init(0);    /* -s: suppress info messages? */
  39. Global int m4pre    Init(0);    /* -m: use m4 preprocessor? [UNIX] */
  40. Global int uwarn    Init(0);    /* -u: warn about undefined ids? */
  41. Global int trace    Init(0);    /* -t: initial &trace value */
  42.  
  43.  
  44. #ifdef DeBugLinker
  45. Global int Dflag    Init(0);    /* -L: linker debug (write .ux file) */
  46. #endif                    /* DeBugLinker */
  47.