1
0
mirror of https://github.com/cc65/cc65.git synced 2024-09-27 19:55:09 +00:00

Fixed a problem with the last change: Sym wasn't always NULL when it should

have been.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5881 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2012-10-27 15:47:49 +00:00
parent acb3fcb9c7
commit 0cbc81161c

View File

@ -443,6 +443,8 @@ SymEntry* SymFindAny (SymTable* Scope, const StrBuf* Name)
/* Found, return it */
break;
}
} else {
Sym = 0;
}
/* Not found, search in the parent scope, if we have one */