summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2002-07-17 14:23:13 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2002-07-17 14:23:13 (GMT)
commit3c26f7d2cb401292666bdb968313497537a8301b (patch)
tree59bfed058348fec8e8a2357ef51eeba7ffaf6db2
parent239854b80c97ffda9f1300635a18bfb1350c1e53 (diff)
downloadtcl-3c26f7d2cb401292666bdb968313497537a8301b.zip
tcl-3c26f7d2cb401292666bdb968313497537a8301b.tar.gz
tcl-3c26f7d2cb401292666bdb968313497537a8301b.tar.bz2
Minor changes to make things build with SunPro CC...
-rw-r--r--ChangeLog5
-rw-r--r--generic/tclExecute.c8
2 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index bf9453f..facee55 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-07-17 Donal K. Fellows <fellowsd@cs.man.ac.uk>
+
+ * generic/tclExecute.c (TclExecuteByteCode): Minor fixes to make
+ this file compile with SunPro CC...
+
2002-07-17 Miguel Sofer <msofer@users.sourceforge.net>
* generic/tclExecute.c: modified to do variable lookup explicitly,
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index c7538b5..1050a26 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclExecute.c,v 1.78 2002/07/17 10:36:22 msofer Exp $
+ * RCS: @(#) $Id: tclExecute.c,v 1.79 2002/07/17 14:23:13 dkf Exp $
*/
#include "tclInt.h"
@@ -1063,7 +1063,6 @@ TclExecuteByteCode(interp, codePtr)
#endif
register int cleanup;
Tcl_Obj *objResultPtr;
-//
char *part1, *part2;
Var *varPtr, *arrayPtr;
CallFrame *varFramePtr = iPtr->varFramePtr;
@@ -1169,6 +1168,11 @@ TclExecuteByteCode(interp, codePtr)
valuePtr = POP_OBJECT();
TclDecrRefCount(valuePtr);
case 0:
+ /*
+ * We really want to do nothing now, but this is needed
+ * for some compilers (SunPro CC)
+ */
+ break;
}
cleanup0: