type: Make an assert()ion independent of the last entry of an enum.
[cparser] / symbol_t.h
1 /*
2  * This file is part of cparser.
3  * Copyright (C) 2012 Matthias Braun <matze@braunis.de>
4  */
5 #ifndef SYMBOL_T_H
6 #define SYMBOL_T_H
7
8 #include <stdbool.h>
9 #include "symbol.h"
10 #include "entity.h"
11 #include "token_t.h"
12
13 struct symbol_t {
14         char const      *string;
15         unsigned short   ID;
16         pp_token_kind_t  pp_ID;
17         entity_t        *entity;
18         pp_definition_t *pp_definition;
19 };
20
21 #endif