summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2025-09-11 19:53:55 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2025-09-11 19:53:55 (GMT)
commit7b25f98309dfb3277042a63511a16a4462f780ef (patch)
tree9707776852d9fc0037ea233e21d3d7844da592f0
parent89999dc72cefc0bf1df82ae3bc9b8e84fc1b1793 (diff)
downloadtcl-7b25f98309dfb3277042a63511a16a4462f780ef.zip
tcl-7b25f98309dfb3277042a63511a16a4462f780ef.tar.gz
tcl-7b25f98309dfb3277042a63511a16a4462f780ef.tar.bz2
Re-generate tclDate.c (which is not hand-edited any more)
-rw-r--r--generic/tclDate.c16
-rw-r--r--generic/tclGetDate.y2
-rw-r--r--unix/Makefile.in1
3 files changed, 9 insertions, 10 deletions
diff --git a/generic/tclDate.c b/generic/tclDate.c
index 1d7a844..84824b6 100644
--- a/generic/tclDate.c
+++ b/generic/tclDate.c
@@ -719,14 +719,14 @@ static const yytype_int8 yytranslate[] =
/* YYRLINE[YYN] -- Source line where rule number YYN was defined. */
static const yytype_int16 yyrline[] =
{
- 0, 171, 171, 172, 176, 179, 182, 185, 188, 191,
- 194, 197, 201, 204, 209, 215, 221, 226, 230, 234,
- 238, 242, 246, 252, 253, 256, 260, 264, 268, 272,
- 276, 282, 288, 292, 297, 298, 303, 307, 312, 316,
- 321, 328, 332, 338, 338, 340, 345, 350, 352, 357,
- 359, 360, 368, 379, 393, 398, 401, 404, 407, 410,
- 413, 416, 421, 424, 429, 433, 437, 443, 446, 449,
- 454, 472, 475
+ 0, 174, 174, 175, 179, 182, 185, 188, 192, 196,
+ 199, 202, 206, 209, 214, 220, 226, 231, 235, 239,
+ 243, 247, 251, 257, 258, 261, 265, 269, 273, 277,
+ 281, 287, 293, 297, 302, 303, 308, 312, 317, 321,
+ 326, 333, 337, 343, 343, 345, 350, 355, 357, 362,
+ 364, 365, 373, 384, 399, 404, 407, 410, 413, 416,
+ 419, 422, 427, 430, 435, 440, 445, 452, 455, 458,
+ 463, 481, 484
};
#endif
diff --git a/generic/tclGetDate.y b/generic/tclGetDate.y
index 655cbf2..a86250f 100644
--- a/generic/tclGetDate.y
+++ b/generic/tclGetDate.y
@@ -43,7 +43,7 @@
* don't like that, and complain. Simply disable the warning to silence them.
*/
-ifdef _MSC_VER
+#ifdef _MSC_VER
#pragma warning( disable : 4102 )
#elif defined (__clang__)
#elif (__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ > 5)))
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 0c74197..82ca62e 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -2174,7 +2174,6 @@ dist-packages: configure-packages
# the .c file.
#
-# Remark: see [54a305cb88]. tclDate.c is manually edited, removing the unused "yynerrs" variable
gendate:
bison --output-file=$(GENERIC_DIR)/tclDate.c \
--no-lines \