|
ds@1952
|
1 |
/* Pawn compiler - Error message strings (plain and compressed formats) |
|
ds@1952
|
2 |
* |
|
ds@1952
|
3 |
* Copyright (c) ITB CompuPhase, 2000-2006 |
|
ds@1952
|
4 |
* |
|
ds@1952
|
5 |
* This software is provided "as-is", without any express or implied warranty. |
|
ds@1952
|
6 |
* In no event will the authors be held liable for any damages arising from |
|
ds@1952
|
7 |
* the use of this software. |
|
ds@1952
|
8 |
* |
|
ds@1952
|
9 |
* Permission is granted to anyone to use this software for any purpose, |
|
ds@1952
|
10 |
* including commercial applications, and to alter it and redistribute it |
|
ds@1952
|
11 |
* freely, subject to the following restrictions: |
|
ds@1952
|
12 |
* |
|
ds@1952
|
13 |
* 1. The origin of this software must not be misrepresented; you must not |
|
ds@1952
|
14 |
* claim that you wrote the original software. If you use this software in |
|
ds@1952
|
15 |
* a product, an acknowledgment in the product documentation would be |
|
ds@1952
|
16 |
* appreciated but is not required. |
|
ds@1952
|
17 |
* 2. Altered source versions must be plainly marked as such, and must not be |
|
ds@1952
|
18 |
* misrepresented as being the original software. |
|
ds@1952
|
19 |
* 3. This notice may not be removed or altered from any source distribution. |
|
ds@1952
|
20 |
* |
|
ds@1952
|
21 |
* Version: $Id$ |
|
ds@1952
|
22 |
*/ |
|
ds@1952
|
23 |
|
|
ds@1952
|
24 |
SC_FUNC int strexpand(char *dest, unsigned char *source, int maxlen, unsigned char pairtable[128][2]); |
|
ds@1952
|
25 |
|
|
ds@1952
|
26 |
#define SCPACK_TABLE errstr_table |
|
ds@1952
|
27 |
/*-*SCPACK start of pair table, do not change or remove this line */ |
|
ds@1952
|
28 |
unsigned char errstr_table[][2] = { |
|
ds@1952
|
29 |
{101,32}, {111,110}, {116,32}, {105,110}, {97,114}, {115,32}, {116,105}, {100,32}, {101,114}, {37,115}, {101,110}, {134,129}, {34,137}, {140,34}, {97,108}, {117,110}, |
|
ds@1952
|
30 |
{114,101}, {110,111}, {97,116}, {115,105}, {121,32}, {97,110}, {111,114}, {109,98}, {115,116}, {32,141}, {100,101}, {41,10}, {109,138}, {145,130}, {101,135}, {139,32}, |
|
ds@1952
|
31 |
{98,108}, {111,108}, {114,97}, {143,99}, {118,142}, {102,163}, {115,121}, {166,151}, {167,161}, {97,32}, {117,115}, {103,32}, {115,147}, {132,162}, {97,160}, {136,32}, |
|
ds@1952
|
32 |
{150,32}, {99,104}, {103,117}, {105,135}, {178,156}, {164,179}, {132,180}, {111,102}, {116,104}, {101,120}, {165,159}, {131,181}, {101,100}, {101,133}, {105,133}, {168,153}, |
|
ds@1952
|
33 |
{154,102}, {118,132}, {183,32}, {105,174}, {193,195}, {116,111}, {173,148}, {109,97}, {99,129}, {101,10}, {115,10}, {112,144}, {116,97}, {182,130}, {98,128}, {152,146}, |
|
ds@1952
|
34 |
{44,32}, {132,97}, {192,131}, {170,130}, {153,10}, {109,146}, {191,155}, {109,211}, {40,214}, {104,97}, {196,128}, {34,32}, {129,32}, {142,32}, {105,99}, {117,108}, |
|
ds@1952
|
35 |
{99,111}, {147,122}, {110,32}, {100,105}, {101,108}, {108,111}, {111,112}, {116,136}, {200,152}, {131,32}, {149,32}, {131,171}, {213,177}, {58,212}, {109,101}, {102,105}, |
|
ds@1952
|
36 |
{100,111}, {97,115}, {108,128}, {118,128}, {230,136}, {232,149}, {204,171}, {203,172}, {215,206}, {119,105}, {109,112}, {110,117}, {185,247}, {165,139}, {251,151} |
|
ds@1952
|
37 |
}; |
|
ds@1952
|
38 |
/*-*SCPACK end of pair table, do not change or remove this line */ |
|
ds@1952
|
39 |
|
|
ds@1952
|
40 |
static char *errmsg[] = { |
|
dvander@3337
|
41 |
#if 1 |
|
ds@1952
|
42 |
/*001*/ "expected token: \"%s\", but found \"%s\"\n", |
|
ds@1952
|
43 |
/*002*/ "only a single statement (or expression) can follow each \"case\"\n", |
|
ds@1952
|
44 |
/*003*/ "declaration of a local variable must appear in a compound block\n", |
|
ds@1952
|
45 |
/*004*/ "function \"%s\" is not implemented\n", |
|
ds@1952
|
46 |
/*005*/ "function may not have arguments\n", |
|
ds@1952
|
47 |
/*006*/ "must be assigned to an array\n", |
|
ds@1952
|
48 |
/*007*/ "operator cannot be redefined\n", |
|
ds@1952
|
49 |
/*008*/ "must be a constant expression; assumed zero\n", |
|
ds@1952
|
50 |
/*009*/ "invalid array size (negative, zero or out of bounds)\n", |
|
ds@1952
|
51 |
/*010*/ "invalid function or declaration\n", |
|
ds@1952
|
52 |
/*011*/ "invalid outside functions\n", |
|
ds@1952
|
53 |
/*012*/ "invalid function call, not a valid address\n", |
|
ds@1952
|
54 |
/*013*/ "no entry point (no public functions)\n", |
|
ds@1952
|
55 |
/*014*/ "invalid statement; not in switch\n", |
|
ds@1952
|
56 |
/*015*/ "\"default\" case must be the last case in switch statement\n", |
|
ds@1952
|
57 |
/*016*/ "multiple defaults in \"switch\"\n", |
|
ds@1952
|
58 |
/*017*/ "undefined symbol \"%s\"\n", |
|
ds@1952
|
59 |
/*018*/ "initialization data exceeds declared size\n", |
|
ds@1952
|
60 |
/*019*/ "not a label: \"%s\"\n", |
|
ds@1952
|
61 |
/*020*/ "invalid symbol name \"%s\"\n", |
|
ds@1952
|
62 |
/*021*/ "symbol already defined: \"%s\"\n", |
|
ds@1952
|
63 |
/*022*/ "must be lvalue (non-constant)\n", |
|
ds@1952
|
64 |
/*023*/ "array assignment must be simple assignment\n", |
|
ds@1952
|
65 |
/*024*/ "\"break\" or \"continue\" is out of context\n", |
|
ds@1952
|
66 |
/*025*/ "function heading differs from prototype\n", |
|
ds@1952
|
67 |
/*026*/ "no matching \"#if...\"\n", |
|
ds@1952
|
68 |
/*027*/ "invalid character constant\n", |
|
ds@1952
|
69 |
/*028*/ "invalid subscript (not an array or too many subscripts): \"%s\"\n", |
|
ds@1952
|
70 |
/*029*/ "invalid expression, assumed zero\n", |
|
ds@1952
|
71 |
/*030*/ "compound statement not closed at the end of file (started at line %d)\n", |
|
ds@1952
|
72 |
/*031*/ "unknown directive\n", |
|
ds@1952
|
73 |
/*032*/ "array index out of bounds (variable \"%s\")\n", |
|
ds@1952
|
74 |
/*033*/ "array must be indexed (variable \"%s\")\n", |
|
ds@1952
|
75 |
/*034*/ "argument does not have a default value (argument %d)\n", |
|
ds@1952
|
76 |
/*035*/ "argument type mismatch (argument %d)\n", |
|
ds@1952
|
77 |
/*036*/ "empty statement\n", |
|
ds@1952
|
78 |
/*037*/ "invalid string (possibly non-terminated string)\n", |
|
ds@1952
|
79 |
/*038*/ "extra characters on line\n", |
|
ds@1952
|
80 |
/*039*/ "constant symbol has no size\n", |
|
ds@1952
|
81 |
/*040*/ "duplicate \"case\" label (value %d)\n", |
|
ds@1952
|
82 |
/*041*/ "invalid ellipsis, array size is not known\n", |
|
ds@1952
|
83 |
/*042*/ "invalid combination of class specifiers\n", |
|
ds@1952
|
84 |
/*043*/ "character constant exceeds range for packed string\n", |
|
ds@1952
|
85 |
/*044*/ "positional parameters must precede all named parameters\n", |
|
ds@1952
|
86 |
/*045*/ "too many function arguments\n", |
|
ds@1952
|
87 |
/*046*/ "unknown array size (variable \"%s\")\n", |
|
ds@1952
|
88 |
/*047*/ "array sizes do not match, or destination array is too small\n", |
|
ds@1952
|
89 |
/*048*/ "array (s do not match\n", |
|
ds@1952
|
90 |
/*049*/ "invalid line continuation\n", |
|
ds@1952
|
91 |
/*050*/ "invalid range\n", |
|
ds@1952
|
92 |
/*051*/ "invalid subscript, use \"[ ]\" operators on major dimensions\n", |
|
ds@1952
|
93 |
/*052*/ "multi-dimensional arrays must be fully initialized\n", |
|
ds@1952
|
94 |
/*053*/ "exceeding maximum number of dimensions\n", |
|
ds@1952
|
95 |
/*054*/ "unmatched closing brace (\"}\")\n", |
|
ds@1952
|
96 |
/*055*/ "start of function body without function header\n", |
|
ds@1952
|
97 |
/*056*/ "arrays, local variables and function arguments cannot be public (variable \"%s\")\n", |
|
ds@1952
|
98 |
/*057*/ "unfinished expression before compiler directive\n", |
|
ds@1952
|
99 |
/*058*/ "duplicate argument; same argument is passed twice\n", |
|
ds@1952
|
100 |
/*059*/ "function argument may not have a default value (variable \"%s\")\n", |
|
ds@1952
|
101 |
/*060*/ "multiple \"#else\" directives between \"#if ... #endif\"\n", |
|
ds@1952
|
102 |
/*061*/ "\"#elseif\" directive follows an \"#else\" directive\n", |
|
ds@1952
|
103 |
/*062*/ "number of operands does not fit the operator\n", |
|
ds@1952
|
104 |
/*063*/ "function result tag of operator \"%s\" must be \"%s\"\n", |
|
ds@1952
|
105 |
/*064*/ "cannot change predefined operators\n", |
|
ds@1952
|
106 |
/*065*/ "function argument may only have a single tag (argument %d)\n", |
|
ds@1952
|
107 |
/*066*/ "function argument may not be a reference argument or an array (argument \"%s\")\n", |
|
ds@1952
|
108 |
/*067*/ "variable cannot be both a reference and an array (variable \"%s\")\n", |
|
ds@1952
|
109 |
/*068*/ "invalid rational number precision in #pragma\n", |
|
ds@1952
|
110 |
/*069*/ "rational number format already defined\n", |
|
ds@1952
|
111 |
/*070*/ "rational number support was not enabled\n", |
|
ds@1952
|
112 |
/*071*/ "user-defined operator must be declared before use (function \"%s\")\n", |
|
ds@1952
|
113 |
/*072*/ "\"sizeof\" operator is invalid on \"function\" symbols\n", |
|
ds@1952
|
114 |
/*073*/ "function argument must be an array (argument \"%s\")\n", |
|
ds@1952
|
115 |
/*074*/ "#define pattern must start with an alphabetic character\n", |
|
ds@1952
|
116 |
/*075*/ "input line too long (after substitutions)\n", |
|
ds@1952
|
117 |
/*076*/ "syntax error in the expression, or invalid function call\n", |
|
ds@1952
|
118 |
/*077*/ "malformed UTF-8 encoding, or corrupted file: %s\n", |
|
ds@1952
|
119 |
/*078*/ "function uses both \"return\" and \"return <value>\"\n", |
|
ds@1952
|
120 |
/*079*/ "inconsistent return types (array & non-array)\n", |
|
ds@1952
|
121 |
/*080*/ "unknown symbol, or not a constant symbol (symbol \"%s\")\n", |
|
ds@1952
|
122 |
/*081*/ "cannot take a tag as a default value for an indexed array parameter (symbol \"%s\")\n", |
|
ds@1952
|
123 |
/*082*/ "user-defined operators and native functions may not have states\n", |
|
ds@1952
|
124 |
/*083*/ "a function or variable may only belong to a single automaton (symbol \"%s\")\n", |
|
ds@1952
|
125 |
/*084*/ "state conflict: one of the states is already assigned to another implementation (symbol \"%s\")\n", |
|
ds@1952
|
126 |
/*085*/ "no states are defined for symbol \"%s\"\n", |
|
ds@1952
|
127 |
/*086*/ "unknown automaton \"%s\"\n", |
|
ds@1952
|
128 |
/*087*/ "unknown state \"%s\" for automaton \"%s\"\n", |
|
ds@1952
|
129 |
/*088*/ "public variables and local variables may not have states (symbol \"%s\")\n", |
|
ds@1952
|
130 |
/*089*/ "state variables may not be initialized (symbol \"%s\")\n", |
|
ds@1952
|
131 |
/*090*/ "public functions may not return arrays (symbol \"%s\")\n", |
|
ds@1952
|
132 |
/*091*/ "ambiguous constant; tag override is required (symbol \"%s\")\n", |
|
ds@1952
|
133 |
/*092*/ "number of arguments does not match definition\n", |
|
ds@1952
|
134 |
/*093*/ "expected tag name identifier\n", |
|
ds@1952
|
135 |
/*094*/ "function enumeration requires unique tag\n", |
|
ds@1952
|
136 |
/*095*/ "cannot have required parameters after optional parameters\n", |
|
ds@1952
|
137 |
/*096*/ "could not find member \"%s\" in struct \"%s\"\n", |
|
ds@1952
|
138 |
/*097*/ "symbol \"%s\" does not have a matching type\n", |
|
ds@1952
|
139 |
/*098*/ "struct requires unique struct name\n", |
|
ds@1952
|
140 |
/*099*/ "member \"%s\" appears more than once in struct \"%s\"\n", |
|
dvander@3337
|
141 |
/*100*/ "function prototypes do not match\n", |
|
dvander@3337
|
142 |
/*101*/ "specify either all dimensions or only the last dimension\n" |
|
ds@1952
|
143 |
#else |
|
ds@1952
|
144 |
"\271pect\236\305k\212:\231\320bu\202fo\217\207\215\012", |
|
ds@1952
|
145 |
"\201l\224\251s\203g\362\317e\234\202(\260\374\201) c\352f\241\345w ea\261 \042c\361e\042\012", |
|
ds@1952
|
146 |
"\232cl\321\237\302\251\345c\335\332\327appe\204 \351\251\340\372o\217\207\240ock\012", |
|
ds@1952
|
147 |
"\375\231 \276\235i\372le\234t\274\012", |
|
ds@1952
|
148 |
"\272\307\224\235\331\363\266t\312", |
|
ds@1952
|
149 |
"\370a\254gn\236\305 \352\255y\012", |
|
ds@1952
|
150 |
"\364\222\260c\225\235\316\220\322\274\012", |
|
ds@1952
|
151 |
"\370\251\365\202\374\201; \361sum\236z\210o\012", |
|
ds@1952
|
152 |
"\273\306\341\200(nega\206ve\320z\210o \260ou\202\302bo\217ds\233", |
|
ds@1952
|
153 |
"\273\272\260\232cl\321\213\012", |
|
ds@1952
|
154 |
"\273out\223d\200\375\312", |
|
ds@1952
|
155 |
"\273\272c\216l\320\235\251\265add\220s\312", |
|
ds@1952
|
156 |
"\221 \212tr\224po\203\202(\221 pu\240\336 \375s\233", |
|
ds@1952
|
157 |
"\273\317e\234t; \235\351s\371t\261\012", |
|
ds@1952
|
158 |
"\042\300a\337t\333c\361\200\370\270\200l\361\202c\361\200\351s\371t\261 \317e\234t\012", |
|
ds@1952
|
159 |
"m\337\206p\362\300a\337t\205\351\042s\371t\261\042\012", |
|
ds@1952
|
160 |
"\217\322\236\277\012", |
|
ds@1952
|
161 |
"\203i\206\216iza\237d\222\251\271ce\274\205\232cl\204\236\341\311", |
|
ds@1952
|
162 |
"\235\251lab\344\355", |
|
ds@1952
|
163 |
"\273\250 nam\200\215\012", |
|
ds@1952
|
164 |
"\250 \216\220ad\224\322\274\355", |
|
ds@1952
|
165 |
"\370l\244u\200(n\201-\365t\233", |
|
ds@1952
|
166 |
"\306a\254gn\234\202\370\223\372\362a\254gn\234t\012", |
|
ds@1952
|
167 |
"\042b\220ak\333\260\042\310t\203ue\333\276ou\202\302\310t\271t\012", |
|
ds@1952
|
168 |
"\272head\353\343ff\210\205from pro\305typ\311", |
|
ds@1952
|
169 |
"\221 \354\353\042#if...\042\012", |
|
ds@1952
|
170 |
"\273\261\321ct\257\365t\012", |
|
ds@1952
|
171 |
"\273subscrip\202(\235\352\306\260\305o m\225\224subscripts)\355", |
|
ds@1952
|
172 |
"\273\374\201\320\361sum\236z\210o\012", |
|
ds@1952
|
173 |
"\340\372o\217\207\317e\234\202\235c\345s\236a\202\270\200\212\207\302\357\362(\230\204t\236a\202l\203\200%d\233", |
|
ds@1952
|
174 |
"\217k\221w\342\343\220c\206v\311", |
|
ds@1952
|
175 |
"\306\203\232x ou\202\302bo\217d\205(\332\215\233", |
|
ds@1952
|
176 |
"\306\370\203\232x\236(\332\215\233", |
|
ds@1952
|
177 |
"\315\360\275\235\331\363\251\300a\337\202\244u\200(\315%d\233", |
|
ds@1952
|
178 |
"\315typ\200mis\354 (\315%d\233", |
|
ds@1952
|
179 |
"e\372t\224\317e\234t\012", |
|
ds@1952
|
180 |
"\273\230r\353(po\254\240\224n\201-\347m\203\222\236\230r\203g\233", |
|
ds@1952
|
181 |
"\271t\242 \261\321c\347\205\334l\203\311", |
|
ds@1952
|
182 |
"\365\202\250 \331\205\221 \341\311", |
|
ds@1952
|
183 |
"dupl\336\222\200\042c\361e\333lab\344 (\244u\200%d\233", |
|
ds@1952
|
184 |
"\273\344lip\223s\320\306\341\200\276\235k\221wn\012", |
|
ds@1952
|
185 |
"\273\340\227\203a\237\302cl\361\205speci\357\210\312", |
|
ds@1952
|
186 |
"\261\321ct\257\365\202\271ce\274\205r\225g\200f\260pack\236\230r\203g\012", |
|
ds@1952
|
187 |
"po\223\213\335p\321\356\347\205\327\313c\274\200\216l nam\236p\321\356\347\312", |
|
ds@1952
|
188 |
"\305o m\225\224\272\266t\312", |
|
ds@1952
|
189 |
"\217k\221w\342\306\341\200(\332\215\233", |
|
ds@1952
|
190 |
"\306\341\275\360 \235\354\320\260\232\230\203a\237\306\276\305o sm\216l\012", |
|
ds@1952
|
191 |
"\306(\205\360 \235\354\012", |
|
ds@1952
|
192 |
"\273l\203\200\310t\203ua\213\012", |
|
ds@1952
|
193 |
"\273r\225g\311", |
|
ds@1952
|
194 |
"\273subscript\320\252\200\042[ ]\333\364\222\226\205\334\307j\260\343\234\223\201\312", |
|
ds@1952
|
195 |
"m\337\206-\343\234\223\201\335\255y\205\370f\337l\224\203i\206\216iz\274\012", |
|
ds@1952
|
196 |
"\271ce\274\353\307ximum \376\257\302\343\234\223\201\312", |
|
ds@1952
|
197 |
"\217\354\236c\345s\353b\242c\200(\042}\042\233", |
|
ds@1952
|
198 |
"\230\204\202\302\272bod\224\371\270ou\202\272head\210\012", |
|
ds@1952
|
199 |
"\255ys\320\345c\335\304\275\225\207\272\266t\205c\225\235\316pu\240\336 (\332\215\233", |
|
ds@1952
|
200 |
"\217f\203ish\236\374\334bef\226\200\340\372il\257\343\220c\206v\311", |
|
ds@1952
|
201 |
"dupl\336\222\200\266t; sam\200\315\276p\361s\236tw\336\311", |
|
ds@1952
|
202 |
"\272\315\307\224\235\331\363\251\300a\337\202\244u\200(\332\215\233", |
|
ds@1952
|
203 |
"m\337\206p\362\042#\344se\333\343\220c\206v\275betwe\212 \042#if ... #\212\343f\042\012", |
|
ds@1952
|
204 |
"\042#\344seif\333\343\220c\206\363f\241\345w\205\352\042#\344se\333\343\220c\206v\311", |
|
ds@1952
|
205 |
"\376\257\302\364\225d\205\360\275\235\357\202\270\200\364\222\226\012", |
|
ds@1952
|
206 |
"\272\220s\337\202\366\302\364\222\226\231 \370\215\012", |
|
ds@1952
|
207 |
"c\225\235\261\225g\200\313\322\236\364\222\226\312", |
|
ds@1952
|
208 |
"\272\315\307\224\201l\224\331\363\251s\203g\362\366(\315%d\233", |
|
ds@1952
|
209 |
"\272\315\307\224\235\316\251\220f\210\212c\200\315\260\352\306(\315\215\233", |
|
ds@1952
|
210 |
"\332c\225\235\316bo\270 \251\220f\210\212c\200\225\207\352\306(\332\215\233", |
|
ds@1952
|
211 |
"\273\242\213\335\376\257\313ci\223\334\351#p\242g\307\012", |
|
ds@1952
|
212 |
"\242\213\335\376\257f\226\307\202\216\220ad\224\322\274\012", |
|
ds@1952
|
213 |
"\242\213\335\376\257supp\226\202wa\205\235\212\256\274\012", |
|
ds@1952
|
214 |
"\252\210-\322\236\364\222\260\370\232cl\204\236bef\226\200\252\200(\375\231\233", |
|
ds@1952
|
215 |
"\042\341e\267\333\364\222\260\276\273\334\042\375\333\250\312", |
|
ds@1952
|
216 |
"\272\315\370\352\306(\315\215\233", |
|
ds@1952
|
217 |
"#\322\200p\222\347\342\327\230\204\202\371\270 \352\216p\331be\206c \261\321c\347\012", |
|
ds@1952
|
218 |
"\203pu\202l\203\200\305o l\201\253(aft\257subs\206tu\213s\233", |
|
ds@1952
|
219 |
"\246n\314x \210r\260\351\270\200\374\201\320\260\273\272c\216l\012", |
|
ds@1952
|
220 |
"m\216f\226m\236UTF-8 \212\340d\203g\320\260c\226rupt\236\357le: \211\012", |
|
ds@1952
|
221 |
"\272\252\275bo\270 \042\220turn\333\225\207\042\220tur\342<\244ue>\042\012", |
|
ds@1952
|
222 |
"\203\310\223\230\212\202\220tur\342typ\275(\306& n\201-\255y\233", |
|
ds@1952
|
223 |
"\217k\221w\342\250\320\260\235\251\365\202\250 \330", |
|
ds@1952
|
224 |
"c\225\235\314k\200\251\366a\205\251\300a\337\202\244u\200f\260\352\203\232x\236\306p\321\356t\257\330", |
|
ds@1952
|
225 |
"\252\210-\322\236\364\222\226\205\225\207na\206\363\375\205\307\224\235\331\363\317e\312", |
|
ds@1952
|
226 |
"\251\272\260\332\307\224\201l\224b\344\201\253\305 \251s\203g\362au\305\325\334\330", |
|
ds@1952
|
227 |
"\317\200\310fl\336t: \201\200\302\270\200\317\275\276\216\220ad\224a\254gn\236\305 a\221\270\257i\372le\234\314\237\330", |
|
ds@1952
|
228 |
"\221 \317\275\204\200\322\236f\260\277\012", |
|
ds@1952
|
229 |
"\217k\221w\342au\305\325\201\324", |
|
ds@1952
|
230 |
"\217k\221w\342\317\200\215 f\260au\305\325\201\324", |
|
ds@1952
|
231 |
"pu\240\336 \304\275\225\207\345c\335\304\275\307\224\235\331\363\317\275\330", |
|
ds@1952
|
232 |
"\317\200\304\275\307\224\235\316\203i\206\216iz\236\330", |
|
ds@1952
|
233 |
"pu\240\336 \375\205\307\224\235\220tur\342\255y\205\330", |
|
ds@1952
|
234 |
"a\227i\262ou\205\365t; \366ov\210rid\200\276\220qui\220\207\330", |
|
ds@1952
|
235 |
"\376\257\302\266t\205\360\275\235\354 \322i\213\012", |
|
ds@1952
|
236 |
"\271pect\236\366nam\200id\212\206\357\210\012", |
|
ds@1952
|
237 |
"\272\212um\210a\237\220qui\220\205\217iqu\200\314g\012", |
|
ds@1952
|
238 |
"c\225\235\331\363\220qui\220\207p\321\356\347\205aft\257\346\213\335p\321\356\347\312", |
|
ds@1952
|
239 |
"\340\337\207\235f\203\207\356\227\210\231 \351\230ruc\202\215\012", |
|
ds@1952
|
240 |
"\277 \360\275\235\331\363\251\354\353typ\311", |
|
ds@1952
|
241 |
"\230ruc\202\220qui\220\205\217iqu\200\230ruc\202nam\311", |
|
ds@1952
|
242 |
"\356\227\210\231 appe\204\205m\226\200\270\352\201c\200\351\230ruc\202\215\012", |
|
ds@1952
|
243 |
"\272pro\305typ\275\360 \235\354\012" |
|
ds@1952
|
244 |
#endif |
|
ds@1952
|
245 |
}; |
|
ds@1952
|
246 |
|
|
ds@1952
|
247 |
static char *fatalmsg[] = { |
|
dvander@3337
|
248 |
#if 1 |
|
ds@1952
|
249 |
/*120*/ "cannot read from file: \"%s\"\n", |
|
ds@1952
|
250 |
/*121*/ "cannot write to file: \"%s\"\n", |
|
ds@1952
|
251 |
/*122*/ "table overflow: \"%s\"\n", |
|
ds@1952
|
252 |
/* table can be: loop table |
|
ds@1952
|
253 |
* literal table |
|
ds@1952
|
254 |
* staging buffer |
|
ds@1952
|
255 |
* option table (response file) |
|
ds@1952
|
256 |
* peephole optimizer table |
|
ds@1952
|
257 |
*/ |
|
ds@1952
|
258 |
/*123*/ "insufficient memory\n", |
|
ds@1952
|
259 |
/*124*/ "invalid assembler instruction \"%s\"\n", |
|
ds@1952
|
260 |
/*125*/ "numeric overflow, exceeding capacity\n", |
|
ds@1952
|
261 |
/*126*/ "compiled script exceeds the maximum memory size (%ld bytes)\n", |
|
ds@1952
|
262 |
/*127*/ "too many error messages on one line\n", |
|
ds@1952
|
263 |
/*128*/ "codepage mapping file not found\n", |
|
ds@1952
|
264 |
/*129*/ "invalid path: \"%s\"\n", |
|
ds@1952
|
265 |
/*130*/ "assertion failed: %s\n", |
|
ds@1952
|
266 |
/*131*/ "user error: %s\n", |
|
ds@1952
|
267 |
#else |
|
ds@1952
|
268 |
"c\225\235\220a\207from \357le\355", |
|
ds@1952
|
269 |
"c\225\235writ\200\305 \357le\355", |
|
ds@1952
|
270 |
"t\256\200ov\210f\345w\355", |
|
ds@1952
|
271 |
"\203suff\336i\212\202\356m\226y\012", |
|
ds@1952
|
272 |
"\273\361se\227l\257\203\230ruc\213\324", |
|
ds@1952
|
273 |
"\373m\210\336 ov\210f\345w\320\271ce\274\353capacity\012", |
|
ds@1952
|
274 |
"\340\372il\236scrip\202\271ce\274\205\270\200\307ximum \356m\226\224\341\200(%l\207bytes\233", |
|
ds@1952
|
275 |
"\305o m\225\224\210r\260\356ssag\275\334\201\200l\203\311", |
|
ds@1952
|
276 |
"\340\232pag\200\307pp\353\357\362\235fo\217d\012", |
|
ds@1952
|
277 |
"\273p\222h\355", |
|
ds@1952
|
278 |
"\361s\210\237fail\274: \211\012", |
|
ds@1952
|
279 |
"\252\257\210r\226: \211\012" |
|
ds@1952
|
280 |
#endif |
|
ds@1952
|
281 |
}; |
|
ds@1952
|
282 |
|
|
ds@1952
|
283 |
static char *warnmsg[] = { |
|
dvander@3337
|
284 |
#if 1 |
|
ds@1952
|
285 |
/*200*/ "symbol \"%s\" is truncated to %d characters\n", |
|
ds@1952
|
286 |
/*201*/ "redefinition of constant/macro (symbol \"%s\")\n", |
|
ds@1952
|
287 |
/*202*/ "number of arguments does not match definition\n", |
|
ds@1952
|
288 |
/*203*/ "symbol is never used: \"%s\"\n", |
|
ds@1952
|
289 |
/*204*/ "symbol is assigned a value that is never used: \"%s\"\n", |
|
ds@1952
|
290 |
/*205*/ "redundant code: constant expression is zero\n", |
|
ds@1952
|
291 |
/*206*/ "redundant test: constant expression is non-zero\n", |
|
ds@1952
|
292 |
/*207*/ "unknown #pragma\n", |
|
ds@1952
|
293 |
/*208*/ "function with tag result used before definition, forcing reparse\n", |
|
ds@1952
|
294 |
/*209*/ "function \"%s\" should return a value\n", |
|
ds@1952
|
295 |
/*210*/ "possible use of symbol before initialization: \"%s\"\n", |
|
ds@1952
|
296 |
/*211*/ "possibly unintended assignment\n", |
|
ds@1952
|
297 |
/*212*/ "possibly unintended bitwise operation\n", |
|
ds@1952
|
298 |
/*213*/ "tag mismatch\n", |
|
ds@1952
|
299 |
/*214*/ "possibly a \"const\" array argument was intended: \"%s\"\n", |
|
ds@1952
|
300 |
/*215*/ "expression has no effect\n", |
|
ds@1952
|
301 |
/*216*/ "nested comment\n", |
|
ds@1952
|
302 |
/*217*/ "loose indentation\n", |
|
ds@1952
|
303 |
/*218*/ "old style prototypes used with optional semicolumns\n", |
|
ds@1952
|
304 |
/*219*/ "local variable \"%s\" shadows a variable at a preceding level\n", |
|
ds@1952
|
305 |
/*220*/ "expression with tag override must appear between parentheses\n", |
|
ds@1952
|
306 |
/*221*/ "label name \"%s\" shadows tag name\n", |
|
ds@1952
|
307 |
/*222*/ "number of digits exceeds rational number precision\n", |
|
ds@1952
|
308 |
/*223*/ "redundant \"sizeof\": argument size is always 1 (symbol \"%s\")\n", |
|
ds@1952
|
309 |
/*224*/ "indeterminate array size in \"sizeof\" expression (symbol \"%s\")\n", |
|
ds@1952
|
310 |
/*225*/ "unreachable code\n", |
|
ds@1952
|
311 |
/*226*/ "a variable is assigned to itself (symbol \"%s\")\n", |
|
ds@1952
|
312 |
/*227*/ "more initializers than enum fields\n", |
|
ds@1952
|
313 |
/*228*/ "length of initializer exceeds size of the enum field\n", |
|
ds@1952
|
314 |
/*229*/ "index tag mismatch (symbol \"%s\")\n", |
|
ds@1952
|
315 |
/*230*/ "no implementation for state \"%s\" in function \"%s\", no fall-back\n", |
|
ds@1952
|
316 |
/*231*/ "state specification on forward declaration is ignored\n", |
|
ds@1952
|
317 |
/*232*/ "output file is written, but with compact encoding disabled\n", |
|
ds@1952
|
318 |
/*233*/ "state variable \"%s\" shadows a global variable\n", |
|
ds@1952
|
319 |
/*234*/ "symbol \"%s\" is marked as deprecated: %s\n", |
|
ds@1952
|
320 |
/*235*/ "public function lacks forward declaration (symbol \"%s\")\n", |
|
ds@1952
|
321 |
/*236*/ "unknown parameter in substitution (incorrect #define pattern)\n" |
|
ds@1952
|
322 |
#else |
|
ds@1952
|
323 |
"\277 \276tr\243\222\236\305 %\207\261\321c\347\312", |
|
ds@1952
|
324 |
"\220\322i\237\302\365t/\307cro \330", |
|
ds@1952
|
325 |
"\376\257\302\266t\205\360\275\235\354 \322i\213\012", |
|
ds@1952
|
326 |
"\250 \276nev\257\252\274\355", |
|
ds@1952
|
327 |
"\250 \276a\254gn\236\251\244u\200\270a\202\276nev\257\252\274\355", |
|
ds@1952
|
328 |
"\220d\217d\225\202\340\232: \365\202\374\334\276z\210o\012", |
|
ds@1952
|
329 |
"\220d\217d\225\202te\230: \365\202\374\334\276n\201-z\210o\012", |
|
ds@1952
|
330 |
"\217k\221w\342#p\242g\307\012", |
|
ds@1952
|
331 |
"\272\371\270 \366\220s\337\202\252\236bef\226\200\322i\213\320f\226c\353\220p\204s\311", |
|
ds@1952
|
332 |
"\375\231 sho\337\207\220tur\342\251\244u\311", |
|
ds@1952
|
333 |
"po\254\240\200\252\200\302\250 bef\226\200\203i\206\216iza\213\355", |
|
ds@1952
|
334 |
"po\254\240\224\217\203t\212\232\207a\254gn\234t\012", |
|
ds@1952
|
335 |
"po\254\240\224\217\203t\212\232\207bit\371s\200\364a\213\012", |
|
ds@1952
|
336 |
"\366mis\354\012", |
|
ds@1952
|
337 |
"po\254\240\224\251\042\350\333\306\315wa\205\203t\212\232d\355", |
|
ds@1952
|
338 |
"\374\334\331\205\221 effect\012", |
|
ds@1952
|
339 |
"ne\230\236\340m\234t\012", |
|
ds@1952
|
340 |
"\345os\200\203d\212\314\213\012", |
|
ds@1952
|
341 |
"\241\207\230y\362pro\305typ\275\252\236\371\270 \346\213\335sem\336\241umn\312", |
|
ds@1952
|
342 |
"\345c\335\332\215 s\331\360w\205\251\332a\202\251\313c\274\353lev\344\012", |
|
ds@1952
|
343 |
"\374\334\371\270 \366ov\210rid\200\327appe\204 betwe\212 p\204\212\270ese\312", |
|
ds@1952
|
344 |
"lab\344 nam\200\215 s\331\360w\205\366nam\311", |
|
ds@1952
|
345 |
"\376\257\302\343git\205\271ce\274\205\242\213\335\376\257\313ci\223\201\012", |
|
ds@1952
|
346 |
"\220d\217d\225\202\042\341e\267\042: \315\341\200\276\216way\2051 \330", |
|
ds@1952
|
347 |
"\203\232\347m\203\222\200\306\341\200\351\042\341e\267\333\374\334\330", |
|
ds@1952
|
348 |
"\217\220a\261\256\200\340\232\012", |
|
ds@1952
|
349 |
"\251\332\276a\254gn\236\305 its\344f \330", |
|
ds@1952
|
350 |
"m\226\200\203i\206\216iz\210\205\270\352\212um \357\344d\312", |
|
ds@1952
|
351 |
"l\212g\270 \302\203i\206\216iz\257\271ce\274\205\341\200\302\270\200\212um \357\344d\012", |
|
ds@1952
|
352 |
"\203\232x \366mis\354 \330", |
|
ds@1952
|
353 |
"\221 i\372le\234\314\237f\260\317\200\215 \351\375\231\320\221 f\216l-back\012", |
|
ds@1952
|
354 |
"\317\200specif\336a\237\334f\226w\204\207\232cl\321\237\276ig\221\220d\012", |
|
ds@1952
|
355 |
"outpu\202\357\362\276writt\212\320bu\202\371\270 \340\372ac\202\212\340d\353\343s\256\274\012", |
|
ds@1952
|
356 |
"\317\200\332\215 s\331\360w\205\251g\345b\335\304\311", |
|
ds@1952
|
357 |
"\277 \276m\204k\236a\205\232\313c\222\274: \211\012", |
|
ds@1952
|
358 |
"pu\240\336 \272lack\205f\226w\204\207\232cl\321\237\330", |
|
ds@1952
|
359 |
"\217k\221w\342p\321\356t\257\351subs\206tu\237(\203c\226\220c\202#\322\200p\222\347n\233" |
|
ds@1952
|
360 |
#endif |
|
ds@1952
|
361 |
}; |