Ticket Change Details
Not logged in
Tcl 2014 Conference, Portland/OR, US, Nov 10-14
Send your abstracts to tclconference@googlegroups.com by Sep 8.
Overview

Artifact ID: 067e9167fdf3ea55c1498917db9cda09a43bee33
Ticket: 70176515d1019f8f11e18ff0cc9c7454b94c4dce
Errors in list commands when list has a space before a closing quote
Date: 2014-01-28 16:59:04
User: migfilg
Changes

  1. Change assignee to "nobody"
  2. Change closer to "nobody"
  3. Change cmimetype to "text/plain"
  4. Change comment to:

    Unexpected errors with (at least) lindex and lassign commands acting on a list that has a space before a closing quote:

    > lindex {x="a" y="a " z="a"} list element in quotes followed by "a"" instead of space > lassign {x="a" y="a " z="a"} v list element in quotes followed by "a"" instead of space

    In my view, either the quote before z is a separate list element after 'y="a' and before 'z="a"', or it matches the previous one after 'y=' and in both cases it will not match the next one and leave 'a"' as a spurious continuation of a list element...

    This must really be bug: compare with > lindex {x="a" y=" a" z="a"} 0 x="a" > lindex {x="a" y=" a" z="a"} 1 y=" > lindex {x="a" y=" a" z="a"} 2 a" > lindex {x="a" y=" a" z="a"} 3 z="a"

    Thanks in advance for any help in coping with this, Miguel Filgueiras

  5. Change foundin to "8.5.11"
  6. Change is_private to "0"
  7. Change login to "migfilg"
  8. Change priority to "5 Medium"
  9. Change private_contact to "2839a1afd9f47e651a6e7f076ad9fc08c5700794"
  10. Change resolution to "None"
  11. Change severity to "Important"
  12. Change status to "Open"
  13. Change submitter to "migfilg"
  14. Change subsystem to "14. List Object"
  15. Change title to:

    Errors in list commands when list has a space before a closing quote

  16. Change type to "Bug"