Put in a check to make sure symbols have names; if there is no name, then

the symbol is not a function (I assume).
This commit is contained in:
Sean Eric Fagan 1991-07-22 20:35:30 +00:00
parent 811e3c6a86
commit 5f630bb0e2
1 changed files with 3 additions and 0 deletions

View File

@ -688,6 +688,9 @@ funcsymbol( symp )
* where `funny' includes `.', .o file names
* and `$', pascal labels.
*/
if (!symp->name)
return FALSE;
for (name = symp->name; *name; name++) {
if ( *name == '.' || *name == '$' ) {
return FALSE;