Diff
Not logged in

Differences From Artifact [1d1517b553]:

To Artifact [4d07b3e951]:


3442
3443
3444
3445
3446
3447
3448

3449

3450
3451
3452
3453
3454
3455
3456
3442
3443
3444
3445
3446
3447
3448
3449

3450
3451
3452
3453
3454
3455
3456
3457







+
-
+







	"-now", NULL
    };
    int idx;

    if (opts->baseObj != NULL) {
	Tcl_Obj *baseObj = opts->baseObj;
	/* bypass integer recognition if looks like option "-now" */
	if ((baseObj->typePtr != &tclIntType)
	if (Tcl_GetIndexFromObj(NULL, baseObj, nowOpts, "seconds or -now", TCL_EXACT, &idx) == TCL_OK) {
		&& Tcl_GetIndexFromObj(NULL, baseObj, nowOpts, "seconds or -now", TCL_EXACT, &idx) == TCL_OK) {
	    goto baseNow;
	}
	if (TclGetWideIntFromObj(NULL, baseObj, &baseVal) != TCL_OK) {
	    Tcl_SetObjResult(interp, Tcl_ObjPrintf(
		    "expected integer but got \"%s\"",
		    TclGetString(baseObj)));
	    Tcl_SetErrorCode(interp, "TCL", "VALUE", "INTEGER", (char *)NULL);