Skip to content
Tcl Source Code View Ticket
Login

View Ticket

[info complete] incompatibility between 8.4 and 8.5

Closed / Fixed1968882fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 18 years ago
Descriptionplain2008-05-21 15:58:47
In tcl 8.4, if I type a plain backslash at the tclsh interactive prompt, the interpreter sees the newline as a line-continuation and waits for the rest of the line.

In tcl 8.5, the interpreter seems to see the backslash as a command.

C:\>tclsh85
% info patchlevel
8.5.2
% \
invalid command name "\"
% exit
C:\>tclsh84
% info patchlevel
8.4.18
% \
#
% exit
C:\>
dgp Ticket [1968882fff]: 2 changes [History diff]2008-05-21 23:04:15
dgpplain2008-05-21 23:05:06
Logged In: YES 
user_id=80530
Originator: NO


Simpler characterization:

[info complete \\\n] gives
different answers in 8.4 and 8.5.
dgpplain2008-05-21 23:08:44
Logged In: YES 
user_id=80530
Originator: NO


confirmed 2006-07-05 commit
introduced this.
dgpplain2008-05-22 03:28:38
Logged In: YES 
user_id=80530
Originator: NO


fixed for 8.5.3 and HEAD.
dgp Ticket [1968882fff]: 1 change [History diff]2008-06-30 22:45:00
Log in (anonymous is fine) to add a comment.