1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-08 22:50:27 +02:00
guile/module/language/tree-il
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
..
analyze.scm Have -Wformat' recognize ngettext' calls. 2012-02-19 23:54:18 +01:00
canonicalize.scm separate peval and a new canonicalization pass into their own modules 2011-09-28 19:39:39 +02:00
compile-glil.scm fix values miscompilation in push context with RA 2012-01-25 10:37:25 +01:00
debug.scm add tree-il verifier 2011-10-07 11:05:43 +02:00
fix-letrec.scm Placate a number of `syntax-check' verifications. 2012-01-05 23:38:10 +01:00
inline.scm separate peval and a new canonicalization pass into their own modules 2011-09-28 19:39:39 +02:00
optimize.scm optimizer verifies its output 2011-10-07 11:06:19 +02:00
peval.scm more readable gensyms 2012-01-26 12:08:58 +01:00
primitives.scm more readable gensyms 2012-01-26 12:08:58 +01:00
spec.scm remove `version' field from <language> 2010-05-02 11:19:13 +02:00