removed an assertion that was firing

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40173
This commit is contained in:
David Anderson 2006-11-09 23:05:42 +00:00
parent f8e7a10e06
commit 73eb8bfd40

View File

@ -893,7 +893,8 @@ SC_FUNC int assemble(FILE *fout,FILE *fin)
for (sym=glbtab.next; sym!=NULL; sym=sym->next) { for (sym=glbtab.next; sym!=NULL; sym=sym->next) {
if ((sym->ident==iVARIABLE || sym->ident==iARRAY || sym->ident==iREFARRAY) if ((sym->ident==iVARIABLE || sym->ident==iARRAY || sym->ident==iREFARRAY)
&& (sym->usage & uPUBLIC)!=0 && (sym->usage & (uREAD | uWRITTEN))!=0) { && (sym->usage & uPUBLIC)!=0 && (sym->usage & (uREAD | uWRITTEN))!=0) {
assert((sym->usage & uDEFINE)!=0); //removed until structs don't seem to mess this up
//assert((sym->usage & uDEFINE)!=0);
assert(sym->vclass==sGLOBAL); assert(sym->vclass==sGLOBAL);
func.address=sym->addr; func.address=sym->addr;
func.nameofs=nameofs; func.nameofs=nameofs;