1
2
3
4
5 declare cobol_lexeme$open entry (ptr);
6 declare cobol_lexeme$close entry(ptr);
7 declare cobol_lexeme$set entry(ptr,char(*),ptr);
8 declare cobol_lexeme$find_copy entry(ptr);
9 declare cobol_lexeme$find_replace entry(ptr);
10 declare cobol_lexeme$find_pseudo_text entry(ptr);
11 declare cobol_lexeme$text_word entry(ptr);
12 declare cobol_lexeme$token entry(ptr);
13 declare cobol_lexeme$cobol_lexeme entry(ptr);
14
15 dcl
16
17 1 lexeme_env based(lexeme_ptr),
18 2 token,
19 3 line fixed bin,
20 3 column fixed bin,
21 3 type fixed bin,
22 3 offset fixed bin(35),
23 3 span fixed bin,
24 3 string_size fixed bin(35),
25 3 string_cap fixed bin,
26 3 string_ptr ptr,
27 3 string char(32) varying,
28 3 col_7 char(1),
29 2 source_table,
30 3 line fixed bin,
31 3 loc ptr,
32 3 offset fixed bin(35),
33 3 size fixed bin(24),
34 2 current_line,
35 3 loc ptr,
36 3 column fixed bin,
37 3 size fixed bin,
38 3 length fixed bin,
39 3 offset fixed bin(35),
40 2 next_line,
41 3 loc ptr,
42 3 column fixed bin,
43 3 size fixed bin,
44 3 length fixed bin,
45 3 offset fixed bin(35),
46 2 alloc,
47 3 parity fixed bin,
48 3 ptr1 ptr,
49 3 ptr2 ptr,
50 3 cap1 fixed bin,
51 3 cap2 fixed bin,
52 2 error fixed bin,
53 2 pseudo_text fixed bin,
54 2 indicators,
55 3 copy_replace bit(1),
56 3 lc bit(1),
57 3 filler bit(7),
58 2 environment,
59 3 ecs_ptr ptr,
60 3 mem_tab_ptr ptr,
61 3 x_ptr ptr;
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