1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-28 16:00:22 +02:00
guile/module
Andy Wingo 2dccec9f55 Fix race when expanding syntax-parameterize and define-syntax-parameter
* module/ice-9/psyntax.scm (put-global-definition-hook)
  (get-global-definition-hook): Inline into uses.
  (make-binding): Change format of lexically defined or rebound syntax
  parameters to just be the transformer, not a list of the transformer.
  (resolve-identifier, expand-install-global, expand-body)
  (syntax-parameterize): Adapt to use the variable object (box) holding
  the top-level syntax parameter as the "key" for lookups into the
  lexical environment, instead of a fresh object associated with the
  syntax transformer.
* module/ice-9/psyntax-pp.scm: Regenerate.

Fixes #27476, a horrible race when one thread is expanding a
syntax-parameterize form including uses, and another thread is expanding
the corresponding define-syntax-parameter.  See
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27476#102.
2019-02-22 15:25:21 +01:00
..
ice-9 Fix race when expanding syntax-parameterize and define-syntax-parameter 2019-02-22 15:25:21 +01:00
language Fix type inferencing for 'nil?' and 'null?' predicates. 2018-10-19 21:09:43 -04:00
oop goops: Fix 'instance?' to work on objects that aren't structs. 2018-06-11 10:12:50 -04:00
rnrs Fix R6RS call-with-{input,output}-file to open textual ports. 2018-08-02 10:14:03 -04:00
scripts Remove redefinition of when & unless in snarf-check-and-output-texi 2019-02-09 09:54:55 -08:00
srfi Support ~N in SRFI-19 string->date 2018-12-11 22:44:34 +01:00
sxml
system Add -Wshadowed-toplevel. 2018-07-24 11:53:02 +02:00
texinfo texinfo: Remove unnecessary (oop goops) dependency. 2017-03-01 19:28:04 +01:00
web web: Export http-request. 2018-06-23 23:32:13 +02:00
Makefile.am build: Really build srfi/srfi-71.scm. 2018-07-01 23:33:46 +02:00
rnrs.scm Add R6RS bytevector->string, string->bytevector 2016-06-21 11:29:14 +02:00
statprof.scm Fixed bug: statprof flat display wasn't writing summary lines to port 2017-04-19 16:25:00 +02:00
texinfo.scm texinfo: fix @url{@@} parsing 2014-11-09 15:56:33 +00:00