Changes in src/Parser/parser.yy [24c3b67:d55d7a6]
- File:
-
- 1 edited
-
src/Parser/parser.yy (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
r24c3b67 rd55d7a6 10 10 // Created On : Sat Sep 1 20:22:55 2001 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : T hu Feb 15 17:12:31201813 // Update Count : 300612 // Last Modified On : Tue Feb 13 11:40:34 2018 13 // Update Count : 2999 14 14 // 15 15 … … 482 482 { $$ = new ExpressionNode( new StmtExpr( dynamic_cast< CompoundStmt * >(maybeMoveBuild< Statement >($2) ) ) ); } 483 483 | type_name '.' no_attr_identifier // CFA, nested type 484 { throw SemanticError( yylloc, "Qualified names are currently unimplemented."); $$ = nullptr; } // FIX ME484 { throw 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 { throw SemanticError( yylloc, "Qualified names are currently unimplemented." ); $$ = nullptr; } // FIX ME 487 | GENERIC '(' assignment_expression ',' generic_assoc_list ')' // C11 488 { throw SemanticError( yylloc, "_Generic is currently unimplemented." ); $$ = nullptr; } // FIX ME 489 ; 490 491 generic_assoc_list: // C11 492 | generic_association 493 | generic_assoc_list ',' generic_association 494 ; 495 496 generic_association: // C11 497 type_no_function ':' assignment_expression 498 | DEFAULT ':' assignment_expression 486 { throw SemanticError(yylloc, "Qualified names are currently unimplemented."); $$ = nullptr; } // FIX ME 499 487 ; 500 488 … … 1084 1072 mutex_statement: 1085 1073 MUTEX '(' argument_expression_list ')' statement 1086 { throw SemanticError( yylloc, "Mutex statement is currently unimplemented."); $$ = nullptr; } // FIX ME1074 { throw SemanticError(yylloc, "Mutex statement is currently unimplemented."); $$ = nullptr; } // FIX ME 1087 1075 ; 1088 1076 … … 1305 1293 static_assert: 1306 1294 STATICASSERT '(' constant_expression ',' string_literal ')' ';' // C11 1307 { throw SemanticError( yylloc, "Static assert is currently unimplemented."); $$ = nullptr; } // FIX ME1295 { throw SemanticError(yylloc, "Static assert is currently unimplemented."); $$ = nullptr; } // FIX ME 1308 1296 1309 1297 // 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.