Changeset 1a6a6f2 for src/Parser/parser.yy
- Timestamp:
- Aug 19, 2021, 4:04:43 PM (4 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, pthread-emulation, qualifiedEnum
- Children:
- d8f8d08
- Parents:
- ed4d7c1 (diff), 315e5e3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
src/Parser/parser.yy (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
red4d7c1 r1a6a6f2 10 10 // Created On : Sat Sep 1 20:22:55 2001 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Jul 20 22:03:04 202113 // Update Count : 503 112 // Last Modified On : Sun Aug 8 09:14:44 2021 13 // Update Count : 5038 14 14 // 15 15 … … 185 185 type = new ExpressionNode( new CastExpr( maybeMoveBuild<Expression>(type), new BasicType( Type::Qualifiers(), BasicType::SignedInt ) ) ); 186 186 } // if 187 // type = new ExpressionNode( build_func( new ExpressionNode( build_varref( new string( "__for_control_index_constraints__" ) ) ), type ) ); 187 188 return new ForCtrl( 188 189 distAttr( DeclarationNode::newTypeof( type, true ), DeclarationNode::newName( index )->addInitializer( new InitializerNode( start ) ) ), … … 1346 1347 mutex_statement: 1347 1348 MUTEX '(' argument_expression_list_opt ')' statement 1348 { SemanticError( yylloc, "Mutex statement is currently unimplemented." ); $$ = nullptr; }1349 { $$ = new StatementNode( build_mutex( $3, $5 ) ); } 1349 1350 ; 1350 1351
Note:
See TracChangeset
for help on using the changeset viewer.