summaryrefslogtreecommitdiff
path: root/guix/read-print.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-10-17 10:00:50 +0200
committerLudovic Courtès <ludo@gnu.org>2022-10-17 10:00:50 +0200
commit8c90196f1a0cf235e2b260ed20d3de214dab8484 (patch)
tree8140c46fbee833a6d690b09cff0c56688f73cfc5 /guix/read-print.scm
parentd5b54e0137933f891065abf202a0d932f96653ee (diff)
downloadguix-patches-8c90196f1a0cf235e2b260ed20d3de214dab8484.tar
guix-patches-8c90196f1a0cf235e2b260ed20d3de214dab8484.tar.gz
read-print: Recognize 'define-record-type' and 'define-record-type*'.
* guix/read-print.scm (%special-forms): Add 'define-record-type' and 'define-record-type*'.
Diffstat (limited to 'guix/read-print.scm')
-rw-r--r--guix/read-print.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/guix/read-print.scm b/guix/read-print.scm
index a9aa57a476..a6aaa149e4 100644
--- a/guix/read-print.scm
+++ b/guix/read-print.scm
@@ -286,6 +286,8 @@ expressions and blanks that were read."
('define-syntax-rule 2)
('define-module 2)
('define-gexp-compiler 2)
+ ('define-record-type 2)
+ ('define-record-type* 4)
('let 2)
('let* 2)
('letrec 2)