summaryrefslogtreecommitdiffstats
path: root/generic/tclGetDate.y
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2007-04-20 05:51:08 (GMT)
committerKevin B Kenny <kennykb@acm.org>2007-04-20 05:51:08 (GMT)
commit19d1741894fc2c56ad61073c9004a90afabf2e56 (patch)
treed1bc1e4898e7345e3f4220c96e003fd6e41b73ed /generic/tclGetDate.y
parent0823d0ce0477c8a5a0183f4f9d76768b4cc203fc (diff)
downloadtcl-19d1741894fc2c56ad61073c9004a90afabf2e56.zip
tcl-19d1741894fc2c56ad61073c9004a90afabf2e56.tar.gz
tcl-19d1741894fc2c56ad61073c9004a90afabf2e56.tar.bz2
Whitespace policing, replacing commas in varargs with constant string catenation, and fixed an oversight in the fix for NZA time zones.
Diffstat (limited to 'generic/tclGetDate.y')
-rw-r--r--generic/tclGetDate.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclGetDate.y b/generic/tclGetDate.y
index 89fa14d..607c8ae 100644
--- a/generic/tclGetDate.y
+++ b/generic/tclGetDate.y
@@ -13,7 +13,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.34 2007/04/20 04:11:22 kennykb Exp $
+ * RCS: @(#) $Id: tclGetDate.y,v 1.35 2007/04/20 05:51:10 kennykb Exp $
*/
%{
@@ -346,7 +346,7 @@ ordMonth: tNEXT tMONTH {
;
iso : tISOBASE tZONE tISOBASE {
- if ($2 != HOUR(- 7)) YYABORT;
+ if ($2 != HOUR( 7)) YYABORT;
yyYear = $1 / 10000;
yyMonth = ($1 % 10000)/100;
yyDay = $1 % 100;
@@ -355,7 +355,7 @@ iso : tISOBASE tZONE tISOBASE {
yySeconds = $3 % 100;
}
| tISOBASE tZONE tUNUMBER ':' tUNUMBER ':' tUNUMBER {
- if ($2 != HOUR(- 7)) YYABORT;
+ if ($2 != HOUR( 7)) YYABORT;
yyYear = $1 / 10000;
yyMonth = ($1 % 10000)/100;
yyDay = $1 % 100;