COMPILATION LISTING OF SEGMENT descriptor_parse Compiled by: Multics PL/I Compiler, Release 33c, of October 25, 1990 Compiled at: ACTC Technologies Inc. Compiled on: 92-04-24_1117.20_Fri_mdt Options: optimize map 1 /* *********************************************************** 2* * * 3* * Copyright, (C) Honeywell Information Systems Inc., 1982 * 4* * * 5* * Copyright (c) 1972 by Massachusetts Institute of * 6* * Technology and Honeywell Information Systems, Inc. * 7* * * 8* *********************************************************** */ 9 10 11 /* 12*This procedure is called to parse description lists. 13*Description lists occur in three contexts: 14* entry(description_list) in the entry attribute 15* returns(description_list) in the returns attribute 16* when(description_list) in the when clause of the generic attribute 17* 18*Input: 19* k is on the left parenthesis 20* 21*Output: 22* k is on the right parenthesis 23* the return pointer is null if () else 24* the return pointer points to the first list(2) item. 25* list.element(1) points to the major symbol 26* list.element(2) points to the next list(2) item or is null. 27* the major symbol son pointer points to the sons or is null. 28* the sons, if any, are properly linked, i.e. the father, brother, and son 29* pointers are set correctly. 30* The names associated with the symbols are constructed as follows: 31* if token is null, a compiler generated name is used. 32* if token is not null, its string concatenated with char(n), 33* where n is the major symbol number, concatenated with "]" is used. 34**/ 35 36 descriptor_parse: proc(cblock,token,k) returns(ptr); 37 38 /* Modified 780814 by PG to work as specified for null lists */ 39 40 /* parameters */ 41 42 dcl (cblock ptr, 43 token ptr, 44 k fixed bin (15)) parameter; 45 46 /* automatic */ 47 48 declare (name,listptr,previous_listptr,previous_descriptor,p,s) pointer; 49 dcl n fixed bin (15); 50 dcl level fixed bin(8); 51 dcl in_generic bit(1) aligned; 52 53 /* builtins */ 54 55 dcl null builtin; 56 57 /* include files */ 58 1 1 /* BEGIN INCLUDE FILE parse.incl.pl1 */ 1 2 1 3 1 4 /****^ HISTORY COMMENTS: 1 5* 1) change(91-01-09,Blackmore), approve(91-01-09,MCR8234), 1 6* audit(91-12-05,Huen), install(92-04-24,MR12.5-1011): 1 7* Change entry points for 'lex', 'lex$write_last_line', and 1 8* 'statement_type', for constant reference resolution fix. 1 9* END HISTORY COMMENTS */ 1 10 1 11 declare attribute_parse entry(ptr,ptr,fixed bin(15),bit(1) aligned); 1 12 /* parameter 1: (input) block node ptr */ 1 13 /* parameter 2: (input) symbol node ptr */ 1 14 /* parameter 3: (in/out) token index */ 1 15 /* parameter 4: (input) called while doing generic */ 1 16 1 17 declare context entry(ptr,ptr,fixed bin(15)); 1 18 /* parameter 1: (input) usually token node ptr */ 1 19 /* parameter 2: (input) block node ptr */ 1 20 /* parameter 3: (input) context type */ 1 21 1 22 declare data_list_parse entry(fixed bin(15),ptr,ptr) 1 23 returns(bit(1) aligned); 1 24 /* parameter 1: (in/out) token index */ 1 25 /* parameter 2: (input) block node ptr */ 1 26 /* parameter 3: (output) data list parse tree ptr */ 1 27 /* return: (output) valid parse bit */ 1 28 1 29 declare declare_label entry(ptr,ptr,ptr,bit(3) aligned); 1 30 /* parameter 1: (input) block node ptr */ 1 31 /* parameter 2: (input) statement node ptr */ 1 32 /* parameter 3: (input) label list ptr or null */ 1 33 /* parameter 4: (input) declare type */ 1 34 1 35 declare declare_parse entry(fixed bin(15),ptr,ptr); 1 36 /* parameter 1: (input) token index */ 1 37 /* parameter 2: (input) block node ptr */ 1 38 /* parameter 3: (input) label list ptr or null */ 1 39 1 40 declare declare_parse$abort entry(fixed bin(15),ptr); 1 41 /* parameter 1: (input) error number */ 1 42 /* parameter 2: (input) any node ptr */ 1 43 1 44 declare default_parse entry(fixed bin(15),ptr,ptr); 1 45 /* parameter 1: (input) token index */ 1 46 /* parameter 2: (input) block node ptr */ 1 47 /* parameter 3: (input) label list ptr or null */ 1 48 1 49 declare descriptor_parse entry(ptr,ptr,fixed bin(15)) 1 50 returns(ptr); 1 51 /* parameter 1: (input) block node ptr */ 1 52 /* parameter 2: (input) token node ptr or null */ 1 53 /* parameter 3: (in/out) token index */ 1 54 /* return: (output) symbol node ptr */ 1 55 1 56 declare do_parse entry(fixed bin(15),ptr,bit(12) aligned,ptr,ptr, 1 57 bit(1) aligned,bit(1) aligned,bit(1) aligned); 1 58 /* parameter 1: (in/out) token index */ 1 59 /* parameter 2: (input) label list ptr or null */ 1 60 /* parameter 3: (input) conditions */ 1 61 /* parameter 4: (input) father block node ptr */ 1 62 /* parameter 5: (output) end ptr */ 1 63 /* parameter 6: (input) entry bit */ 1 64 /* parameter 7: (input) return bit */ 1 65 /* parameter 8: (input) iterative do bit */ 1 66 1 67 declare evaluate entry(bit(9) aligned,ptr,ptr) returns(ptr); 1 68 /* parameter 1: (input) opcode */ 1 69 /* parameter 2: (input) left operand (token ptr) */ 1 70 /* parameter 3: (input) right operand (token ptr) */ 1 71 /* return: (output) ptr to result node */ 1 72 1 73 declare expression_parse entry(fixed bin(15),ptr) 1 74 returns(ptr); 1 75 /* parameter 1: (in/out) token index */ 1 76 /* parameter 2: (input) block node ptr */ 1 77 /* return: (output) expression parse tree ptr */ 1 78 1 79 declare format_list_parse entry(fixed bin(15),ptr,ptr,ptr) 1 80 returns(bit(1) aligned); 1 81 /* parameter 1: (in/out) token index */ 1 82 /* parameter 2: (input) block node ptr */ 1 83 /* parameter 3: (input) statement node ptr */ 1 84 /* parameter 4: (output) format list parse tree ptr */ 1 85 /* return: (output) valid parse bit */ 1 86 1 87 declare if_parse entry(fixed bin(15),ptr,bit(12) aligned,ptr,ptr, 1 88 bit(1) aligned); 1 89 /* parameter 1: (in/out) token index */ 1 90 /* parameter 2: (input) label list ptr or null */ 1 91 /* parameter 3: (input) conditions */ 1 92 /* parameter 4: (input) father block node ptr */ 1 93 /* parameter 5: (input) end ptr */ 1 94 /* parameter 6: (output) valid parse bit */ 1 95 1 96 declare io_statement_parse entry(fixed bin(15),ptr,bit(12) aligned,ptr,ptr, 1 97 bit(1) aligned,bit(9) aligned); 1 98 /* parameter 1: (in/out) token index */ 1 99 /* parameter 2: (input) label list ptr or null */ 1 100 /* parameter 3: (input) conditions */ 1 101 /* parameter 4: (input) father block node ptr */ 1 102 /* parameter 5: (output) end ptr */ 1 103 /* parameter 6: (output) valid parse bit */ 1 104 /* parameter 7: (output) statement type */ 1 105 1 106 declare lex entry(ptr); 1 107 /* parameter 1: (input) block node ptr */ 1 108 1 109 declare lex$write_last_line entry(ptr); 1 110 /* parameter 1: (input) block nod  0/~C;" ϣ`^4A.y  0/~t\D>DblDdJ;#ϣ`^4A.y  0/~HR\DjD@DF8;#ϣ`^4A.y  0/~\DDDr %;#ϣ`^4A.y  0/~~(\DD~D~@;#ϣ`^4A.y  0/~~\DD~D~;#ϣ`^4A.y  0/~~ \DD>~D~q@;#ϣ`^4A.y  0/~~l \DFDj~dD"~\;#ϣ`^4A.y  0/~~@ \DrD~8DN~0N;#ϣ`^4A.y  0/~~ v\DD~ Dz~;#ϣ`^4A.y  0/~~\DD~D~؊$;#ϣ`^4A.y  0/~~#\DE>~D~@;#tNϣ`^4A.y  0/~~D>*~;#g~ϣ`^4A.y  0/~~l\EFEj~dE"~\e;#Yϣ`^4A.y  0/~~@.\ErE~8EN~0;#Mϣ`^4A.y  0/~~c\EE~ Ez~7;#?fϣ`^4A.y  0/~}\EE}E}؊@;#2.ϣ`^4A.y  0/~}\EE}E} ;#%ϣ`^4A.y  0/~}L\E"EF}E}q;#ϣ`^4A.y  0/~}d\ENE}\E*}T;# ϣ`^4A.y  0/~}8EVɖ}0G@;#nϣ`^4A.y  0/~}!9\EE} Ez};#6ϣ`^4A.y  0/~}"\EE}E}؊@;#ϣ`^4A.y  0/~}$\EF}E};6 Jun 1979 by PG to add rank and byte 2 17* * Modified: 9 Jul 1989 by RW updated the declaration of error_ 2 18* */ 2 19 2 20 declare adjust_count entry(pointer); 2 21 /* parameter 1: (input) any node pointer */ 2 22 2 23 declare bindec entry(fixed bin(31)) reducible 2 24 returns(character(12) aligned); 2 25 /* parameter 1: (input) bin value */ 2 26 /* return: (output) character value with blanks */ 2 27 2 28 declare bindec$vs entry(fixed bin(31)) reducible 2 29 returns(character(12) aligned varying); 2 30 /* parameter 1: (input) binary value */ 2 31 /* return: (output) char value without blanks */ 2 32 2 33 declare binoct entry(fixed bin(31)) reducible 2 34 returns(char(12) aligned); 2 35 /* parameter 1: (input) binary value */ 2 36 /* return: (output) char value with blanks */ 2 37 2 38 declare binary_to_octal_string entry(fixed bin(31)) reducible 2 39 returns(char(12) aligned); 2 40 /* parameter 1: (input) binary value */ 2 41 /* return: (output) right-aligned char value */ 2 42 2 43 declare binary_to_octal_var_string entry(fixed bin(31)) reducible 2 44 returns(char(12) varying aligned); 2 45 /* parameter 1: (input) binary value */ 2 46 /* returns: (output) char value without blanks */ 2 47 2 48 declare compare_expression entry(pointer,pointer) reducible 2 49 returns(bit(1) aligned); 2 50 /* parameter 1: (input) any node pointer */ 2 51 /* parameter 2: (input) any node pointer */ 2 52 /* return: (output) compare bit */ 2 53 2 54 declare constant_length entry (pointer, fixed bin (71)) 2 55 returns (bit (1) aligned); 2 56 /* parameter 1: (input) reference node pointer */ 2 57 /* parameter 2: (input) value of constant length */ 2 58 /* return: (output) "1"b if constant length */ 2 59 2 60 declare convert entry(pointer,bit(36) aligned) 2 61 returns(pointer); 2 62 /* parameter 1: (input) any node pointer */ 2 63 /* parameter 2: (input) target type */ 2 64 /* return: (output) target value tree pointer */ 2 65 2 66 declare convert$to_integer entry(pointer,bit(36)aligned) 2 67 returns(pointer); 2 68 /* parameter 1: (input) any node pointer */ 2 69 /* parameter 2: (input) target type */ 2 70 /* return: (output) target value tree pointer */ 2 71 2 72 declare convert$from_builtin entry(pointer,bit(36) aligned) 2 73 returns(pointer); 2 74 /* parameter 1: (input) any node pointer */ 2 75 /* parameter 2: (input) target type */ 2 76 /* return: (output) target value tree pointer */ 2 77 2 78 declare convert$validate entry(pointer,pointer); 2 79 /* parameter 1: (input) source value tree pointer */ 2 80 /* parameter 2: (input) target reference node pointer */ 2 81 2 82 declare convert$to_target_fb entry(pointer,pointer) 2 83 returns(pointer); 2 84 /* parameter 1: (input) source value tree pointer */ 2 85 /* parameter 2: (input) target reference node pointer */ 2 86 /* return: (output) target value tree pointer */ 2 87 2 88 declare convert$to_target entry(pointer,pointer) 2 89 returns(pointer); 2 90 /* parameter 1: (input) source value tree pointer */ 2 91 /* parameter 2: (input) target reference node pointer */ 2 92 /* return: (output) target value tree pointer */ 2 93 2 94 declare copy_expression entry(pointer unaligned) 2 95 returns(pointer); 2 96 /* parameter 1: (input) any node pointer */ 2 97 /* return: (output) any node pointer */ 2 98 2 99 declare copy_expression$copy_sons entry(pointer,pointer); 2 100 /* parameter 1: (input) father symbol node pointer */ 2 101 /* parameter 2: (input) stepfather symbol node ptr */ 2 102 2 103 declare copy_unique_expression entry(pointer) 2 104 returns(pointer); 2 105 /* parameter 1: (input) any node pointer */ 2 106 /* return: (output) any node pointer */ 2 107 2 108 declare create_array entry() 2 109 returns(pointer); 2 110 /* return: (output) array node pointer */ 2 111 2 112 declare create_block entry(bit(9) aligned,pointer) 2 113 returns(pointer); 2 114 /* parameter 1: (input) block type */ 2 115 /* parameter 2: (input) father block node pointer */ 2 116 /* return: (output) block node pointer */ 2 117 2 118 declare create_bound entry() 2 119 returns(pointer); 2 120 /* return: (output) bound node pointer */ 2 121 2 122 declare create_context entry(pointer,pointer) 2 123 returns(pointer); 2 124 /* parameter 1: (input) block node pointer */ 2 125 /* parameter 2: (input) token pointer */ 2 126 /* return: (output) context node pointer */ 2 127 2 128 declare create_cross_reference entry() 2 129 returns(pointer); 2 130 /* return: (output) cross reference node pointer */ 2 131 2 132 declare create_default entry 2 133 returns(pointer); 2 134 /* return: (output) default node pointer */ 2 135 2 136 declare create_identifier entry() 2 137 returns(pointer); 2 138 /* return: (output) token node pointer */ 2 139 2 140 declare create_label entry(pointer,pointer,bit(3) aligned) 2 141 returns(pointer); 2 142 /* parameter 1: (input) block node pointer */ 2 143 /* parameter 2: (input) token node pointer */ 2 144 /* parameter 3: (input) declare type */ 2 145 /* return: (output) label node pointer */ 2 146 2 147 declare create_list entry(fixed bin(15)) 2 148 returns(pointer); 2 149 /* parameter 1: (input) number of list elements */ 2 150 /* return: (output) list node pointer */ 2 151 2 152 declare create_operator entry(bit(9) aligned,fixed bin(15)) 2 153 returns(pointer); 2 154 /* parameter 1: (input) operator type */ 2 155 /* parameter 2: (input) number of operands */ 2 156 /* return: (output) operator node pointer */ 2 157 2 158 declare create_reference entry(pointer) 2 159 returns(pointer); 2 160 /* parameter 1: (input) symbol node pointer */ 2 161 /* return: (output) reference node pointer */ 2 162 2 163 declare create_statement entry(bit(9) aligned,pointer,pointer,bit(12) aligned) 2 164 returns(pointer); 2 165 /* parameter 1: (input) statement type */ 2 166 /* parameter 2: (input) block node pointer */ 2 167 /* parameter 3: (input) label node pointer */ 2 168 /* parameter 4: (input) conditions */ 2 169 /* return: (output) statement node pointer */ 2 170 2 171 declare create_statement$prologue entry(bit(9) aligned,pointer,pointer,bit(12) aligned) 2 172 returns(pointer); 2 173 /* parameter 1: (input) statement type */ 2 174 /* parameter 2: (input) block node pointer */ 2 175 /* parameter 3: (input) label node pointer */ 2 176 /* parameter 4: (input) conditions */ 2 177 /* return: (output) statement node pointer */ 2 178 2 179 declare create_storage entry(fixed bin(15)) 2 180 returns(pointer); 2 181 /* parameter 1: (input) number of words */ 2 182 /* return: (output) storage block pointer */ 2 183 2 184 declare create_symbol entry(pointer,pointer,bit(3) aligned) 2 185 returns(pointer); 2 186 /* parameter 1: (input) block node pointer */ 2 187 /* parameter 2: (input) token node pointer */ 2 188 /* parameter 3: (input) declare type */ 2 189 /* return: (output) symbol node pointer */ 2 190 2 191 declare create_token entry (character (*), bit (9) aligned) 2 192 returns (ptr); 2 193 /* parameter 1: (input) token string */ 2 194 /* parameter 2: (input) token type */ 2 195 /* return: (output) token node ptr */ 2 196 2 197 declare create_token$init_hash_table entry (); 2 198 2 199 declare create_token$protected entry (char (*), bit (9) aligned, bit (18) aligned) 2 200 returns (ptr); 2 201 /* parameter 1: (input) token string */ 2 202 /* parameter 2: (input) token type */ 2 203 /* parameter 3: (input) protected flag */ 2 204 /* return: (output) token node ptr */ 2 205 2 206 declare decbin entry(character(*) aligned) reducible 2 207 returns(fixed bin(31)); 2 208 /* parameter 1: (input) decimal character string */ 2 209 /* return: (output) binary value */ 2 210 2 211 declare declare_constant entry(bit(*) aligned,bit(36) aligned,fixed bin(31),fixed bin(15)) 2 212 returns(pointer); 2 213 /* parameter 1: (input) value */ 2 214 /* parameter 2: (input) type */ 2 215 /* parameter 3: (input) size */ 2 216 /* parameter 4: (input) scale */ 2 217 /* return: (output) reference node pointer */ 2 218 2 219 declare declare_constant$bit entry(bit(*) aligned) 2 220 returns(pointer); 2 221 /* parameter 1: (input) bit */ 2 222 /* return: (output) reference node pointer */ 2 223 2 224 declare declare_constant$char entry(character(*) aligned) 2 225 returns(pointer); 2 226 /* parameter 1: (input) character */ 2 227 /* return: (output) reference node pointer */ 2 228 2 229 declare declare_constant$desc entry(bit(*) aligned) 2 230 returns(pointer); 2 231 /* parameter 1: (input) descriptor bit value */ 2 232 /* return: (output) reference node pointer */ 2 233 2 234 declare declare_constant$integer entry(fixed bin(31)) /* note...should really be fixed bin(24) */ 2 235 returns(pointer); 2 236 /* parameter 1: (input) integer */ 2 237 /* return: (output) reference node pointer */ 2 238 2 239 declare declare_descriptor entry(pointer,pointer,pointer,pointer,bit(2) aligned) 2 240 returns(pointer); 2 241 /* parameter 1: (input) block node pointer */ 2 242 /* parameter 2: (input) statement node pointer */ 2 243 /* parameter 3: (input) symbol node pointer */ 2 244 /* parameter 4: (input) loc pointer */ 2 245 /* parameter 5: (input) array descriptor bit 2 246* cross_section bit */ 2 247 /* return: (output) reference node pointer */ 2 248 2 249 declare declare_descriptor$ctl entry(pointer,pointer,pointer,pointer,bit(2) aligned) 2 250 returns(pointer); 2 251 /* parameter 1: (input) block node pointer */ 2 252 /* parameter 2: (input) statement node pointer */ 2 253 /* parameter 3: (input) symbol node pointer */ 2 254 /* parameter 4: (input) loc pointer */ 2 255 /* parameter 5: (input) array descriptor bit 2 256* cross_section bit */ 2 257 /* return: (output) reference node pointer */ 2 258 2 259 declare declare_descriptor$param entry(pointer,pointer,pointer,pointer,bit(2) aligned) 2 260 returns(pointer); 2 261 /* parameter 1: (input) block node pointer */ 2 262 /* parameter 2: (input) statement node pointer */ 2 263 /* parameter 3: (input) symbol node pointer */ 2 264 /* parameter 4: (input) loc pointer */ 2 265 /* parameter 5: (input) array descriptor bit 2 266* cross_section bit */ 2 267 /* return: (output) reference node pointer */ 2 268 2 269 declare declare_integer entry(pointer) 2 270 returns(pointer); 2 271 /* parameter 1: (input) block node pointer */ 2 272 /* return: (output) reference node pointer */ 2 273 2 274 declare declare_picture entry(char(*)aligned,pointer,fixed bin(15)); 2 275 /* parameter 1: (input) picture string */ 2 276 /* parameter 2: (input) symbol node pointer */ 2 277 /* parameter 3: (output) error code, if any */ 2 278 2 279 declare declare_picture_temp entry(char(*) aligned,fixed bin(31),bit(1) aligned,bit(1) aligned) 2 280 returns(pointer); 2 281 /* parameter 1: (input) picture string */ 2 282 /* parameter 2: (input) scalefactor of picture */ 2 283 /* parameter 3: (input) ="1"b => complex picture */ 2 284 /* parameter 4: (input) ="1"b => unaligned temp */ 2 285 /* return: (output) reference node pointer */ 2 286 2 287 declare declare_pointer entry(pointer) 2 288 returns(pointer); 2 289 /* parameter 1: (input) block node pointer */ 2 290 /* return: (output) reference node pointer */ 2 291 2 292 declare declare_temporary entry(bit(36) aligned,fixed bin(31),fixed bin(15),pointer) 2 293 returns(pointer); 2 294 /* parameter 1: (input) type */ 2 295 /* parameter 2: (input) precision */ 2 296 /* parameter 3: (input) scale */ 2 297 /* parameter 4: (input) length */ 2 298 /* return: (output) reference node pointer */ 2 299 2 300 declare decode_node_id entry(pointer,bit(1) aligned) 2 301 returns(char(120) varying); 2 302 /* parameter 1: (input) node pointer */ 2 303 /* parameter 2: (input) ="1"b => capitals */ 2 304 /* return: (output) source line id */ 2 305 2 306 declare decode_source_id entry( 3 1 1 structure unaligned, 3 2 2 /* file_number */ bit(8), 3 3 2 /* line_number */ bit(14), 3 4 2 /* stmt_number */ bit(5), 2 307 2 308 bit(1) aligned) 2 309 returns(char(120) varying); 2 310 /* parameter 1: (input) source id */ 2 311 /* parameter 2: (input) ="1"b => capitals */ 2 312 /* return: (output) source line id */ 2 313 2 314 declare error entry(fixed bin(15),pointer,pointer); 2 315 /* parameter 1: (input) error number */ 2 316 /* parameter 2: (input) statement node pointer or null*/ 2 317 /* parameter 3: (input) token node pointer */ 2 318 2 319 declare error$omit_text entry(fixed bin(15),pointer,pointer); 2 320 /* parameter 1: (input) error number */ 2 321 /* parameter 2: (input) statement node pointer or null*/ 2 322 /* parameter 3: (input) token node pointer */ 2 323 2 324 declare error_ entry(fixed bin(15), 4 1 1 structure unaligned, 4 2 2 /* file_number */ bit(8), 4 3 2 /* line_number */ bit(14), 4 4 2 /* stmt_number */ bit(5), 2 325 2 326 pointer,fixed bin(8),fixed bin(23),fixed bin(11)); 2 327 /* parameter 1: (input) error number */ 2 328 /* parameter 2: (input) statement id */ 2 329 /* parameter 3: (input) any node pointer */ 2 330 /* parameter 4: (input) source segment */ 2 331 /* parameter 5: (input) source starting character */ 2 332 /* parameter 6: (input) source length */ 2 333 2 334 declare error_$no_text entry(fixed bin(15), 5 1 1 structure unaligned, 5 2 2 /* file_number */ bit(8), 5 3 2 /* line_number */ bit(14), 5 4 2 /* stmt_number */ bit(5), 2 335 2 336 pointer); 2 337 /* parameter 1: (input) error number */ 2 338 /* parameter 2: (input) statement id */ 2 339 /* parameter 3: (input) any node pointer */ 2 340 2 341 declare error_$initialize_error entry(); 2 342 2 343 declare error_$finish entry(); 2 344 2 345 declare free_node entry(pointer); 2 346 /* parameter 1: any node pointer */ 2 347 2 348 declare get_array_size entry(pointer,fixed bin(3)); 2 349 /* parameter 1: (input) symbol node pointer */ 2 350 /* parameter 2: (input) units */ 2 351 2 352 declare get_size entry(pointer); 2 353 /* parameter 1: (input) symbol node pointer */ 2 354 2 355 declare merge_attributes external entry(pointer,pointer) 2 356 returns(bit(1) aligned); 2 357 /* parameter 1: (input) target symbol node pointer */ 2 358 /* parameter 2: (input) source symbol node pointer */ 2 359 /* return: (output) "1"b if merge was unsuccessful */ 2 360 2 361 declare optimizer entry(pointer); 2 362 /* parameter 1: (input) root pointer */ 2 363 2 364 declare parse_error entry(fixed bin(15),pointer); 2 365 /* parameter 1: (input) error number */ 2 366 /* parameter 2: (input) any node pointer */ 2 367 2 368 declare parse_error$no_text entry(fixed bin(15),pointer); 2 369 /* parameter 1: (input) error number */ 2 370 /* parameter 2: (input) any node pointer */ 2 371 2 372 declare pl1_error_print$write_out 2 373 entry(fixed bin(15), 6 1 1 structure unaligned, 6 2 2 /* file_number */ bit(8), 6 3 2 /* line_number */ bit(14), 6 4 2 /* stmt_number */ bit(5), 2 374 2 375 pointer,fixed bin(11),fixed bin(31),fixed bin(31),fixed bin(15)); 2 376 /* parameter 1: (input) error number */ 2 377 /* parameter 2: (input) statement identification */ 2 378 /* parameter 3: (input) any node pointer */ 2 379 /* parameter 4: (input) source segment */ 2 380 /* parameter 5: (input) source character index */ 2 381 /* parameter 6: (input) source length */ 2 382 /* parameter 7: (input) source line */ 2 383 2 384 declare pl1_error_print$listing_segment 2 385 entry(fixed bin(15), 7 1 1 structure unaligned, 7 2 2 /* file_number */ bit(8), 7 3 2 /* line_number */ bit(14), 7 4 2 /* stmt_number */ bit(5), 2 386 2 387 pointer); 2 388 /* parameter 1: (input) error number */ 2 389 /* parameter 2: (input) statement identification */ 2 390 /* parameter 3: (input) token node pointer */ 2 391 2 392 declare pl1_print$varying entry(character(*) aligned varying); 2 393 /* parameter 1: (input) string */ 2 394 2 395 declare pl1_print$varying_nl entry(character(*) aligned varying); 2 396 /* parameter 1: (input) string */ 2 397 2 398 declare pl1_print$non_varying entry(character(*) aligned,fixed bin(31)); 2 399 /* parameter 1: (input) string */ 2 400 /* parameter 2: (input) string length or 0 */ 2 401 2 402 declare pl1_print$non_varying_nl entry(character(*) aligned,fixed bin(31)); 2 403 /* parameter 1: (input) string */ 2 404 /* parameter 2: (input) string length or 0 */ 2 405 2 406 declare pl1_print$string_pointer entry(pointer,fixed bin(31)); 2 407 /* parameter 1: (input) string pointer */ 2 408 /* parameter 2: (input) string size */ 2 409 2 410 declare pl1_print$string_pointer_nl entry(pointer,fixed bin(31)); 2 411 /* parameter 1: (input) string pointer */ 2 412 /* parameter 2: (input) string length or 0 */ 2 413 2 414 declare pl1_print$unaligned_nl entry(character(*) unaligned,fixed bin(31)); 2 415 /* parameter 1: (input) string */ 2 416 /* parameter 2: (input) length */ 2 417 2 418 declare pl1_print$for_lex entry (ptr, fixed bin (14), fixed bin (21), fixed bin (21), bit (1) aligned, bit (1) aligned); 2 419 /* parameter 1: (input) ptr to base of source segment */ 2 420 /* parameter 2: (input) line number */ 2 421 /* parameter 3: (input) starting offset in source seg */ 2 422 /* parameter 4: (input) number of chars to copy */ 2 423 /* parameter 5: (input) ON iff shd print line number */ 2 424 /* parameter 6: (input) ON iff line begins in comment */ 2 425 2 426 declare refer_extent entry(pointer,pointer); 2 427 /* parameter 1: (input/output) null,ref node,op node pointer */ 2 428 /* parameter 2: (input) null,ref node,op node pointer */ 2 429 2 430 declare reserve$clear entry() 2 431 returns(pointer); 2 432 /* return: (output) pointer */ 2 433 2 434 declare reserve$declare_lib entry(fixed bin(15)) 2 435 returns(pointer); 2 436 /* parameter 1: (input) builtin function number */ 2 437 /* return: (output) pointer */ 2 438 2 439 declare reserve$read_lib entry(fixed bin(15)) 2 440 returns(pointer); 2 441 /* parameter 1: (input) builtin function number */ 2 442 /* return: (output) pointer */ 2 443 2 444 declare semantic_translator entry(); 2 445 2 446 declare semantic_translator$abort entry(fixed bin(15),pointer); 2 447 /* parameter 1: (input) error number */ 2 448 /* parameter 2: (input) any node pointer */ 2 449 2 450 declare semantic_translator$error entry(fixed bin(15),pointer); 2 451 /* parameter 1: (input) error number */ 2 452 /* parameter 2: (input) any node pointer */ 2 453 2 454 declare share_expression entry(ptr) 2 455 returns(ptr); 2 456 /* parameter 1: (input) usually operator node pointer */ 2 457 /* return: (output) tree pointer or null */ 2 458 2 459 declare token_to_binary entry(ptr) reducible 2 460 returns(fixed bin(31)); 2 461 /* parameter 1: (input) token node pointer */ 2 462 /* return: (output) converted binary value */ 2 463 2 464 /* END INCLUDE FILE ... language_utility.incl.pl1 */ 1 175 1 176 /* END INCLUDE FILE parse.incl.pl1 */ 59 8 1 /* BEGIN INCLUDE FILE ... symbol.incl.pl1 */ 8 2 8 3 dcl 1 symbol based aligned, 8 4 2 node_type bit(9) unal, 8 5 2 source_id structure unal, 8 6 3 file_number bit(8), 8 7 3 line_number bit(14), 8 8 3 statement_number bit(5), 8 9 2 location fixed(18) unal unsigned, 8 10 2 allocated bit(1) unal, 8 11 2 dcl_type bit(3) unal, 8 12 2 reserved bit(6) unal, 8 13 2 pix unal, 8 14 3 pic_fixed bit(1) unal, 8 15 3 pic_float bit(1) unal, 8 16 3 pic_char bit(1) unal, 8 17 3 pic_scale fixed(7) unal, 8 18 3 pic_size fixed(7) unal, 8 19 2 level fixed(8) unal, 8 20 2 boundary fixed(3) unal, 8 21 2 size_units fixed(3) unal, 8 22 2 scale fixed(7) unal, 8 23 2 runtime bit(18) unal, 8 24 2 runtime_offset bit(18) unal, 8 25 2 block_node ptr unal, 8 26 2 token ptr unal, 8 27 2 next ptr unal, 8 28 2 multi_use ptr unal, 8 29 2 cross_references ptr unal, 8 30 2 initial ptr unal, 8 31 2 array ptr unal, 8 32 2 descriptor ptr unal, 8 33 2 equivalence ptr unal, 8 34 2 reference ptr unal, 8 35 2 general ptr unal, 8 36 2 father ptr unal, 8 37 2 brother ptr unal, 8 38 2 son ptr unal, 8 39 2 word_size ptr unal, 8 40 2 bit_size ptr unal, 8 41 2 dcl_size ptr unal, 8 42 2 symtab_size ptr unal, 8 43 2 c_word_size fixed(24), 8 44 2 c_bit_size fixed(24), 8 45 2 c_dcl_size fixed(24), 8 46 8 47 2 attributes structure aligned, 8 48 3 data_type structure unal, 8 49 4 structure bit(1) , 8 50 4 fixed bit(1), 8 51 4 float bit(1), 8 52 4 bit bit(1), 8 53 4 char bit(1), 8 54 4 ptr bit(1), 8 55 4 offset bit(1), 8 56 4 area bit(1), 8 57 4 label bit(1), 8 58 4 entry bit(1), 8 59 4 file bit(1), 8 60 4 arg_descriptor bit(1), 8 61 4 storage_block bit(1), 8 62 4 explicit_packed bit(1), /* options(packed) */ 8 63 4 condition bit(1), 8 64 4 format bit(1), 8 65 4 builtin bit(1), 8 66 4 generic bit(1), 8 67 4 picture bit(1), 8 68 8 69 3 misc_attributes structure unal, 8 70 4 dimensioned bit(1), 8 71 4 initialed bit(1), 8 72 4 aligned bit(1), 8 73 4 unaligned bit(1), 8 74 4 signed bit(1), 8 75 4 unsigned bit(1), 8 76 4 precision bit(1), 8 77 4 varying bit(1), 8 78 4 local bit(1), 8 79 4 decimal bit(1), 8 80 4 binary bit(1), 8 81 4 real bit(1), 8 82 4 complex bit(1), 8 83 4 variable bit(1), 8 84 4 reducible bit(1), 8 85 4 irreducible bit(1), 8 86 4 returns bit(1), 8 87 4 position bit(1), 8 88 4 internal bit(1), 8 89 4 external bit(1), 8 90 4 like bit(1), 8 91 4 member bit(1), 8 92 4 non_varying bit(1), 8 93 4 options bit(1), 8 94 4 variable_arg_list bit(1), /* options(variable) */ 8 95 4 alloc_in_text bit(1), /* options(constant) */ 8 96 8 97 3 storage_class structure unal, 8 98 4 auto bit(1), 8 99 4 based bit(1), 8 100 4 static bit(1), 8 101 4 controlled bit(1), 8 102 4 defined bit(1), 8 103 4 parameter bit(1), 8 104 4 param_desc bit(1), 8 105 4 constant bit(1), 8 106 4 temporary bit(1), 8 107 4 return_value bit(1), 8 108 8 109 3 file_attributes structure unal, 8 110 4 print bit(1), 8 111 4 input bit(1), 8 112 4 output bit(1), 8 113 4 update bit(1), 8 114 4 stream bit(1), 8 115 4 reserved_1 bit(1), 8 116 4 record bit(1), 8 117 4 sequential bit(1), 8 118 4 direct bit(1), 8 119 4 interactive bit(1), /* env(interactive) */ 8 120 4 reserved_2 bit(1), 8 121 4 reserved_3 bit(1), 8 122 4 stringvalue bit(1), /* env(stringvalue) */ 8 123 4 keyed bit(1), 8 124 4 reserved_4 bit(1), 8 125 4 environment bit(1), 8 126 8 127 3 compiler_developed structure unal, 8 128 4 aliasable bit(1), 8 129 4 packed bit(1), 8 130 4 passed_as_arg bit(1), 8 131 4 allocate bit(1), 8 132 4 set bit(1), 8 133 4 exp_extents bit(1), 8 134 4 refer_extents bit(1), 8 135 4 star_extents bit(1), 8 136 4 isub bit(1), 8 137 4 put_in_symtab bit(1), 8 138 4 contiguous bit(1), 8 139 4 put_data bit(1), 8 140 4 overlayed bit(1), 8 141 4 error bit(1), 8 142 4 symtab_processed bit(1), 8 143 4 overlayed_by_builtin bit(1), 8 144 4 defaulted bit(1), 8 145 4 connected bit(1); 8 146 8 147 /* END INCLUDE FILE ... symbol.incl.pl1 */ 60 9 1 dcl pl1_stat_$token_list_ptr ptr external static; /* pointer to token list */ 9 2 dcl token_list(token_list_length) ptr based(token_list_pointer); 9 3 dcl token_list_pointer ptr initial(pl1_stat_$token_list_ptr); /* for efficiency only */ 9 4 dcl token_list_length fixed(15) internal static initial(3000) options(constant); 9 5 9 6 dcl 1 pl1_stat_$statement_id external static, 9 7 2 file_number bit(8), 9 8 2 line_number bit(14), 9 9 2 statement_number bit(5); 9 10 9 11 dcl 1 t_table based(token_list(k)) aligned, 9 12 2 node_type bit(9) unaligned, 9 13 2 type bit(9) unaligned, 9 14 2 loc bit(18) unaligned, 9 15 2 declaration ptr unaligned, 9 16 2 next ptr unaligned, 9 17 2 size fixed(9), 9 18 2 string char(n refer(t_table.size)); 61 10 1 /* BEGIN INCLUDE FILE ... token_types.incl.pl1 */ 10 2 10 3 dcl ( no_token initial("000000000"b), /* token types */ 10 4 identifier initial("100000000"b), 10 5 isub initial("010000000"b), 10 6 plus initial("001000001"b), 10 7 minus initial("001000010"b), 10 8 asterisk initial("001000011"b), 10 9 slash initial("001000100"b), 10 10 expon initial("001000101"b), 10 11 not initial("001000110"b), 10 12 and initial("001000111"b), 10 13 or initial("001001000"b), 10 14 cat initial("001001001"b), 10 15 eq initial("001001010"b), 10 16 ne initial("001001011"b), 10 17 lt initial("001001100"b), 10 18 gt initial("001001101"b), 10 19 le initial("001001110"b), 10 20 ge initial("001001111"b), 10 21 ngt initial("001010000"b), 10 22 nlt initial("001010001"b), 10 23 assignment initial("001010010"b), 10 24 colon initial("001010011"b), 10 25 semi_colon initial("001010100"b), 10 26 comma initial("001010101"b), 10 27 period initial("001010110"b), 10 28 arrow initial("001010111"b), 10 29 left_parn initial("001011000"b), 10 30 right_parn initial("001011001"b), 10 31 percent initial("001011100"b), 10 32 bit_string initial("000100001"b), 10 33 char_string initial("000100010"b), 10 34 bin_integer initial("000110001"b), 10 35 dec_integer initial("000110011"b), 10 36 fixed_bin initial("000110000"b), 10 37 fixed_dec initial("000110010"b), 10 38 float_bin initial("000110100"b), 10 39 float_dec initial("000110110"b), 10 40 i_bin_integer initial("000111001"b), 10 41 i_dec_integer initial("000111011"b), 10 42 i_fixed_bin initial("000111000"b), 10 43 i_fixed_dec initial("000111010"b), 10 44 i_float_bin initial("000111100"b), 10 45 i_float_dec initial("000111110"b)) bit (9) aligned internal static options (constant); 10 46 10 47 dcl ( is_identifier initial ("100000000"b), /* token type masks */ 10 48 is_isub initial ("010000000"b), 10 49 is_delimiter initial ("001000000"b), 10 50 is_constant initial ("000100000"b), 10 51 is_arith_constant initial ("000010000"b), /* N.B. not really a mask...s/b "000110000"b */ 10 52 is_arithmetic_constant initial ("000110000"b), 10 53 is_imaginary_constant initial ("000111000"b), 10 54 is_float_constant initial ("000110100"b), 10 55 is_decimal_constant initial ("000110010"b), 10 56 is_integral_constant initial ("000110001"b) 10 57 ) bit(9) internal static aligned options(constant); 10 58 10 59 /* END INCLUDE FILE ... token_types.incl.pl1 */ 62 11 1 /* BEGIN INCLUDE FILE ... declare_type.incl.pl1 */ 11 2 11 3 /* Modified: 25 Apr 1979 by PCK to implement 4-bit decimal */ 11 4 11 5 dcl ( by_declare initial("001"b), 11 6 by_explicit_context initial("010"b), 11 7 by_context initial("011"b), 11 8 by_implication initial("100"b), 11 9 by_compiler initial("101"b)) int static bit(3) aligned options(constant); 11 10 11 11 /* END INCLUDE FILE ... declare_type.incl.pl1 */ 63 12 1 /* BEGIN INCLUDE FILE ... list.incl.pl1 */ 12 2 12 3 /* Modified 26 June 81 by EBush to add max_list_elements */ 12 4 12 5 12 6 dcl 1 list based aligned, 12 7 2 node_type bit(9) unaligned, 12 8 2 reserved bit(12) unaligned, 12 9 2 number fixed(14) unaligned, 12 10 2 element dimension(n refer(list.number)) ptr unaligned; 12 11 12 12 dcl max_list_elements fixed bin(17) internal static options (constant) 12 13 init(16383); 12 14 12 15 /* END INCLUDE FILE ... list.incl.pl1 */ 64 65 66 /* program */ 67 68 n=0; 69 k = k + 1; /* step over left_parn */ 70 listptr,previous_descriptor = null; 71 72 do while (t_table.type ^= right_parn); 73 n=n+1; 74 if t_table.type = comma /* no attributes */ 75 then call declare_parse$abort(199,null); 76 77 name = token; 78 in_generic = (name = null); 79 level = 0; 80 81 if in_generic & t_table.type = asterisk /* no attributes for this descriptor */ 82 then do; 83 s = null; 84 k = k + 1; 85 end; 86 else do; 87 if t_table.type = dec_integer /* a structure level number */ 88 then do; 89 level = token_to_binary(token_list(k)); 90 k=k+1; 91 end; 92 93 if ^in_generic 94 then if substr (name -> t_table.string, name -> t_table.size, 1) ^= "]" 95 then name = create_token (name -> t_table.string || bindec$vs ((n)) || "]", identifier); 96 97 s = create_symbol(cblock,name,by_compiler); 98 s->symbol.level = level; 99 call link_symbol(previous_descriptor,s); /* perform appropriate structure linking */ 100 k=k-1; 101 call attribute_parse(cblock,s,k,in_generic); 102 end; 103 104 if level <= 1 105 then do; 106 p = create_list(2); 107 p->list.element(1) = s; 108 109 if listptr = null 110 then listptr = p; 111 else previous_listptr->list.element(2) = p; 112 previous_listptr = p; 113 end; 114 115 if t_table.type = comma 116 then k = k + 1; 117 else if t_table.type ^= right_parn 118 then call declare_parse$abort (1, null); 119 end; 120 return (listptr); 121 13 1 13 2 link_symbol: procedure(previous,s); 13 3 13 4 declare (previous,s) pointer parameter; 13 5 declare q pointer; 13 6 declare level fixed binary(15); 13 7 13 8 level = s->symbol.level; 13 9 if level > 1 13 10 then do; 13 11 s->symbol.member,s->symbol.internal = "1"b; 13 12 if previous = null then call declare_parse$abort(16,null); 13 13 else if previous->symbol.level = 0 then call declare_parse$abort(16,null); 13 14 else if level > previous->symbol.level 13 15 then do; 13 16 s->symbol.father = previous; 13 17 previous->symbol.son = s; 13 18 previous->symbol.structure = "1"b; 13 19 end; 13 20 else do; 13 21 /* loop is executed at least once */ 13 22 do while(level <= previous->symbol.level); 13 23 q = previous; /* remember possible brother */ 13 24 previous = previous->symbol.father; 13 25 end; 13 26 q->symbol.brother = s; 13 27 s->symbol.father = previous; 13 28 end; 13 29 end; 13 30 else if level = 1 then s->symbol.structure = "1"b; 13 31 previous = s; 13 32 end link_symbol; 122 123 124 end /* descriptor_parse */; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 04/24/92 1102.4 descriptor_parse.pl1 >spec>install>MR12.5-1011>descriptor_parse.pl1 59 1 04/24/92 1056.9 parse.incl.pl1 >spec>install>MR12.5-1011>parse.incl.pl1 1-175 2 08/01/89 1339.9 language_utility.incl.pl1 >ldd>incl>language_utility.incl.pl1 2-307 3 05/06/74 1846.9 source_id_descriptor.incl.pl1 >ldd>incl>source_id_descriptor.incl.pl1 2-325 4 05/06/74 1846.9 source_id_descriptor.incl.pl1 >ldd>incl>source_id_descriptor.incl.pl1 2-335 5 05/06/74 1846.9 source_id_descriptor.incl.pl1 >ldd>incl>source_id_descriptor.incl.pl1 2-374 6 05/06/74 1846.9 source_id_descriptor.incl.pl1 >ldd>incl>source_id_descriptor.incl.pl1 2-386 7 05/06/74 1846.9 source_id_descriptor.incl.pl1 >ldd>incl>source_id_descriptor.incl.pl1 60 8 12/07/83 1801.7 symbol.incl.pl1 >ldd>incl>symbol.incl.pl1 61 9 09/14/77 1805.7 token_list.incl.pl1 >ldd>incl>token_list.incl.pl1 62 10 11/30/78 1327.4 token_types.incl.pl1 >ldd>incl>token_types.incl.pl1 63 11 10/25/79 1745.8 declare_type.incl.pl1 >ldd>incl>declare_type.incl.pl1 64 12 08/13/81 2311.5 list.incl.pl1 >ldd>incl>list.incl.pl1 122 13 05/15/75 1835.3 link_symbol.incl.pl1 >ldd>incl>link_symbol.incl.pl1 NAMES DECLARED IN THIS COMPILATION. IDENTIFIER OFFSET LOC STORAGE CLASS DATA TYPE ATTRIBUTES AND REFERENCES (* indicates a set context) NAMES DECLARED BY DECLARE STATEMENT. asterisk constant bit(9) initial dcl 10-3 ref 81 attribute_parse 000010 constant entry external dcl 1-11 ref 101 attributes 31 based structure level 2 dcl 8-3 bindec$vs 000014 constant entry external dcl 2-28 ref 93 brother 20 based pointer level 2 packed packed unaligned dcl 8-3 set ref 13-26* by_compiler 000000 constant bit(3) initial dcl 11-5 set ref 97* cblock parameter pointer dcl 42 set ref 36 97* 101* comma constant bit(9) initial dcl 10-3 ref 74 115 create_list 000016 constant entry external dcl 2-147 ref 106 create_symbol 000020 constant entry external dcl 2-184 ref 97 create_token 000022 constant entry external dcl 2-191 ref 93 data_type 31 based structure level 3 packed packed unaligned dcl 8-3 dec_integer constant bit(9) initial dcl 10-3 ref 87 declare_parse$abort 000012 constant entry external dcl 1-40 ref 74 117 13-12 13-13 element 1 based pointer array level 2 packed packed unaligned dcl 12-6 set ref 107* 111* father 17 based pointer level 2 packed packed unaligned dcl 8-3 set ref 13-16* 13-24 13-27* identifier 000001 constant bit(9) initial dcl 10-3 set ref 93* in_generic 000116 automatic bit(1) dcl 51 set ref 78* 81 93 101* internal 32(01) based bit(1) level 4 packed packed unaligned dcl 8-3 set ref 13-11* k parameter fixed bin(15,0) dcl 42 set ref 36 69* 69 72 74 81 84* 84 87 89 90* 90 100* 100 101* 115 115* 115 117 level 000115 automatic fixed bin(8,0) dcl 50 in procedure "descriptor_parse" set ref 79* 89* 98 104 level 000132 automatic fixed bin(15,0) dcl 13-6 in procedure "link_symbol" set ref 13-8* 13-9 13-14 13-22 13-30 level 2(11) based fixed bin(8,0) level 2 in structure "symbol" packed packed unaligned dcl 8-3 in procedure "descriptor_parse" set ref 98* 13-8 13-13 13-14 13-22 list based structure level 1 dcl 12-6 listptr 000102 automatic pointer dcl 48 set ref 70* 109 109* 120 member 32(04) based bit(1) level 4 packed packed unaligned dcl 8-3 set ref 13-11* misc_attributes 31(19) based structure level 3 packed packed unaligned dcl 8-3 n 000114 automatic fixed bin(15,0) dcl 49 set ref 68* 73* 73 93 name 000100 automatic pointer dcl 48 set ref 77* 78 93 93 93* 93 97* null builtin function dcl 55 ref 70 74 74 78 83 109 117 117 13-12 13-12 13-12 13-13 13-13 p 000110 automatic pointer dcl 48 set ref 106* 107 109 111 112 pl1_stat_$token_list_ptr 000026 external static pointer dcl 9-1 ref 9-3 previous parameter pointer dcl 13-4 set ref 13-2 13-12 13-13 13-14 13-16 13-17 13-18 13-22 13-23 13-24* 13-24 13-27 13-31* previous_descriptor 000106 automatic pointer dcl 48 set ref 70* 99* previous_listptr 000104 automatic pointer dcl 48 set ref 111 112* q 000130 automatic pointer dcl 13-5 set ref 13-23* 13-26 right_parn constant bit(9) initial dcl 10-3 ref 72 117 s parameter pointer dcl 13-4 in procedure "link_symbol" ref 13-2 13-8 13-11 13-11 13-16 13-17 13-26 13-27 13-30 13-31 s 000112 automatic pointer dcl 48 in procedure "descriptor_parse" set ref 83* 97* 98 99* 101* 107 size 3 based fixed bin(9,0) level 2 dcl 9-11 ref 93 93 93 son 21 based pointer level 2 packed packed unaligned dcl 8-3 set ref 13-17* string 4 based char level 2 dcl 9-11 ref 93 93 structure 31 based bit(1) level 4 packed packed unaligned dcl 8-3 set ref 13-18* 13-30* symbol based structure level 1 dcl 8-3 t_table based structure level 1 dcl 9-11 token parameter pointer dcl 42 ref 36 77 token_list based pointer array dcl 9-2 set ref 72 74 81 87 89* 115 117 token_list_pointer 000120 automatic pointer initial dcl 9-3 set ref 72 74 81 87 89 115 117 9-3* token_to_binary 000024 constant entry external dcl 2-459 ref 89 type 0(09) based bit(9) level 2 packed packed unaligned dcl 9-11 ref 72 74 81 87 115 117 NAMES DECLARED BY DECLARE STATEMENT AND NEVER REFERENCED. adjust_count 000000 constant entry external dcl 2-20 and internal static bit(9) initial dcl 10-3 arrow internal static bit(9) initial dcl 10-3 assignment internal static bit(9) initial dcl 10-3 bin_integer internal static bit(9) initial dcl 10-3 binary_to_octal_string 000000 constant entry external dcl 2-38 binary_to_octal_var_string 000000 constant entry external dcl 2-43 bindec 000000 constant entry external dcl 2-23 binoct 000000 constant entry external dcl 2-33 bit_string internal static bit(9) initial dcl 10-3 by_context internal static bit(3) initial dcl 11-5 by_declare internal static bit(3) initial dcl 11-5 by_explicit_context internal static bit(3) initial dcl 11-5 by_implication internal static bit(3) initial dcl 11-5 cat internal static bit(9) initial dcl 10-3 char_string internal static bit(9) initial dcl 10-3 colon internal static bit(9) initial dcl 10-3 compare_expression 000000 constant entry external dcl 2-48 constant_length 000000 constant entry external dcl 2-54 context 000000 constant entry external dcl 1-17 convert 000000 constant entry external dcl 2-60 convert$from_builtin 000000 constant entry external dcl 2-72 convert$to_integer 000000 constant entry external dcl 2-66 convert$to_target 000000 constant entry external dcl 2-88 convert$to_target_fb 000000 constant entry external dcl 2-82 convert$validate 000000 constant entry external dcl 2-78 copy_expression 000000 constant entry external dcl 2-94 copy_expression$copy_sons 000000 constant entry external dcl 2-99 copy_unique_expression 000000 constant entry external dcl 2-103 create_array 000000 constant entry external dcl 2-108 create_block 000000 constant entry external dcl 2-112 create_bound 000000 constant entry external dcl 2-118 create_context 000000 constant entry external dcl 2-122 create_cross_reference 000000 constant entry external dcl 2-128 create_default 000000 constant entry external dcl 2-132 create_identifier 000000 constant entry external dcl 2-136 create_label 000000 constant entry external dcl 2-140 create_operator 000000 constant entry external dcl 2-152 create_reference 000000 constant entry external dcl 2-158 create_statement 000000 constant entry external dcl 2-163 create_statement$prologue 000000 constant entry external dcl 2-171 create_storage 000000 constant entry external dcl 2-179 create_token$init_hash_table 000000 constant entry external dcl 2-197 create_token$protected 000000 constant entry external dcl 2-199 data_list_parse 000000 constant entry external dcl 1-22 decbin 000000 constant entry external dcl 2-206 declare_constant 000000 constant entry external dcl 2-211 declare_constant$bit 000000 constant entry external dcl 2-219 declare_constant$char 000000 constant entry external dcl 2-224 declare_constant$desc 000000 constant entry external dcl 2-229 declare_constant$integer 000000 constant entry external dcl 2-234 declare_descriptor 000000 constant entry external dcl 2-239 declare_descriptor$ctl 000000 constant entry external dcl 2-249 declare_descriptor$param 000000 constant entry external dcl 2-259 declare_integer 000000 constant entry external dcl 2-269 declare_label 000000 constant entry external dcl 1-29 declare_parse 000000 constant entry external dcl 1-35 declare_picture 000000 constant entry external dcl 2-274 declare_picture_temp 000000 constant entry external dcl 2-279 declare_pointer 000000 constant entry external dcl 2-287 declare_temporary 000000 constant entry external dcl 2-292 decode_node_id 000000 constant entry external dcl 2-300 decode_source_id 000000 constant entry external dcl 2-306 default_parse 000000 constant entry external dcl 1-44 descriptor_parse 000000 constant entry external dcl 1-49 do_parse 000000 constant entry external dcl 1-56 eq internal static bit(9) initial dcl 10-3 error 000000 constant entry external dcl 2-314 error$omit_text 000000 constant entry external dcl 2-319 error_ 000000 constant entry external dcl 2-324 error_$finish 000000 constant entry external dcl 2-343 error_$initialize_error 000000 constant entry external dcl 2-341 error_$no_text 000000 constant entry external dcl 2-334 evaluate 000000 constant entry external dcl 1-67 expon internal static bit(9) initial dcl 10-3 expression_parse 000000 constant entry external dcl 1-73 fixed_bin internal static bit(9) initial dcl 10-3 fixed_dec internal static bit(9) initial dcl 10-3 float_bin internal static bit(9) initial dcl 10-3 float_dec internal static bit(9) initial dcl 10-3 format_list_parse 000000 constant entry external dcl 1-79 free_node 000000 constant entry external dcl 2-345 ge internal static bit(9) initial dcl 10-3 get_array_size 000000 constant entry external dcl 2-348 get_size 000000 constant entry external dcl 2-352 gt internal static bit(9) initial dcl 10-3 i_bin_integer internal static bit(9) initial dcl 10-3 i_dec_integer internal static bit(9) initial dcl 10-3 i_fixed_bin internal static bit(9) initial dcl 10-3 i_fixed_dec internal static bit(9) initial dcl 10-3 i_float_bin internal static bit(9) initial dcl 10-3 i_float_dec internal static bit(9) initial dcl 10-3 if_parse 000000 constant entry external dcl 1-87 io_statement_parse 000000 constant entry external dcl 1-96 is_arith_constant internal static bit(9) initial dcl 10-47 is_arithmetic_constant internal static bit(9) initial dcl 10-47 is_constant internal static bit(9) initial dcl 10-47 is_decimal_constant internal static bit(9) initial dcl 10-47 is_delimiter internal static bit(9) initial dcl 10-47 is_float_constant internal static bit(9) initial dcl 10-47 is_identifier internal static bit(9) initial dcl 10-47 is_imaginary_constant internal static bit(9) initial dcl 10-47 is_integral_constant internal static bit(9) initial dcl 10-47 is_isub internal static bit(9) initial dcl 10-47 isub internal static bit(9) initial dcl 10-3 le internal static bit(9) initial dcl 10-3 left_parn internal static bit(9) initial dcl 10-3 lex 000000 constant entry external dcl 1-106 lex$initialize_lex 000000 constant entry external dcl 1-112 lex$write_last_line 000000 constant entry external dcl 1-109 lt internal static bit(9) initial dcl 10-3 max_list_elements internal static fixed bin(17,0) initial dcl 12-12 merge_attributes 000000 constant entry external dcl 2-355 minus internal static bit(9) initial dcl 10-3 ne internal static bit(9) initial dcl 10-3 ngt internal static bit(9) initial dcl 10-3 nlt internal static bit(9) initial dcl 10-3 no_token internal static bit(9) initial dcl 10-3 not internal static bit(9) initial dcl 10-3 on_parse 000000 constant entry external dcl 1-116 on_parse$revert 000000 constant entry external dcl 1-123 optimizer 000000 constant entry external dcl 2-361 or internal static bit(9) initial dcl 10-3 parse 000000 constant entry external dcl 1-128 parse_error 000000 constant entry external dcl 2-364 parse_error$no_text 000000 constant entry external dcl 2-368 percent internal static bit(9) initial dcl 10-3 period internal static bit(9) initial dcl 10-3 pl1_error_print$listing_segment 000000 constant entry external dcl 2-384 pl1_error_print$write_out 000000 constant entry external dcl 2-372 pl1_print$for_lex 000000 constant entry external dcl 2-418 pl1_print$non_varying 000000 constant entry external dcl 2-398 pl1_print$non_varying_nl 000000 constant entry external dcl 2-402 pl1_print$string_pointer 000000 constant entry external dcl 2-406 pl1_print$string_pointer_nl 000000 constant entry external dcl 2-410 pl1_print$unaligned_nl 000000 constant entry external dcl 2-414 pl1_print$varying 000000 constant entry external dcl 2-392 pl1_print$varying_nl 000000 constant entry external dcl 2-395 pl1_stat_$statement_id external static structure level 1 packed packed unaligned dcl 9-6 plus internal static bit(9) initial dcl 10-3 procedure_parse 000000 constant entry external dcl 1-133 process_entry 000000 constant entry external dcl 1-143 refer_extent 000000 constant entry external dcl 2-426 reference_parse 000000 constant entry external dcl 1-150 reserve$clear 000000 constant entry external dcl 2-430 reserve$declare_lib 000000 constant entry external dcl 2-434 reserve$read_lib 000000 constant entry external dcl 2-439 reserve$rename_parse 000000 constant entry external dcl 1-156 semantic_translator 000000 constant entry external dcl 2-444 semantic_translator$abort 000000 constant entry external dcl 2-446 semantic_translator$error 000000 constant entry external dcl 2-450 semi_colon internal static bit(9) initial dcl 10-3 share_expression 000000 constant entry external dcl 2-454 slash internal static bit(9) initial dcl 10-3 statement_parse 000000 constant entry external dcl 1-160 statement_type 000000 constant entry external dcl 1-167 token_list_length internal static fixed bin(15,0) initial dcl 9-4 NAMES DECLARED BY EXPLICIT CONTEXT. descriptor_parse 000023 constant entry external dcl 36 link_symbol 000407 constant entry internal dcl 13-2 ref 99 NAME DECLARED BY CONTEXT OR IMPLICATION. substr builtin function ref 93 STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 670 720 546 700 Length 1350 546 30 414 121 0 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME descriptor_parse 132 external procedure is an external procedure. link_symbol internal procedure shares stack frame of external procedure descriptor_parse. STORAGE FOR AUTOMATIC VARIABLES. STACK FRAME LOC IDENTIFIER BLOCK NAME descriptor_parse 000100 name descriptor_parse 000102 listptr descriptor_parse 000104 previous_listptr descriptor_parse 000106 previous_descriptor descriptor_parse 000110 p descriptor_parse 000112 s descriptor_parse 000114 n descriptor_parse 000115 level descriptor_parse 000116 in_generic descriptor_parse 000120 token_list_pointer descriptor_parse 000130 q link_symbol 000132 level link_symbol THE FOLLOWING EXTERNAL OPERATORS ARE USED BY THIS PROGRAM. r_e_as alloc_char_temp cat_realloc_chars call_ext_out_desc call_ext_out return_mac shorten_stack ext_entry THE FOLLOWING EXTERNAL ENTRIES ARE CALLED BY THIS PROGRAM. attribute_parse bindec$vs create_list create_symbol create_token declare_parse$abort token_to_binary THE FOLLOWING EXTERNAL VARIABLES ARE USED BY THIS PROGRAM. pl1_stat_$token_list_ptr LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC 36 000016 9 3 000030 68 000033 69 000034 70 000036 72 000041 73 000055 74 000056 77 000075 78 000101 79 000106 81 000107 83 000125 84 000127 85 000130 87 000131 89 000134 90 000150 93 000152 97 000246 98 000265 99 000273 100 000275 101 000300 104 000315 106 000320 107 000333 109 000336 111 000344 112 000346 115 000347 117 000364 119 000403 120 000404 13 2 000407 13 8 000411 13 9 000417 13 11 000421 13 12 000425 13 13 000447 13 14 000474 13 16 000476 13 17 000477 13 18 000500 13 19 000502 13 22 000503 13 23 000514 13 24 000515 13 25 000517 13 26 000520 13 27 000524 13 29 000525 13 30 000526 13 31 000531 13 32 000535 ----------------------------------------------------------- Historical Background This edition of the Multics software materials and documentation is provided and donated to Massachusetts Institute of Technology by Group BULL including BULL HN Information Systems Inc. as a contribution to computer science knowledge. This donation is made also to give evidence of the common contributions of Massachusetts Institute of Technology, Bell Laboratories, General Electric, Honeywell Information Systems Inc., Honeywell BULL Inc., Groupe BULL and BULL HN Information Systems Inc. to the development of this operating system. Multics development was initiated by Massachusetts Institute of Technology Project MAC (1963-1970), renamed the MIT Laboratory for Computer Science and Artificial Intelligence in the mid 1970s, under the leadership of Professor Fernando Jose Corbato. Users consider that Multics provided the best software architecture for managing computer hardware properly and for executing programs. Many subsequent operating systems incorporated Multics principles. Multics was distributed in 1975 to 2000 by Group Bull in Europe , and in the U.S. by Bull HN Information Systems Inc., as successor in interest by change in name only to Honeywell Bull Inc. and Honeywell Information Systems Inc. . ----------------------------------------------------------- Permission to use, copy, modify, and distribute these programs and their documentation for any purpose and without fee is hereby granted,provided that the below copyright notice and historical background appear in all copies and that both the copyright notice and historical background and this permission notice appear in supporting documentation, and that the names of MIT, HIS, BULL or BULL HN not be used in advertising or publicity pertaining to distribution of the programs without specific prior written permission. Copyright 1972 by Massachusetts Institute of Technology and Honeywell Information Systems Inc. Copyright 2006 by BULL HN Information Systems Inc. Copyright 2006 by Bull SAS All Rights Reserved