1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 14:00:21 +02:00
guile/module
Ludovic Courtès 98385ed20a Have -Wformat' recognize ngettext' calls.
* module/language/tree-il/analyze.scm (gettext?): Rename to...
  (proc-ref?): ... this.  Add `proc' and `special-name' parameters.
  (gettext?): Define in terms of `proc-ref?'.
  (ngettext?): New procedure.
  (const-fmt): Recognize `ngettext' calls.
  (format-analysis)[<down>](check-format-args]: Check
  constant-but-non-string 2nd argument in the (not (const-fmt ...))
  case.
  [check-simple-format-args]: Use `const-fmt'.

* test-suite/tests/tree-il.test ("warnings")["format"]("non-literal
  format string using ngettext", "non-literal format string using
  ngettext as N_"): New tests.
  ("simple-format")["unsupported, ngettext"]: New test.
2012-02-19 23:54:18 +01:00
..
ice-9 psyntax: access source properties for all supported objects 2012-02-15 11:24:43 -05:00
language Have -Wformat' recognize ngettext' calls. 2012-02-19 23:54:18 +01:00
oop fix some cache consistency issues with goops and extended generics 2011-09-02 13:17:19 +02:00
rnrs Improve the usage of variable names in Scheme docstrings. 2012-02-02 12:24:40 +01:00
scripts Fix a couple of warnings. 2012-01-26 00:37:23 +01:00
srfi Placate a number of `syntax-check' verifications. 2012-01-05 23:38:10 +01:00
sxml remove duplicate when/unless definitions 2012-01-20 21:16:50 +01:00
system Fix typo in comment in message.scm: 'know' to 'known' warning types 2012-02-14 23:39:22 -05:00
texinfo Improve the usage of variable names in Scheme docstrings. 2012-02-02 12:24:40 +01:00
web web server: fix spurious warning 2012-02-14 17:32:25 +01:00
Makefile.am Implement local-eval', local-compile', and `the-environment' 2012-01-26 12:08:58 +01:00
rnrs.scm Enhance transcoder-related functionality of `(rnrs io ports)' 2011-03-13 23:14:43 +01:00
statprof.scm add gcprof 2011-05-05 11:43:12 +02:00
texinfo.scm more define-syntax-rule usage 2011-09-02 11:36:14 +02:00