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:
commit
152c984176
@ -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 */
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user