summaryrefslogtreecommitdiffstats
path: root/src/bltParse.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/bltParse.C')
-rw-r--r--src/bltParse.C20
1 files changed, 19 insertions, 1 deletions
diff --git a/src/bltParse.C b/src/bltParse.C
index fc051f3..ffbd714 100644
--- a/src/bltParse.C
+++ b/src/bltParse.C
@@ -22,6 +22,24 @@
* include them. In fact, the byte-compiled versions would be slower
* since the compiled code typically runs only one time.
*/
+#define TIME_WITH_SYS_TIME 0
+#define HAVE_SYS_TIME_H 1
+
+#define STDC_HEADERS 1
+#define HAVE_SYS_TYPES_H 1
+#define HAVE_SYS_STAT_H 1
+#define HAVE_STDLIB_H 1
+#define HAVE_STRING_H 1
+#define HAVE_MEMORY_H 1
+#define HAVE_STRINGS_H 1
+#define HAVE_INTTYPES_H 1
+#define HAVE_STDINT_H 1
+#define HAVE_UNISTD_H 1
+#define HAVE_LIMITS_H 1
+#define HAVE_SYS_PARAM_H 1
+
+#include <tclPort.h>
+#include <tclInt.h>
#include <bltInt.h>
#include "bltParse.h"
@@ -219,7 +237,7 @@ Blt_ParseNestedCmd(
iPtr->evalFlags = flags | TCL_BRACKET_TERM;
result = Tcl_Eval(interp, string);
- *termPtr = (string + iPtr->termOffset);
+ *termPtr = (string + iPtr->unused1);
if (result != TCL_OK) {
/*
* The increment below results in slightly cleaner message in