Ignore:
Timestamp:
Jan 17, 2024, 3:13:56 PM (6 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
11f65b3
Parents:
e891349
Message:

Replayed maybeClone with maybeCopy, removed unused helppers in utility.h and pushed some includes out of headers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parser.yy

    re891349 r5bf685f  
    19601960                        // Append the return type at the start (left-hand-side) to each identifier in the list.
    19611961                        DeclarationNode * ret = new DeclarationNode;
    1962                         ret->type = maybeClone( $1->type->base );
     1962                        ret->type = maybeCopy( $1->type->base );
    19631963                        $$ = $1->appendList( DeclarationNode::newFunction( $3, ret, $6, nullptr ) );
    19641964                }
Note: See TracChangeset for help on using the changeset viewer.