Changeset a16764a6 for src/Parser/parser.yy
- Timestamp:
- Feb 28, 2018, 4:48:22 PM (7 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, resolv-new, with_gc
- Children:
- 446ffa3
- Parents:
- 6a8df56
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
r6a8df56 ra16764a6 482 482 { $$ = new ExpressionNode( new StmtExpr( dynamic_cast< CompoundStmt * >(maybeMoveBuild< Statement >($2) ) ) ); } 483 483 | type_name '.' no_attr_identifier // CFA, nested type 484 { throwSemanticError( yylloc, "Qualified names are currently unimplemented." ); $$ = nullptr; } // FIX ME484 { SemanticError( yylloc, "Qualified names are currently unimplemented." ); $$ = nullptr; } // FIX ME 485 485 | type_name '.' '[' push field_list pop ']' // CFA, nested type / tuple field selector 486 { throwSemanticError( yylloc, "Qualified names are currently unimplemented." ); $$ = nullptr; } // FIX ME486 { SemanticError( yylloc, "Qualified names are currently unimplemented." ); $$ = nullptr; } // FIX ME 487 487 | GENERIC '(' assignment_expression ',' generic_assoc_list ')' // C11 488 { throwSemanticError( yylloc, "_Generic is currently unimplemented." ); $$ = nullptr; } // FIX ME488 { SemanticError( yylloc, "_Generic is currently unimplemented." ); $$ = nullptr; } // FIX ME 489 489 ; 490 490 … … 780 780 { $$ = new ExpressionNode( build_binary_val( $2, $1, $3 ) ); } 781 781 | unary_expression '=' '{' initializer_list comma_opt '}' 782 { throwSemanticError( yylloc, "Initializer assignment is currently unimplemented." ); $$ = nullptr; } // FIX ME782 { SemanticError( yylloc, "Initializer assignment is currently unimplemented." ); $$ = nullptr; } // FIX ME 783 783 ; 784 784 … … 850 850 | exception_statement 851 851 | enable_disable_statement 852 { throwSemanticError( yylloc, "enable/disable statement is currently unimplemented." ); $$ = nullptr; } // FIX ME852 { SemanticError( yylloc, "enable/disable statement is currently unimplemented." ); $$ = nullptr; } // FIX ME 853 853 | asm_statement 854 854 ; … … 1067 1067 { $$ = new StatementNode( build_return( $2 ) ); } 1068 1068 | RETURN '{' initializer_list comma_opt '}' 1069 { throwSemanticError( yylloc, "Initializer return is currently unimplemented." ); $$ = nullptr; } // FIX ME1069 { SemanticError( yylloc, "Initializer return is currently unimplemented." ); $$ = nullptr; } // FIX ME 1070 1070 | THROW assignment_expression_opt ';' // handles rethrow 1071 1071 { $$ = new StatementNode( build_throw( $2 ) ); } … … 1086 1086 mutex_statement: 1087 1087 MUTEX '(' argument_expression_list ')' statement 1088 { throwSemanticError( yylloc, "Mutex statement is currently unimplemented." ); $$ = nullptr; } // FIX ME1088 { SemanticError( yylloc, "Mutex statement is currently unimplemented." ); $$ = nullptr; } // FIX ME 1089 1089 ; 1090 1090 … … 1316 1316 static_assert: 1317 1317 STATICASSERT '(' constant_expression ',' string_literal ')' ';' // C11 1318 { throwSemanticError( yylloc, "Static assert is currently unimplemented." ); $$ = nullptr; } // FIX ME1318 { SemanticError( yylloc, "Static assert is currently unimplemented." ); $$ = nullptr; } // FIX ME 1319 1319 1320 1320 // C declaration syntax is notoriously confusing and error prone. Cforall provides its own type, variable and function
Note: See TracChangeset
for help on using the changeset viewer.