Ignore:
Timestamp:
Aug 13, 2021, 3:58:19 PM (3 years ago)
Author:
caparsons <caparson@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
de52331
Parents:
c9f9d4f
Message:

added mutex stmt monitor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parser.yy

    rc9f9d4f r6cebfef  
    13461346mutex_statement:
    13471347        MUTEX '(' argument_expression_list_opt ')' statement
    1348                 { SemanticError( yylloc, "Mutex statement is currently unimplemented." ); $$ = nullptr; }
     1348                { $$ = new StatementNode( build_mutex( $3, $5 ) ); }
    13491349        ;
    13501350
Note: See TracChangeset for help on using the changeset viewer.