diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2007-10-27 13:58:10 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2007-10-27 13:58:10 (GMT) |
commit | 97bf16b277083d4f894ee3f6ab1f8a55c2895a17 (patch) | |
tree | 5d9f0014379f16882f75aaefa34e2bbfef1de9c5 | |
parent | ee30df8e7dce83db9022d7742013afd0934ba22c (diff) | |
download | tcl-97bf16b277083d4f894ee3f6ab1f8a55c2895a17.zip tcl-97bf16b277083d4f894ee3f6ab1f8a55c2895a17.tar.gz tcl-97bf16b277083d4f894ee3f6ab1f8a55c2895a17.tar.bz2 |
Part of fix for [Bug 1810264]
-rw-r--r-- | ChangeLog | 11 | ||||
-rw-r--r-- | generic/regc_lex.c | 2 |
2 files changed, 8 insertions, 5 deletions
@@ -1,19 +1,22 @@ +2007-10-27 Donal K. Fellows <dkf@users.sf.net> + + * generic/regc_lex.c (lexescape): Close off one of the problems + mentioned in [Bug 1810264] + 2007-10-27 Miguel Sofer <msofer@users.sf.net> * doc/apply.n: fixed example [Bug 1811791] * doc/namespace.n: improved example [Bug 1788984] * doc/AddErrInfo.3: typo [Bug 1715087] - + * generic/tclCompile.h: * generic/tclInt.h: moved declaration of TclSetCmdNameObj from tclCompile.h to tclInt.h, reverting linker [Bug 1821159] caused by commit of 2007-10-11 (both I and gcc missed one dep). - -2007-10-27 Miguel Sofer <msofer@users.sf.net> * generic/tclVar.c: try to preserve Tcl_Objs when doing variable lookups by name, partially addressing [Bug 1793601] - + 2007-10-27 Donal K. Fellows <dkf@users.sf.net> * tools/tcltk-man2html.tcl (make-man-pages, htmlize-text) diff --git a/generic/regc_lex.c b/generic/regc_lex.c index f57779d..bc61e14 100644 --- a/generic/regc_lex.c +++ b/generic/regc_lex.c @@ -875,7 +875,7 @@ lexescape( * Ugly heuristic (first test is "exactly 1 digit?") */ - if (v->now - save == 0 || (int)c <= v->nsubexp) { + if (v->now - save == 0 || ((int) c > 0 && (int)c <= v->nsubexp)) { NOTE(REG_UBACKREF); RETV(BACKREF, (chr)c); } |