summaryrefslogtreecommitdiffstats
path: root/generic/tclGetDate.y
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2017-01-10 22:21:26 (GMT)
committersebres <sebres@users.sourceforge.net>2017-01-10 22:21:26 (GMT)
commitc5d6cc90d9239f54b212d06b8f98516ff145545b (patch)
tree81cb2bbde61282f93461ce283eb461c4afef2e70 /generic/tclGetDate.y
parentbcb2a0a181c0de95732c70b66d5040ec6bd4b2b9 (diff)
downloadtcl-c5d6cc90d9239f54b212d06b8f98516ff145545b.zip
tcl-c5d6cc90d9239f54b212d06b8f98516ff145545b.tar.gz
tcl-c5d6cc90d9239f54b212d06b8f98516ff145545b.tar.bz2
several initialize and finalize facilities
Diffstat (limited to 'generic/tclGetDate.y')
-rw-r--r--generic/tclGetDate.y19
1 files changed, 3 insertions, 16 deletions
diff --git a/generic/tclGetDate.y b/generic/tclGetDate.y
index 54087ca..9e3623f 100644
--- a/generic/tclGetDate.y
+++ b/generic/tclGetDate.y
@@ -896,24 +896,11 @@ TclClockFreeScan(
/*
* yyInput = stringToParse;
- * yyYear = baseYear; yyMonth = baseMonth; yyDay = baseDay;
+ *
+ * ClockInitDateInfo(info) should be executed to pre-init info;
*/
- yyHaveDate = 0;
-
- yyHaveTime = 0;
-
- yyHaveZone = 0;
- yyTimezone = 0; yyDSTmode = DSTmaybe;
-
- yyHaveOrdinalMonth = 0;
- yyMonthOrdinalIncr = 0;
-
- yyHaveDay = 0;
- yyDayOrdinal = 0; yyDayNumber = 0;
-
- yyHaveRel = 0;
- yyRelMonth = 0; yyRelDay = 0; yyRelSeconds = 0; yyRelPointer = NULL;
+ yyDSTmode = DSTmaybe;
info->messages = Tcl_NewObj();
info->separatrix = "";