summaryrefslogtreecommitdiffstats
path: root/generic/tclDate.h
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2019-07-15 12:12:22 (GMT)
committersebres <sebres@users.sourceforge.net>2019-07-15 12:12:22 (GMT)
commit9f872f5338b49bea2e8022380a50c2257e42f26d (patch)
tree7b7a3714d0aecdcb95d3a06a611cce1baf128928 /generic/tclDate.h
parentc587280d004ba2c60c5b1ce29dfecd3b6dc12e6d (diff)
downloadtcl-9f872f5338b49bea2e8022380a50c2257e42f26d.zip
tcl-9f872f5338b49bea2e8022380a50c2257e42f26d.tar.gz
tcl-9f872f5338b49bea2e8022380a50c2257e42f26d.tar.bz2
simplifying info-structure, usage of flags etc (normalizing in order to use same flags as by formatted scan instead of members like yyHave...);
(additionally allocates info->messages object on demand, if free scan fails)
Diffstat (limited to 'generic/tclDate.h')
-rw-r--r--generic/tclDate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclDate.h b/generic/tclDate.h
index 5616b13..0c9f7c3 100644
--- a/generic/tclDate.h
+++ b/generic/tclDate.h
@@ -48,7 +48,7 @@
#define CLF_ISO8601WEAK (1 << 13)
#define CLF_ISO8601CENTURY (1 << 14)
-#define CLF_SIGNED (1 << 16)
+#define CLF_SIGNED (1 << 15)
/* extra flags used outside of scan/format-tokens too (int, not a short int) */
#define CLF_RELCONV (1 << 17)
@@ -59,7 +59,7 @@
#define CLF_ASSEMBLE_JULIANDAY (1 << 29) /* assemble julianDay using year, month, etc. */
#define CLF_ASSEMBLE_SECONDS (1 << 30) /* assemble localSeconds (and seconds at end) */
-#define CLF_HAVEDATE (CLF_DAYOFMONTH|CLF_MONTH|CLF_YEAR|CLF_ISO8601YEAR)
+#define CLF_HAVEDATE (CLF_DAYOFMONTH|CLF_MONTH|CLF_YEAR)
#define CLF_DATE (CLF_JULIANDAY | CLF_DAYOFMONTH | CLF_DAYOFYEAR | \
CLF_MONTH | CLF_YEAR | CLF_ISO8601YEAR | \
CLF_DAYOFWEEK | CLF_ISO8601WEAK)