Branch: Tag:

2008-06-29

2008-06-29 12:36:20 by Martin Nilsson <mani@lysator.liu.se>

Debug output prefer protected over static.

Rev: src/gc.c:1.319

2:   || 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: Inside #if defined(PIKE_DEBUG)
   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");