Rate EXPR_REFERENCE (variable uses) with error type as EXPR_CLASS_ERROR instead of...
[cparser] / symbol_table.c
index 5a448e9..64f2c22 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
@@ -66,9 +66,9 @@ void init_symbol_table_entry(symbol_t *entry, const char *string)
 
 static symbol_table_t  symbol_table;
 
-symbol_t *symbol_table_insert(const char *symbol)
+symbol_t *symbol_table_insert(const char *string)
 {
-       return _symbol_table_insert(&symbol_table, symbol);
+       return _symbol_table_insert(&symbol_table, string);
 }
 
 void init_symbol_table(void)