diff --git a/plugins/include/clientprefs.inc b/plugins/include/clientprefs.inc index fab19ccc..433af35d 100644 --- a/plugins/include/clientprefs.inc +++ b/plugins/include/clientprefs.inc @@ -182,7 +182,7 @@ functag public CookieMenuHandler(client, CookieMenuAction:action, any:info, Stri * @noreturn * @error Invalid cookie handle. */ -native SetCookiePrefabMenu(Handle:cookie, CookieMenu:type, const String:display[], CookieMenuHandler:handler=CookieMenuHandler:-1, info=0); +native SetCookiePrefabMenu(Handle:cookie, CookieMenu:type, const String:display[], CookieMenuHandler:handler=INVALID_FUNCTION, info=0); /** * Adds a new item to the client cookie settings menu. diff --git a/plugins/include/dbi.inc b/plugins/include/dbi.inc index 8839eb2f..56071e68 100644 --- a/plugins/include/dbi.inc +++ b/plugins/include/dbi.inc @@ -762,7 +762,7 @@ methodmap Transaction < Handle native SQL_ExecuteTransaction( Handle:db, Transaction:txn, - SQLTxnSuccess:onSuccess=SQLTxnSuccess:-1, - SQLTxnFailure:onError=SQLTxnFailure:-1, + SQLTxnSuccess:onSuccess = INVALID_FUNCTION, + SQLTxnFailure:onError = INVALID_FUNCTION, any:data=0, DBPriority:priority=DBPrio_Normal); diff --git a/plugins/include/menus.inc b/plugins/include/menus.inc index 7c9551a4..0206c03b 100644 --- a/plugins/include/menus.inc +++ b/plugins/include/menus.inc @@ -846,7 +846,7 @@ native RedrawMenuItem(const String:text[]); * @return True on success, false on failure. * @error Invalid client index, or radio menus not supported. */ -native bool:InternalShowMenu(client, const String:str[], time, keys=-1, MenuHandler:handler=MenuHandler:-1); +native bool:InternalShowMenu(client, const String:str[], time, keys=-1, MenuHandler:handler=INVALID_FUNCTION); /** * Retrieves voting information from MenuAction_VoteEnd. diff --git a/plugins/include/usermessages.inc b/plugins/include/usermessages.inc index 373c9818..36b10649 100644 --- a/plugins/include/usermessages.inc +++ b/plugins/include/usermessages.inc @@ -162,7 +162,7 @@ functag public MsgPostHook(UserMsg:msg_id, bool:sent); * @noreturn * @error Invalid message index. */ -native HookUserMessage(UserMsg:msg_id, MsgHook:hook, bool:intercept=false, MsgPostHook:post=MsgPostHook:-1); +native HookUserMessage(UserMsg:msg_id, MsgHook:hook, bool:intercept=false, MsgPostHook:post=INVALID_FUNCTION); /** * Removes one usermessage hook. diff --git a/sourcepawn/compiler/sc3.c b/sourcepawn/compiler/sc3.c index c15e30bd..13348bfd 100644 --- a/sourcepawn/compiler/sc3.c +++ b/sourcepawn/compiler/sc3.c @@ -1659,8 +1659,12 @@ static int hier2(value *lval) tag=pc_addtag(st); lval->cmptag=tag; lvalue=hier2(lval); - if ((lval->tag & OBJECTTAG) || (tag & OBJECTTAG)) + if ((lval->tag & OBJECTTAG) || (tag & OBJECTTAG)) { matchtag(tag, lval->tag, MATCHTAG_COERCE); + } else if ((tag & FUNCTAG) != (lval->tag & FUNCTAG)) { + // Warn: unsupported cast. + error(237); + } lval->tag=tag; return lvalue; case tDEFINED: diff --git a/sourcepawn/compiler/sc5.scp b/sourcepawn/compiler/sc5.scp index 23c1a275..dcb704e6 100644 --- a/sourcepawn/compiler/sc5.scp +++ b/sourcepawn/compiler/sc5.scp @@ -31,14 +31,14 @@ SC_FUNC int strexpand(char *dest, unsigned char *source, int maxlen, unsigned ch #define SCPACK_TABLE errstr_table /*-*SCPACK start of pair table, do not change or remove this line */ unsigned char errstr_table [][2] = { - {101,32}, {116,32}, {111,110}, {115,32}, {100,32}, {97,114}, {105,110}, {116,105}, {101,114}, {37,115}, {110,111}, {97,110}, {101,110}, {135,130}, {97,108}, {114,101}, - {117,110}, {111,114}, {34,137}, {146,34}, {121,32}, {138,129}, {115,105}, {115,116}, {100,101}, {97,116}, {101,132}, {109,140}, {32,147}, {41,10}, {109,98}, {116,104}, - {117,115}, {114,97}, {145,32}, {144,99}, {98,108}, {163,141}, {102,165}, {101,120}, {97,32}, {116,121}, {99,139}, {118,142}, {111,108}, {169,112}, {170,149}, {115,121}, - {175,158}, {136,32}, {133,161}, {176,172}, {115,10}, {115,150}, {103,32}, {116,111}, {103,117}, {105,132}, {184,155}, {133,186}, {160,129}, {97,164}, {109,188}, {101,131}, - {102,134}, {101,10}, {44,32}, {171,185}, {99,104}, {166,32}, {134,195}, {104,97}, {111,102}, {117,108}, {99,116}, {105,131}, {98,128}, {97,141}, {178,148}, {110,32}, - {109,97}, {101,100}, {167,112}, {99,130}, {37,131}, {118,133}, {179,156}, {200,32}, {105,189}, {213,216}, {109,101}, {99,111}, {111,112}, {137,10}, {130,32}, {99,108}, - {118,128}, {187,129}, {152,192}, {102,105}, {97,131}, {173,128}, {220,136}, {116,97}, {100,105}, {119,105}, {97,115}, {108,128}, {156,10}, {109,153}, {151,153}, {217,128}, - {214,157}, {199,224}, {40,240}, {150,122}, {211,151}, {34,32}, {138,32}, {139,32}, {142,32}, {159,32}, {110,97}, {115,101}, {116,117}, {139,132}, {210,143} + {101,32}, {116,32}, {111,110}, {115,32}, {100,32}, {105,110}, {97,114}, {116,105}, {101,114}, {37,115}, {110,111}, {97,110}, {135,130}, {114,101}, {101,110}, {97,108}, + {117,110}, {111,114}, {34,137}, {146,34}, {121,32}, {138,129}, {115,105}, {115,116}, {100,101}, {97,116}, {101,132}, {109,142}, {32,147}, {116,104}, {41,10}, {109,98}, + {117,115}, {114,97}, {144,99}, {145,32}, {98,108}, {162,140}, {102,165}, {101,120}, {97,32}, {116,121}, {99,139}, {118,143}, {111,108}, {169,112}, {170,149}, {115,121}, + {175,159}, {136,32}, {134,161}, {176,172}, {115,10}, {103,32}, {116,111}, {115,150}, {103,117}, {105,132}, {184,155}, {134,186}, {101,131}, {160,129}, {97,164}, {109,189}, + {102,133}, {101,10}, {44,32}, {171,185}, {99,104}, {105,131}, {166,32}, {133,195}, {104,97}, {111,102}, {117,108}, {99,116}, {98,128}, {97,140}, {178,148}, {110,32}, + {109,97}, {101,100}, {99,111}, {167,112}, {99,130}, {37,131}, {118,134}, {179,156}, {201,32}, {105,190}, {214,217}, {109,101}, {111,112}, {137,10}, {130,32}, {99,108}, + {118,128}, {187,129}, {152,192}, {102,105}, {119,105}, {97,131}, {173,128}, {220,136}, {116,97}, {100,105}, {97,115}, {108,128}, {156,10}, {109,153}, {151,153}, {218,128}, + {139,132}, {215,158}, {200,224}, {40,241}, {116,117}, {150,122}, {212,151}, {34,32}, {133,32}, {138,32}, {139,32}, {143,32}, {157,32}, {133,181}, {110,97} }; /*-*SCPACK end of pair table, do not change or remove this line */ @@ -199,160 +199,160 @@ static char *errmsg[] = { /*153*/ "cannot use non-public functions as callbacks\n", /*154*/ "cannot assign INVALID_FUNCTION to a non-function type\n", #else - "\322e\312\232\267k\214:\234\302bu\201fo\220\204\223\012", - "\202l\224\250s\206g\353\356e\233\201(\242\376\265\202) \252 f\254low ea\304 \042c\352e\042\012", - "\230\337\205\315 \327\250loc\370\357\276appe\205 \206 \250\333mpo\220\204\244ock\012", - "\246\234 \313\225imple\233t\321\012", - "\305\320\224\225\361\273t\264", - "\276\314a\265gn\232\267 \367\262y\012", - "\346\231\242\256\314\217\342\321\012", - "\276\314\250\364\213\201\376\265\202; \352sum\232z\210o\012", - "\306\316\363\200(nega\207ve\302z\210o \242ou\201\327bo\220ds\235", - "\306\305\242\230\337\205\315\012", - "\306out\226d\200\246\264", - "\306\305c\216l\302\225\250\303add\217s\264", - "\366\214tr\224po\206\201(\366pu\244ic \246s\235", - "\306\356e\233t; \225\206 s\351t\304\012", - "\042\230fa\311t\365c\352\200\276\314\237\200l\352\201c\352\200\206 s\351t\304 \356e\233t\012", - "m\311\207p\353\230fa\311t\203\206 \042s\351t\304\042\012", - "\220\342\232\326\012", - "\206i\207\216iz\315 d\231\250\247ce\321\203\230\337\205\232\363\301", + "\323e\313\232\266k\216:\234\302bu\201fo\220\204\223\012", + "\202l\224\250s\205g\353\356e\233\201(\243\323\215\267\202) \252 f\254low ea\304 \042c\352e\042\012", + "\230\337\206\315 \330\250loc\373\357\277appe\206 \370\250\322mpo\220\204\244ock\012", + "\246\234 \305\225imple\233t\321\012", + "\306\320\224\225\362\273t\264", + "\277\314a\267gn\232\266 \372\262y\012", + "\347\231\243\256\314\215\342\321\012", + "\277\314\250\366\213\201\323\215\267\202; \352sum\232z\210o\012", + "\307\316\365\200(nega\207ve\302z\210o \243ou\201\330bo\220ds\236", + "\307\306\243\230\337\206\315\012", + "\307out\226d\200\246\264", + "\307\306c\217l\302\225\250\303add\215s\264", + "\371\216tr\224po\205\201(\371pu\244ic \246s\236", + "\307\356e\233t; \225\370s\344t\304\012", + "\042\230fa\312t\367c\352\200\277\314\235\200l\352\201c\352\200\370s\344t\304 \356e\233t\012", + "m\312\207p\353\230fa\312t\203\370\042s\344t\304\042\012", + "\220\342\232\327\012", + "\205i\207\217iz\315 d\231\250\247ce\321\203\230\337\206\232\365\301", "\225\250label:\354", - "\306\263 \372m\200\223\012", - "\263 \216\217ad\224\342\321:\354", - "\276\314l\253u\200(n\202-\364\213t\235", - "\316a\265gn\233\201\276\314\226mp\353a\265gn\233t\012", - "\042b\217ak\365\242\042\323t\206ue\365\313ou\201\327\323t\247t\012", - "\305head\206\266\350ff\210\203from pro\267\255\301", - "\366\355\304\206\266\042#if...\042\012", - "\306\304\205a\312\261\364\213t\012", - "\306subscrip\201(\225\367\316\242\267o m\213\224subscripts):\354", - "\306\376\265\202\302\352sum\232z\210o\012", - "\333mpo\220\204\356e\233\201\225\337os\232a\201\237\200\214\204\327\343\353(\227\205t\232a\201l\206\200%d\235", - "\220k\212w\317\350\217c\207v\301", - "\316\206\230x ou\201\327bo\220d\203(\357\223\235", - "\316\276\314\206\230x\232(\357\223\235", - "\341do\277\225\361\250\230fa\311\201\253u\200(\341%d\235", - "\341\345mis\355\304 (\341%d\235", + "\307\263 \376m\200\223\012", + "\263 \217\215ad\224\342\321:\354", + "\277\314l\253u\200(n\202-\366\213t\236", + "\316a\267gn\233\201\277\314\226mp\353a\267gn\233t\012", + "\042b\215ak\367\243\042\324t\205ue\367\305ou\201\330\324t\247t\012", + "\306head\375\351ff\210\203from pro\266\255\301", + "\371\355\304\375\042#if...\042\012", + "\307\304\206a\313\261\366\213t\012", + "\307subscrip\201(\225\372\316\243\266o m\213\224subscripts):\354", + "\307\323\215\267\202\302\352sum\232z\210o\012", + "\322mpo\220\204\356e\233\201\225\337os\232a\201\235\200\216\204\330\343\353(\227\206t\232a\201l\205\200%d\236", + "\220k\212w\317\351\215c\207v\301", + "\316\205\230x ou\201\330bo\220d\203(\357\223\236", + "\316\277\314\205\230x\232(\357\223\236", + "\341do\274\225\362\250\230fa\312\201\253u\200(\341%d\236", + "\341\346mis\355\304 (\341%d\236", "empt\224\356e\233t\012", - "\306\227r\206\266(po\265\244\224n\202-t\210m\206\231\232\227r\206g\235", - "\247t\241 \304\205a\312\210\203\336l\206\301", - "\364\213\201\263 \307\203\366\363\301", - "duplic\231\200\042c\352e\365label (\253u\200%d\235", - "\306ellip\226s\302\316\363\200\313\225k\212wn\012", - "\306\333\236\206\315 \327\337\352\203speci\343\210\264", - "\304\205a\312\261\364\213\201\247ce\321\203r\213g\200f\242pack\232\227r\206g\012", - "po\226\215\370p\205a\332t\210\203\276p\217c\321\200\216l \372m\232p\205a\332t\210\264", - "\267o m\213\224\305\273t\264", - "\220k\212w\317\316\363\200(\357\223\235", - "\316\363\277do \225\355\304\302\242\230\227\206\315 \316\313\267o sm\216l\012", + "\307\227r\375(po\267\244\224n\202-t\210m\205\231\232\227r\205g\236", + "\247t\241 \304\206a\313\210\203\336l\205\301", + "\366\213\201\263 \310\203\371\365\301", + "duplic\231\200\042c\352e\367label (\253u\200%d\236", + "\307ellip\226s\302\316\365\200\305\225k\212wn\012", + "\307\322\237\205\315 \330\337\352\203speci\343\210\264", + "\304\206a\313\261\366\213\201\247ce\321\203r\213g\200f\243pack\232\227r\205g\012", + "po\226\214\373p\206a\333t\210\203\277p\215c\321\200\217l \376m\232p\206a\333t\210\264", + "\266o m\213\224\306\273t\264", + "\220k\212w\317\316\365\200(\357\223\236", + "\316\365\274do \225\355\304\302\243\230\227\205\315 \316\305\266o sm\217l\012", "\316(\203do \225\355\304\012", - "\306l\206\200\323t\206u\315\012", - "\306r\213g\301", - "\306subscript\302\240\200\042[ ]\365\346\231\221\203\336\320j\242\350\233\226\202\264", - "m\311\207-\350\233\226\202\370\262y\203\276\314f\311l\224\206i\207\216iz\321\012", - "\247ce\321\206\266\320ximum nu\236\261\327\350\233\226\202\264", - "\220\355\304\232\337os\206\266b\241c\200(\042}\042\235", - "\227\205\201\327\305bod\224\351\237ou\201\305head\210\012", - "\262ys\302loc\370\331\277\375\305\273t\203\256\314pu\244ic (\357\223\235", - "\220\300ish\232\376\265\336bef\221\200\333mpil\261\350\217c\207v\301", - "duplic\231\200\273t; sam\200\341\313p\352s\232t\351c\301", - "\305\341\320\224\225\361\250\230fa\311\201\253u\200(\357\223\235", - "m\311\207p\353\042#el\373\365\350\217c\207v\277betwe\214 \042#if ... #\214\350f\042\012", - "\042#el\373if\365\350\217c\207\340f\254low\203\367\042#el\373\365\350\217c\207v\301", - "nu\236\261\327\346\213d\203do\277\225\343\201\237\200\346\231\221\012", - "\305\217s\311\201\347\266\327\346\231\221\234 \276\314\223\012", - "\256\304\213g\200p\217\342\232\346\231\221\264", - "\305\341\320\224\202l\224\361\250s\206g\353\347\266(\341%d\235", - "\305\341\320\224\225\314\250\217f\210\214c\200\341\242\367\316(\341\223\235", - "\357\256\314bo\371\250\217f\210\214c\200\375\367\316(\357\223\235", - "\306\241\215\370nu\236\261p\217ci\226\336\206 #p\241g\320\012", - "\241\215\370nu\236\261f\221\320\201\216\217ad\224\342\321\012", - "\241\215\370nu\236\261supp\221\201w\344\225\214\275\321\012", - "\240\210-\342\232\346\231\242\276\314\230\337\205\232bef\221\200\240\200(\246\234\235", - "\042\363e\310\365\346\231\242\313\306\336\042\246\365\263\264", - "\305\341\276\314\367\316(\341\223\235", - "#\342\200p\231t\210\317\276\227\205\201\351\371\367\216p\307be\207c \304\205a\312\210\012", - "\206pu\201l\206\200\267o l\202\266(aft\261subs\207\374\215s\235", - "\257n\347x \210r\242\206 \237\200\376\265\202\302\242\306\305c\216l\012", - "m\216f\221m\232UTF-8 \214\333d\206g\302\242c\221rupt\232\343le: \335", - "\305\240\277bo\371\042\217\374rn\365\375\042\217\374r\317<\253ue>\042\012", - "\206\323\226\227\214\201\217\374r\317\255\277(\316& n\202-\262y\235", - "\220k\212w\317\263\302\242\225\250\364\213\201\263 \362", - "\256\347k\200\250\347\266\344\250\230fa\311\201\253u\200f\242\367\206\230x\232\316p\205a\332t\261\362", - "\240\210-\342\232\346\231\221\203\375\372\207\340\246\203\320\224\225\361\356e\264", - "\250\305\242\357\320\224\202l\224bel\202\266\267 \250s\206g\353au\267\355\336\362", - "\356\200\323fli\312: \202\200\327\237\200\356\277\313\216\217ad\224a\265gn\232\267 a\212\237\261imple\233t\315 \362", - "\366\356\277\205\200\342\232f\242\326\012", - "\220k\212w\317au\267\355\202\354", - "\220k\212w\317\356\200\223 f\242au\267\355\202\354", - "pu\244ic \331\277\375loc\370\331\277\320\224\225\361\356\277\362", - "\356\200\331\277\320\224\225\314\206i\207\216iz\232\362", - "pu\244ic \246\203\320\224\225\217\374r\317\262y\203\362", - "a\236i\270ou\203\364\213t; \347\266ov\210rid\200\313\217qui\217\204\362", - "nu\236\261\327\273t\203do\277\225\355\304 \342i\215\012", - "\322e\312\232\347\266\372m\200id\214\207\343\210\012", - "\305\214um\210\315 \217qui\217\203\220iqu\200\347g\012", - "\256\361\217qui\217\204p\205a\332t\210\203aft\261\334\215\370p\205a\332t\210\264", - "\333\311\204\225\300\204\332\236\210\234 \206 \227ruc\201\223\012", - "\326 do\277\225\361\250\355\304\206\266\255\301", - "\345\223 sho\311\204\314\223 \206 new-\227y\353\230\337\205\315\264", - "\324sho\311\204\225\361\367\322lici\201\217\374r\317\255\301", - "\305pro\267\255\277do \225\355\304\012", - "specif\224ei\237\261\216l \350\233\226\202\203\242\202l\224\237\200l\352\201\350\233\226\202\012", - "\256\300\204\324\335", - "\324w\344\216\217ad\224\342\232\336\237\313\335", - "\256\300\204\213\224\332\237od\203f\242\335", - "\256\300\204\332\237o\204\242pr\346t\224\211.\335", - "\256c\216l \332\237od\203\336\367\262y\012", - "\256c\216l \332\237od\203\336\250\246\012", - "\332\237o\204\276\361\250\343rs\201\341\333mpa\207\244\200\351\371\237\200\324\345(\211\235", - "\324\372m\200\276\227\205\201\351\371\367upp\210c\352\200lett\210\012", - "\324\307\203\216\217ad\224be\214 \342\232(p\217vio\240l\224\373\214 \344\211\235", - "\322e\312\232id\214\207\343\261- d\271you f\221ge\201\250\255e?\012", - "\364ru\312\242\305\276\217\374r\317\347\266\335", - "\256\342\200\364ru\312\242f\221\234; \216\217ad\224\247i\227\203\344\250\335", - "miss\206\266\255e\302\242\324\276\361\237\200sam\200\372m\200\344\324\223\012", - "\256\240\200\230lete\302\324\324\307\203\366\230\227ru\312\221\012", - "\366\332\237od\320p \242\337\352\203w\344fo\220\204f\242\335", - "\366\230\227ru\312\242w\344fo\220\204f\242\324\335", - "\230\227ru\312\221\203\276\314\372\207\340\246\264", - "\230\227ru\312\221\203\256\361\247t\241 \273t\264", - "\332\237od\320p \375\337\352\203\226gn\231u\217\203\276\240\200new-\227y\353\345\230\337\205\315\264", - "\256specif\224\316\350\233\226\202\203\336bo\371\345\375\372m\301", - "\322e\312\232\345\376\265\202\012", - "f\311ly-qu\216i\343\232\372m\200\223 \313\267o l\202g\302wo\311\204\314tr\243\231\232\267\354", - "\220\322e\312\232\267k\214\302\322e\312\232\332\237o\204\242pr\346\251\012", - "\322e\312\232\042\372\207ve\042\302\042get\042\302\242\042\373t\042\012", - "\324f\242\324\216\217ad\224\247i\227\264", - "pr\346t\224gett\210\203\256accep\201\247t\241 \273t\264", - "\324\276\361\237\200sam\200\217\374r\317\345\344pr\346t\224\324(\211\235", - "\256mix \332\237od\320p\203\375\337\352s\277\351\371\206h\210it\213c\301", - "\256\333\210c\200\246\203\267 \253ue\264", - "\256\333\210c\200objec\201\345\324\267 n\202-objec\201\345\335", - "\256\333\210c\200n\202-objec\201\345\324\267 objec\201\345\335", - "\256\333\210c\200\220\217l\231\232objec\201\255\277\324\375\335", - "\345mis\355\304 (\324\375\211\235", - "\256\240\200\367objec\201\206 \250m\311\207-\347\266\373le\312\221\012", - "\262y\203\205\200\225supp\221t\232\344\217\374r\317\255e\264", - "\256mix \217f\210\214c\200\375\316\255e\264", - "\323s\201w\344speci\343\232t\351c\301", - "\333\311\204\225\300\204\345\223\012", - "new-\227y\353\316\255\277\256specif\224\350\233\226\336\363\277\344p\205\201\327\237eir \255\301", - "\372\207ves\302f\221w\205ds\302\375pu\244ic \246\203\256\217\374r\317\262y\264", - "\306\345\230\337\205\315\012", - "new-\227y\353\230\337\205\315\203sho\311\204\225\361\042new\042\012", - "vo\271\256\314\240\232\344\250\357\255\301", - "\306\345\376\265\202\012", - "#p\241gm\250new\230\337\203\276\314\217qui\217\204\242\334\215\216\012", - "new-\227y\353\230\337\205\315\203\205\200\217qui\217d\012", - "\256a\265g\317n\311l \267 \250n\202-n\311l\275\200\255\301", - "\366gett\261fo\220\204f\242pr\346t\224\335", - "\373tt\261\276\347k\200\247a\312l\224\202\200\247t\241 \341\351\371\345\335", - "\373tt\261\276\217\374r\317void\012", - "\366\373tt\261fo\220\204f\242pr\346t\224\335", - "\256\240\200n\202-pu\244ic \246\203\344c\216lback\264", - "\256a\265g\317INVALID_FUNCTION \267 \250n\202-\305\255\301" + "\307l\205\200\324t\205u\315\012", + "\307r\213g\301", + "\307subscript\302\240\200\042[ ]\367\347\231\221\203\336\320j\243\351\233\226\202\264", + "m\312\207-\351\233\226\202\373\262y\203\277\314f\312l\224\205i\207\217iz\321\012", + "\247ce\321\375\320ximum nu\237\261\330\351\233\226\202\264", + "\220\355\304\232\337os\375b\241c\200(\042}\042\236", + "\227\206\201\330\306bod\224\344\235ou\201\306head\210\012", + "\262ys\302loc\373\332\274\360\306\273t\203\256\314pu\244ic (\357\223\236", + "\220\300ish\232\323\215\267\336bef\221\200\322mpil\261\351\215c\207v\301", + "duplic\231\200\273t; sam\200\341\305p\352s\232t\344c\301", + "\306\341\320\224\225\362\250\230fa\312\201\253u\200(\357\223\236", + "m\312\207p\353\042#else\367\351\215c\207v\274betwe\216 \042#if ... #\216\351f\042\012", + "\042#elseif\367\351\215c\207\340f\254low\203\372\042#else\367\351\215c\207v\301", + "nu\237\261\330\347\213d\203do\274\225\343\201\235\200\347\231\221\012", + "\306\215s\312\201\350\265\330\347\231\221\234 \277\314\223\012", + "\256\304\213g\200p\215\342\232\347\231\221\264", + "\306\341\320\224\202l\224\362\250s\205g\353\350\265(\341%d\236", + "\306\341\320\224\225\314\250\215f\210\216c\200\341\243\372\316(\341\223\236", + "\357\256\314bo\374\250\215f\210\216c\200\360\372\316(\357\223\236", + "\307\241\214\373nu\237\261p\215ci\226\336\370#p\241g\320\012", + "\241\214\373nu\237\261f\221\320\201\217\215ad\224\342\321\012", + "\241\214\373nu\237\261supp\221\201w\345\225\216\276\321\012", + "\240\210-\342\232\347\231\243\277\314\230\337\206\232bef\221\200\240\200(\246\234\236", + "\042\365e\311\367\347\231\243\305\307\336\042\246\367\263\264", + "\306\341\277\314\372\316(\341\223\236", + "#\342\200p\231t\210\317\277\227\206\201\344\374\372\217p\310be\207c \304\206a\313\210\012", + "\205pu\201l\205\200\266o l\202\265(aft\261subs\207\364\214s\236", + "\257n\350x \210r\243\370\235\200\323\215\267\202\302\243\307\306c\217l\012", + "m\217f\221m\232UTF-8 \216\322d\205g\302\243c\221rupt\232\343le: \335", + "\306\240\274bo\374\042\215\364rn\367\360\042\215\364r\317<\253ue>\042\012", + "\205\324\226\227\216\201\215\364r\317\255\274(\316& n\202-\262y\236", + "\220k\212w\317\263\302\243\225\250\366\213\201\263 \363", + "\256\350k\200\250\350\265\345\250\230fa\312\201\253u\200f\243\372\205\230x\232\316p\206a\333t\261\363", + "\240\210-\342\232\347\231\221\203\360\376\207\340\246\203\320\224\225\362\356e\264", + "\250\306\243\357\320\224\202l\224bel\202\265\266 \250s\205g\353au\266\355\336\363", + "\356\200\324fli\313: \202\200\330\235\200\356\274\305\217\215ad\224a\267gn\232\266 a\212\235\261imple\233t\315 \363", + "\371\356\274\206\200\342\232f\243\327\012", + "\220k\212w\317au\266\355\202\354", + "\220k\212w\317\356\200\223 f\243au\266\355\202\354", + "pu\244ic \332\274\360loc\373\332\274\320\224\225\362\356\274\363", + "\356\200\332\274\320\224\225\314\205i\207\217iz\232\363", + "pu\244ic \246\203\320\224\225\215\364r\317\262y\203\363", + "a\237i\270ou\203\366\213t; \350\265ov\210rid\200\305\215qui\215\204\363", + "nu\237\261\330\273t\203do\274\225\355\304 \342i\214\012", + "\323e\313\232\350\265\376m\200id\216\207\343\210\012", + "\306\216um\210\315 \215qui\215\203\220iqu\200\350g\012", + "\256\362\215qui\215\204p\206a\333t\210\203aft\261\334\214\373p\206a\333t\210\264", + "\322\312\204\225\300\204\333\237\210\234 \370\227ruc\201\223\012", + "\327 do\274\225\362\250\355\304\375\255\301", + "\346\223 sho\312\204\314\223 \370new-\227y\353\230\337\206\315\264", + "\325sho\312\204\225\362\372\323lici\201\215\364r\317\255\301", + "\306pro\266\255\274do \225\355\304\012", + "specif\224ei\235\261\217l \351\233\226\202\203\243\202l\224\235\200l\352\201\351\233\226\202\012", + "\256\300\204\325\335", + "\325w\345\217\215ad\224\342\232\336\235\305\335", + "\256\300\204\213\224\333\235od\203f\243\335", + "\256\300\204\333\235o\204\243pr\347t\224\211.\335", + "\256c\217l \333\235od\203\336\372\262y\012", + "\256c\217l \333\235od\203\336\250\246\012", + "\333\235o\204\277\362\250\343rs\201\341\322mpa\207\244\200\344\374\235\200\325\346(\211\236", + "\325\376m\200\277\227\206\201\344\374\372upp\210c\352\200lett\210\012", + "\325\310\203\217\215ad\224be\216 \342\232(p\215vio\240l\224se\216 \345\211\236", + "\323e\313\232id\216\207\343\261- d\271you f\221ge\201\250\255e?\012", + "\366ru\313\243\306\277\215\364r\317\350\265\335", + "\256\342\200\366ru\313\243f\221\234; \217\215ad\224\247i\227\203\345\250\335", + "miss\375\255e\302\243\325\277\362\235\200sam\200\376m\200\345\325\223\012", + "\256\240\200\230lete\302\325\325\310\203\371\230\227ru\313\221\012", + "\371\333\235od\320p \243\337\352\203w\345fo\220\204f\243\335", + "\371\230\227ru\313\243w\345fo\220\204f\243\325\335", + "\230\227ru\313\221\203\277\314\376\207\340\246\264", + "\230\227ru\313\221\203\256\362\247t\241 \273t\264", + "\333\235od\320p \360\337\352\203\226gn\231u\215\203\277\240\200new-\227y\353\346\230\337\206\315\264", + "\256specif\224\316\351\233\226\202\203\336bo\374\346\360\376m\301", + "\323e\313\232\346\323\215\267\202\012", + "f\312ly-qu\217i\343\232\376m\200\223 \305\266o l\202g\302wo\312\204\314tr\242\231\232\266\354", + "\220\323e\313\232\266k\216\302\323e\313\232\333\235o\204\243pr\347\251\012", + "\323e\313\232\042\376\207ve\042\302\042get\042\302\243\042set\042\012", + "\325f\243\325\217\215ad\224\247i\227\264", + "pr\347t\224gett\210\203\256accep\201\247t\241 \273t\264", + "\325\277\362\235\200sam\200\215\364r\317\346\345pr\347t\224\325(\211\236", + "\256mix \333\235od\320p\203\360\337\352s\274\344\374\205h\210it\213c\301", + "\256\322\210c\200\246\203\266 \253ue\264", + "\256\322\210c\200objec\201\346\325\266 n\202-objec\201\346\335", + "\256\322\210c\200n\202-objec\201\346\325\266 objec\201\346\335", + "\256\322\210c\200\220\215l\231\232objec\201\255\274\325\360\335", + "\346mis\355\304 (\325\360\211\236", + "\256\240\200\372objec\201\370\250m\312\207-\350\265sele\313\221\012", + "\262y\203\206\200\225supp\221t\232\345\215\364r\317\255e\264", + "\256mix \215f\210\216c\200\360\316\255e\264", + "\324s\201w\345speci\343\232t\344c\301", + "\322\312\204\225\300\204\346\223\012", + "new-\227y\353\316\255\274\256specif\224\351\233\226\336\365\274\345p\206\201\330\235eir \255\301", + "\376\207ves\302f\221w\206ds\302\360pu\244ic \246\203\256\215\364r\317\262y\264", + "\307\346\230\337\206\315\012", + "new-\227y\353\230\337\206\315\203sho\312\204\225\362\042new\042\012", + "vo\271\256\314\240\232\345\250\357\255\301", + "\307\346\323\215\267\202\012", + "#p\241gm\250new\230\337\203\277\314\215qui\215\204\243\334\214\217\012", + "new-\227y\353\230\337\206\315\203\206\200\215qui\215d\012", + "\256a\267g\317n\312l \266 \250n\202-n\312l\276\200\255\301", + "\371gett\261fo\220\204f\243pr\347t\224\335", + "sett\261\277\350k\200\247a\313l\224\202\200\247t\241 \341\344\374\346\335", + "sett\261\277\215\364r\317void\012", + "\371sett\261fo\220\204f\243pr\347t\224\335", + "\256\240\200n\202-pu\244ic \246\203\345c\217lback\264", + "\256a\267g\317INVALID_FUNCTION \266 \250n\202-\306\255\301" #endif }; @@ -377,17 +377,17 @@ static char *fatalmsg[] = { /*170*/ "assertion failed: %s\n", /*171*/ "user error: %s\n", #else - "\256\217a\204from \343le:\354", - "\256writ\200\267 \343le:\354", - "t\275\200ov\210flow:\354", - "\206suf\343ci\214\201\332m\221y\012", - "\306\352\373\236l\261\206\227ruc\215\354", - "num\210ic ov\210flow\302\247ce\321\206\266capaci\251\012", - "\333mpil\232scrip\201\247ce\321\203\237\200\320ximum \332m\221\224\363\200(%l\204bytes\235", - "\267o m\213\224\210r\242\332ssag\277\336\202\200l\206\301", - "\333\230pag\200\320pp\206\266\343\353\225fo\220d\012", - "\306p\231h:\354", - "\352s\210\215 fail\321: \335", + "\256\215a\204from \343le:\354", + "\256writ\200\266 \343le:\354", + "t\276\200ov\210flow:\354", + "\205suf\343ci\216\201\333m\221y\012", + "\307\352se\237l\261\205\227ruc\214\354", + "num\210ic ov\210flow\302\247ce\321\375capaci\251\012", + "\322mpil\232scrip\201\247ce\321\203\235\200\320ximum \333m\221\224\365\200(%l\204bytes\236", + "\266o m\213\224\210r\243\333ssag\274\336\202\200l\205\301", + "\322\230pag\200\320pp\375\343\353\225fo\220d\012", + "\307p\231h:\354", + "\352s\210\214 fail\321: \335", "\240\261\210r\221: \335" #endif }; @@ -430,45 +430,47 @@ static char *warnmsg[] = { /*233*/ "state variable \"%s\" shadows a global variable\n", /*234*/ "symbol \"%s\" is marked as deprecated: %s\n", /*235*/ "public function lacks forward declaration (symbol \"%s\")\n", -/*236*/ "unknown parameter in substitution (incorrect #define pattern)\n" +/*236*/ "unknown parameter in substitution (incorrect #define pattern)\n", +/*237*/ "coercing functions to and from primitives is unsupported and will be removed in the future\n", #else - "\326 \313tr\243\231\232\267 %\204\304\205a\312\210\264", - "\217\342i\215 \327\364\213t/\320cro \362", - "nu\236\261\327\273t\203do\277\225\355\304 \342i\215\012", - "\263 \313nev\261\240\321:\354", - "\263 \313a\265gn\232\250\253u\200\237a\201\313nev\261\240\321:\354", - "\217d\220d\213\201\333\230: \364\213\201\376\265\336\313z\210o\012", - "\217d\220d\213\201te\227: \364\213\201\376\265\336\313n\202-z\210o\012", + "\327 \305tr\242\231\232\266 %\204\304\206a\313\210\264", + "\215\342i\214 \330\366\213t/\320cro \363", + "nu\237\261\330\273t\203do\274\225\355\304 \342i\214\012", + "\263 \305nev\261\240\321:\354", + "\263 \305a\267gn\232\250\253u\200\235a\201\305nev\261\240\321:\354", + "\215d\220d\213\201\322\230: \366\213\201\323\215\267\336\305z\210o\012", + "\215d\220d\213\201te\227: \366\213\201\323\215\267\336\305n\202-z\210o\012", "\220k\212w\317#p\241g\320\012", - "\305\351\371\347\266\217s\311\201\240\232bef\221\200\342i\215\302f\221c\206\266\217p\205s\301", - "\246\234 sho\311\204\217\374r\317\250\253u\301", - "po\265\244\200\240\200\327\263 bef\221\200\206i\207\216iz\315:\354", - "po\265\244\224\220\206t\214\230\204a\265gn\233t\012", - "po\265\244\224\220\206t\214\230\204bit\351s\200\346\315\012", - "\347\266mis\355\304\012", - "po\265\244\224\250\042\364\365\316\341w\344\206t\214\230d:\354", - "\376\265\336\307\203\366effe\312\012", - "ne\227\232\333m\233t\012", - "loos\200\206d\214t\315\012", - "\254\204\227y\353pro\267\255\277\240\232\351\371\334\215\370\373mic\254umn\264", - "loc\370\357\223 s\307dow\203\250\357a\201\250p\217c\321\206\266level\012", - "\376\265\336\351\371\347\266ov\210rid\200\276appe\205 betwe\214 p\205\214\237e\373\264", - "label \372m\200\223 s\307dow\203\347\266\372m\301", - "nu\236\261\327\350git\203\247ce\321\203\241\215\370nu\236\261p\217ci\226\202\012", - "\217d\220d\213\201\042\363e\310\042: \341\363\200\313\216way\2031 \362", - "\206\230t\210m\206\231\200\316\363\200\206 \042\363e\310\365\376\265\336\362", - "\220\217a\304\275\200\333\230\012", - "\250\357\313a\265gn\232\267 it\373lf \362", - "m\221\200\206i\207\216iz\210\203\237\367\214um \343eld\264", - "l\214g\371\327\206i\207\216iz\261\247ce\321\203\363\200\327\237\200\214um \343eld\012", - "\206\230x \347\266mis\355\304 \362", - "\366imple\233t\315 f\242\356\200\223 \206 \246\234\302\366f\216l-back\012", - "\356\200speci\343c\315 \336f\221w\205\204\230\337\205\315 \313ig\212\217d\012", - "outpu\201\343\353\313writt\214\302bu\201\351\371\333mpac\201\214\333d\206\266\350s\275\321\012", - "\356\200\357\223 s\307dow\203\250glob\370\331\301", - "\326 \313m\205k\232\344\230p\217c\231\321: \335", - "pu\244ic \305lack\203f\221w\205\204\230\337\205\315 \362", - "\220k\212w\317p\205a\332t\261\206 subs\207\374\215 (\206c\221\217c\201#\342\200p\231t\210n\235" + "\306\344\374\350\265\215s\312\201\240\232bef\221\200\342i\214\302f\221c\375\215p\206s\301", + "\246\234 sho\312\204\215\364r\317\250\253u\301", + "po\267\244\200\240\200\330\263 bef\221\200\205i\207\217iz\315:\354", + "po\267\244\224\220\205t\216\230\204a\267gn\233t\012", + "po\267\244\224\220\205t\216\230\204bit\344s\200\347\315\012", + "\350\265mis\355\304\012", + "po\267\244\224\250\042\366\367\316\341w\345\205t\216\230d:\354", + "\323\215\267\336\310\203\371effe\313\012", + "ne\227\232\322m\233t\012", + "loos\200\205d\216t\315\012", + "\254\204\227y\353pro\266\255\274\240\232\344\374\334\214\373semic\254umn\264", + "loc\373\357\223 s\310dow\203\250\357a\201\250p\215c\321\375level\012", + "\323\215\267\336\344\374\350\265ov\210rid\200\277appe\206 betwe\216 p\206\216\235ese\264", + "label \376m\200\223 s\310dow\203\350\265\376m\301", + "nu\237\261\330\351git\203\247ce\321\203\241\214\373nu\237\261p\215ci\226\202\012", + "\215d\220d\213\201\042\365e\311\042: \341\365\200\305\217way\2031 \363", + "\205\230t\210m\205\231\200\316\365\200\370\042\365e\311\367\323\215\267\336\363", + "\220\215a\304\276\200\322\230\012", + "\250\357\305a\267gn\232\266 itself \363", + "m\221\200\205i\207\217iz\210\203\235\372\216um \343eld\264", + "l\216g\374\330\205i\207\217iz\261\247ce\321\203\365\200\330\235\200\216um \343eld\012", + "\205\230x \350\265mis\355\304 \363", + "\371imple\233t\315 f\243\356\200\223 \370\246\234\302\371f\217l-back\012", + "\356\200speci\343c\315 \336f\221w\206\204\230\337\206\315 \305ig\212\215d\012", + "outpu\201\343\353\305writt\216\302bu\201\344\374\322mpac\201\216\322d\375\351s\276\321\012", + "\356\200\357\223 s\310dow\203\250glob\373\332\301", + "\327 \305m\206k\232\345\230p\215c\231\321: \335", + "pu\244ic \306lack\203f\221w\206\204\230\337\206\315 \363", + "\220k\212w\317p\206a\333t\261\370subs\207\364\214 (\205c\221\215c\201#\342\200p\231t\210n\236", + "\322\210c\375\246\203\266 \360from primi\207v\274\305\220supp\221t\232\360\344ll \314\215mov\232\370\235\200fu\364\215\012" #endif };