redefinition might be against a local variable

This commit is contained in:
Yuichi Nishiwaki 2014-02-07 02:15:08 +09:00
parent c4040949ff
commit 7288cd0614
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ define_var(analyze_state *state, pic_sym sym)
xh_entry *e; xh_entry *e;
if ((e = xh_get_int(scope->var_tbl, sym))) { if ((e = xh_get_int(scope->var_tbl, sym))) {
pic_warn(pic, "redefining global variable"); pic_warn(pic, "redefining variable");
return; return;
} }