1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-09 15:10:29 +02:00
guile/module
Mark H Weaver 458ae248ab 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>
2016-12-30 21:58:44 +01:00
..
ice-9 psyntax: Generate identifiers in a deterministic fashion. 2016-12-30 21:58:44 +01:00
language psyntax: Generate identifiers in a deterministic fashion. 2016-12-30 21:58:44 +01:00
oop Accessor methods only apply to subclasses with their slot 2015-01-26 17:57:44 +01:00
rnrs Fix (rnrs io simple) to open file ports in textual mode. 2014-03-19 23:36:46 -04:00
scripts guild disassemble: Use #:prefix instead of #:renamer. 2014-09-20 05:47:05 -04:00
srfi Don't recurse in drop-right 2016-07-12 15:53:40 +02:00
sxml Remove duplicate definitions of call/ec' and let/ec'. 2013-04-06 15:40:19 +02:00
system psyntax: Generate identifiers in a deterministic fashion. 2016-12-30 21:58:44 +01:00
texinfo texinfo: Remove unnecessary (oop goops) dependency. 2016-08-04 19:15:09 +02:00
web http: Do not use 'eq?' to compare characters in parse-request-uri. 2016-09-09 07:32:53 -04:00
Makefile.am Add meta/build-env 2016-07-10 13:21:38 +02:00
rnrs.scm Add missing R6RS `open-file-input/output-port' procedure 2012-11-12 20:47:57 +01:00
statprof.scm statprof: 'statprof' and 'with-statprof' return the code's return values. 2015-01-11 20:44:44 +01:00
texinfo.scm Fix newline preservation in @example with lines beginning with @ 2014-03-17 21:49:16 +01:00