Changeset e78966e for src


Ignore:
Timestamp:
Apr 27, 2024, 4:24:20 PM (8 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
f632117
Parents:
55c97e4
Message:

add parsing support for enum type in 'with' statement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parser.yy

    r55c97e4 re78966e  
    1010// Created On       : Sat Sep  1 20:22:55 2001
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue Apr 23 15:39:29 2024
    13 // Update Count     : 6620
     12// Last Modified On : Sat Apr 27 16:23:14 2024
     13// Update Count     : 6625
    1414//
    1515
     
    16981698
    16991699with_statement:
    1700         WITH '(' tuple_expression_list ')' statement
     1700        WITH '(' type_list ')' statement                                        // support scoped enumeration
    17011701                { $$ = new StatementNode( build_with( yylloc, $3, $5 ) ); }
    17021702        ;
     
    33593359        // empty
    33603360                { $$ = nullptr; forall = false; }
    3361         | WITH '(' tuple_expression_list ')' attribute_list_opt
     3361        | WITH '(' type_list ')' attribute_list_opt                     // support scoped enumeration
    33623362                {
    33633363                        $$ = $3; forall = false;
Note: See TracChangeset for help on using the changeset viewer.