# 2.11BSD#431 - /usr/src/new/PORT/B/src/bed/gram.h

##### Macros

    Fw_negative       X
    Fw_positive       X
    Fw_zero           X
    Fwidth            X
    Hole              X
    LEXICAL           X
    Optional          X
    Rootsymbol        X
    Suggestion        X

       1: /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1984. */
       2: /* $Header: gram.h,v 2.0 84/06/18 15:46:55 guido Exp $ */
       3:
       4: /*
       5:  * B editor -- Grammar symbols.
       6:  */
       7:
       8: /*
       9:  * Values used in "tabl.c" but also publicly.
      10:  */
      11:
      12: #define Rootsymbol  00
      13: #define Suggestion  97
      14: #define Optional    98
      15: #define Hole        99
      16:
      17:
      18: /*
      19:  * Ditto for "lexi.c".
      20:  */
      21:
      22: #define LEXICAL 100
      23:
      24: /*
      25:  * Routines defined in "gram.c".
      26:  */
      27:
      28: string *noderepr();
      29: node gram();
      30: node suggestion();
      31: node variable();
      32: string symname();
      33:
      34: /*
      35:  * Macros for oft-used funtion.
      36:  */
      37:
      38: #define Fwidth(str) ((str) ? fwidth(str) : 0)
      39:
      40: #define Fw_zero(str) (!(str) || index("\b\t", (str)[0]))
      41: #define Fw_positive(str) ((str) && (str)[0] >= ' ')
      42: #define Fw_negative(str) ((str) && (str)[0] == '\n')

#### Defined macros

Fw_negative defined in line 42; used 6 times

- in /usr/src/new/PORT/B/src/bed/deco.c line 204
- in /usr/src/new/PORT/B/src/bed/goto.c line 195
- in /usr/src/new/PORT/B/src/bed/move.c line 463
- in /usr/src/new/PORT/B/src/bed/outp.c line 412
- in /usr/src/new/PORT/B/src/bed/que1.c line 565
- in /usr/src/new/PORT/B/src/bed/scrn.c line 319

Fw_positive defined in line 41; used 10 times

- in /usr/src/new/PORT/B/src/bed/goto.c line 122, 148
- in /usr/src/new/PORT/B/src/bed/gram.c line 390
- in /usr/src/new/PORT/B/src/bed/move.c line 106, 422
- in /usr/src/new/PORT/B/src/bed/que1.c line 570
- in /usr/src/new/PORT/B/src/bed/que2.c line 147
- in /usr/src/new/PORT/B/src/bed/sugg.c line 463
- in /usr/src/new/PORT/B/src/bed/supr.c line 341
- in /usr/src/new/PORT/B/src/bed/wide.c line 180

Fw_zero defined in line 40; used 17 times

- in /usr/src/new/PORT/B/src/bed/deco.c line 207
- in /usr/src/new/PORT/B/src/bed/goto.c line 263
- in /usr/src/new/PORT/B/src/bed/gram.c line 397
- in /usr/src/new/PORT/B/src/bed/ins2.c line 263(2), 339
- in /usr/src/new/PORT/B/src/bed/inse.c line 65, 167, 244
- in /usr/src/new/PORT/B/src/bed/mkboot.c line 209
- in /usr/src/new/PORT/B/src/bed/que1.c line 247, 477
- in /usr/src/new/PORT/B/src/bed/que2.c line 283
- in /usr/src/new/PORT/B/src/bed/sugg.c line 432
- in /usr/src/new/PORT/B/src/bed/supr.c line 966, 1010, 1017

Fwidth defined in line 38; used 12 times

- in /usr/src/new/PORT/B/src/bed/deco.c line 481
- in /usr/src/new/PORT/B/src/bed/eval.c line 85, 169
- in /usr/src/new/PORT/B/src/bed/line.c line 98
- in /usr/src/new/PORT/B/src/bed/mkboot.c line 232
- in /usr/src/new/PORT/B/src/bed/move.c line 62, 79, 271
- in /usr/src/new/PORT/B/src/bed/que1.c line 435, 477
- in /usr/src/new/PORT/B/src/bed/que2.c line 200
- in /usr/src/new/PORT/B/src/bed/supr.c line 911

Hole defined in line 15; used 52 times

- in /usr/src/new/PORT/B/src/bed/deco.c line 282, 311, 340, 619, 654
- in /usr/src/new/PORT/B/src/bed/demo.c line 815
- in /usr/src/new/PORT/B/src/bed/edit.c line 288, 319
- in /usr/src/new/PORT/B/src/bed/gram.c line 33, 163, 172
- in /usr/src/new/PORT/B/src/bed/ins2.c line 67, 131, 141, 174, 180, 216, 289, 313
- in /usr/src/new/PORT/B/src/bed/inse.c line 282, 308
- in /usr/src/new/PORT/B/src/bed/mkboot.c line 28, 52
- in /usr/src/new/PORT/B/src/bed/move.c line 394, 455
- in /usr/src/new/PORT/B/src/bed/outp.c line 81
- in /usr/src/new/PORT/B/src/bed/que1.c line 166, 253, 287, 472
- in /usr/src/new/PORT/B/src/bed/que2.c line 75, 167, 222, 265, 285, 306, 326, 406, 419
- in /usr/src/new/PORT/B/src/bed/supr.c line 80, 93, 183, 191, 204, 225, 232, 244, 783
- in /usr/src/new/PORT/B/src/bed/tabl.c line 516
- in /usr/src/new/PORT/B/src/bed/wide.c line 195, 290, 332

LEXICAL defined in line 22; used 14 times

- in /usr/src/new/PORT/B/src/bed/inse.c line 53, 117, 168
- in /usr/src/new/PORT/B/src/bed/lexi.c line 56, 79
- in /usr/src/new/PORT/B/src/bed/tabl.c line 154-162(9)

Optional defined in line 14; used 69 times

- in /usr/src/new/PORT/B/src/bed/deco.c line 282, 311, 340, 619, 654
- in /usr/src/new/PORT/B/src/bed/demo.c line 651
- in /usr/src/new/PORT/B/src/bed/gram.c line 34, 163, 171-172(2), 238
- in /usr/src/new/PORT/B/src/bed/ins2.c line 131, 141, 174, 180, 289, 313
- in /usr/src/new/PORT/B/src/bed/inse.c line 282, 308
- in /usr/src/new/PORT/B/src/bed/mkboot.c line 29, 52, 194
- in /usr/src/new/PORT/B/src/bed/outp.c line 66
- in /usr/src/new/PORT/B/src/bed/que1.c line 61, 164, 177, 251, 287
- in /usr/src/new/PORT/B/src/bed/que2.c line 167, 223, 247, 265, 285, 306, 326, 406, 419-421(2)
- in /usr/src/new/PORT/B/src/bed/supr.c line 80, 93, 138, 183, 191, 204, 225, 232, 244
- in /usr/src/new/PORT/B/src/bed/tabl.c line 193, 200-203(2), 221, 267, 291-293(2), 305-309(2), 316, 342, 349, 364-374(5), 515
- in /usr/src/new/PORT/B/src/bed/wide.c line 195, 262, 290, 332

Rootsymbol defined in line 12; used 17 times

- in /usr/src/new/PORT/B/src/bed/deco.c line 408
- in /usr/src/new/PORT/B/src/bed/gram.c line 133, 302-310(8)
- in /usr/src/new/PORT/B/src/bed/inse.c line 31, 142, 260
- in /usr/src/new/PORT/B/src/bed/que2.c line 604, 665, 741
- in /usr/src/new/PORT/B/src/bed/tabl.c line 387

Suggestion defined in line 13; used 12 times

- in /usr/src/new/PORT/B/src/bed/demo.c line 483
- in /usr/src/new/PORT/B/src/bed/gram.c line 199-202(2)
- in /usr/src/new/PORT/B/src/bed/inse.c line 41
- in /usr/src/new/PORT/B/src/bed/mkboot.c line 162
- in /usr/src/new/PORT/B/src/bed/que2.c line 524
- in /usr/src/new/PORT/B/src/bed/sugg.c line 256, 302, 338, 359
- in /usr/src/new/PORT/B/src/bed/tabl.c line 278, 514

#### Usage of this include

gram.h used 21 times

- in /usr/src/new/PORT/B/src/bed/deco.c line 14
- in /usr/src/new/PORT/B/src/bed/demo.c line 15
- in /usr/src/new/PORT/B/src/bed/edit.c line 16
- in /usr/src/new/PORT/B/src/bed/eval.c line 10
- in /usr/src/new/PORT/B/src/bed/goto.c line 12
- in /usr/src/new/PORT/B/src/bed/gram.c line 12
- in /usr/src/new/PORT/B/src/bed/ins2.c line 13
- in /usr/src/new/PORT/B/src/bed/inse.c line 12
- in /usr/src/new/PORT/B/src/bed/lexi.c line 13
- in /usr/src/new/PORT/B/src/bed/line.c line 15
- in /usr/src/new/PORT/B/src/bed/mkboot.c line 10
- in /usr/src/new/PORT/B/src/bed/move.c line 12
- in /usr/src/new/PORT/B/src/bed/outp.c line 14
- in /usr/src/new/PORT/B/src/bed/que1.c line 14
- in /usr/src/new/PORT/B/src/bed/que2.c line 16
- in /usr/src/new/PORT/B/src/bed/save.c line 14
- in /usr/src/new/PORT/B/src/bed/scrn.c line 13
- in /usr/src/new/PORT/B/src/bed/sugg.c line 16
- in /usr/src/new/PORT/B/src/bed/supr.c line 13
- in /usr/src/new/PORT/B/src/bed/tabl.c line 13
- in /usr/src/new/PORT/B/src/bed/wide.c line 12

Last modified: 1985-08-27 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 464 |