summaryrefslogtreecommitdiffstats
path: root/generic/tclParse.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2007-05-18 18:39:29 (GMT)
committerdgp <dgp@users.sourceforge.net>2007-05-18 18:39:29 (GMT)
commit9190f533c5cb5bf91aa76adf0fb9cfcc90775c07 (patch)
tree4e15601582fe82e692cfbe52544661ca2ea65098 /generic/tclParse.c
parent236ba37a303671d6a3c75177016c755bf1003c3c (diff)
downloadtcl-9190f533c5cb5bf91aa76adf0fb9cfcc90775c07.zip
tcl-9190f533c5cb5bf91aa76adf0fb9cfcc90775c07.tar.gz
tcl-9190f533c5cb5bf91aa76adf0fb9cfcc90775c07.tar.bz2
* unix/configure: autoconf-2.59 (FC6 fork)
* win/configure: * README: Bump version number to 8.5a7 * generic/tcl.h: * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * generic/tclParse.c: Disable and remove the ALLOW_EXPAND sections * tests/info.test: that continued to support the deprecated * tests/mathop.test: {expand} syntax. Updated the few remaining users of that syntax in the test suite.
Diffstat (limited to 'generic/tclParse.c')
-rw-r--r--generic/tclParse.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/generic/tclParse.c b/generic/tclParse.c
index aef6e0b..4e4379c 100644
--- a/generic/tclParse.c
+++ b/generic/tclParse.c
@@ -12,19 +12,12 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclParse.c,v 1.51 2007/04/10 22:13:20 dkf Exp $
+ * RCS: @(#) $Id: tclParse.c,v 1.52 2007/05/18 18:39:30 dgp Exp $
*/
#include "tclInt.h"
/*
- * For now, we enable the {expand} although it is deprecated - remove by final
- */
-#ifndef ALLOW_EXPAND
-#define ALLOW_EXPAND 1
-#endif
-
-/*
* The following table provides parsing information about each possible 8-bit
* character. The table is designed to be referenced with either signed or
* unsigned characters, so it has 384 entries. The first 128 entries
@@ -388,13 +381,6 @@ Tcl_ParseCommand(
&& (((1 == (size_t) expPtr->size)
/* Same length as prefix */
&& (expPtr->start[0] == '*'))
-#if defined(ALLOW_EXPAND) && ALLOW_EXPAND == 1
- /*
- * Allow {expand} in addition to {*}
- */
- || ((6 == (size_t) expPtr->size)
- && (0 == memcmp("expand",expPtr->start,6)))
-#endif
)
/* Is the prefix */
&& (numBytes > 0)