1: /* $Header$ */
   2: 
   3: /*
   4:  * Project directory type label definitions
   5:  *
   6:  * Author: Peter J. Nicklin
   7:  */
   8: 
   9: /*
  10:  * Boolean operation definitions
  11:  *
  12:  * Note: Definitions B_ID, B_NOT, B_AND, B_OR, B_LPAREN, B_RPAREN, B_EOS
  13:  * must not be changed because they are used as indices for the operator
  14:  * precedence parsing table. B_ID is also used as the default initializer
  15:  * for the type expression token table.
  16:  */
  17: #define B_ID        0       /* boolean expression identifier */
  18: #define B_NOT       1       /* boolean "not" operation */
  19: #define B_AND       2       /* boolean "and" operation */
  20: #define B_OR        3       /* boolean "or" operation */
  21: #define B_LPAREN    4       /* "(" */
  22: #define B_RPAREN    5       /* ")" */
  23: #define B_EOS       6       /* end of boolean string */
  24: #define B_WHITE     7       /* tab or blank */
  25: /*
  26:  * Project directory boolean type expression token struct
  27:  */
  28: typedef struct _postfix
  29:     {
  30:     short p_class;          /* type of boolean expression token */
  31:     short p_sw;         /* TRUE/FALSE switch */
  32:     char *p_id;         /* boolean expression identifier */
  33:     char *p_label;          /* project directory type label */
  34:     } POSTFIX;
  35: /*
  36:  * Project directory postfix type expression struct
  37:  */
  38: typedef struct _pdtyp
  39:     {
  40:     int pfxsize;            /* size of postfix expression */
  41:     POSTFIX *pfx;           /* base of postfix expression */
  42:     short *eval;            /* base of expr evaluation stack */
  43:     } PDTYP;

Defined struct's

_pdtyp defined in line 38; never used
_postfix defined in line 28; never used

Defined typedef's

PDTYP defined in line 43; never used
POSTFIX defined in line 34; used 1 times
  • in line 41

Defined macros

B_AND defined in line 19; never used
B_EOS defined in line 23; never used
B_ID defined in line 17; never used
B_LPAREN defined in line 21; never used
B_NOT defined in line 18; never used
B_OR defined in line 20; never used
B_RPAREN defined in line 22; never used
B_WHITE defined in line 24; never used
Last modified: 1985-07-03
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 681
Valid CSS Valid XHTML 1.0 Strict