main: rework preprocessor invocation
[cparser] / symbol_table_t.h
index fc93a63..d1fc621 100644 (file)
@@ -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
 #include "symbol.h"
 
 #define HashSet          symbol_table_t
-#define HashSetIterator  symbol_table_iterator_t
 #define HashSetEntry     symbol_table_hash_entry_t
 #define ValueType        symbol_t*
 #include "adt/hashset.h"
 #undef ValueType
 #undef HashSetEntry
-#undef HashSetIterator
 #undef HashSet
 
+typedef struct symbol_table_iterator_t  symbol_table_iterator_t;
+typedef struct symbol_table_t           symbol_table_t;
+
 #endif