Changes in / [55c97e4:314c9d8]


Ignore:
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/CodeGenerator.cpp

    r55c97e4 r314c9d8  
    167167        ast::Pass<CodeGenerator> subCG( acc, subOptions );
    168168        // Add the forall clause.
     169        // TODO: These probably should be removed by now and the assert used.
    169170        if ( !decl->type_params.empty() ) {
    170171                assertf( !options.genC, "FunctionDecl forall should not reach code generation." );
     
    173174                acc << ")" << std::endl;
    174175        }
    175         // The forall clause should be printed early as part of the preamble.
    176         output << acc.str();
    177         acc.str("");
    178176
    179177        acc << mangleName( decl );
  • src/Parser/parser.yy

    r55c97e4 r314c9d8  
    1010// Created On       : Sat Sep  1 20:22:55 2001
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue Apr 23 15:39:29 2024
    13 // Update Count     : 6620
     12// Last Modified On : Sat Mar 16 18:19:23 2024
     13// Update Count     : 6617
    1414//
    1515
     
    493493%type<decl> exception_declaration
    494494
    495 %type<decl> field_declaration_list_opt field_declaration field_declaring_list_opt field_declaring_list field_declarator field_abstract_list_opt field_abstract
     495%type<decl> field_declaration_list_opt field_declaration field_declaring_list_opt field_declarator field_abstract_list_opt field_abstract
    496496%type<expr> field field_name_list field_name fraction_constants_opt
    497497
     
    26822682        // empty
    26832683                { $$ = 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
    26902686                { $$ = $1->set_last( $4->addQualifiers( $3 ) ); }
    26912687        ;
Note: See TracChangeset for help on using the changeset viewer.