Changeset 3fd8b0e for src


Ignore:
Timestamp:
Jun 26, 2018, 1:48:42 PM (6 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
b16923d
Parents:
88d955f
Message:

Build typedefs inside aggregates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parser.yy

    r88d955f r3fd8b0e  
    18931893                { distExt( $3 ); $$ = distAttr( $2, $3 ); }             // mark all fields in list
    18941894        | typedef_declaration ';'                                                       // CFA
    1895                 { SemanticError( yylloc, "Typedef in aggregate is currently unimplemented." ); $$ = nullptr; }
    18961895        | cfa_field_declaring_list ';'                                          // CFA, new style field declaration
    18971896        | EXTENSION cfa_field_declaring_list ';'                        // GCC
    18981897                { distExt( $2 ); $$ = $2; }                                             // mark all fields in list
    18991898        | cfa_typedef_declaration ';'                                           // CFA
    1900                 { SemanticError( yylloc, "Typedef in aggregate is currently unimplemented." ); $$ = nullptr; }
    19011899        | static_assert                                                                         // C11
    19021900        ;
Note: See TracChangeset for help on using the changeset viewer.