summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2020-04-15 22:28:18 (GMT)
committerdgp <dgp@users.sourceforge.net>2020-04-15 22:28:18 (GMT)
commit1f6e0698a6ecceec504384a0d228e56b2c1aba42 (patch)
tree87e997a65e372b8fc5cf915384e1b657dc69c393
parent6c579332631ddb93103506d954e17eda60d2d747 (diff)
downloadtcl-1f6e0698a6ecceec504384a0d228e56b2c1aba42.zip
tcl-1f6e0698a6ecceec504384a0d228e56b2c1aba42.tar.gz
tcl-1f6e0698a6ecceec504384a0d228e56b2c1aba42.tar.bz2
Use test existence to shorten comment.
-rw-r--r--generic/tclUtf.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/generic/tclUtf.c b/generic/tclUtf.c
index a50a7fc..6003b75 100644
--- a/generic/tclUtf.c
+++ b/generic/tclUtf.c
@@ -746,14 +746,7 @@ Tcl_UtfPrev(
* this lead byte. No matter about well-formedness or
* validity, the sequence starting with this lead byte
* will never include the fallback location, so we must
- * return the fallback location.
- *
- * EXAMPLE: bytes = "ab\C0\x80\x81def";
- * Tcl_UtfPrev(bytes+5, bytes);
- *
- * When we get here, look == bytes+2, trailBytesSeen == 2,
- * needed = 2, and we need to return bytes+4 that points to
- * the malformed \x81.
+ * return the fallback location. See test utf-7.17
*/
return fallback;
}