Annotation of researchv10dc/cmd/style/abbrev.c, revision 1.1.1.1

1.1       root        1: #define abtsize 71
                      2: #define abp1 61
                      3: #define abp2 67
                      4: extern struct dict abbrev_d[];
                      5: struct hnode abroot[abtsize];
                      6: char
                      7: abbrev(a0,a1,ptr)
                      8:        char *a0;
                      9:        struct dict *ptr;
                     10: {
                     11:        return(aahash(a0,a1,abtsize,abp1,abp2,abroot,ptr));
                     12: }
                     13: getab(){
                     14:        struct dict *ptr;
                     15:        ptr = abbrev_d;
                     16:        while(ptr->entry != 0){
                     17:                abbrev(ptr->entry,0,ptr);
                     18:                ptr++;
                     19:        }
                     20: }
                     21: struct dict abbrev_d[] = {
                     22: "St",'N',
                     23: "Dr",'N',
                     24: "Drs",'N',
                     25: "Mr",'N',
                     26: "Mrs",'N',
                     27: "Ms",'N',
                     28: "Rev",'N',
                     29: "No",'Y',
                     30: "Nos",'Y',
                     31: "NO",'Y',
                     32: "NOs",'Y',
                     33: "no",'Y',
                     34: "Fig",'Y',
                     35: "Figs",'Y',
                     36: "Dept",'Y',
                     37: "Depts",'Y',
                     38: "dept",'Y',
                     39: "depts",'Y',
                     40: "Eq",'Y',
                     41: "Eqs",'Y',
                     42: "eq",'Y',
                     43: "eqs",'Y',
                     44: "dB",'Y',
                     45: "vs",'P',
                     46: "in",'Y',
                     47: "ft",'Y',
                     48: "yr",'Y',
                     49: "ckts",'Y',
                     50: "mi",'Y',
                     51: "Jr",'J',
                     52: "jr",'J',
                     53: "Ch",'Y',
                     54: "ch",'Y',
                     55: "Ref",'Y',
                     56: "Refs",'Y',
                     57: "ref",'Y',
                     58: "refs",'Y',
                     59: "Inc",'J',
                     60: "Co",'N',
                     61: "Corp",'N',
                     62: "Jan",'N',
                     63: "Feb",'N',
                     64: "Mar",'N',
                     65: "Apr",'N',
                     66: "Jun",'N',
                     67: "Aug",'N',
                     68: "Sept",'N',
                     69: "Oct",'N',
                     70: "Nov",'N',
                     71: "Dec",'N',
                     72: "Sen",'Y',
                     73: "Sens",'Y',
                     74: "Rep",'Y',
                     75: "Hon",'Y',
                     76: "Gov",'Y',
                     77: "Lt",'Y',
                     78: "Col",'Y',
                     79: "Comdr",'Y',
                     80: "Cmdr",'Y',
                     81: "Capt",'Y',
                     82: "Calif",'N',
                     83: "Ky",'N',
                     84: "Va",'N',
                     85: 0,0
                     86: };

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.