Documentation string of DEFSTRUCT does not mention syntax for structure documentation strings

Bug #1264924 reported by Jan Moringen on 2013-12-30
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

CLHS says

  defstruct name-and-options [documentation] {slot-description}*

SBCL's documentation string for defstruct is

  DEFSTRUCT {Name | (Name Option*)} {Slot | (Slot [Default] {Key Value}*)}

I think, it should instead be

  DEFSTRUCT {Name | (Name Option*)} [Documentation] {Slot | (Slot [Default] {Key Value}*)}

The attached patch makes that change.

Stas Boukarev (stassats) wrote :

In 02fa22e7c496fb6aefa0a83c86dcdd302d27fb4a.

Changed in sbcl:
status: New → Fix Committed
Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers