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:
parent
811e3c6a86
commit
5f630bb0e2
|
@ -688,6 +688,9 @@ funcsymbol( symp )
|
||||||
* where `funny' includes `.', .o file names
|
* where `funny' includes `.', .o file names
|
||||||
* and `$', pascal labels.
|
* and `$', pascal labels.
|
||||||
*/
|
*/
|
||||||
|
if (!symp->name)
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
for (name = symp->name; *name; name++) {
|
for (name = symp->name; *name; name++) {
|
||||||
if ( *name == '.' || *name == '$' ) {
|
if ( *name == '.' || *name == '$' ) {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in New Issue