Language Change Specification for Optional Semicolons and Commas

LCS Number: LCS-2016-071
Version:
Date: 2-Nov-2016
Status:
Author: Rob Gaddi
*Email:*
Source Doc: OptionalSemicolon
Summary: Allow for extra semicolons/commas at the end of lists

Details_of_Language_Change

Changes are shown in red font.

Section 6.5.6.1 Interface list

Top page 78

interface_list ::=
    interface_element { ; interface_element } [ ; ] 

Section 5.2.2.1 Enumeration types

Middle page 37

enumeration_type_definition ::=
    ( enumeration_literal { , enumeration_literal } [ , ] )

Section 5.3.2.1 Array types

Bottom page 44

unbounded_array_definition ::=
    array ( index_subtype_definition { , index_subtype_definition } [ , ] )
        of element_subtype_indication

Top page 45

index_constraint ::= ( discrete_range { , discrete_range } [ , ] )

Section 5.3.3 Record types

Bottom page 51

record_constraint ::=
( record_element_constraint { , record_element_constraint } [ , ] )

Section 6.5.7.1 Association Lists

Top page 81

association_list ::=
    association_element { , association_element } [ , ]

Section 6.9 Group template declarations

Middle page 93

entity_class_entry_list ::=
    entity_class_entry { , entity_class_entry } [ , ]

Section 8.4 Indexed names

Bottom page 111

indexed_name ::= prefix ( expression { , expression } [ , ] )

Section 9.3.3.1 Aggregates

Bottom page 132

aggregate ::=
    ( element_association { , element_association } [ , ] )

-- RobGaddi - 2016-11-03

Comments

The proposal is about having optional semicolons. Why is the LCS written to define optional commas?

-- Kevin Jennings - 2016-11-03

Topic revision: r5 - 2020-02-17 - 15:34:42 - JimLewis
 
Copyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback