home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V7 / usr / src / cmd / prep.h < prev    next >
Encoding:
C/C++ Source or Header  |  1979-01-16  |  763 b   |  72 lines

  1. # define NUMC 128
  2. # define NUMS 3
  3. # define    NUMA    8
  4. # define PTRI 1600
  5. # define CHARI 16000
  6. # define OUT    3
  7.  
  8. # define SKIP    0
  9. # define COLLECT    1
  10. # define SKIP2    2
  11. # define WIDTH 6
  12. struct    {
  13.         char    *beg;
  14.         int    ct;
  15.         long    wdno;
  16.     } temp[30];
  17.  
  18. int    lflag;
  19. int    puncfl;
  20. int    hsw;
  21. int    san;
  22. int    t1;
  23.  
  24.  
  25.  
  26. char    tab[NUMS][NUMC];
  27.  
  28. int    coll();
  29. int    save();
  30. int    hyphen();
  31. int    hyp1();
  32. int    hyp2();
  33. int    error();
  34. int    ctout();
  35. int    bsp();
  36. int    bsp1();
  37. int    gobble2();
  38. int    bslash();
  39. int    punc();
  40.  
  41. char    line[300];
  42. int    l;
  43. int    lno;
  44. int    c;
  45.  
  46. int    only;
  47. int    cs;
  48. int    (*flag[8])();
  49. int    fl;
  50. int    wdflg;
  51. long    wdnum;
  52. char    num[WIDTH + 1];
  53. int    igflg;
  54.  
  55. struct    htab    {
  56.         int    hsiz;
  57.         int    ssiz;
  58.         int    nsym;
  59.         int    curb;
  60.         int    *hptr;
  61.         char    *symt;
  62.         };
  63.  
  64. struct    htab    itab;
  65.  
  66. int    ipsp[PTRI];
  67. char    issp[CHARI];
  68.  
  69.  
  70.  
  71. FILE    *fi;
  72.