<i>tcl terminates silently with invalid expr underscore syntax and radix prefix</i> status still Open with 3 other changes
by
.
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