summaryrefslogtreecommitdiffstats
path: root/generic/tclGetDate.y
diff options
context:
space:
mode:
authordas <das>2007-06-29 03:16:26 (GMT)
committerdas <das>2007-06-29 03:16:26 (GMT)
commit8493984d04745ef57714bf30c9dfd9da3f073dad (patch)
treea8c561d13c6401065592cd9bf803d1040467e1ee /generic/tclGetDate.y
parent232d002003fa03bec055f9a7f0b39c8b32095828 (diff)
downloadtcl-8493984d04745ef57714bf30c9dfd9da3f073dad.zip
tcl-8493984d04745ef57714bf30c9dfd9da3f073dad.tar.gz
tcl-8493984d04745ef57714bf30c9dfd9da3f073dad.tar.bz2
* generic/tclGetDate.y: use ckalloc/ckfree instead of malloc/free.
* generic/tclDate.c: bison 1.875e
Diffstat (limited to 'generic/tclGetDate.y')
-rw-r--r--generic/tclGetDate.y5
1 files changed, 4 insertions, 1 deletions
diff --git a/generic/tclGetDate.y b/generic/tclGetDate.y
index 607c8ae..9a8be8c 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.35 2007/04/20 05:51:10 kennykb Exp $
+ * RCS: @(#) $Id: tclGetDate.y,v 1.36 2007/06/29 03:16:26 das Exp $
*/
%{
@@ -84,6 +84,9 @@ typedef struct DateInfo {
#define YYPARSE_PARAM info
#define YYLEX_PARAM info
+#define YYMALLOC ckalloc
+#define YYFREE ckfree
+
#define yyDSTmode (((DateInfo *) info)->dateDSTmode)
#define yyDayOrdinal (((DateInfo *) info)->dateDayOrdinal)
#define yyDayNumber (((DateInfo *) info)->dateDayNumber)