Merge pull request #128 from Arkshine/Fix-missing-compiler-message

Fix compiler crash due to missing recursion message warning (bug 6251)
This commit is contained in:
Vincent Herbet 2014-08-31 14:59:08 +02:00
commit 152c984176
2 changed files with 2 additions and 1 deletions

View File

@ -4271,7 +4271,7 @@ static long max_stacksize_recurse(symbol **sourcesym,symbol *sym,long basesize,i
funcdisplayname(symname,sym->name);
errorset(sSETFILE,sym->fnumber);
errorset(sSETLINE,sym->lnumber);
error(237,symname); /* recursive function */
error(234,symname); /* recursive function */
} /* if */
*recursion=1;
goto break_recursion; /* recursion was detected, quit loop */

View File

@ -291,6 +291,7 @@ static char *warnmsg[] = {
/*231*/ "state specification on forward declaration is ignored\n",
/*232*/ "output file is written, but with compact encoding disabled\n"
/*233*/ "symbol \"%s\" is marked as deprecated: %s\n",
/*234*/ "recursive function \"%s\"\n",
#else
"\345 \274tr\240\226\233\277 %\206\273\337c\367\305",
"\222\323i\231\300\344\224t/\314cr\375\364",