fixed shadow issue

This commit is contained in:
Dale Weiler 2012-06-07 10:59:57 -04:00
parent 84c110e8f5
commit 911c2bddb6
2 changed files with 2 additions and 3 deletions

View file

@ -18,8 +18,7 @@ ifeq ($(CC), clang)
-Wno-missing-noreturn \
-Wno-ignored-qualifiers \
-Wno-unused-macros \
-Wno-format-nonliteral \
-Wno-shadow
-Wno-format-nonliteral
endif
OBJ = lex.o \

View file

@ -71,7 +71,7 @@ int typedef_add(lex_file *file, const char *from, const char *to) {
return -100;
} else {
/* search the typedefs for it (typedef-a-typedef?) */
typedef_node *find = typedef_table[typedef_hash(from)];
find = typedef_table[typedef_hash(from)];
if (find) {
typedef_table[hash] = mem_a(sizeof(typedef_node));
if (typedef_table[hash])