Changeset 46fa473 for src/Parser
- Timestamp:
- Jun 2, 2018, 5:17:27 PM (6 years ago)
- 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, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, with_gc
- Children:
- b47b827
- Parents:
- 428bef8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
r428bef8 r46fa473 10 10 // Created On : Sat Sep 1 20:22:55 2001 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Jun 1 17:59:57201813 // Update Count : 34 7612 // Last Modified On : Sat Jun 2 17:16:19 2018 13 // Update Count : 3480 14 14 // 15 15 … … 1881 1881 1882 1882 field_declaration: 1883 cfa_field_declaring_list ';' // CFA, new style field declaration 1883 type_specifier field_declaring_list ';' 1884 { $$ = distAttr( $1, $2 ); } 1885 | EXTENSION type_specifier field_declaring_list ';' // GCC 1886 { distExt( $3 ); $$ = distAttr( $2, $3 ); } // mark all fields in list 1887 | typedef_declaration ';' // CFA 1888 { SemanticError( yylloc, "Typedef in aggregate is currently unimplemented." ); $$ = nullptr; } 1889 | cfa_field_declaring_list ';' // CFA, new style field declaration 1884 1890 | EXTENSION cfa_field_declaring_list ';' // GCC 1885 { 1886 distExt( $2 ); // mark all fields in list 1887 $$ = $2; 1888 } 1889 | type_specifier field_declaring_list ';' 1890 { 1891 $$ = distAttr( $1, $2 ); } 1892 | EXTENSION type_specifier field_declaring_list ';' // GCC 1893 { 1894 distExt( $3 ); // mark all fields in list 1895 $$ = distAttr( $2, $3 ); 1896 } 1891 { distExt( $2 ); $$ = $2; } // mark all fields in list 1892 | cfa_typedef_declaration ';' // CFA 1893 { SemanticError( yylloc, "Typedef in aggregate is currently unimplemented." ); $$ = nullptr; } 1897 1894 | static_assert 1898 1895 ;
Note: See TracChangeset
for help on using the changeset viewer.