Changes in / [314c9d8:55c97e4]
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/CodeGenerator.cpp
r314c9d8 r55c97e4 167 167 ast::Pass<CodeGenerator> subCG( acc, subOptions ); 168 168 // Add the forall clause. 169 // TODO: These probably should be removed by now and the assert used.170 169 if ( !decl->type_params.empty() ) { 171 170 assertf( !options.genC, "FunctionDecl forall should not reach code generation." ); … … 174 173 acc << ")" << std::endl; 175 174 } 175 // The forall clause should be printed early as part of the preamble. 176 output << acc.str(); 177 acc.str(""); 176 178 177 179 acc << mangleName( decl ); -
src/Parser/parser.yy
r314c9d8 r55c97e4 10 10 // Created On : Sat Sep 1 20:22:55 2001 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sat Mar 16 18:19:23202413 // Update Count : 66 1712 // Last Modified On : Tue Apr 23 15:39:29 2024 13 // Update Count : 6620 14 14 // 15 15 … … 493 493 %type<decl> exception_declaration 494 494 495 %type<decl> field_declaration_list_opt field_declaration field_declaring_list_opt field_declar ator field_abstract_list_opt field_abstract495 %type<decl> field_declaration_list_opt field_declaration field_declaring_list_opt field_declaring_list field_declarator field_abstract_list_opt field_abstract 496 496 %type<expr> field field_name_list field_name fraction_constants_opt 497 497 … … 2682 2682 // empty 2683 2683 { $$ = nullptr; } 2684 | field_declarator 2685 | field_declaring_list_opt ',' attribute_list_opt field_declarator 2684 | field_declaring_list 2685 ; 2686 2687 field_declaring_list: 2688 field_declarator 2689 | field_declaring_list ',' attribute_list_opt field_declarator 2686 2690 { $$ = $1->set_last( $4->addQualifiers( $3 ) ); } 2687 2691 ;
Note: See TracChangeset
for help on using the changeset viewer.