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/tclCompExpr.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/tclCompExpr.c')
-rw-r--r-- | generic/tclCompExpr.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/generic/tclCompExpr.c b/generic/tclCompExpr.c index ead436e..19f30bd 100644 --- a/generic/tclCompExpr.c +++ b/generic/tclCompExpr.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclCompExpr.c,v 1.90 2007/12/13 15:23:15 dgp Exp $ + * RCS: @(#) $Id: tclCompExpr.c,v 1.91 2008/01/15 11:59:27 msofer Exp $ */ #include "tclInt.h" @@ -2411,7 +2411,7 @@ TclSingleOpCmd( return TCL_ERROR; } - ParseLexeme(occdPtr->operator, strlen(occdPtr->operator), &lexeme, NULL); + ParseLexeme(occdPtr->op, strlen(occdPtr->op), &lexeme, NULL); nodes[0].lexeme = START; nodes[0].mark = MARK_RIGHT; nodes[0].right = 1; @@ -2467,8 +2467,7 @@ TclSortingOpCmd( int i, lastAnd = 1; Tcl_Obj *const *litObjPtrPtr = litObjv; - ParseLexeme(occdPtr->operator, strlen(occdPtr->operator), - &lexeme, NULL); + ParseLexeme(occdPtr->op, strlen(occdPtr->op), &lexeme, NULL); litObjv[0] = objv[1]; nodes[0].lexeme = START; @@ -2544,7 +2543,7 @@ TclVariadicOpCmd( return TCL_OK; } - ParseLexeme(occdPtr->operator, strlen(occdPtr->operator), &lexeme, NULL); + ParseLexeme(occdPtr->op, strlen(occdPtr->op), &lexeme, NULL); lexeme |= BINARY; if (objc == 2) { |