/* Input parser for Bison
Copyright (C) 1984, 1986, 1989, 1992, 1998, 2000-2003, 2005-2007,
- 2009-2012 Free Software Foundation, Inc.
+ 2009-2013 Free Software Foundation, Inc.
This file is part of Bison, the GNU Compiler Compiler.
void (*warn_at_ptr)(location, char const*, ...) =
midrule_warning ? midrule_value_at : warn_at;
if (n)
- warn_at_ptr (r->location, _("unused value: $%d"), n);
+ warn_at_ptr (l->location, _("unused value: $%d"), n);
else
- warn_at_ptr (r->location, _("unset value: $$"));
+ warn_at_ptr (l->location, _("unset value: $$"));
}
}
}