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
Fwidth
defined in line
38; used 12 times
Hole
defined in line
15; used 52 times
- in /usr/src/new/B/src/bed/deco.c line
282,
311,
340,
619,
654
- in /usr/src/new/B/src/bed/demo.c line
815
- in /usr/src/new/B/src/bed/edit.c line
288,
319
- in /usr/src/new/B/src/bed/gram.c line
33,
163,
172
- in /usr/src/new/B/src/bed/ins2.c line
67,
131,
141,
174,
180,
216,
289,
313
- in /usr/src/new/B/src/bed/inse.c line
282,
308
- in /usr/src/new/B/src/bed/mkboot.c line
28,
52
- in /usr/src/new/B/src/bed/move.c line
394,
455
- in /usr/src/new/B/src/bed/outp.c line
81
- in /usr/src/new/B/src/bed/que1.c line
166,
253,
287,
472
- in /usr/src/new/B/src/bed/que2.c line
75,
167,
222,
265,
285,
306,
326,
406,
419
- in /usr/src/new/B/src/bed/supr.c line
80,
93,
183,
191,
204,
225,
232,
244,
783
- in /usr/src/new/B/src/bed/tabl.c line
516
- in /usr/src/new/B/src/bed/wide.c line
195,
290,
332
Optional
defined in line
14; used 69 times
- in /usr/src/new/B/src/bed/deco.c line
282,
311,
340,
619,
654
- in /usr/src/new/B/src/bed/demo.c line
651
- in /usr/src/new/B/src/bed/gram.c line
34,
163,
171-172(2),
238
- in /usr/src/new/B/src/bed/ins2.c line
131,
141,
174,
180,
289,
313
- in /usr/src/new/B/src/bed/inse.c line
282,
308
- in /usr/src/new/B/src/bed/mkboot.c line
29,
52,
194
- in /usr/src/new/B/src/bed/outp.c line
66
- in /usr/src/new/B/src/bed/que1.c line
61,
164,
177,
251,
287
- in /usr/src/new/B/src/bed/que2.c line
167,
223,
247,
265,
285,
306,
326,
406,
419-421(2)
- in /usr/src/new/B/src/bed/supr.c line
80,
93,
138,
183,
191,
204,
225,
232,
244
- in /usr/src/new/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/B/src/bed/wide.c line
195,
262,
290,
332
Usage of this include