From 3c7c37335121cfb7f62fb290d92f1b7bbbfc6b10 Mon Sep 17 00:00:00 2001 From: vyzo Date: Thu, 5 Oct 2023 10:07:38 +0300 Subject: [PATCH] export load-module from the protobuf prelude --- src/std/protobuf/proto.ss | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/std/protobuf/proto.ss b/src/std/protobuf/proto.ss index 0cbe8a33e..2b487988b 100644 --- a/src/std/protobuf/proto.ss +++ b/src/std/protobuf/proto.ss @@ -10,13 +10,12 @@ (export (except-out #t begin-module%%) (rename: begin-module%% %%begin-module) (import: :std/protobuf/macros) - (for-syntax read-module-body)) + load-module + (for-syntax read-module-body load-module)) (defrules begin-module%% () ((_ . body) - (%%begin-module (import (only-in :gerbil/core load-module) - (for-syntax (only-in :gerbil/core load-module))) - (export #t) . body))) + (%%begin-module (export #t) . body))) (defsyntax (begin-protobuf stx) (def (parse-body body)