Skip to content
Tcl Source Code Artifact [fd7c894e6c]
Login

Artifact [fd7c894e6c]

Artifact fd7c894e6c5ce0e18f7e9a701a1beb8897ded2f8af4c8e9bfe3d488bf56e2112:

Ticket change [fd7c894e6c] - Ticket [cd61f085da52b338|cd61f085da] <i>tcl terminates silently with invalid expr underscore syntax and radix prefix</i> status still Open with 3 other changes by griffin on 2023-09-01 03:41:20.
D 2023-09-01T03:41:20.314
J icomment All\sthe\sreported\sfailures\shave\sbeen\sfixed,\sas\swell\sas\sothers\sI've\sdiscovered.\sThis\sfix\sis\son\sbranch\s[bug-cd61f085da](timeline?r=bug-cd61f085da)\r\n\r\nThe\simplementation\sreflects\sthe\sfollowing\sdescription\sof\snumeric\swhite-space:\r\n\r\nThe\sdefinition\sfor\snumeric\swhite-space\sis\ssimplified\sto:\s\r\n\s\s\s1\sor\smore\s'`_`'\scharacters\smay\sbe\splaced\sbetween\sdigits\sonly.\r\n\r\nNumeric\swhite-space\scannot\sbe:\r\n\r\n-\sat\sthe\sbeginning\sof\sa\snumber\r\n\r\n-\sbefore\sor\safter\sa\s'`+`'\sor\s'`-`'\r\n\r\n-\sbefore\sor\safter\sa\sdecimal\spoint\s'`.`'\r\n\r\n-\sbefore\sor\safter\san\sexponent\s'`e`'\sor\s'`E`'\ssymbol\r\n\r\n-\sbefore,\safter,\sor\sin\sbetween\sa\sbase\sspecifier\s`0b`,\s`0o`,\s`0d`,\sor\s`0x`\r\n\r\nLegal\sexamples:\s\s\r\n\r\n```\r\n\s\s\s\s0x1_2__34___56\r\n\s\s\s\s2_0.3_4e+1_5\r\n```\r\n\r\nIllegal\sexamples:\s\r\n\r\n```\r\n\s\s\s\s_0_x_123456_\r\n\s\s\s\s_20_._34_e_+_15_\r\n```
J login griffin
J mimetype text/x-markdown
K cd61f085da52b3384388c8ef780f53d8c55ead4f
U griffin
Z 0b79ef5dd4abfc5927532d5f2181b71b