# 2.11BSD#431 - /usr/src/bin/sh/sym.h

##### Macros

    ANDFSYM           X
    APPSYM            X
    BRACE             X
    BRSYM             X
    CASYM             X
    DOCSYM            X
    DOLLAR            X
    DOSYM             X
    DQUOTE            X
    ECSYM             X
    EFSYM             X
    ELSYM             X
    EOFSYM            X
    ESCAPE            X
    ESSYM             X
    FISYM             X
    FORSYM            X
    IFSYM             X
    INSYM             X
    KTSYM             X
    LITERAL           X
    MARK              X
    MTFLG             X
    NLFLG             X
    ODSYM             X
    ORFSYM            X
    SQUOTE            X
    SYMFLG            X
    SYMREP            X
    THSYM             X
    UNSYM             X
    WHSYM             X

       1: /*	sym.h	4.1	82/05/07	*/
       2:
       3: #
       4: /*
       5:  *	UNIX shell
       6:  */
       7:
       8:
       9: /* symbols for parsing */
      10: #define DOSYM   0405
      11: #define FISYM   0420
      12: #define EFSYM   0422
      13: #define ELSYM   0421
      14: #define INSYM   0412
      15: #define BRSYM   0406
      16: #define KTSYM   0450
      17: #define THSYM   0444
      18: #define ODSYM   0441
      19: #define ESSYM   0442
      20: #define IFSYM   0436
      21: #define FORSYM  0435
      22: #define WHSYM   0433
      23: #define UNSYM   0427
      24: #define CASYM   0417
      25:
      26: #define SYMREP  04000
      27: #define ECSYM   (SYMREP|';')
      28: #define ANDFSYM (SYMREP|'&')
      29: #define ORFSYM  (SYMREP|'|')
      30: #define APPSYM  (SYMREP|'>')
      31: #define DOCSYM  (SYMREP|'<')
      32: #define EOFSYM  02000
      33: #define SYMFLG  0400
      34:
      35: /* arg to `cmd' */
      36: #define NLFLG   1
      37: #define MTFLG   2
      38:
      39: /* for peekc */
      40: #define MARK    0100000
      41:
      42: /* odd chars */
      43: #define DQUOTE  '"'
      44: #define SQUOTE  '`'
      45: #define LITERAL '\''
      46: #define DOLLAR  '$'
      47: #define ESCAPE  '\\'
      48: #define BRACE   '{'

#### Defined macros

ANDFSYM defined in line 28; used 1 times

- in /usr/src/bin/sh/cmd.c line 126

APPSYM defined in line 30; used 1 times

- in /usr/src/bin/sh/cmd.c line 336

BRACE defined in line 48; used 2 times

- in /usr/src/bin/sh/macro.c line 45, 73

BRSYM defined in line 15; used 3 times

- in /usr/src/bin/sh/cmd.c line 211, 244
- in /usr/src/bin/sh/msg.c line 88

CASYM defined in line 24; used 1 times

- in /usr/src/bin/sh/msg.c line 77

DOCSYM defined in line 31; never used
DOLLAR defined in line 46; used 1 times

- in /usr/src/bin/sh/macro.c line 63

DOSYM defined in line 10; used 4 times

- in /usr/src/bin/sh/cmd.c line 244-245(2), 254
- in /usr/src/bin/sh/msg.c line 82

DQUOTE defined in line 43; used 5 times

- in /usr/src/bin/sh/macro.c line 43, 146, 222
- in /usr/src/bin/sh/word.c line 38-41(2)

ECSYM defined in line 27; used 1 times

- in /usr/src/bin/sh/cmd.c line 173

EFSYM defined in line 12; used 4 times

- in /usr/src/bin/sh/cmd.c line 223-225(3)
- in /usr/src/bin/sh/msg.c line 85

ELSYM defined in line 13; used 3 times

- in /usr/src/bin/sh/cmd.c line 223-224(2)
- in /usr/src/bin/sh/msg.c line 84

EOFSYM defined in line 32; used 3 times

- in /usr/src/bin/sh/cmd.c line 385
- in /usr/src/bin/sh/macro.c line 189
- in /usr/src/bin/sh/word.c line 71

ESCAPE defined in line 47; used 1 times

- in /usr/src/bin/sh/word.c line 85

ESSYM defined in line 19; used 2 times

- in /usr/src/bin/sh/cmd.c line 212
- in /usr/src/bin/sh/msg.c line 76

FISYM defined in line 11; used 3 times

- in /usr/src/bin/sh/cmd.c line 223-224(2)
- in /usr/src/bin/sh/msg.c line 86

FORSYM defined in line 21; used 1 times

- in /usr/src/bin/sh/msg.c line 78

IFSYM defined in line 20; used 2 times

- in /usr/src/bin/sh/cmd.c line 224
- in /usr/src/bin/sh/msg.c line 80

INSYM defined in line 14; used 4 times

- in /usr/src/bin/sh/cmd.c line 211-212(2), 236
- in /usr/src/bin/sh/msg.c line 75

KTSYM defined in line 16; used 4 times

- in /usr/src/bin/sh/cmd.c line 212, 245, 260
- in /usr/src/bin/sh/msg.c line 89

LITERAL defined in line 45; used 2 times

- in /usr/src/bin/sh/word.c line 37-39(2)

MARK defined in line 40; used 7 times

- in /usr/src/bin/sh/cmd.c line 345
- in /usr/src/bin/sh/macro.c line 80, 115, 140
- in /usr/src/bin/sh/word.c line 56, 68, 89

MTFLG defined in line 37; used 6 times

- in /usr/src/bin/sh/cmd.c line 81, 94, 172
- in /usr/src/bin/sh/macro.c line 189
- in /usr/src/bin/sh/main.c line 164
- in /usr/src/bin/sh/xec.c line 423

NLFLG defined in line 36; used 15 times

- in /usr/src/bin/sh/cmd.c line 78, 127, 143, 149, 172, 222-224(3), 245, 254-260(3), 267
- in /usr/src/bin/sh/macro.c line 189
- in /usr/src/bin/sh/xec.c line 423

ODSYM defined in line 18; used 3 times

- in /usr/src/bin/sh/cmd.c line 245, 255
- in /usr/src/bin/sh/msg.c line 79

ORFSYM defined in line 29; used 1 times

- in /usr/src/bin/sh/cmd.c line 126

SQUOTE defined in line 44; used 3 times

- in /usr/src/bin/sh/macro.c line 41, 144, 180

SYMFLG defined in line 33; used 2 times

- in /usr/src/bin/sh/cmd.c line 372, 379

SYMREP defined in line 26; used 7 times

- in line 27-31(5)
- in /usr/src/bin/sh/cmd.c line 387
- in /usr/src/bin/sh/word.c line 67

THSYM defined in line 17; used 2 times

- in /usr/src/bin/sh/cmd.c line 222
- in /usr/src/bin/sh/msg.c line 83

UNSYM defined in line 23; used 1 times

- in /usr/src/bin/sh/msg.c line 87

WHSYM defined in line 22; used 2 times

- in /usr/src/bin/sh/cmd.c line 253
- in /usr/src/bin/sh/msg.c line 81

#### Usage of this include

sym.h used 6 times

- in /usr/src/bin/sh/cmd.c line 15
- in /usr/src/bin/sh/macro.c line 15
- in /usr/src/bin/sh/main.c line 15
- in /usr/src/bin/sh/msg.c line 16
- in /usr/src/bin/sh/word.c line 15
- in /usr/src/bin/sh/xec.c line 15

Last modified: 1982-06-09 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 715 |