#3764 Initial line continuation char ignored in interactive mode

obsolete: 8.5a6
closed-fixed
5
2007-08-21
2007-08-16
Anonymous
No

Starting with (at least Tcl 8.5a5), tclsh

Discussion

  • Nobody/Anonymous

    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
    \

    %

     
  • Don Porter

    Don Porter - 2007-08-16

    Logged In: YES
    user_id=80530
    Originator: NO

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

     
  • Don Porter

    Don Porter - 2007-08-16
    • labels: 105682 --> 50. Embedding Support
    • assigned_to: msofer --> dgp
     
  • Don Porter

    Don Porter - 2007-08-21

    Logged In: YES
    user_id=80530
    Originator: NO

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

     
  • Don Porter

    Don Porter - 2007-08-21
     
  • Don Porter

    Don Porter - 2007-08-21

    Logged In: YES
    user_id=80530
    Originator: NO

    fixed in HEAD.

     
  • Don Porter

    Don Porter - 2007-08-21
    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks