1.1 --- a/compiler-init/sc2.c Fri Jul 14 05:51:25 2006 +0000
1.2 +++ b/compiler-init/sc2.c Fri Jul 14 06:02:53 2006 +0000
1.3 @@ -1586,16 +1586,16 @@
1.4 s+=2;
1.5 } /* if */
1.6 e++; /* skip %, digit is skipped later */
1.7 - } else if (*e == '"') {
1.8 - p=e;
1.9 - if (is_startstring(e)) {
1.10 - e=skipstring(e);
1.11 - strins((char*)s,(char *)p,(e-p+1));
1.12 - s+=(e-p+1);
1.13 - } else {
1.14 - strins((char*)s,(char*)e,1);
1.15 - s++;
1.16 - }
1.17 + } else if (*e == '"') {
1.18 + p=e;
1.19 + if (is_startstring(e)) {
1.20 + e=skipstring(e);
1.21 + strins((char*)s,(char *)p,(e-p+1));
1.22 + s+=(e-p+1);
1.23 + } else {
1.24 + strins((char*)s,(char*)e,1);
1.25 + s++;
1.26 + }
1.27 } else {
1.28 strins((char*)s,(char*)e,1);
1.29 s++;
2.1 --- a/compiler-init/sc3.c Fri Jul 14 05:51:25 2006 +0000
2.2 +++ b/compiler-init/sc3.c Fri Jul 14 06:02:53 2006 +0000
2.3 @@ -1988,7 +1988,7 @@
2.4 if (matchtoken('_')) {
2.5 arglist[argpos]=ARG_IGNORED; /* flag argument as "present, but ignored" */
2.6 if (arg[argidx].ident==0 || arg[argidx].ident==iVARARGS) {
2.7 - error(202); /* argument count mismatch */
2.8 + error(92); /* argument count mismatch */
2.9 } else if (!arg[argidx].hasdefault) {
2.10 error(34,nargs+1); /* argument has no default value */
2.11 } /* if */
2.12 @@ -2007,7 +2007,7 @@
2.13 assert(sc_status==statFIRST || arg[argidx].tags!=NULL);
2.14 switch (arg[argidx].ident) {
2.15 case 0:
2.16 - error(202); /* argument count mismatch */
2.17 + error(92); /* argument count mismatch */
2.18 break;
2.19 case iVARARGS:
2.20 /* always pass by reference */
3.1 --- a/compiler-init/sc5.scp Fri Jul 14 05:51:25 2006 +0000
3.2 +++ b/compiler-init/sc5.scp Fri Jul 14 06:02:53 2006 +0000
3.3 @@ -129,7 +129,8 @@
3.4 /*088*/ "public variables and local variables may not have states (symbol \"%s\")\n",
3.5 /*089*/ "state variables may not be initialized (symbol \"%s\")\n",
3.6 /*090*/ "public functions may not return arrays (symbol \"%s\")\n",
3.7 -/*091*/ "ambiguous constant; tag override is required (symbol \"%s\")\n"
3.8 +/*091*/ "ambiguous constant; tag override is required (symbol \"%s\")\n",
3.9 +/*092*/ "number of arguments does not match definition\n"
3.10 #else
3.11 "\271pect\235\306k\212:\227\316bu\202fo\217\206\216\012",
3.12 "\201l\223\252s\203g\352\315e\234\202(\255\363\201) c\355f\240\344w ea\275 \042c\351e\042\012",
3.13 @@ -221,7 +222,8 @@
3.14 "pu\236\326 \301\310\226\206\344c\337\301\310\367\242\340\376\315\310\323",
3.15 "\315\200\301\310\367\242\312\203i\205\211iz\235\323",
3.16 "pu\236\326 \366\207\367\242\221tur\336\256y\207\323",
3.17 - "a\230i\262ou\207\354t; \373ov\210rid\200\272\221qui\221\206\323"
3.18 + "a\230i\262ou\207\354t; \373ov\210rid\200\272\221qui\221\206\323",
3.19 + "\374\230\264\304\265t\207do\310\242\345\275 \327i\214\012",
3.20 #endif
3.21 };
3.22