summaryrefslogtreecommitdiffstats
path: root/src/bltParse.h
diff options
context:
space:
mode:
authorjoye <joye>2013-09-04 17:23:56 (GMT)
committerjoye <joye>2013-09-04 17:23:56 (GMT)
commitc435c19166959b240956b5e892b0cbf64e482efb (patch)
treef336b7cc05908a910fda80a9abe7068a0741f1fa /src/bltParse.h
parentca27111ed3786b10c71e28c43f20bed1d7928050 (diff)
downloadblt-c435c19166959b240956b5e892b0cbf64e482efb.zip
blt-c435c19166959b240956b5e892b0cbf64e482efb.tar.gz
blt-c435c19166959b240956b5e892b0cbf64e482efb.tar.bz2
*** empty log message ***
Diffstat (limited to 'src/bltParse.h')
-rw-r--r--src/bltParse.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/bltParse.h b/src/bltParse.h
index 3ff26cb..fd9aa51 100644
--- a/src/bltParse.h
+++ b/src/bltParse.h
@@ -27,7 +27,18 @@
#ifndef _BLT_PARSE_H
#define _BLT_PARSE_H
-#include "tclInterp.h"
+typedef struct _ParseValue ParseValue;
+
+struct _ParseValue {
+ char *buffer;
+ char *next;
+ char *end;
+ void (*expandProc)(ParseValue *pvPtr, int needed);
+ ClientData clientData;
+};
+
+#define TCL_BRACKET_TERM 1
+#define TCL_ALLOW_EXCEPTIONS 4
BLT_EXTERN int Blt_ParseBraces(Tcl_Interp *interp, const char *string,
const char **termPtr, ParseValue *pvPtr);