# 2.11BSD#431 - /usr/src/new/PORT/B/src/bint/b2syn.h

##### Macros

    Cap               X
    Ceol              X
    Char              X
    Dig               X
    Eol               X
    Eotc              X
    Letter            X
    Space             X
    Text              X

       1: /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
       2:
       3: /*
       4:   $Header: b2syn.h,v 1.4 85/08/22 16:43:04 timo Exp $
       5: */
       6:
       7: /* General parsing routines */
       8:
       9: #define Eotc '\0'
      10:
      11: #define Char(tx)    (*(tx))
      12: #define Eol(tx)     (Char(tx) == '\n')
      13: #define Ceol(tx)    (Char(tx) == '\\' || Eol(tx))
      14: #define Text(q)     (tx < q)
      15:
      16: #define Space(c)    ((c) == ' ' || (c) == '\t')
      17:
      18: #define Letter(c)   ('a'<=c&&c<='z')
      19: #define Cap(c)      ('A'<=c&&c<='Z')
      20: #define Dig(c)      ('0'<=c&&c<='9')
      21:
      22: /* Procedure skipsp(); */
      23: /* Procedure upto(); */
      24: /* Procedure need(); */
      25: /* Procedure findceol(); */
      26: /* Procedure req(); */
      27: /* Procedure veli(); */
      28:
      29: bool keymark();
      30:
      31: txptr fcol();
      32: bool nothing();
      33: bool ateol();
      34: bool findkw();
      35: value keyword();
      36: value tag();
      37: bool find();
      38:
      39: extern txptr tx, ceol, first_col;
      40: extern intlet cur_ilev;
      41: intlet ilev();
      42:
      43: extern value kwlist;
      44:
      45: value cr_text();
      46: bool is_keyword();
      47: bool is_tag();
      48: bool findrel();
      49: extern string textsign;
      50:
      51: bool is_expr();
      52:
      53: #ifdef NOT_USED
      54: bool colon_sign();
      55: #endif
      56: bool comment_sign();
      57: bool nwl_sign();
      58: bool open_sign();
      59: #ifdef NOT_USED
      60: bool close_sign();
      61: bool comma_sign();
      62: #endif
      63: bool point_sign();
      64: bool apostrophe_sign();
      65: bool quote_sign();
      66: bool conv_sign();
      67: bool curlyopen_sign();
      68: bool curlyclose_sign();
      69: bool sub_sign();
      70: #ifdef NOT_USED
      71: bool bus_sign();
      72: #endif
      73: bool behead_sign();
      74: bool curtl_sign();
      75: bool about_sign();
      76: bool plus_sign();
      77: bool minus_sign();
      78: bool times_sign();
      79: bool over_sign();
      80: bool power_sign();
      81: bool numtor_sign();
      82: bool denomtor_sign();
      83: bool join_sign();
      84: bool reptext_sign();
      85: bool leftadj_sign();
      86: bool center_sign();
      87: bool rightadj_sign();
      88: bool number_sign();
      89: bool less_than_sign();
      90: bool at_most_sign();
      91: bool equals_sign();
      92: bool unequal_sign();
      93: bool at_least_sign();
      94: bool greater_than_sign();
      95:
      96: bool dyamon_sign();
      97: bool dya_sign();
      98: bool mon_sign();
      99: bool trim_sign();
     100:
     101: bool check_keyword();
     102: bool choose_keyword();
     103: bool delete_keyword();
     104: bool draw_keyword();
     105: bool insert_keyword();
     106: bool put_keyword();
     107: bool read_keyword();
     108: bool remove_keyword();
     109: bool setrandom_keyword();
     110: bool write_keyword();
     111: bool fail_keyword();
     112: bool quit_keyword();
     113: bool return_keyword();
     114: bool report_keyword();
     115: bool succeed_keyword();
     116: bool if_keyword();
     117: bool select_keyword();
     118: bool while_keyword();
     119: bool for_keyword();
     120: bool else_keyword();
     121: #ifdef NOT_USED
     122: bool and_keyword();
     123: bool or_keyword();
     124: #endif
     125: bool not_keyword();
     126: bool some_keyword();
     127: bool each_keyword();
     128: bool no_keyword();
     129: bool how_to_keyword();
     130: bool yield_keyword();
     131: bool test_keyword();
     132: bool share_keyword();

#### Defined macros

Cap defined in line 19; used 7 times

- in /usr/src/new/PORT/B/src/bint/b2stc.c line 173
- in /usr/src/new/PORT/B/src/bint/b2syn.c line 43, 96, 106, 124, 204, 211

Ceol defined in line 13; used 5 times

- in /usr/src/new/PORT/B/src/bint/b2cmd.c line 136-139(2)
- in /usr/src/new/PORT/B/src/bint/b3mai.c line 281
- in /usr/src/new/PORT/B/src/bint/b3sou.c line 392, 649

Char defined in line 11; used 139 times

- in line 12-13(2)
- in /usr/src/new/PORT/B/src/bint/b1nuC.c line 213-223(5), 231-232(2), 240-243(3), 256, 267-274(4)
- in /usr/src/new/PORT/B/src/bint/b2cmd.c line 64, 142-143(3)
- in /usr/src/new/PORT/B/src/bint/b2exp.c line 288-294(5), 308, 335-337(4), 387, 398
- in /usr/src/new/PORT/B/src/bint/b2syn.c line 39, 69-72(3), 84-85(4), 96-111(5), 118, 124-128(3), 162-168(5), 191, 198-204(3), 211-212(2), 237, 256-257(2), 266, 301-305(4), 358-363(3), 369-387(5), 393-529(48)
- in /usr/src/new/PORT/B/src/bint/b2tes.c line 109
- in /usr/src/new/PORT/B/src/bint/b2uni.c line 309
- in /usr/src/new/PORT/B/src/bint/b3err.c line 162-163(2)
- in /usr/src/new/PORT/B/src/bint/b3mai.c line 253-263(4), 282(3)
- in /usr/src/new/PORT/B/src/bint/b3scr.c line 368
- in /usr/src/new/PORT/B/src/bint/b3sou.c line 348-349(2)

Dig defined in line 20; used 8 times

- in /usr/src/new/PORT/B/src/bint/b2exp.c line 288, 294, 308
- in /usr/src/new/PORT/B/src/bint/b2syn.c line 43-47(2), 55, 84-85(2)

Eol defined in line 12; used 5 times

- in line 13
- in /usr/src/new/PORT/B/src/bint/b2cmd.c line 65
- in /usr/src/new/PORT/B/src/bint/b2syn.c line 251, 286
- in /usr/src/new/PORT/B/src/bint/b3err.c line 163

Eotc defined in line 9; used 1 times

- in /usr/src/new/PORT/B/src/bint/b3err.c line 163

Letter defined in line 18; used 5 times

- in /usr/src/new/PORT/B/src/bint/b2syn.c line 47-55(3), 191, 198

Space defined in line 16; used 5 times

- in /usr/src/new/PORT/B/src/bint/b2cmd.c line 64, 142
- in /usr/src/new/PORT/B/src/bint/b2syn.c line 39, 301
- in /usr/src/new/PORT/B/src/bint/b3err.c line 162

Text defined in line 14; used 39 times

- in /usr/src/new/PORT/B/src/bint/b2cmd.c line 214-215(2)
- in /usr/src/new/PORT/B/src/bint/b2exp.c line 53, 59-67(3), 108, 122-126(2), 139-142(2), 192, 203, 222, 256-259(2), 291-297(3), 308, 334, 471, 485, 492, 529, 548-550(2), 587
- in /usr/src/new/PORT/B/src/bint/b2syn.c line 228, 236
- in /usr/src/new/PORT/B/src/bint/b2tes.c line 126, 175-178(2), 195, 206
- in /usr/src/new/PORT/B/src/bint/b2uni.c line 92-95(2), 198, 210

#### Usage of this include

b2syn.h used 12 times

- in /usr/src/new/PORT/B/src/bint/b1nuC.c line 14
- in /usr/src/new/PORT/B/src/bint/b2cmd.c line 12
- in /usr/src/new/PORT/B/src/bint/b2exp.c line 10
- in /usr/src/new/PORT/B/src/bint/b2stc.c line 12
- in /usr/src/new/PORT/B/src/bint/b2syn.c line 11
- in /usr/src/new/PORT/B/src/bint/b2tar.c line 10
- in /usr/src/new/PORT/B/src/bint/b2tes.c line 11
- in /usr/src/new/PORT/B/src/bint/b2uni.c line 12
- in /usr/src/new/PORT/B/src/bint/b3err.c line 31
- in /usr/src/new/PORT/B/src/bint/b3mai.c line 15
- in /usr/src/new/PORT/B/src/bint/b3scr.c line 15
- in /usr/src/new/PORT/B/src/bint/b3sou.c line 15

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