summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2008-01-23 21:21:26 (GMT)
committerdgp <dgp@users.sourceforge.net>2008-01-23 21:21:26 (GMT)
commit0631e4f3f4260d3fbc773676389783ec4d31c480 (patch)
treea1b52e7723f15d31eb1d37d49c9cc69b7d9cf7cd /generic/tclCompile.c
parentf7f6ddb4ce3ce465107777a9a2c408dd8ab473dc (diff)
downloadtcl-0631e4f3f4260d3fbc773676389783ec4d31c480.zip
tcl-0631e4f3f4260d3fbc773676389783ec4d31c480.tar.gz
tcl-0631e4f3f4260d3fbc773676389783ec4d31c480.tar.bz2
Reconcile coding style issues between branches
Diffstat (limited to 'generic/tclCompile.c')
-rw-r--r--generic/tclCompile.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c
index b4f4d97..4b68c40 100644
--- a/generic/tclCompile.c
+++ b/generic/tclCompile.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: tclCompile.c,v 1.145 2008/01/16 21:05:48 msofer Exp $
+ * RCS: @(#) $Id: tclCompile.c,v 1.146 2008/01/23 21:21:30 dgp Exp $
*/
#include "tclInt.h"
@@ -1694,7 +1694,8 @@ TclCompileTokens(
break;
default:
- Tcl_Panic("Unexpected token type in TclCompileTokens");
+ Tcl_Panic("Unexpected token type in TclCompileTokens: %d; %.*s",
+ tokenPtr->type, tokenPtr->size, tokenPtr->start);
}
}