1 /***************************************************************************** 2 3 DefErr.h 4 5 This file defines identifiers for error messages generated by TECOC-C. 6 The codes that are commented out are those that were defined in TECO-11, but 7 are not used by TECOC-C. 8 9 IMPORTANT: if you change this file, you will need to change 10 TECOC.RNH, DEFERR.H, VRBMSG.H and ERR.C. 11 *****************************************************************************/ 12 13 #define ERR_XXX -1 /* no error */ 14 15 #define ERR_ARG 0 /* improper arguments */ 16 #define ERR_BNI 1 /* > not in iteration */ 17 #define ERR_DTB 2 /* delete too big */ 18 #define ERR_FNF 3 /* file not found "filename" */ 19 #define ERR_ICE 4 /* illegal ^E command in search argument */ 20 #define ERR_IEC 5 /* illegal character "x" after E */ 21 #define ERR_IFC 6 /* illegal character "x" after F */ 22 #define ERR_IIA 7 /* illegal insert argument */ 23 #define ERR_ILL 8 /* illegal command "x" */ 24 #define ERR_ILN 9 /* illegal number */ 25 #define ERR_IPA 10 /* negative or 0 argument to P */ 26 #define ERR_IQC 11 /* illegal character "x" following " */ 27 #define ERR_IQN 12 /* illegal q-register name "x" */ 28 #define ERR_IRA 13 /* illegal radix argument to ^R */ 29 #define ERR_ISA 14 /* illegal search argument */ 30 #define ERR_ISS 15 /* illegal search string */ 31 #define ERR_IUC 16 /* illegal character "x" following ^ */ 32 #define ERR_MAP 17 /* missing ' */ 33 #define ERR_MEM 18 /* memory overflow */ 34 #define ERR_NAB 19 /* no argument before ^_ */ 35 #define ERR_NAC 20 /* no argument before , */ 36 #define ERR_NAE 21 /* no argument before = */ 37 #define ERR_NAP 22 /* no argument before ) */ 38 #define ERR_NAQ 23 /* no argument before " */ 39 #define ERR_NAS 24 /* no argument before ; */ 40 #define ERR_NAU 25 /* no argument before U */ 41 #define ERR_NCA 26 /* negative argument to , */ 42 #define ERR_NFI 27 /* no file for input */ 43 #define ERR_NFO 28 /* no file for output */ 44 #define ERR_NYA 29 /* numeric argument with Y */ 45 #define ERR_NYI 30 /* not yet implemented */ 46 #define ERR_OFO 31 /* output file already open */ 47 #define ERR_PDO 32 /* push-down list overflow */ 48 #define ERR_PES 33 /* attempt to pop empty stack */ 49 #define ERR_POP 34 /* attempt to move pointer off page with "x" */ 50 #define ERR_SNI 35 /* ; not in iteration */ 51 #define ERR_SRH 36 /* search failure "text" */ 52 #define ERR_STL 37 /* string too long */ 53 #define ERR_TAG 38 /* missing tag !tag! */ 54 #define ERR_UTC 39 /* unterminated command "x" */ 55 #define ERR_UTM 40 /* unterminated macro */ 56 #define ERR_XAB 41 /* execution aborted */ 57 #define ERR_YCA 42 /* Y command aborted */ 58 59 /* 60 * The following errors aren't listed in the Standard TECO Manual, but 61 * were added for use by TECO-C. 62 */ 63 64 #define ERR_IFE 43 /* ill-formed numeric expression */ 65 #define ERR_SYS 44 /* %s */ 66 #define ERR_UCD 45 /* unable to close and delete output file */ 67 #define ERR_UCI 46 /* unable to close input file */ 68 #define ERR_UCO 47 /* unable to close output file */ 69 #define ERR_UFI 48 /* unable to open file "x" for input */ 70 #define ERR_UFO 49 /* unable to open file "x" for output */ 71 #define ERR_URC 50 /* unable to read character from terminal */ 72 #define ERR_URE 51 /* unable to read TECO command file */ 73 #define ERR_URL 52 /* unable to read line from input file */ 74 #define ERR_UWL 53 /* unable to write line to output file */ 75 /* 76 Standard TECO errors that possibly should be generated by TECOC-C: 77 78 ?CON Confused use of conditionals 79 ?FER File error 80 ?INP Input error 81 ?OUT Output error 82 83 Standard TECO errors not used by TECO-C are: 84 85 ?CCL CCL.SV not found or EG argument too long 86 ?CPQ Can't pop into Q-register (TECO-C uses PES) 87 ?DEV Invalid device 88 ?ERR RSTS/E error message (RSTS/E only) 89 ?FUL Output Command would have overflowed output device 90 ?IFN Illegal character "x" in filename 91 ?MLA Missing Left Angle Bracket 92 ?MLP Missing ( 93 ?MRA Missing Right Angle Bracket 94 ?MRP Missing ) 95 ?MSC Missing Start of Conditional 96 ?NPA Negative or 0 argument to P (TECO-C uses IPA) 97 ?NRO No room for output 98 ?UTM Unterminated macro 99 ?WLO System Device Write-Locked 100 101 ?nnn I/O Error or Directive Error (RSX-11 only) 102 103 %Superseding existing filed (TECO-11 only) 104 %Search fail in iter (TECO-11 only) 105 */ 106