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: |
002a6fdc7de103974830b1dc9ee0f02b |
| 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
Modified doc/expr.n
from [35cec03846]
to [ed1fe5e533].
[diff]
Modified doc/string.n
from [f8d009472c]
to [7877967507].
[diff]
Modified generic/tclInt.h
from [10c350e84e]
to [4568f31130].
[diff]
Modified generic/tclScan.c
from [f60e4e4b64]
to [1f3d004005].
[diff]
Modified generic/tclStrToD.c
from [1beb34706a]
to [834a82da08].
[diff]
Modified tests/get.test
from [58a6df5053]
to [5cc39c4ff0].
[diff]
Modified tests/scan.test
from [e5ccf3ff64]
to [d1058e397f].
[diff]