Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7cbb5c02fea598d4cf417fc7edb105972ff5393231b398eb50e65413dc25da64
Ticket: 85b7226da1ecf6194342f802ff4361bfc75b8a34
scan of data containing 0x, 0b treated differently to 0d,0o
User & Date: jan.nijtmans on 2023-08-29 13:56:27
Changes

  1. icomment:
    It could also be considered as a bug in %o/%d. Since %x recognises the "0x" prefix and %b recognises the "0b" prefix, I would expect %d to recognize the "0d" prefix and %o the "0o" prefix.
    
    Indeed, it's not consistant now. How about:
    
    [scan] should consume only the characters in the alphabet of a given specifier, and its prefix (depending on the given radix).
    
    So if %x is given, "0x" is the only prefix recognised. When %o is given "0o" is the only radix recognised.
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/x-fossil-wiki"