Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3dc250821113a8e1360c492dc99eb81b3beb28e3
Ticket: 681841ffffffffffffffffffffffffffffffffff
odd error message with missing character
User & Date: dgp on 2003-02-07 13:46:57
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    Curious.  There is a parsing error there,
    but there always has been.
    
    Before, Tcl would parse the expression
    wrong, allowing the error to go unnoticed,
    but then the compiler would raise an error
    when trying to compile the command
    substitutions in the expr.
    
    The *new* error is that Tcl_ParseCommand
    itself is buggy in handling strings that have
    a ] following the string to be parsed.  See
    this with
    
        testparser {set a [format bc]} 16
    
    in both 8.3 and 8.4.  (length 16 does
    not include the closing ].  Thus a
    parse error in 8.3, but a mistaken
    acceptance in 8.4, apparently due
    to an effective read beyond numbytes
    when parsing.)
    
    Both errors should be fixed.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"