1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-05 06:28:57 +00:00

The .defined function (and .ifdef/.ifndef) flagged an imported symbol as

"defined". I'm not sure whichever is correct, but I changed it now and
will introduce an additional function .isimport if necessary.


git-svn-id: svn://svn.cc65.org/cc65/trunk@721 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2001-05-08 17:56:39 +00:00
parent a961f00997
commit 3ef00e7d2a

View File

@ -635,7 +635,7 @@ int SymIsDef (const char* Name)
/* Return true if the given symbol is already defined */
{
SymEntry* S = SymFindAny (SymTab, Name);
return S != 0 && (S->Flags & (SF_DEFINED | SF_IMPORT)) != 0;
return S != 0 && (S->Flags & SF_DEFINED) != 0;
}