1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-09 21:40:33 +02:00
guile/module
Andy Wingo 9ade45097c Fix module scoping for datum->syntax with no identifier
* module/ice-9/psyntax.scm: With the new behavior of datum->syntax which
allows #f for the lexical context, we have the question of what module
to attach to these newly created syntax objects.  In that case we'll
mark down #f as the module, indicating that we know nothing.  We have to
extend a number of other cases to default to the expander's idea of the
current module, if a syntax object has no module scope.

Also, change datum->syntax to attach the empty wrap, not the top wrap.
Attaching the top wrap leads to multiply applying the top mark, as you
recurse into subexpressions.
2021-02-24 20:38:14 +01:00
..
ice-9 Fix module scoping for datum->syntax with no identifier 2021-02-24 20:38:14 +01:00
language Optimize eof-object? 2021-02-03 23:02:27 +01:00
oop Replace libltdl with raw dlopen, dlsym 2021-02-03 23:02:21 +01:00
rnrs Finish call-with-port cleanup 2021-01-12 12:17:55 +01:00
scheme (scheme base) member: return #f, not (), for no match 2021-01-17 13:25:40 -06:00
scripts Bump copyright years for user-visible copyright messages 2021-01-07 13:00:46 +01:00
srfi Fix bug #42713: srfi-64: Reset test-runner-current if done 2020-08-05 12:46:27 +02:00
sxml Remove duplicate definitions of call/ec' and let/ec'. 2013-04-06 15:40:19 +02:00
system Syntax objects have "source" field 2021-02-20 20:19:34 +01:00
texinfo texinfo: Add basic support for @w{...}. 2020-06-18 00:30:30 +02:00
web Add call-with-input-bytevector, call-with-output-bytevector 2021-01-12 12:09:19 +01:00
Makefile.am Add "read" implementation in Scheme 2021-02-13 22:36:05 +01:00
rnrs.scm Define top-level bindings for aux syntax: else, =>, _, ... 2019-09-12 21:50:51 +02:00
statprof.scm Statprof reports primitive names 2020-06-04 11:46:34 +02:00
texinfo.scm texinfo: Add basic support for @w{...}. 2020-06-18 00:30:30 +02:00