Changeset d55d7a6 for src/Parser/parser.yy
- Timestamp:
- Feb 15, 2018, 3:58:56 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:
- 75e3cb2
- Parents:
- d27e340
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
rd27e340 rd55d7a6 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( "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( "Qualified names are currently unimplemented."); $$ = nullptr; } // FIX ME486 { throw SemanticError(yylloc, "Qualified names are currently unimplemented."); $$ = nullptr; } // FIX ME 487 487 ; 488 488 … … 1072 1072 mutex_statement: 1073 1073 MUTEX '(' argument_expression_list ')' statement 1074 { throw SemanticError( "Mutex statement is currently unimplemented."); $$ = nullptr; } // FIX ME1074 { throw SemanticError(yylloc, "Mutex statement is currently unimplemented."); $$ = nullptr; } // FIX ME 1075 1075 ; 1076 1076 … … 1293 1293 static_assert: 1294 1294 STATICASSERT '(' constant_expression ',' string_literal ')' ';' // C11 1295 { throw SemanticError( "Static assert is currently unimplemented."); $$ = nullptr; } // FIX ME1295 { throw SemanticError(yylloc, "Static assert is currently unimplemented."); $$ = nullptr; } // FIX ME 1296 1296 1297 1297 // C declaration syntax is notoriously confusing and error prone. Cforall provides its own type, variable and function … … 2381 2381 { 2382 2382 linkageStack.push( linkage ); // handle nested extern "C"/"Cforall" 2383 linkage = LinkageSpec::linkageUpdate( linkage, $2 );2383 linkage = LinkageSpec::linkageUpdate( yylloc, linkage, $2 ); 2384 2384 } 2385 2385 '{' external_definition_list_opt '}'
Note: See TracChangeset
for help on using the changeset viewer.