[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
build-lexical-var vs. -Wunused-variable
From: |
Ludovic Courtès |
Subject: |
build-lexical-var vs. -Wunused-variable |
Date: |
Fri, 17 Feb 2012 12:00:50 +0100 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.93 (gnu/linux) |
Hello,
Commit f9685f437312ea790981373ddc375b2a26ba9c4f changes
‘build-lexical-var’ like this:
(define-syntax-rule (build-lexical-var src id)
- (gensym (string-append (symbol->string id) " ")))
+ (gensym (string-append (symbol->string id) "-")))
This breaks a heuristic used in the ‘unused-variable’ pass, which is
that identifiers containing white space are likely introduced by a macro
and can be ignored in unused-variable reports (see ‘gensym?’ in
‘tree-il/analyze.scm’).
OK to change it back?
Thanks,
Ludo’.
- build-lexical-var vs. -Wunused-variable,
Ludovic Courtès <=