summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorericm <ericm>2000-01-11 02:59:47 (GMT)
committerericm <ericm>2000-01-11 02:59:47 (GMT)
commit19e7a439c8a7d69201c0059a41393d59efa8e8c7 (patch)
tree6c4583db4172b2f856c046a2512363d6f608c9d3 /generic
parent31e465a97f4a03197ce4441aca68c1660cfa5dd4 (diff)
downloadtcl-19e7a439c8a7d69201c0059a41393d59efa8e8c7.zip
tcl-19e7a439c8a7d69201c0059a41393d59efa8e8c7.tar.gz
tcl-19e7a439c8a7d69201c0059a41393d59efa8e8c7.tar.bz2
fixed "next" constant to give 1 unit ahead, not 2.
Diffstat (limited to 'generic')
-rw-r--r--generic/tclDate.c4
-rw-r--r--generic/tclGetDate.y4
2 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclDate.c b/generic/tclDate.c
index d3c7fb5..1cbb9b3 100644
--- a/generic/tclDate.c
+++ b/generic/tclDate.c
@@ -20,7 +20,7 @@ static char TclDatesccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93";
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclDate.c,v 1.9 2000/01/11 02:36:15 ericm Exp $
+ * RCS: @(#) $Id: tclDate.c,v 1.10 2000/01/11 02:59:47 ericm Exp $
*/
#include "tclInt.h"
@@ -417,7 +417,7 @@ static TABLE OtherTable[] = {
{ "now", tMINUTE_UNIT, 0 },
{ "last", tUNUMBER, -1 },
{ "this", tMINUTE_UNIT, 0 },
- { "next", tUNUMBER, 2 },
+ { "next", tUNUMBER, 1 },
#if 0
{ "first", tUNUMBER, 1 },
{ "second", tUNUMBER, 2 },
diff --git a/generic/tclGetDate.y b/generic/tclGetDate.y
index 8b28762..3625041 100644
--- a/generic/tclGetDate.y
+++ b/generic/tclGetDate.y
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclGetDate.y,v 1.7 2000/01/11 02:36:15 ericm Exp $
+ * RCS: @(#) $Id: tclGetDate.y,v 1.8 2000/01/11 02:59:48 ericm Exp $
*/
%{
@@ -432,7 +432,7 @@ static TABLE OtherTable[] = {
{ "now", tMINUTE_UNIT, 0 },
{ "last", tUNUMBER, -1 },
{ "this", tMINUTE_UNIT, 0 },
- { "next", tUNUMBER, 2 },
+ { "next", tUNUMBER, 1 },
#if 0
{ "first", tUNUMBER, 1 },
{ "second", tUNUMBER, 2 },