1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-28 16:00:22 +02:00
guile/module
Ludovic Courtès 8e6c15a6f0 Add warnings for obvious syntax errors in format strings.
* module/language/tree-il/analyze.scm (&syntax-error): New variable.
  (format-string-argument-count): Throw to &SYNTAX-ERROR when a syntax
  error in a format string is encountered.
  (format-analysis): Catch &SYNTAX-ERROR and convert as a warning of the
  appropriate type.

* module/system/base/message.scm (%warning-types)[format]: Handle
  `syntax-error' warnings.

* test-suite/tests/tree-il.test
  ("warnings")["conditionals"]("unterminated", "unexpected ~;",
  "unexpected ~]"): New tests.
  ["unterminated ~{...~}"]: New test.
2010-10-10 19:10:11 +02:00
..
ice-9 more inlining in psyntax 2010-10-08 12:31:56 +02:00
language Add warnings for obvious syntax errors in format strings. 2010-10-10 19:10:11 +02:00
oop Remove goops-version, which is no longer defined 2010-10-02 18:14:45 +01:00
rnrs Fix make-variable-transformer export 2010-09-19 12:15:37 +02:00
scripts remove a number of debug options 2010-09-24 20:57:01 +02:00
srfi SRFI-1: Rewrite split-at' and split-at!' in Scheme. 2010-10-08 15:25:56 +02:00
sxml sxml-match: Always use the same prompt tag. 2010-07-15 23:12:57 +02:00
system Add warnings for obvious syntax errors in format strings. 2010-10-10 19:10:11 +02:00
texinfo Fix typos. 2010-09-02 00:04:39 +02:00
Makefile.am add (system repl server) 2010-10-10 12:15:34 +02:00
rnrs.scm back-compat in (rnrs) for deprecated modules-in-value-namespace 2010-09-02 21:31:55 -07:00
statprof.scm remove a number of debug options 2010-09-24 20:57:01 +02:00
texinfo.scm Remove unused top-level variables. 2010-01-11 01:21:14 +01:00