Branch: Tag:

2008-03-27

2008-03-27 12:31:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>

The description of type attributes now matches the syntax.

Rev: src/pike_types.c:1.317

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: pike_types.c,v 1.316 2008/01/13 18:30:57 grubba Exp $ + || $Id: pike_types.c,v 1.317 2008/03/27 12:31:11 grubba Exp $   */      #include "global.h"
1846:    break;       case PIKE_T_ATTRIBUTE: -  fprintf(stderr, "attribute(%s, ", +  fprintf(stderr, "__attribute__(\"%s\", ",    ((struct pike_string *)s->car)->str);    simple_describe_type(s->cdr);    fprintf(stderr, ")");
2189:       case PIKE_T_ATTRIBUTE:    if (!((struct pike_string *)t->car)->size_shift) { -  my_strcat("attribute("); +  my_strcat("__attribute__(\"");    my_binary_strcat(((struct pike_string *)t->car)->str,    ((struct pike_string *)t->car)->len); -  my_strcat(", "); +  my_strcat("\", ");    my_describe_type(t->cdr);    my_strcat(")");    } else {