Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5566730b5a755bbcfdc242ef4e18b4e7497fc661
Ticket: 866469ffffffffffffffffffffffffffffffffff
Integers aren't strings anymore
User & Date: lars_h on 2004-01-03 04:02:10
Changes

  1. icomment:
    Logged In: YES 
    user_id=938835
    
    The quickest way of fixing this bug is probably to keep the 
    behaviour of the bytecode instructions, but change the string 
    representation of wides so that this behaviour becomes 
    proper. Such a string representation could be as that 
    generated by the [format] specifier
    
       wide(%d)
    
    since this has the merit of surviving an unbraced [expr]. 
    From this would then follow that anything matching the RE
    
       wide\(-?(0|[1-9][0-9]*|0[0-7]*|0x[0-9a-f])\)
    
    ought to be a valid integer. The main side-effect should be 
    that output of wides which is not [format]ed may look a 
    little strange, and that is probably acceptable.
    
    
    
    
    
  2. login: "lars_h"
  3. mimetype: "text/plain"
  4. username: "lars_h"