home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_100 / 195_01 / def.h < prev    next >
Text File  |  1987-10-05  |  1KB  |  66 lines

  1. /* [DEF.H of JUGPDS Vol.17]
  2. *****************************************************************
  3. *                                *
  4. *    Written by  Hakuo Katayose (JUG-CP/M No.179)        *
  5. *            49-114 Kawauchi-Sanjuunin-machi        *
  6. *            Sendai, Miyagi 980                          *
  7. *            Phone: 0222-61-3219                *
  8. *                                *
  9. *    Edited & tested by Y. Monma (JUG-C/M Disk Editor)       *
  10. *                                *
  11. *****************************************************************
  12. */
  13.  
  14. /* Table of Definitions for Software Tools */
  15.  
  16. #define MAXTOK        32
  17. #define MAXDEF         128
  18. #define MAXPAT           256
  19.  
  20. #define NPAT        '{'
  21. #define NPATEND        '}'
  22. #define AND        '&'
  23. #define ANY        '?'
  24. #define BOL        '%'
  25. #define EOL        '$'
  26. #define CCL        '['
  27. #define NCCL        'n'
  28. #define CCLEND        ']'
  29. #define CLOSURE        '*'
  30. #define CHAR        'a'
  31. #define DASH        '-'
  32. #define PLUS        '+'
  33. #define LETTER        'a'
  34. #define DIGIT        '0'
  35. #define NOT        '!'
  36. #define MINUS        '-'
  37. #define UPALLOW        '^'
  38. #define ESCAPE        '@'
  39. #define ALPHA        3
  40. #define LBRACKET    '['
  41. #define RBRACKET    ']'
  42. #define LPAREN        '('
  43. #define RPAREN        ')'
  44.  
  45. #define    EOS        '\0'
  46. #define    BACKSPACE    0x08
  47. #define    TAB        0x09
  48. #define    NEWLINE        0x0A
  49. #define    FORMFEED    0x0C
  50. #define    CRETURN        0x0D
  51. #define    BLANK        ' '
  52.  
  53. #define DITTO        4
  54. #define BPAT        7
  55. #define EPAT        8
  56. #define SUBSTRG        9
  57.  
  58. #define ON        1
  59. #define OFF        0
  60.  
  61. #define COUNT        1
  62. #define PREVCL        2
  63. #define START        3
  64. #define CLOSIZE        4
  65.  
  66.