From 7125585125b7e23e42cf5c21a88589619e7038d2 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 12 Apr 2007 20:48:33 +0000 Subject: [PATCH] all tags get exported now --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40695 --- sourcepawn/compiler/sc6.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sourcepawn/compiler/sc6.c b/sourcepawn/compiler/sc6.c index 184116b5..ea090bb2 100644 --- a/sourcepawn/compiler/sc6.c +++ b/sourcepawn/compiler/sc6.c @@ -745,11 +745,11 @@ SC_FUNC int assemble(FILE *fout,FILE *fin) /* count number of public tags */ numtags=0; for (constptr=tagname_tab.next; constptr!=NULL; constptr=constptr->next) { - if ((constptr->value & PUBLICTAG)!=0) { + /*if ((constptr->value & PUBLICTAG)!=0) {*/ assert(strlen(constptr->name)>0); numtags++; nametablesize+=strlen(constptr->name)+1; - } /* if */ + /*} if */ } /* for */ /* pad the header to sc_dataalign @@ -915,7 +915,7 @@ SC_FUNC int assemble(FILE *fout,FILE *fin) /* write the public tagnames table */ count=0; for (constptr=tagname_tab.next; constptr!=NULL; constptr=constptr->next) { - if ((constptr->value & PUBLICTAG)!=0) { + /*if ((constptr->value & PUBLICTAG)!=0) {*/ assert(strlen(constptr->name)>0); func.address=constptr->value & TAGMASK; func.nameofs=nameofs; @@ -929,7 +929,7 @@ SC_FUNC int assemble(FILE *fout,FILE *fin) pc_writebin(fout,constptr->name,strlen(constptr->name)+1); nameofs+=strlen(constptr->name)+1; count++; - } /* if */ + /*} if */ } /* for */ /* write the "maximum name length" field in the name table */