diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2008-01-15 11:59:25 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2008-01-15 11:59:25 (GMT) |
commit | 6c2c0eb2c6789725d397ab0f1faf818495fd8207 (patch) | |
tree | e27aa4e1f189a9cb9a14f763931bfcb2af0ee48b /generic/tclBasic.c | |
parent | 76f1d4978fd92cb38fda81d74286a6f0f21f44b5 (diff) | |
download | tcl-6c2c0eb2c6789725d397ab0f1faf818495fd8207.zip tcl-6c2c0eb2c6789725d397ab0f1faf818495fd8207.tar.gz tcl-6c2c0eb2c6789725d397ab0f1faf818495fd8207.tar.bz2 |
* generic/tclBasic.c: Replacing 'operator' by 'op' in the def
* generic/tclCompExpr.c: of struct TclOpCmdClientData to
* generic/tclCompile.h: accomodate C++ compilers [Bug 1855644]
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r-- | generic/tclBasic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c index 93db6c6..bd2305c 100644 --- a/generic/tclBasic.c +++ b/generic/tclBasic.c @@ -14,7 +14,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclBasic.c,v 1.289 2007/12/13 15:23:14 dgp Exp $ + * RCS: @(#) $Id: tclBasic.c,v 1.290 2008/01/15 11:59:26 msofer Exp $ */ #include "tclInt.h" @@ -738,7 +738,7 @@ Tcl_CreateInterp(void) TclOpCmdClientData *occdPtr = (TclOpCmdClientData *) ckalloc(sizeof(TclOpCmdClientData)); - occdPtr->operator = opcmdInfoPtr->name; + occdPtr->op = opcmdInfoPtr->name; occdPtr->i.numArgs = opcmdInfoPtr->i.numArgs; occdPtr->expected = opcmdInfoPtr->expected; strcpy(mathFuncName + MATH_OP_PREFIX_LEN, opcmdInfoPtr->name); |