Changeset 426 for branches/thune/thread_safe/print.c
- Timestamp:
- 07/05/07 04:03:51 (17 months ago)
- Files:
-
- 1 modified
-
branches/thune/thread_safe/print.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/thune/thread_safe/print.c
r408 r426 291 291 else if( braceType == UT_PAREN ) 292 292 append1( '(', out ); 293 #ifdef UR_CONFIG_MARCOS 294 else if( braceType == UT_MACRO ) 295 append1( '<', out ); 296 #endif 293 297 294 298 if( it != end ) … … 322 326 else if( braceType == UT_PAREN ) 323 327 append1( ')', out ); 328 #ifdef UR_CONFIG_MARCOS 329 else if( braceType == UT_MACRO ) 330 append1( '>', out ); 331 #endif 324 332 } 325 333 … … 699 707 case UT_SELECT: 700 708 case UT_SETSELECT: 709 case UT_LITSELECT: 701 710 case UT_INT: 702 711 case UT_DECIMAL: … … 817 826 818 827 828 /* 829 Print words only - no ticks or colons. 830 */ 819 831 static void _selectToStr( UThread* ut, const UCell* val, UString* out ) 820 832 { … … 928 940 #endif 929 941 942 case UT_LITSELECT: 943 append1('\'', out); 944 // Fall through to UT_SELECT... 945 930 946 case UT_SELECT: 931 947 _selectToStr( ut, val, out ); … … 1160 1176 case UT_CONTEXT: 1161 1177 case UT_PORT: 1178 #ifdef UR_CONFIG_DATAFLOW 1179 case UT_COMPONENT: 1180 #endif 1162 1181 if( val->id.flags & UR_FLAG_CTX_RECURSION ) 1163 1182 { 1164 append( out, "?context?", 8);1183 append( out, "?context?", 9 ); 1165 1184 } 1166 1185 else … … 1284 1303 #endif 1285 1304 1305 #if 0 1306 #ifdef UR_CONFIG_DATAFLOW 1307 case UT_COMPONENT: 1308 { 1309 UBlock* wblk = ur_blockPtr( val->ctx.wordBlk ); 1310 UBlock* vblk = ur_blockPtr( val->ctx.valBlk ); 1311 UCell* it = wblk->ptr.cells + 2; 1312 UCell* end = it + wblk->used; 1313 UCell* vit = vblk->ptr.cells; 1314 1315 /* 1316 while( it != end ) 1317 { 1318 ++it; 1319 ++vit; 1320 } 1321 */ 1322 1323 ur_blockToStr( ut, out, 1324 vblk->ptr.cells + val->series.it, 1325 vblk->ptr.cells + blk->used, 1326 UT_BLOCK, depth ); 1327 append( out, " component", 10 ); 1328 } 1329 break; 1330 #endif 1331 #endif 1332 1286 1333 default: 1287 1334 if( ur_type(val) < UT_BI_COUNT )
