Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 582d41672200ff931df73ffd1db6928a04ddf63afe975512591bc252262df76d
Ticket: cd61f085da52b3384388c8ef780f53d8c55ead4f
tcl terminates silently with invalid expr underscore syntax and radix prefix
User & Date: juliannoble2 on 2023-08-31 08:00:13
Changes

  1. icomment:
    Tested checkin  9a2043019b
    
    Your new rule - stated in the comments as 'for an integer value'; essentially that a numeric whitespace must begin and end with a digit from the relevant base ; is I think a nice clear simple rule. That 0x_a1 0b_1 etc are now disallowed seems reasonable and probably makes code analysis/review easier.
    
    The current state of the fix seems not quite there as it still disallows
    0.000_001 
    0.000_001e0_2
    but allows
    0.000001e0_2
    
    I presume the same rule goes for the RHS of floats and these should all be allowed.
    
  2. login: "juliannoble2"
  3. mimetype: "text/plain"