mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +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:
parent
a961f00997
commit
3ef00e7d2a
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user