diff options
author | Mark H Weaver <mhw@netris.org> | 2016-02-12 11:19:38 -0500 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-03-07 20:48:40 +0100 |
commit | 84a740d86a5afd235f1b47ac66c88db010b1d56b (patch) | |
tree | fe593f3225cd79c7f3cd81c17925e989ca55d4fd /libguile/stacks.c | |
parent | 70cfabd7e87f93d210bad377feb7ca50fa3bd133 (diff) | |
download | guile-84a740d86a5afd235f1b47ac66c88db010b1d56b.tar.gz |
psyntax: Generate identifiers in a deterministic fashion.
Fixes <http://bugs.gnu.org/20272>.
* module/ice-9/boot-9.scm (module-generate-unique-id!)
(module-gensym): New procedures.
(module): Add 'next-unique-id' field.
(the-root-module): Inherit 'next-unique-id' value from early stub.
(make-module, make-autoload-interface): Adjust calls to
module-constructor.
* module/ice-9/psyntax.scm (gen-label, new-mark): Generate unique
identifiers from the module name and the per-module unique-id.
(build-lexical-var, generate-temporaries): Use
'module-gensym' instead of 'gensym'.
* module/ice-9/psyntax-pp.scm: Regenerate.
* module/language/tree-il/fix-letrec.scm (fix-letrec!): Use
'module-gensym' instead of 'gensym'.
* module/system/base/syntax.scm (define-record): Likewise.
(transform-record): Likewise.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'libguile/stacks.c')
0 files changed, 0 insertions, 0 deletions