Changes in / [55c97e4:314c9d8]
- Files:
-
- 1 deleted
- 2 edited
-
src/CodeGen/CodeGenerator.cpp (modified) (2 diffs)
-
src/Parser/parser.yy (modified) (3 diffs)
-
tools/test_time.py (deleted)
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/CodeGenerator.cpp
r55c97e4 r314c9d8 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. 169 170 if ( !decl->type_params.empty() ) { 170 171 assertf( !options.genC, "FunctionDecl forall should not reach code generation." ); … … 173 174 acc << ")" << std::endl; 174 175 } 175 // The forall clause should be printed early as part of the preamble.176 output << acc.str();177 acc.str("");178 176 179 177 acc << mangleName( decl ); -
src/Parser/parser.yy
r55c97e4 r314c9d8 10 10 // Created On : Sat Sep 1 20:22:55 2001 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Apr 23 15:39:29202413 // Update Count : 66 2012 // Last Modified On : Sat Mar 16 18:19:23 2024 13 // Update Count : 6617 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 ing_list field_declarator field_abstract_list_opt field_abstract495 %type<decl> field_declaration_list_opt field_declaration field_declaring_list_opt 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_declaring_list 2685 ; 2686 2687 field_declaring_list: 2688 field_declarator 2689 | field_declaring_list ',' attribute_list_opt field_declarator 2684 | field_declarator 2685 | field_declaring_list_opt ',' attribute_list_opt field_declarator 2690 2686 { $$ = $1->set_last( $4->addQualifiers( $3 ) ); } 2691 2687 ;
Note:
See TracChangeset
for help on using the changeset viewer.