Fix compiler crash due to missing recursion message warning.
This commit is contained in:
parent
1463103cd7
commit
de85f2735e
|
@ -4271,7 +4271,7 @@ static long max_stacksize_recurse(symbol **sourcesym,symbol *sym,long basesize,i
|
||||||
funcdisplayname(symname,sym->name);
|
funcdisplayname(symname,sym->name);
|
||||||
errorset(sSETFILE,sym->fnumber);
|
errorset(sSETFILE,sym->fnumber);
|
||||||
errorset(sSETLINE,sym->lnumber);
|
errorset(sSETLINE,sym->lnumber);
|
||||||
error(237,symname); /* recursive function */
|
error(234,symname); /* recursive function */
|
||||||
} /* if */
|
} /* if */
|
||||||
*recursion=1;
|
*recursion=1;
|
||||||
goto break_recursion; /* recursion was detected, quit loop */
|
goto break_recursion; /* recursion was detected, quit loop */
|
||||||
|
|
|
@ -291,6 +291,7 @@ static char *warnmsg[] = {
|
||||||
/*231*/ "state specification on forward declaration is ignored\n",
|
/*231*/ "state specification on forward declaration is ignored\n",
|
||||||
/*232*/ "output file is written, but with compact encoding disabled\n"
|
/*232*/ "output file is written, but with compact encoding disabled\n"
|
||||||
/*233*/ "symbol \"%s\" is marked as deprecated: %s\n",
|
/*233*/ "symbol \"%s\" is marked as deprecated: %s\n",
|
||||||
|
/*234*/ "recursive function \"%s\"\n",
|
||||||
#else
|
#else
|
||||||
"\345 \274tr\240\226\233\277 %\206\273\337c\367\305",
|
"\345 \274tr\240\226\233\277 %\206\273\337c\367\305",
|
||||||
"\222\323i\231\300\344\224t/\314cr\375\364",
|
"\222\323i\231\300\344\224t/\314cr\375\364",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user