annotate src/sink11mask.h @ 10404:631f1dac6f7a

Global polishing, some bugs corrected, dynamic allocation used instead of fixed length static buffers in many places. * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted. (append_to_tagfile, typedefs, typedefs_and_cplusplus, constantypedefs, update, vgrind_style, no_warnings, cxref_style, cplusplus, noindentypedefs): Were int, now logical. (permit_duplicates): Was a var, now a #define. (filename_lb): Was global, now local to main. (main): Open the tag file when in cxref mode. Use a BUFSIZ size buffer for making the shell commands. Look at the return value from the system routine. Exit when cannot open the tag file. (process_file): Open the file and pass the FILE* to find_entries. (find_entries): Now void, because does not open the file itself. (pfnote): Recovering from lack of memory does not work. Removed. Use savenstr and simplify the code. (free_tree): Only free the name space if node is named. (structtag): Now a pointer, not a fixed length array of chars. (consider_token): Don't take a token as argument. Use savenstr when saving a tag in structtag. Callers changed. (TOKEN): Structure changed. Now used only in C_entries. (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted. (C_entries): nameb and savenameb deleted. Use dinamic allocation. (pfcnt): Deleted. Users updated. (getit, Asm_labels, Pascal_functions, L_getit, get_scheme, TEX_getit, prolog_getit): Use dinamic allocation for storing the tag instead of a fixed size buffer.
author Francesco Potortì <pot@gnu.org>
date Thu, 12 Jan 1995 17:05:37 +0000
parents 3165b2697c78
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
484
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1 #define sink_mask_width 48
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
2 #define sink_mask_height 48
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
3 static char sink_mask_bits[] = {
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
4 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
5 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
6 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
7 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
8 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
9 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
10 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
11 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
12 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
13 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
14 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
15 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
16 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
17 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
18 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
19 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
20 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
21 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
22 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
23 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
24 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
25 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
26 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
27 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
28 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
29 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
30 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
31 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
32 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
33 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
34 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
35 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
36 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
37 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
38 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
39 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
40 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
41 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
42 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
43 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
44 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
45 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
46 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
47 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
48 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
49 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
50 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
3165b2697c78 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
51 0xff, 0xff, 0xff, 0xff, 0xff, 0xff};