Changeset 6b2d444


Ignore:
Timestamp:
Jan 28, 2022, 2:49:08 PM (2 years ago)
Author:
caparsons <caparson@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
Children:
cef7430
Parents:
97fed44
Message:

changed a few mutexstmt things

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Pass.impl.hpp

    r97fed44 r6b2d444  
    10501050        VISIT_START( node );
    10511051
    1052         VISIT({
    1053                 // mutex statements introduce a level of scope (for the initialization)
    1054                 guard_symtab guard { *this };
    1055                 maybe_accept( node, &MutexStmt::stmt );
     1052        VISIT(
    10561053                maybe_accept( node, &MutexStmt::mutexObjs );
    1057         })
     1054                {
     1055                        // mutex statements introduce a level of scope (for the initialization)
     1056                        guard_symtab guard { *this };
     1057                        maybe_accept( node, &MutexStmt::stmt );
     1058                       
     1059                }
     1060        )
    10581061
    10591062        VISIT_END( Stmt, node );
Note: See TracChangeset for help on using the changeset viewer.