1: /*	mac.h	4.2	82/12/24	*/
   2: 
   3: #
   4: /*
   5:  *	UNIX shell
   6:  *
   7:  *	S. R. Bourne
   8:  *	Bell Telephone Laboratories
   9:  *
  10:  */
  11: 
  12: #define LOCAL   static
  13: #define PROC    extern
  14: #define TYPE    typedef
  15: #define STRUCT  TYPE struct
  16: #define UNION   TYPE union
  17: #define REG register
  18: 
  19: #define IF  if(
  20: #define THEN    ){
  21: #define ELSE    } else {
  22: #define ELIF    } else if (
  23: #define FI  ;}
  24: 
  25: #define BEGIN   {
  26: #define END }
  27: #define SWITCH  switch(
  28: #define IN  ){
  29: #define ENDSW   }
  30: #define FOR for(
  31: #define WHILE   while(
  32: #define DO  ){
  33: #define OD  ;}
  34: #define REP do{
  35: #define PER }while(
  36: #undef DONE
  37: #define DONE    );
  38: #define LOOP    for(;;){
  39: #define POOL    }
  40: 
  41: 
  42: #define SKIP    ;
  43: #define DIV /
  44: #define REM %
  45: #define NEQ ^
  46: #define ANDF    &&
  47: #define ORF ||
  48: 
  49: #define TRUE    (-1)
  50: #define FALSE   0
  51: #define LOBYTE  0377
  52: #define STRIP   0177
  53: #define QUOTE   0200
  54: 
  55: #define EOF 0
  56: #define NL  '\n'
  57: #define SP  ' '
  58: #define LQ  '`'
  59: #define RQ  '\''
  60: #define MINUS   '-'
  61: #define COLON   ':'
  62: 
  63: #define MAX(a,b)    ((a)>(b)?(a):(b))

Defined macros

ANDF defined in line 46; never used
BEGIN defined in line 25; never used
COLON defined in line 61; used 2 times
DIV defined in line 43; never used
DO defined in line 32; never used
DONE defined in line 37; used 1 times
  • in line 36
ELIF defined in line 22; never used
ELSE defined in line 21; never used
END defined in line 26; never used
EOF defined in line 55; used 4 times
FI defined in line 23; never used
FOR defined in line 30; never used
IF defined in line 19; never used
LOBYTE defined in line 51; used 1 times
LOOP defined in line 38; never used
LQ defined in line 58; used 1 times
MAX defined in line 63; never used
MINUS defined in line 60; used 1 times
NEQ defined in line 45; used 1 times
OD defined in line 33; never used
ORF defined in line 47; never used
PER defined in line 35; never used
POOL defined in line 39; never used
QUOTE defined in line 53; used 5 times
REG defined in line 17; used 175 times
REM defined in line 44; never used
REP defined in line 34; never used
RQ defined in line 59; used 1 times
SKIP defined in line 42; never used
SP defined in line 57; used 4 times
STRIP defined in line 52; used 8 times
STRUCT defined in line 15; never used
THEN defined in line 20; never used
TRUE defined in line 49; used 4 times
TYPE defined in line 14; used 2 times
UNION defined in line 16; never used
WHILE defined in line 31; never used

Usage of this include

mac.h used 1 times
Last modified: 1982-12-25
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1389
Valid CSS Valid XHTML 1.0 Strict