Fork me on GitHub

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • external/tcl/tclProc.c

    radeddd8 rd7d2da3  
    985985     */
    986986
     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
    987998    iPtr->returnCode = TCL_OK;
    988999    procPtr->refCount++;
     
    11081119        int numChars;
    11091120        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        }
    11101137       
    11111138        /*
Note: See TracChangeset for help on using the changeset viewer.