Ada-Rapporteur-Group / User-Community-Input

Ada User Community Input Working Group - Github Mirror Prototype
27 stars 1 forks source link

Minor formatting issues in Ada202x Annex P Syntax Rules #24

Closed okellogg closed 1 year ago

okellogg commented 2 years ago

In draft 33 of the Ada 202x Annex P Syntax Rules

6.5
extended_return_object_declaration ::=
    defining_identifier : [aliased][constant] return_subtype_indication [:= expression]
        [aspect_specification]

At [aliased][constant] insert space between ][.

9.1
single_task_declaration ::= 
   task defining_identifier
        [aspect_specification][is
     [new interface_list with]
     task_definition];

At [aspect_specification][is insert space between ][.

12.5.1
formal_derived_type_definition ::=
    [abstract] [limited | synchronized] new subtype_mark [[and interface_list]with private]

At [and interface_list]with private insert space between ] and with.

ARG-Editor commented 2 years ago

The syntax rules are synthesized from the definitions scattered throughout the RM, so you really want to reformat these definitions in 6.5, 9.1, and 12.5.1. The only thing unique to annex P is the introductory sentences.

ARG-Editor commented 2 years ago

I've added these to AI12-0446-1 (some presentation issues to correct in the final Ada 2022 RM), and it will be on the agenda for the upcoming ARG meeting.

ARG-Editor commented 1 year ago

The fixes have been made to the Ada 2022 draft, and approved by the ARG and WG 9. So I'm closing this issue.

ARG-Editor commented 1 year ago

At least I'm trying to close this issue as completed...

okellogg commented 1 year ago

Thanks.