Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2003-11-16
01:06 • Closed ticket [230589ffff]: exit with error 'can't happen' -- you fo... artifact: 746c9c26cf user: pvgoran
2003-11-13
05:18 • Ticket [230589ffff]: 1 change artifact: 1fc71b22db user: dgp
2003-02-25
16:23 • Ticket [230589ffff]: 1 change artifact: acf979e913 user: dkf
2001-09-20
02:38 • Ticket [230589ffff]: 5 changes artifact: 711c7fa9c7 user: dkf
2001-05-22
06:52 • Ticket [230589ffff]: 5 changes artifact: 61c48cf2f7 user: hobbs
2001-01-31
15:49 • New ticket [230589ffff]. artifact: 293f031c84 user: gmichelini

exit with error 'can't happen' -- you found a bug

Closed / Duplicate230589ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 23 years ago
Descriptionplain2001-01-31 15:49:41
% regexp {[ ]*(^|[^%])%V} "*%V2" m s
error while matching regular expression: "can't happen" __ you found a bug.
hobbsplain2001-05-22 06:52:13
Logged In: YES 
user_id=72656

The problem is related to the use of (^|... after the 
regexp already had specified some matching '[ ]*', which is 
not possible.  Thus that is an incorrect regexp.  The error 
message should perhaps be different.
dkfplain2001-09-20 02:38:09
Logged In: YES 
user_id=79902

Hmm. That error's raised in thirteen different places in the code (I think; grep says 13...) so it is a little 
difficult to figure out where the error message improvement needs to be done (unless you set a breakpoint 
on each of the places and run the above code. This particular machine lacks the required tools to do 
that...)

Is it possible to get Henry Spencer's input on this?  'Tis his code...
dkf Ticket [230589ffff]: 1 change [History diff]2003-02-25 16:23:59
dgp Ticket [230589ffff]: 1 change [History diff]2003-11-13 05:18:09
pvgoranplain2003-11-16 01:06:44
Logged In: YES 
user_id=383758

The cause of (and the resolution for) this bug is the same as 
for bug 505048.
Log in (anonymous is fine) to add a comment.