Ignore:
Timestamp:
Jul 10, 2018, 3:53:38 PM (4 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer
Children:
777ed2b
Parents:
d804830
git-author:
Rob Schluntz <rschlunt@…> (07/10/18 15:11:53)
git-committer:
Rob Schluntz <rschlunt@…> (07/10/18 15:53:38)
Message:

Call TypedefTable::makeTypedef with leaf type for nested aggregate definitions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parser.yy

    rd804830 r7de22b28  
    18671867        | aggregate_key attribute_list_opt type_name fred
    18681868                {
    1869                         typedefTable.makeTypedef( *$3->type->symbolic.name, forall ? TYPEGENname : TYPEDEFname ); // create typedef
     1869                        // for type_name can be a qualified type name S.T, in which case only the last name in the chain needs a typedef (other names in the chain should already have one)
     1870                        typedefTable.makeTypedef( *$3->type->leafName(), forall ? TYPEGENname : TYPEDEFname ); // create typedef
    18701871                        forall = false;                                                         // reset
    18711872                }
Note: See TracChangeset for help on using the changeset viewer.