From 4451691aa2aaeab50998c16f022efbabf26f4fab Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 1 Aug 2005 05:56:06 +0000 Subject: [PATCH] Removed warning 219 --- compiler/libpc300/sc1.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/compiler/libpc300/sc1.c b/compiler/libpc300/sc1.c index 2fff3a93..eca78785 100755 --- a/compiler/libpc300/sc1.c +++ b/compiler/libpc300/sc1.c @@ -1919,8 +1919,8 @@ static int declloc(int fstatic) * of a global variable or to that of a local variable at a lower * level might indicate a bug. */ - if ((sym=findloc(name))!=NULL && sym->compound!=nestlevel || findglb(name)!=NULL) - error(219,name); /* variable shadows another symbol */ + if ((sym=findloc(name))!=NULL && sym->compound!=nestlevel || findglb(name)!=NULL); + //error(219,name); /* variable shadows another symbol */ while (matchtoken('[')){ ident=iARRAY; if (numdim == sDIMEN_MAX) { @@ -3643,8 +3643,8 @@ static void doarg(char *name,int ident,int offset,int tags[],int numtags, if (argsym!=NULL) { error(21,name); /* symbol already defined */ } else { - if ((argsym=findglb(name))!=NULL && argsym->ident!=iFUNCTN) - error(219,name); /* variable shadows another symbol */ + if ((argsym=findglb(name))!=NULL && argsym->ident!=iFUNCTN) ; + //error(219,name); /* variable shadows another symbol */ /* add details of type and address */ assert(numtags>0); argsym=addvariable(name,offset,ident,sLOCAL,tags[0],