diff options
author | kennykb <kennykb@noemail.net> | 2007-04-20 05:51:07 (GMT) |
---|---|---|
committer | kennykb <kennykb@noemail.net> | 2007-04-20 05:51:07 (GMT) |
commit | c22a629d769c281bd084ababea123dc858705794 (patch) | |
tree | d1bc1e4898e7345e3f4220c96e003fd6e41b73ed /generic/tclGetDate.y | |
parent | c884c7079b217618614568073f0c3f2415e07a62 (diff) | |
download | tcl-c22a629d769c281bd084ababea123dc858705794.zip tcl-c22a629d769c281bd084ababea123dc858705794.tar.gz tcl-c22a629d769c281bd084ababea123dc858705794.tar.bz2 |
Whitespace policing, replacing commas in varargs with constant string catenation, and fixed an oversight in the fix for NZA time zones.
FossilOrigin-Name: d6ee490b6b6a9de069d6463ed744906e1e89e221
Diffstat (limited to 'generic/tclGetDate.y')
-rw-r--r-- | generic/tclGetDate.y | 6 |
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; |