Changes in / [8a1d95af:6d63c14]
- Files:
-
- 2 edited
-
libcfa/prelude/builtins.c (modified) (2 diffs)
-
src/Parser/parser.yy (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/prelude/builtins.c
r8a1d95af r6d63c14 10 10 // Created On : Fri Jul 21 16:21:03 2017 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sat Aug 14 08:45:54 202113 // Update Count : 1 3312 // Last Modified On : Wed Jul 21 13:31:34 2021 13 // Update Count : 129 14 14 // 15 15 … … 107 107 #endif // __SIZEOF_INT128__ 108 108 109 // for-control index constraints110 // forall( T | { void ?{}( T &, zero_t ); void ?{}( T &, one_t ); T ?+=?( T &, T ); T ?-=?( T &, T ); int ?<?( T, T ); } )111 // static inline T __for_control_index_constraints__( T t ) { return t; }112 113 109 // exponentiation operator implementation 114 110 -
src/Parser/parser.yy
r8a1d95af r6d63c14 10 10 // Created On : Sat Sep 1 20:22:55 2001 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sun Aug 8 09:14:44 202113 // Update Count : 503 812 // Last Modified On : Tue Jul 20 22:03:04 2021 13 // Update Count : 5031 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 ) );188 187 return new ForCtrl( 189 188 distAttr( DeclarationNode::newTypeof( type, true ), DeclarationNode::newName( index )->addInitializer( new InitializerNode( start ) ) ),
Note:
See TracChangeset
for help on using the changeset viewer.