Changeset 203c667 for src/Parser
- Timestamp:
- Jun 24, 2018, 12:04:00 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, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- b199e54
- Parents:
- 3d56d15b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
r3d56d15b r203c667 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 22 13:59:11201813 // Update Count : 358 612 // Last Modified On : Sun Jun 24 10:41:10 2018 13 // Update Count : 3587 14 14 // 15 15 … … 505 505 { $$ = new ExpressionNode( build_func( new ExpressionNode( build_postfix_name( $5 ) ), $2 ) ); } 506 506 | type_name '.' no_attr_identifier // CFA, nested type 507 // { SemanticError( yylloc, "Qualified name is currently unimplemented." ); $$ = nullptr; } 508 { $$ = nullptr; } 507 { SemanticError( yylloc, "Qualified name is currently unimplemented." ); $$ = nullptr; } 509 508 | type_name '.' '[' field_list ']' // CFA, nested type / tuple field selector 510 // { SemanticError( yylloc, "Qualified name is currently unimplemented." ); $$ = nullptr; } 511 { $$ = nullptr; } 509 { SemanticError( yylloc, "Qualified name is currently unimplemented." ); $$ = nullptr; } 512 510 | GENERIC '(' assignment_expression ',' generic_assoc_list ')' // C11 513 511 { … … 1834 1832 { 1835 1833 typedefTable.makeTypedef( *$3, forall ? TYPEGENname : TYPEDEFname ); // create typedef 1836 //if ( forall ) typedefTable.changeKind( *$3, TYPEGENname ); // possibly update1837 1834 forall = false; // reset 1838 1835 } … … 1842 1839 { 1843 1840 typedefTable.makeTypedef( *$3->type->symbolic.name, forall ? TYPEGENname : TYPEDEFname ); // create typedef 1844 //if ( forall ) typedefTable.changeKind( *$3->type->symbolic.name, TYPEGENname ); // possibly update1845 1841 forall = false; // reset 1846 1842 } … … 1856 1852 { 1857 1853 typedefTable.makeTypedef( *$3, forall ? TYPEGENname : TYPEDEFname ); 1858 //if ( forall ) typedefTable.changeKind( *$3, TYPEGENname ); // possibly update1859 1854 forall = false; // reset 1860 1855 $$ = DeclarationNode::newAggregate( $1, $3, nullptr, nullptr, false )->addQualifiers( $2 );
Note: See TracChangeset
for help on using the changeset viewer.