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

Bug #1264924 reported by Jan Moringen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Undecided
Unassigned

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.

Revision history for this message
Jan Moringen (scymtym) wrote :
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.