Changeset 9306559f


Ignore:
Timestamp:
Mar 5, 2020, 5:50:54 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
e6cfa8ff
Parents:
dfa4360
Message:

Fixed small errors in generators code

Location:
src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/Lvalue.cc

    rdfa4360 r9306559f  
    140140                PassVisitor<FixIntrinsicResult> intrinsicResults;
    141141                mutateAll( translationUnit, intrinsicResults );
    142                 translationUnit.back()->print( std::cout );
    143142                mutateAll( translationUnit, addrRef );
    144                 translationUnit.back()->print( std::cout );
    145143                mutateAll( translationUnit, refCvt );
    146                 translationUnit.back()->print( std::cout );
    147144                mutateAll( translationUnit, fixer );
    148                 translationUnit.back()->print( std::cout );
    149145                mutateAll( translationUnit, collapser );
    150                 translationUnit.back()->print( std::cout );
    151146                mutateAll( translationUnit, genLval );
    152                 translationUnit.back()->print( std::cout );
    153147                mutateAll( translationUnit, elim );  // last because other passes need reference types to work
    154148
  • src/Parser/parser.yy

    rdfa4360 r9306559f  
    12621262        | SUSPEND ';'
    12631263                { $$ = new StatementNode( build_suspend( nullptr ) ); }
    1264         | SUSPEND compound_statement ';'
     1264        | SUSPEND compound_statement
    12651265                { $$ = new StatementNode( build_suspend( $2 ) ); }
    12661266        | SUSPEND COROUTINE ';'
Note: See TracChangeset for help on using the changeset viewer.