diff options
| author | dgp@users.sourceforge.net <dgp> | 2008-12-02 19:40:40 (GMT) |
|---|---|---|
| committer | dgp@users.sourceforge.net <dgp> | 2008-12-02 19:40:40 (GMT) |
| commit | 9f19ebbe40fac4fbc8e7d2bae82f809c583f1390 (patch) | |
| tree | 6f599afa8fd14946dfce722886ee48d15e2f5046 /generic/tclNamesp.c | |
| parent | 2e94caf74aa764d100357ff4fdfb7dda07f1102d (diff) | |
| download | tcl-9f19ebbe40fac4fbc8e7d2bae82f809c583f1390.zip tcl-9f19ebbe40fac4fbc8e7d2bae82f809c583f1390.tar.gz tcl-9f19ebbe40fac4fbc8e7d2bae82f809c583f1390.tar.bz2 | |
TIP #336 IMPLEMENTATION
* generic/tcl.decls: New routines Tcl_(Get|Set)ErrorLine.
* generic/tcl.h: Dropped default access to interp->errorLine.
* generic/tclCmdAH.c: Restore it with -DUSE_INTERP_ERRORLINE.
* generic/tclCmdMZ.c: Updated callers.
* generic/tclDictObj.c:
* generic/tclIOUtil.c:
* generic/tclNamesp.c:
* generic/tclOOBasic.c:
* generic/tclOODefinedCmds.c:
* generic/tclOOMethod.c:
* generic/tclProc.c:
* generic/tclResult.c:
* generic/tclDecls.h: make genstubs
* generic/tclStubInit.c:
Diffstat (limited to 'generic/tclNamesp.c')
| -rw-r--r-- | generic/tclNamesp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclNamesp.c b/generic/tclNamesp.c index a88d140..3703118 100644 --- a/generic/tclNamesp.c +++ b/generic/tclNamesp.c @@ -23,7 +23,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclNamesp.c,v 1.182 2008/11/11 21:54:06 nijtmans Exp $ + * RCS: @(#) $Id: tclNamesp.c,v 1.183 2008/12/02 19:40:41 dgp Exp $ */ #include "tclInt.h" @@ -3375,7 +3375,7 @@ NsEval_Callback( "\n (in namespace %s \"%.*s%s\" script line %d)", cmd, (overflow ? limit : length), namespacePtr->fullName, - (overflow ? "..." : ""), interp->errorLine)); + (overflow ? "..." : ""), Tcl_GetErrorLine(interp))); } /* |
