diff --git a/source/compiler/sc.h b/source/compiler/sc.h index ce583d5..85e89ce 100644 --- a/source/compiler/sc.h +++ b/source/compiler/sc.h @@ -238,7 +238,7 @@ typedef struct s_symbol { */ #define uRETNONE 0x10 -#define flgDEPRECATED 0x01 /* symbol is deprecated (avoid use) */ +#define flagDEPRECATED 0x01 /* symbol is deprecated (avoid use) */ #define flagNAKED 0x10 /* function is naked */ #define flagPREDEF 0x20 /* symbol is pre-defined; successor of uPREDEF */ diff --git a/source/compiler/sc1.c b/source/compiler/sc1.c index 9c11302..c40eefe 100644 --- a/source/compiler/sc1.c +++ b/source/compiler/sc1.c @@ -3171,7 +3171,7 @@ SC_FUNC symbol *fetchfunc(char *name,int tag) } /* if */ if (pc_deprecate!=NULL) { assert(sym!=NULL); - sym->flags|=flgDEPRECATED; + sym->flags|=flagDEPRECATED; if (sc_status==statWRITE) { if (sym->documentation!=NULL) { free(sym->documentation); @@ -3785,7 +3785,7 @@ static int newfunc(char *firstname,int firsttag,int fpublic,int fstatic,int stoc cidx=code_idx; glbdecl=glb_declared; } /* if */ - if ((sym->flags & flgDEPRECATED)!=0) { + if ((sym->flags & flagDEPRECATED)!=0) { char *ptr= (sym->documentation!=NULL) ? sym->documentation : ""; error(234,symbolname,ptr); /* deprecated (probably a public function) */ } /* if */ diff --git a/source/compiler/sc3.c b/source/compiler/sc3.c index 3b180a5..a31a980 100644 --- a/source/compiler/sc3.c +++ b/source/compiler/sc3.c @@ -2031,7 +2031,7 @@ static int nesting=0; #endif sc_allowproccall=FALSE; /* parameters may not use procedure call syntax */ - if ((sym->flags & flgDEPRECATED)!=0) { + if ((sym->flags & flagDEPRECATED)!=0) { char *ptr= (sym->documentation!=NULL) ? sym->documentation : ""; error(234,sym->name,ptr); /* deprecated (probably a native function) */ } /* if */