Improve special-casing of `_' in `-Wformat'.
authorLudovic Courtès <ludo@gnu.org>
Sat, 12 May 2012 13:31:28 +0000 (15:31 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 12 May 2012 13:31:28 +0000 (15:31 +0200)
commit4c98474782d11ad02046c87af148e29d14afbc29
tree0ceae87e8446cf051e9a512e16a8a2de505a1db4
parentda874e5415f2d9438e66b9989086465b6cbf578c
Improve special-casing of `_' in `-Wformat'.

* module/language/tree-il/analyze.scm (proc-ref?): Check for
  SPECIAL-NAME in the <module-ref> and <lexical-ref> cases too.

* test-suite/tests/tree-il.test ("warnings")["format"]("non-literal
  format string using gettext as module-ref _", "non-literal format
  string using gettext as lexical _"): New tests.
module/language/tree-il/analyze.scm
test-suite/tests/tree-il.test