mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-18 01:30:27 +02:00
fix @ and syncase
* module/ice-9/boot-9.scm (make-module-ref): equal?, not eq?, when matching on module name. (Module names don't have to come from an invocation of module-name in this process.) * module/ice-9/psyntax.scm (build-global-reference) (build-global-assignment, @): Rework the format of the module in syntax objects so that a car of #f indicates a public reference. Loading (foo %module-public-interface) didn't guarantee that (foo) was loaded and useful. * module/ice-9/psyntax-pp.scm: Regenerated. * module/language/scheme/compile-ghil.scm (lookup-transformer): primitive-macro? does not exist any more.
This commit is contained in:
parent
7c72fe0bb5
commit
384e92b3ae
4 changed files with 23 additions and 20 deletions
|
@ -114,9 +114,6 @@
|
|||
(cond
|
||||
((hashq-ref *translate-table* val))
|
||||
|
||||
((primitive-macro? val)
|
||||
(syntax-error #f "unhandled primitive macro" head))
|
||||
|
||||
((macro? val)
|
||||
(syntax-error #f "unknown kind of macro" head))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue