Skip to content
Tcl Source Code Check-in [002a6fdc7d]
Login

Check-in [002a6fdc7d]

Overview
Comment:Update for TIP-551: Add documentation for this feature to the expr man page. The keyword "integer value" has been added to the string and expr man page. Added TCL_PARSE_NO_UNDERSCORE flag so that the digit separator can be disabled when need when calling TclParseNumber. Disabled digit separator in the "scan" command when scanning integers and floating-point numbers. This is the one place where existing code may rely on number parsing to stop at an underscore. Disallow underscore between the leading 0 and the radix specifiers 'x', 'o', 'b', and 'd'. Added tests for disallowed underscore use and scan with underscores between digits in the source string.
Timelines: family | ancestors | descendants | both | tip-551
Files: files | file ages | folders
SHA3-256: 002a6fdc7de103974830b1dc9ee0f02b9ac5feaffdcb0ad5db833973806a5d35
User & Date: griffin on 2020-05-23 03:32:30.308
Original Comment: generic/comment.txt
Other Links: branch diff | manifest | tags
Context
2020-05-30
23:47
tip-551 implementation. check-in: 3785bbf5a3 user: griffin tags: core-8-branch
2020-05-23
03:32
Update for TIP-551: Add documentation for this feature to the expr man page. The keyword "integ... closed check-in: 002a6fdc7d user: griffin tags: tip-551
2019-12-07
05:52
Initial implementation for TIP-551 Permit underscores in numeric literals check-in: 64b80d4ecd user: griffin tags: tip-551
Changes