diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-01-26 00:36:39 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-01-26 00:36:39 +0100 |
commit | 3a822fff1565d1b0f5802925e3c169355143ba3b (patch) | |
tree | 3474edc649a7d67f40f49c2ce7790fb211216dcf | |
parent | 60273407f92fdfe36c3ec09decfd92746bbb4f5e (diff) | |
download | guile-3a822fff1565d1b0f5802925e3c169355143ba3b.tar.gz |
Fix typo in `-Wformat'.
* module/language/tree-il/analyze.scm (format-analysis): Call `warning',
not `warn'.
-rw-r--r-- | module/language/tree-il/analyze.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/language/tree-il/analyze.scm b/module/language/tree-il/analyze.scm index efe03789f..777507c76 100644 --- a/module/language/tree-il/analyze.scm +++ b/module/language/tree-il/analyze.scm @@ -1387,7 +1387,7 @@ accurate information is missing from a given `tree-il' element." ((,port ,fmt . ,rest) (if (and (const? port) (not (boolean? (const-exp port)))) - (warn 'format loc 'wrong-port (const-exp port))) + (warning 'format loc 'wrong-port (const-exp port))) ;; Warn on non-literal format strings, unless they refer to a ;; lexical variable named "fmt". (if (record-case fmt |