Add print method to quoted-identifier.
authorChris Hanson <org/chris-hanson/cph>
Sat, 8 Dec 2018 06:24:59 +0000 (22:24 -0800)
committerChris Hanson <org/chris-hanson/cph>
Sat, 8 Dec 2018 08:23:35 +0000 (00:23 -0800)
src/runtime/syntax-output.scm

index 0dc6ee9a624c5a6079202ef507b1683fcdc3c2a6..4701777e6ad00c4fa73cb662d0dbc14a18a0bb6a 100644 (file)
@@ -43,6 +43,11 @@ USA.
     quoted-identifier?
   (identifier quoted-identifier-identifier))
 
+(define-print-method quoted-identifier?
+  (standard-print-method 'quoted-identifier
+    (lambda (qid)
+      (list (quoted-identifier-identifier qid)))))
+
 (define (output/assignment name value)
   (make-scode-assignment name value))