- implemented -Wold-style-definition
[cparser] / symbol.h
index 88d0ed2..5ffd4d8 100644 (file)
--- a/symbol.h
+++ b/symbol.h
 #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