diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-07-24 11:53:02 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-07-24 11:53:02 +0200 |
commit | bdcd0ba8a71af24f0b64d7acac3130d8f541d26c (patch) | |
tree | 0572036c6c54310b1ea301e8a88229c5e7bd7cbb /doc/gendocs_template_min | |
parent | 741c45458da0831a12a4f8d729814bf9f2cb6571 (diff) | |
download | guile-bdcd0ba8a71af24f0b64d7acac3130d8f541d26c.tar.gz |
Add -Wshadowed-toplevel.
* module/language/tree-il/analyze.scm (shadowed-toplevel-analysis): New
variable.
* module/language/tree-il/compile-cps.scm (%warning-passes): Add it.
* module/system/base/message.scm (%warning-types): Add it.
* test-suite/tests/tree-il.test ("warnings")["shadowed-toplevel"]: New
test prefix.
* module/ice-9/boot-9.scm (%auto-compilation-options): Add it.
* doc/ref/api-evaluation.texi (Compilation): Add 'shadowed-toplevel' and
'macro-use-before-definition'.
Diffstat (limited to 'doc/gendocs_template_min')
0 files changed, 0 insertions, 0 deletions