diff options
author | joye <joye> | 2014-07-08 19:55:45 (GMT) |
---|---|---|
committer | joye <joye> | 2014-07-08 19:55:45 (GMT) |
commit | d94450a5cfe4e5e7117cdc87e20d906f843e9990 (patch) | |
tree | 0855ba38b4c83cbfe50b485b22a845294e3f6bd4 /src/bltParse.C | |
parent | d9392c93890e89f29b64c963e8ff39c6e8d402a9 (diff) | |
download | blt-d94450a5cfe4e5e7117cdc87e20d906f843e9990.zip blt-d94450a5cfe4e5e7117cdc87e20d906f843e9990.tar.gz blt-d94450a5cfe4e5e7117cdc87e20d906f843e9990.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'src/bltParse.C')
-rw-r--r-- | src/bltParse.C | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/bltParse.C b/src/bltParse.C index 14fb262..111a6bc 100644 --- a/src/bltParse.C +++ b/src/bltParse.C @@ -35,6 +35,8 @@ using namespace std; #include "bltParse.h" +using namespace Blt; + /* * A table used to classify input characters to assist in parsing * TCL commands. The table should be indexed with a signed character @@ -184,14 +186,14 @@ static unsigned char tclTypeTable[] = #define CHAR_TYPE(src,last) \ (((src)==(last))?TCL_COMMAND_END:(tclTypeTable+128)[(int)*(src)]) -int Blt_ParseNestedCmd(Tcl_Interp* interp, const char *string, +int Blt::ParseNestedCmd(Tcl_Interp* interp, const char *string, int flags, const char **termPtr, ParseValue *parsePtr) { return TCL_ERROR; } -int Blt_ParseBraces(Tcl_Interp* interp, const char *string, +int Blt::ParseBraces(Tcl_Interp* interp, const char *string, const char **termPtr, ParseValue *parsePtr) { int level; @@ -273,7 +275,7 @@ int Blt_ParseBraces(Tcl_Interp* interp, const char *string, return TCL_OK; } -void Blt_ExpandParseValue(ParseValue *parsePtr, int needed) +void Blt::ExpandParseValue(ParseValue *parsePtr, int needed) { /* @@ -303,7 +305,7 @@ void Blt_ExpandParseValue(ParseValue *parsePtr, int needed) parsePtr->clientData = (ClientData)1; } -int Blt_ParseQuotes(Tcl_Interp* interp, const char *string, int termChar, +int Blt::ParseQuotes(Tcl_Interp* interp, const char *string, int termChar, int flags, const char **termPtr, ParseValue *parsePtr) { const char *src; @@ -356,7 +358,7 @@ int Blt_ParseQuotes(Tcl_Interp* interp, const char *string, int termChar, int result; parsePtr->next = dest; - result = Blt_ParseNestedCmd(interp, src, flags, termPtr, parsePtr); + result = ParseNestedCmd(interp, src, flags, termPtr, parsePtr); if (result != TCL_OK) { return result; } |