Rework linkage types in firm.
[cparser] / entity.c
index 37d22c0..a31b886 100644 (file)
--- a/entity.c
+++ b/entity.c
@@ -1,6 +1,6 @@
 /*
  * This file is part of cparser.
- * Copyright (C) 2007-2008 Matthias Braun <matze@braunis.de>
+ * Copyright (C) 2007-2009 Matthias Braun <matze@braunis.de>
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
@@ -28,7 +28,8 @@ const char *get_entity_kind_name(entity_kind_t kind)
        case ENTITY_FUNCTION:        return "function";
        case ENTITY_VARIABLE:        return "variable";
        case ENTITY_PARAMETER:       return "parameter";
-       case ENTITY_COMPOUND_MEMBER: return "compound type member";
+       case ENTITY_COMPOUND_MEMBER: return "compound member";
+       case ENTITY_CLASS:           return "class";
        case ENTITY_STRUCT:          return "struct";
        case ENTITY_UNION:           return "union";
        case ENTITY_ENUM:            return "enum";