COMPILATION LISTING OF SEGMENT teco_error Compiled by: Multics PL/I Compiler, Release 27d, of October 11, 1982 Compiled at: Honeywell LISD Phoenix, System M Compiled on: 11/15/82 1744.4 mst Mon 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 teco_error: proc (error_string); 12 13 dcl error_string char (*) unal; 14 declare error_messages(22) char(64) internal static initial( 15 /* <- 8 -><- 56 -> */ 16 "S: fail Search failed.", 17 "NO ROOM Text insertion would exceed maximum segment size.", 18 "NOT IMPLUnimplemented feature or command.", 19 "NO LABELLabel not found.", 20 "TOO BIG Reference is beyond end of text.", 21 "NEGATIVEReference is before beginning of text.", 22 "PARENS Too many parentheses, or misplaced parenthesis.", 23 "BAD LOOPInfinite loop, or misplaced <, >, or ;.", 24 "MANY ARGToo many arguments.", 25 "FEW ARGSToo few arguments.", 26 "IMP.RES.Too many pushes or macros, or quoted string too long.", 27 "numericQThis Q-register must contain text.", 28 "% ? This Q-register must not contain text.", 29 "BAD "" Illegal double quote command.", 30 "BAD E Illegal external command.", 31 "Qreg ? Missing or illegal Q-register name.", 32 "DISASTERCannot read from teletype or out of storage.", 33 "ORDER ? Arguments given in the wrong order.", 34 "? Syntax error in expression or :X not in macro.", 35 "\:NUMBR?Number does not appear following text pointer.", 36 "CANT POPPushdown stack empty - cannot pop.", 37 "BAD SKIPCharacter not found. Could not skip to >, ', or !."); 38 39 dcl (hbound, length, substr) builtin; 40 dcl message char(56); 41 dcl name char(8) aligned; 42 dcl i fixed bin; 43 dcl ioa_ ext entry options (variable); 44 45 name = error_string; /* Get exactly eight characters. */ 46 if substr (name, 2) = ": ? " then do; 47 message = "^a: illegal command."; 48 goto print_message; 49 end; 50 if substr (name, 2) = ":DELIM?" then do; 51 message = "^a: illegal quoting character."; 52 goto print_message; 53 end; 54 55 do i = 1 to hbound(error_messages, 1); 56 57 if name = substr(error_messages(i), 1, length(name)) then do; 58 message = substr(error_messages(i), length(name)+1); 59 goto print_message; 60 end; 61 end; 62 63 message = "Error message not recognized."; 64 print_message: 65 call ioa_(message, substr(name, 1, 1)); 66 return; 67 end; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 11/15/82 1526.7 teco_error.pl1 >dumps>old>recomp>teco_error.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. error_messages 000000 constant char(64) initial array unaligned dcl 14 ref 55 57 58 error_string parameter char unaligned dcl 13 ref 11 45 hbound builtin function dcl 39 ref 55 i 000120 automatic fixed bin(17,0) dcl 42 set ref 55* 57 58* ioa_ 000010 constant entry external dcl 43 ref 64 length builtin function dcl 39 ref 57 58 message 000100 automatic char(56) unaligned dcl 40 set ref 47* 51* 58* 63* 64* name 000116 automatic char(8) dcl 41 set ref 45* 46 50 57 57 58 64 64 substr builtin function dcl 39 ref 46 50 57 58 64 64 NAMES DECLARED BY EXPLICIT CONTEXT. print_message 000672 constant label dcl 64 ref 48 52 59 teco_error 000600 constant entry external dcl 11 THERE WERE NO NAMES DECLARED BY CONTEXT OR IMPLICATION. STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 744 756 713 754 Length 1116 713 12 124 31 0 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME teco_error 96 external procedure is an external procedure. STORAGE FOR AUTOMATIC VARIABLES. STACK FRAME LOC IDENTIFIER BLOCK NAME teco_error 000100 message teco_error 000116 name teco_error 000120 i teco_error THE FOLLOWING EXTERNAL OPERATORS ARE USED BY THIS PROGRAM. call_ext_out_desc return ext_entry_desc THE FOLLOWING EXTERNAL ENTRIES ARE CALLED BY THIS PROGRAM. ioa_ NO EXTERNAL VARIABLES ARE USED BY THIS PROGRAM. LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC 11 000575 45 000613 46 000620 47 000625 48 000630 50 000631 51 000633 52 000636 55 000637 57 000644 58 000654 59 000664 61 000665 63 000667 64 000672 66 000712 ----------------------------------------------------------- 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