modified: makefile
[GalaxyCodeBases.git] / c_cpp / etc / calc / win32 / calcerr.c
blob366357ddc21ace4cd79a640009953a8a31241221
1 /*
2 * DO NOT EDIT
4 * generated by calcerr.tbl via Makefile
5 */
7 #include <stdio.h>
8 #include "calcerr.h"
10 #include "have_const.h"
13 * names of calc error values
15 CONST char *error_table[E__COUNT+2] = {
16 "No error",
17 "Division by zero",
18 "Indeterminate (0/0)",
19 "Bad arguments for +",
20 "Bad arguments for binary -",
21 "Bad arguments for *",
22 "Bad arguments for /",
23 "Bad argument for unary -",
24 "Bad argument for squaring",
25 "Bad argument for inverse",
26 "Bad argument for ++",
27 "Bad argument for --",
28 "Bad argument for int",
29 "Bad argument for frac",
30 "Bad argument for conj",
31 "Bad first argument for appr",
32 "Bad second argument for appr",
33 "Bad third argument for appr",
34 "Bad first argument for round",
35 "Bad second argument for round",
36 "Bad third argument for round",
37 "Bad first argument for bround",
38 "Bad second argument for bround",
39 "Bad third argument for bround",
40 "Bad first argument for sqrt",
41 "Bad second argument for sqrt",
42 "Bad third argument for sqrt",
43 "Bad first argument for root",
44 "Bad second argument for root",
45 "Bad third argument for root",
46 "Bad argument for norm",
47 "Bad first argument for << or >>",
48 "Bad second argument for << or >>",
49 "Bad first argument for scale",
50 "Bad second argument for scale",
51 "Bad first argument for ^",
52 "Bad second argument for ^",
53 "Bad first argument for power",
54 "Bad second argument for power",
55 "Bad third argument for power",
56 "Bad first argument for quo or //",
57 "Bad second argument for quo or //",
58 "Bad third argument for quo",
59 "Bad first argument for mod or %",
60 "Bad second argument for mod or %",
61 "Bad third argument for mod",
62 "Bad argument for sgn",
63 "Bad first argument for abs",
64 "Bad second argument for abs",
65 "Scan error in argument for eval",
66 "Non-simple type for str",
67 "Non-real epsilon for exp",
68 "Bad first argument for exp",
69 "Non-file first argument for fputc",
70 "Bad second argument for fputc",
71 "File not open for writing for fputc",
72 "Non-file first argument for fgetc",
73 "File not open for reading for fgetc",
74 "Non-string arguments for fopen",
75 "Unrecognized mode for fopen",
76 "Non-file first argument for freopen",
77 "Non-string or unrecognized mode for freopen",
78 "Non-string third argument for freopen",
79 "Non-file argument for fclose",
80 "Non-file argument for fflush",
81 "Non-file first argument for fputs",
82 "Non-string argument after first for fputs",
83 "File not open for writing for fputs",
84 "Non-file argument for fgets",
85 "File not open for reading for fgets",
86 "Non-file first argument for fputstr",
87 "Non-string argument after first for fputstr",
88 "File not open for writing for fputstr",
89 "Non-file first argument for fgetstr",
90 "File not open for reading for fgetstr",
91 "Non-file argument for fgetline",
92 "File not open for reading for fgetline",
93 "Non-file argument for fgetfield",
94 "File not open for reading for fgetfield",
95 "Non-file argument for rewind",
96 "Non-integer argument for files",
97 "Non-string fmt argument for fprint",
98 "Stdout not open for writing to ???",
99 "Non-file first argument for fprintf",
100 "Non-string second (fmt) argument for fprintf",
101 "File not open for writing for fprintf",
102 "Non-string first (fmt) argument for strprintf",
103 "Error in attempting strprintf ???",
104 "Non-file first argument for fscan",
105 "File not open for reading for fscan",
106 "Non-string first argument for strscan",
107 "Non-file first argument for fscanf",
108 "Non-string second (fmt) argument for fscanf",
109 "Non-lvalue argument after second for fscanf",
110 "File not open for reading or other error for fscanf",
111 "Non-string first argument for strscanf",
112 "Non-string second (fmt) argument for strscanf",
113 "Non-lvalue argument after second for strscanf",
114 "Some error in attempting strscanf ???",
115 "Non-string first (fmt) argument for scanf",
116 "Non-lvalue argument after first for scanf",
117 "Some error in attempting scanf ???",
118 "Non-file argument for ftell",
119 "File not open or other error for ftell",
120 "Non-file first argument for fseek",
121 "Non-integer or negative second argument for fseek",
122 "File not open or other error for fseek",
123 "Non-file argument for fsize",
124 "File not open or other error for fsize",
125 "Non-file argument for feof",
126 "File not open or other error for feof",
127 "Non-file argument for ferror",
128 "File not open or other error for ferror",
129 "Non-file argument for ungetc",
130 "File not open for reading for ungetc",
131 "Bad second argument or other error for ungetc",
132 "Exponent too big in scanning",
133 "E_ISATTY1 is no longer used",
134 "E_ISATTY2 is no longer used",
135 "Non-string first argument for access",
136 "Bad second argument for access",
137 "Bad first argument for search",
138 "Bad second argument for search",
139 "Bad third argument for search",
140 "Bad fourth argument for search",
141 "Cannot find fsize or fpos for search",
142 "File not readable for search",
143 "Bad first argument for rsearch",
144 "Bad second argument for rsearch",
145 "Bad third argument for rsearch",
146 "Bad fourth argument for rsearch",
147 "Cannot find fsize or fpos for rsearch",
148 "File not readable for rsearch",
149 "Too many open files",
150 "Attempt to rewind a file that is not open",
151 "Bad argument type for strerror",
152 "Index out of range for strerror",
153 "Bad epsilon for cos",
154 "Bad first argument for cos",
155 "Bad epsilon for sin",
156 "Bad first argument for sin",
157 "Non-string argument for eval",
158 "Bad epsilon for arg",
159 "Bad first argument for arg",
160 "Non-real argument for polar",
161 "Bad epsilon for polar",
162 "Non-integral argument for fcnt",
163 "Non-variable first argument for matfill",
164 "Non-matrix first argument-value for matfill",
165 "Non-matrix argument for matdim",
166 "Non-matrix argument for matsum",
167 "E_ISIDENT is no longer used",
168 "Non-matrix argument for mattrans",
169 "Non-two-dimensional matrix for mattrans",
170 "Non-matrix argument for det",
171 "Matrix for det not of dimension 2",
172 "Non-square matrix for det",
173 "Non-matrix first argument for matmin",
174 "Non-positive-integer second argument for matmin",
175 "Second argument for matmin exceeds dimension",
176 "Non-matrix first argument for matmin",
177 "Second argument for matmax not positive integer",
178 "Second argument for matmax exceeds dimension",
179 "Non-matrix argument for cp",
180 "Non-one-dimensional matrix for cp",
181 "Matrix size not 3 for cp",
182 "Non-matrix argument for dp",
183 "Non-one-dimensional matrix for dp",
184 "Different-size matrices for dp",
185 "Non-string argument for strlen",
186 "Non-string argument for strcat",
187 "Non-string first argument for strcat",
188 "Non-non-negative integer second argument for strcat",
189 "Bad argument for char",
190 "Non-string argument for ord",
191 "Non-list-variable first argument for insert",
192 "Non-integral second argument for insert",
193 "Non-list-variable first argument for push",
194 "Non-list-variable first argument for append",
195 "Non-list-variable first argument for delete",
196 "Non-integral second argument for delete",
197 "Non-list-variable argument for pop",
198 "Non-list-variable argument for remove",
199 "Bad epsilon argument for ln",
200 "Non-numeric first argument for ln",
201 "Non-integer argument for error",
202 "Argument outside range for error",
203 "Attempt to eval at maximum input depth",
204 "Unable to open string for reading",
205 "First argument for rm is not a non-empty string",
206 "Unable to remove a file",
207 "Operation allowed because calc mode disallows read operations",
208 "Operation allowed because calc mode disallows write operations",
209 "Operation allowed because calc mode disallows exec operations",
210 "Unordered arguments for min",
211 "Unordered arguments for max",
212 "Unordered items for minimum of list",
213 "Unordered items for maximum of list",
214 "Size undefined for argument type",
215 "Calc must be run with a -C argument to use custom function",
216 "Calc was built with custom functions disabled",
217 "Custom function unknown, try: show custom",
218 "Non-integral length for block",
219 "Negative or too-large length for block",
220 "Non-integral chunksize for block",
221 "Negative or too-large chunksize for block",
222 "Named block does not exist for blkfree",
223 "Non-integral id specification for blkfree",
224 "Block with specified id does not exist",
225 "Block already freed",
226 "No-realloc protection prevents blkfree",
227 "Non-integer argument for blocks",
228 "Non-allocated index number for blocks",
229 "Non-integer or negative source index for copy",
230 "Source index too large for copy",
231 "E_COPY3 is no longer used",
232 "Non-integer or negative number for copy",
233 "Number too large for copy",
234 "Non-integer or negative destination index for copy",
235 "Destination index too large for copy",
236 "Freed block source for copy",
237 "Unsuitable source type for copy",
238 "Freed block destinction for copy",
239 "Unsuitable destination type for copy",
240 "Incompatible source and destination for copy",
241 "No-copy-from source variable",
242 "No-copy-to destination variable",
243 "No-copy-from source named block",
244 "No-copy-to destination named block",
245 "No-relocate destination for copy",
246 "File not open for copy",
247 "fseek or fsize failure for copy",
248 "fwrite error for copy",
249 "fread error for copy",
250 "Non-variable first argument for protect",
251 "Bad second argument for protect",
252 "Bad third argument for protect",
253 "No-copy-to destination for matfill",
254 "No-assign-from source for matfill",
255 "Non-matrix argument for mattrace",
256 "Non-two-dimensional argument for mattrace",
257 "Non-square argument for mattrace",
258 "Bad epsilon for tan",
259 "Bad argument for tan",
260 "Bad epsilon for cot",
261 "Bad argument for cot",
262 "Bad epsilon for sec",
263 "Bad argument for sec",
264 "Bad epsilon for csc",
265 "Bad argument for csc",
266 "Bad epsilon for sinh",
267 "Bad argument for sinh",
268 "Bad epsilon for cosh",
269 "Bad argument for cosh",
270 "Bad epsilon for tanh",
271 "Bad argument for tanh",
272 "Bad epsilon for coth",
273 "Bad argument for coth",
274 "Bad epsilon for sech",
275 "Bad argument for sech",
276 "Bad epsilon for csch",
277 "Bad argument for csch",
278 "Bad epsilon for asin",
279 "Bad argument for asin",
280 "Bad epsilon for acos",
281 "Bad argument for acos",
282 "Bad epsilon for atan",
283 "Bad argument for atan",
284 "Bad epsilon for acot",
285 "Bad argument for acot",
286 "Bad epsilon for asec",
287 "Bad argument for asec",
288 "Bad epsilon for acsc",
289 "Bad argument for acsc",
290 "Bad epsilon for asin",
291 "Bad argument for asinh",
292 "Bad epsilon for acosh",
293 "Bad argument for acosh",
294 "Bad epsilon for atanh",
295 "Bad argument for atanh",
296 "Bad epsilon for acoth",
297 "Bad argument for acoth",
298 "Bad epsilon for asech",
299 "Bad argument for asech",
300 "Bad epsilon for acsch",
301 "Bad argument for acsch",
302 "Bad epsilon for gd",
303 "Bad argument for gd",
304 "Bad epsilon for agd",
305 "Bad argument for agd",
306 "Log of zero or infinity",
307 "String addition failure",
308 "String multiplication failure",
309 "String reversal failure",
310 "String subtraction failure",
311 "Bad argument type for bit",
312 "Index too large for bit",
313 "Non-integer second argument for setbit",
314 "Out-of-range index for setbit",
315 "Non-string first argument for setbit",
316 "Bad argument for or",
317 "Bad argument for and",
318 "Allocation failure for string or",
319 "Allocation failure for string and",
320 "Bad argument for xorvalue",
321 "Bad argument for comp",
322 "Allocation failure for string diff",
323 "Allocation failure for string comp",
324 "Bad first argument for segment",
325 "Bad second argument for segment",
326 "Bad third argument for segment",
327 "Failure for string segment",
328 "Bad argument type for highbit",
329 "Non-integer argument for highbit",
330 "Bad argument type for lowbit",
331 "Non-integer argument for lowbit",
332 "Bad argument type for unary hash op",
333 "Bad argument type for binary hash op",
334 "Bad first argument for head",
335 "Bad second argument for head",
336 "Failure for strhead",
337 "Bad first argument for tail",
338 "Bad second argument for tail",
339 "Failure for strtail",
340 "Failure for strshift",
341 "Non-string argument for strcmp",
342 "Bad argument type for strncmp",
343 "Varying types of argument for xor",
344 "Bad argument type for xor",
345 "Bad argument type for strcpy",
346 "Bad argument type for strncpy",
347 "Bad argument type for unary backslash",
348 "Bad argument type for setminus",
349 "Bad first argument type for indices",
350 "Bad second argument for indices",
351 "Too-large re(argument) for exp",
352 "Too-large re(argument) for sinh",
353 "Too-large re(argument) for cosh",
354 "Too-large im(argument) for sin",
355 "Too-large im(argument) for cos",
356 "Infinite or too-large result for gd",
357 "Infinite or too-large result for agd",
358 "Too-large value for power",
359 "Too-large value for root",
360 "Non-real first arg for digit",
361 "Non-integral second arg for digit",
362 "Bad third arg for digit",
363 "Bad first argument for places",
364 "Bad second argument for places",
365 "Bad first argument for digits",
366 "Bad second argument for digits",
367 "Bad first argument for ilog",
368 "Bad second argument for ilog",
369 "Bad argument for ilog10",
370 "Bad argument for ilog2",
371 "Non-integer second arg for comb",
372 "Too-large second arg for comb",
373 "Bad argument for catalan",
374 "Bad argument for bern",
375 "Bad argument for euler",
376 "Bad argument for sleep",
377 "calc_tty failure",
378 "No-copy-to destination for octet assign",
379 "No-copy-from source for octet assign",
380 "No-change destination for octet assign",
381 "Non-variable destination for assign",
382 "No-assign-to destination for assign",
383 "No-assign-from source for assign",
384 "No-change destination for assign",
385 "No-type-change destination for assign",
386 "No-error-value destination for assign",
387 "No-copy argument for octet swap",
388 "No-assign-to-or-from argument for swap",
389 "Non-lvalue argument for swap",
390 "Non-lvalue argument 3 or 4 for quomod",
391 "Non-real-number arg 1 or 2 or bad arg 5 for quomod",
392 "No-assign-to argument 3 or 4 for quomod",
393 "No-copy-to or no-change argument for octet preinc",
394 "Non-variable argument for preinc",
395 "No-assign-to or no-change argument for preinc",
396 "No-copy-to or no-change argument for octet predec",
397 "Non-variable argument for predec",
398 "No-assign-to or no-change argument for predec",
399 "No-copy-to or no-change argument for octet postinc",
400 "Non-variable argument for postinc",
401 "No-assign-to or no-change argument for postinc",
402 "No-copy-to or no-change argument for octet postdec",
403 "Non-variable argument for postdec",
404 "No-assign-to or no-change argument for postdec",
405 "Error-type structure for initialization",
406 "No-copy-to structure for initialization",
407 "Too many initializer values",
408 "Attempt to initialize freed named block",
409 "Bad structure type for initialization",
410 "No-assign-to element for initialization",
411 "No-change element for initialization",
412 "No-type-change element for initialization",
413 "No-error-value element for initialization",
414 "No-assign-or-copy-from source for initialization",
415 "No-relocate for list insert",
416 "No-relocate for list delete",
417 "No-relocate for list push",
418 "No-relocate for list append",
419 "No-relocate for list pop",
420 "No-relocate for list remove",
421 "Non-variable first argument for modify",
422 "Non-string second argument for modify",
423 "No-change first argument for modify",
424 "Undefined function for modify",
425 "Unacceptable type first argument for modify",
426 "Non-string arguments for fpathopen",
427 "Unrecognized mode for fpathopen",
428 "Bad epsilon argument for log",
429 "Non-numeric first argument for log",
430 "Non-file argument for fgetfile",
431 "File argument for fgetfile not open for reading",
432 "Unable to set file position in fgetfile",
433 "Non-representable type for estr",
434 NULL