diff --git a/src/gc.c b/src/gc.c index 20655afebcb29b14dcba624e59b892976b403945..3def9f6b9495ddfdb0d03471e3b44b0a3467af88 100644 --- a/src/gc.c +++ b/src/gc.c @@ -2,7 +2,7 @@ || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information. -|| $Id: gc.c,v 1.318 2008/05/29 21:59:45 mast Exp $ +|| $Id: gc.c,v 1.319 2008/06/29 12:36:20 nilsson Exp $ */ #include "global.h" @@ -1336,13 +1336,12 @@ again: prot[0] = prot[1] = 0; if (id_ref->id_flags & ID_PRIVATE) { strcat (prot, ",pri"); - if (!(id_ref->id_flags & ID_STATIC)) strcat (prot, ",!sta"); + if (!(id_ref->id_flags & ID_PROTECTED)) strcat (prot, ",!pro"); } else - if (id_ref->id_flags & ID_STATIC) strcat (prot, ",sta"); + if (id_ref->id_flags & ID_PROTECTED) strcat (prot, ",pro"); if (id_ref->id_flags & ID_FINAL) strcat (prot, ",fin"); if (id_ref->id_flags & ID_PUBLIC) strcat (prot, ",pub"); - if (id_ref->id_flags & ID_PROTECTED) strcat (prot, ",pro"); if (id_ref->id_flags & ID_INLINE) strcat (prot, ",inl"); if (id_ref->id_flags & ID_OPTIONAL) strcat (prot, ",opt"); if (id_ref->id_flags & ID_HIDDEN) strcat (prot, ",hid");