File: p_type.web

package info (click to toggle)
fweb 1.62-14.1
  • links: PTS
  • area: main
  • in suites: sid
  • size: 7,400 kB
  • sloc: ansic: 41,945; makefile: 411; sh: 152
file content (166 lines) | stat: -rw-r--r-- 5,013 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
@z --- p_type.web ---

FWEB version 1.62 (September 25, 1998)

Based on version 0.5 of S. Levy's CWEB [copyright (C) 1987 Princeton University]

@x-----------------------------------------------------------------------------


\Title{P\_TYPE.WEB} % Prototypes for PROD.WEB.

@c 
@* PROTOTYPES for {\tt PROD.WEB}.  The function prototypes are macroed
up so that if |PROTOTYPES==1| (see \.{proto.hweb}) one gets full function
prototyping; otherwise just old-style declarations.

@I formats.hweb

@I os.hweb

@ The make file produces \.{p\_type.h} from these prototypes.
@A

#include SFILE(c_type.h) /* Prototypes for \.{common}. */

SRTN app_loop_num PROTO((int n));
SRTN app_str PROTO((CONST outer_char HUGE *s));
SRTN app_ASCII_str PROTO((CONST ASCII HUGE *s));
SRTN b_app PROTO((Token a));
SRTN b_app1 PROTO((scrap_pointer a));

SRTN C_productions PROTO((VOID));
SRTN C_ignore_scrap PROTO((VOID));
SRTN C_expr PROTO((VOID));
SRTN C_UNOP PROTO((VOID));
SRTN C_BINOP PROTO((VOID));
SRTN C_COMMA PROTO((VOID));
SRTN C__E PROTO((VOID));
SRTN C__E_ PROTO((VOID));
SRTN C_E_ PROTO((VOID));
SRTN C_new_like PROTO((VOID));
SRTN C_lproc PROTO((VOID));
SRTN C_LPRC PROTO((VOID));
SRTN C_space PROTO((VOID));
SRTN C_question PROTO((VOID));
SRTN C_int_like PROTO((VOID));
SRTN C_ext_like PROTO((VOID));
SRTN C_modifier PROTO((VOID));
SRTN C_huge_like PROTO((VOID));
SRTN C_decl_hd PROTO((VOID));
SRTN C_decl PROTO((VOID));
SRTN C_fn_decl PROTO((VOID));
SRTN C_functn PROTO((VOID));
SRTN C_typedef_like PROTO((VOID));
SRTN C_imp_reserved PROTO((VOID));
SRTN C_op_like PROTO((VOID));
SRTN C_class_like PROTO((VOID));
SRTN C_struct_like PROTO((VOID));
SRTN C_str_hd PROTO((VOID));
SRTN C_lpar PROTO((VOID));
SRTN C_lbracket PROTO((VOID));
SRTN C_rbracket PROTO((VOID));
SRTN C_lbrace PROTO((VOID));
SRTN C__unop PROTO((VOID));
SRTN C_unorbinop PROTO((VOID));
SRTN C_cast PROTO((VOID));
SRTN C_sizeof_like PROTO((VOID));
SRTN C__binop PROTO((VOID));
SRTN C_do_like PROTO((VOID));
SRTN C_for_like PROTO((VOID));
SRTN C_forhd PROTO((VOID));
SRTN C_if_like PROTO((VOID));
SRTN C_IF PROTO((VOID));
SRTN C_if_hd PROTO((VOID));
SRTN C_els_hd PROTO((VOID));
SRTN C_else PROTO((VOID));
SRTN C_ELS PROTO((VOID));
SRTN C_IF_top PROTO((VOID));
SRTN C_stmt PROTO((VOID));
SRTN C_case_like PROTO((VOID));
SRTN C_langle PROTO((VOID));
SRTN C_namespace PROTO((VOID));
SRTN C_rangle PROTO((VOID));
SRTN C_reference PROTO((VOID));
SRTN C_semi PROTO((VOID));
SRTN C_tag PROTO((VOID));
SRTN C_template PROTO((VOID));
SRTN C_tlist PROTO((VOID));
SRTN C_tstart PROTO((VOID));
SRTN C_virtual PROTO((VOID));
SRTN C_wh_do PROTO((VOID));

boolean compare_text PROTO((text_pointer t0,text_pointer t1));
SRTN defined_at PROTO((name_pointer p));
sixteen_bits first_id PROTO((text_pointer t));
text_pointer indirect PROTO((text_pointer t));
SRTN V_productions PROTO((VOID));
SRTN make_reserved PROTO((scrap_pointer p));
name_pointer make_underlined PROTO((scrap_pointer p));
SRTN prn_cat PROTO((eight_bits c));
SRTN prn_math PROTO((scrap_pointer a));
SRTN prn_text PROTO((text_pointer p));
SRTN prn_trans PROTO((scrap_pointer p));

SRTN R_productions PROTO((void));
SRTN R_expr PROTO((VOID));
SRTN R_key_wd PROTO((VOID));
SRTN R_exp_op PROTO((VOID));
SRTN R_program_like PROTO((VOID));
SRTN R_fcn_hd PROTO((VOID));
SRTN R_proc_like PROTO((VOID));
SRTN R_private_like PROTO((VOID));
SRTN R_int_like PROTO((VOID));
SRTN R_struct_like PROTO((VOID));
SRTN R_str_hd PROTO((VOID));
SRTN R_op_like PROTO((VOID));
SRTN R_dcl_hd PROTO((VOID));
SRTN R_decl PROTO((VOID));
SRTN R_functn PROTO((VOID));
SRTN R_lpar PROTO((VOID));
SRTN R_colon PROTO((VOID));
SRTN R_lbrace PROTO((VOID));
SRTN R_unop PROTO((VOID));
SRTN R_unorbinop PROTO((VOID));
SRTN R_slash_like PROTO((VOID));
SRTN R_binop PROTO((VOID));
SRTN R_Rdo_like PROTO((VOID));
SRTN R_do_like PROTO((VOID));
SRTN R_until_like PROTO((VOID));
SRTN R_if_like PROTO((VOID));
SRTN R_go_like PROTO((VOID));
SRTN R_end_like PROTO((VOID));
SRTN R_END PROTO((VOID));
SRTN R_endif_like PROTO((VOID));
SRTN R_if_hd PROTO((VOID));
SRTN R_else_like PROTO((VOID));
SRTN R_stmt PROTO((VOID));
SRTN R_CASE PROTO((VOID));
SRTN R_case_like PROTO((VOID));
SRTN R_tag PROTO((VOID));
SRTN R_label PROTO((VOID));
SRTN R_semi PROTO((VOID));
SRTN R_common_like PROTO((VOID));
SRTN R_cmn_hd PROTO((VOID));
SRTN R_read_like PROTO((VOID));
SRTN R_rd_hd PROTO((VOID));
SRTN R_implicit_like PROTO((VOID));
SRTN R_imp_hd PROTO((VOID));
SRTN R_assign_like PROTO((VOID));
SRTN R_entry_like PROTO((VOID));
SRTN R_define_like PROTO((VOID));
SRTN R_no_order PROTO((VOID));
SRTN R_built_in PROTO((VOID));
SRTN R_newline PROTO((VOID));

int get_language PROTO((text_pointer xp));
SRTN reduce PROTO((scrap_pointer j,short k,eight_bits c,short d,
	unsigned long n));
SRTN squash PROTO((scrap_pointer j,short k,eight_bits c,short d,
	unsigned long n));
sixteen_bits tok_val PROTO((scrap_pointer p));
text_pointer translate PROTO((PARSING_MODE mode0));
name_pointer underline_xref PROTO((name_pointer p));
SRTN X_productions PROTO((VOID));

@ Index: