Changeset 5a40e4e for src/Parser/parser.yy
- Timestamp:
- Sep 9, 2021, 3:56:32 PM (4 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
- Children:
- d0b9247
- Parents:
- dd1cc02 (diff), d8d512e (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
rdd1cc02 r5a40e4e 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.