Tcl Source Code

View Ticket
Login
Ticket UUID: 1775878
Title: Initial line continuation char ignored in interactive mode
Type: Bug Version: obsolete: 8.5a6
Submitter: nobody Created on: 2007-08-16 20:29:59
Subsystem: 50. Embedding Support Assigned To: dgp
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2007-08-22 03:42:12
Resolution: Fixed Closed By: dgp
    Closed on: 2007-08-21 20:42:12
Description:
Starting with (at least Tcl 8.5a5), tclsh
User Comments: dgp added on 2007-08-22 03:42:12:
Logged In: YES 
user_id=80530
Originator: NO


fixed in HEAD.

dgp added on 2007-08-22 03:25:24:

File Added - 242200: 1775878.patch

Logged In: YES 
user_id=80530
Originator: NO


Here's the patch.
File Added: 1775878.patch

dgp added on 2007-08-17 03:39:38:
Logged In: YES 
user_id=80530
Originator: NO


2004-03-29 commit did this, which was to
fix 833150.

[email protected] added on 2007-08-17 03:35:02:
Logged In: NO 

Pressed "Enter" too quickly

Starting with at least Tclh 8.5a5, interactive mode seems to ignore an initial line continuation character.

% puts \
\
%
Just puts "\"

The expected behavior was a prompt for the rest of the input

% puts \
"some string"
some string
%

Other uses appear to work properly:

% puts "some \
string"
some string
%

% puts \\\n
\

%

Attachments: