Changes in external/tcl/tclProc.c [adeddd8:d7d2da3] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
external/tcl/tclProc.c
radeddd8 rd7d2da3 985 985 */ 986 986 987 if (tclTraceExec >= 1) { 988 fprintf(stdout, "Calling proc "); 989 for (i = 0; i < objc; i++) { 990 bytes = Tcl_GetStringFromObj(objv[i], &length); 991 TclPrintSource(stdout, bytes, TclMin(length, 15)); 992 fprintf(stdout, " "); 993 } 994 fprintf(stdout, "\n"); 995 fflush(stdout); 996 } 997 987 998 iPtr->returnCode = TCL_OK; 988 999 procPtr->refCount++; … … 1108 1119 int numChars; 1109 1120 char *ellipsis; 1121 1122 if (tclTraceCompile >= 1) { 1123 /* 1124 * Display a line summarizing the top level command we 1125 * are about to compile. 1126 */ 1127 1128 numChars = strlen(procName); 1129 ellipsis = ""; 1130 if (numChars > 50) { 1131 numChars = 50; 1132 ellipsis = "..."; 1133 } 1134 fprintf(stdout, "Compiling %s \"%.*s%s\"\n", 1135 description, numChars, procName, ellipsis); 1136 } 1110 1137 1111 1138 /*
Note:
See TracChangeset
for help on using the changeset viewer.