Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2011-03-06
12:04 • Closed ticket [3200987fff]: TclParseBackslash: truncated escapes botched plu... artifact: 1ecc1e2706 user: dgp
11:30 • Ticket [3200987fff]: 4 changes artifact: 746ee82266 user: dgp
04:24 • New ticket [3200987fff]. artifact: f41a1ea952 user: dgp

TclParseBackslash: truncated escapes botched

Closed / Fixed3200987fffffffffffffffffffffffffffffffffCreated 16 years agoUpdated 16 years ago
Descriptionplain2011-03-06 04:24:02
These (proposed new) tests fail:


test parse-20.2 {TclParseBackslash: truncated escape} {
    testparser {\u12345} 2
} {- {\u} 1 word {\u} 1 backslash {\u} 0 12345}
test parse-20.3 {TclParseBackslash: truncated escape} {
    testparser {\u12345} 3
} {- {\u1} 1 word {\u1} 1 backslash {\u1} 0 2345}
test parse-20.4 {TclParseBackslash: truncated escape} {
    testparser {\u12345} 4
} {- {\u12} 1 word {\u12} 1 backslash {\u12} 0 345}
test parse-20.5 {TclParseBackslash: truncated escape} {
    testparser {\u12345} 5
dgpplain2011-03-06 11:30:51
Also these:

test parse-20.9 {TclParseBackslash: truncated escape} {
    testparser {\x12X} 2
} {- {\x} 1 word {\x} 1 backslash {\x} 0 12X}
test parse-20.10 {TclParseBackslash: truncated escape} {
    testparser {\x12X} 3
} {- {\x1} 1 word {\x1} 1 backslash {\x1} 0 2X}
dgpplain2011-03-06 12:04:29
allow_comments - 1

Fixed on all open branches.
Log in (anonymous is fine) to add a comment.