+/*
+ * This file is part of cparser.
+ * Copyright (C) 2012 Matthias Braun <matze@braunis.de>
+ */
#ifndef SYMBOL_H
#define SYMBOL_H
-#include "ast.h"
+typedef struct symbol_t symbol_t;
+typedef struct pp_definition_t pp_definition_t;
-typedef struct symbol_t symbol_t;
-
-struct symbol_t {
- const char *string;
- unsigned short ID;
- unsigned short pp_ID;
- declaration_t *declaration;
- const void *context;
-};
+/** special symbol used for anonymous/error entities. */
+extern symbol_t *sym_anonymous;
#endif