From: Chris Hanson Date: Wed, 8 Feb 1989 22:43:50 +0000 (+0000) Subject: `define-structure' macro should return the name of the structure which X-Git-Tag: 20090517-FFI~12281 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=2dab1698d4dc88ee7b3727ad309d480b7a0ac818;p=mit-scheme.git `define-structure' macro should return the name of the structure which was defined. --- diff --git a/v7/src/runtime/defstr.scm b/v7/src/runtime/defstr.scm index 2d975b4c6..9607ebdf4 100644 --- a/v7/src/runtime/defstr.scm +++ b/v7/src/runtime/defstr.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/defstr.scm,v 14.4 1988/12/11 11:24:36 cph Exp $ +$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/defstr.scm,v 14.5 1989/02/08 22:43:50 cph Exp $ Copyright (c) 1988 Massachusetts Institute of Technology @@ -98,7 +98,8 @@ must be defined when the defstruct is evaluated. ,@(settor-definitions structure) ,@(predicate-definitions structure) ,@(copier-definitions structure) - ,@(print-procedure-definitions structure))))) + ,@(print-procedure-definitions structure) + ',(structure/name structure))))) ;;;; Parse Name-and-Options