Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 305c79afa16ce42ba7d2d0db7c0d523f9ffe2b88
Ticket: 542588ffffffffffffffffffffffffffffffffff
bug in expr error handler
User & Date: msofer on 2002-04-18 02:57:31
Changes

  1. icomment:
    Logged In: YES 
    user_id=148712
    
    Indeed; the cause of the bug is that the error handler for
    operations in the bc engine (IllegalExprOperandType) assumes
    that it can only get empty strings, bad octals or (default)
    floating point values. So, a superficial fix just touches that.
    
    The issue that is worrying me is: is this really a "bad
    operand" issue, or should the error have been caught
    earlier? As there are two different execution paths for
    [expr] (braced vs unbraced), and they seem to behave
    differently ...
    
    Anyway, I'll fix the immediate issue and log a new bug
    report with the deeper one. Sorry for messing up the discussion.
    
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. username: "msofer"