diff options
author | dgp <dgp@users.sourceforge.net> | 2008-12-02 19:40:40 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2008-12-02 19:40:40 (GMT) |
commit | 46ba97a82bfb00034073d7334903cc1417a836dc (patch) | |
tree | 6f599afa8fd14946dfce722886ee48d15e2f5046 /generic/tcl.h | |
parent | 2dfd8ade3922490eb358d6d3d64d6f6f19c5192c (diff) | |
download | tcl-46ba97a82bfb00034073d7334903cc1417a836dc.zip tcl-46ba97a82bfb00034073d7334903cc1417a836dc.tar.gz tcl-46ba97a82bfb00034073d7334903cc1417a836dc.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/tcl.h')
-rw-r--r-- | generic/tcl.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/tcl.h b/generic/tcl.h index 5354a70..c99ad44 100644 --- a/generic/tcl.h +++ b/generic/tcl.h @@ -13,7 +13,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tcl.h,v 1.279 2008/11/27 08:23:51 ferrieux Exp $ + * RCS: @(#) $Id: tcl.h,v 1.280 2008/12/02 19:40:41 dgp Exp $ */ #ifndef _TCL @@ -476,9 +476,13 @@ typedef struct Tcl_Interp { char* unused3; void (*unused4) (char*); #endif +#ifdef USE_INTERP_ERRORLINE int errorLine; /* When TCL_ERROR is returned, this gives the * line number within the command where the * error occurred (1 if first line). */ +#else + int unused5; +#endif } Tcl_Interp; typedef struct Tcl_AsyncHandler_ *Tcl_AsyncHandler; |