X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=symbol.h;h=2f0dc3b106a70089d0f6591c317e918b638acf09;hb=61f567301d0489f37afd48af5c80c5f49d9dceb2;hp=88d0ed221a2e87631108367cbca71e90e2ef18da;hpb=fd16b92f058181088a385c3224c8814831c006d3;p=cparser diff --git a/symbol.h b/symbol.h index 88d0ed2..2f0dc3b 100644 --- a/symbol.h +++ b/symbol.h @@ -1,6 +1,6 @@ /* * This file is part of cparser. - * Copyright (C) 2007-2008 Matthias Braun + * Copyright (C) 2007-2009 Matthias Braun * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -20,15 +20,7 @@ #ifndef SYMBOL_H #define SYMBOL_H -#include "ast.h" - -typedef struct symbol_t symbol_t; - -struct symbol_t { - const char *string; - unsigned short ID; - unsigned short pp_ID; - declaration_t *declaration; -}; +typedef struct symbol_t symbol_t; +typedef struct pp_definition_t pp_definition_t; #endif