Skip to content

Commit a4b1053

Browse files
zkattabatkins
andauthored
Update draft-marchan-kdl2.md
Co-authored-by: Tab Atkins Jr. <jackalmage@gmail.com>
1 parent 3b94363 commit a4b1053

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

draft-marchan-kdl2.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,9 @@ with any of the following patterns, all of which MUST yield syntax errors
303303
* `[eE][+-]?[0-9]` (to disambiguate exponentials)
304304
* `[xX][a-fA-F]` (to disambiguate hexadecimals)
305305

306+
For example, `10,000` is illegal, as is `10u16`. `10e0n` is illegal, but `10e0` is a legal
307+
*decimal number using exponential syntax*, __not__ equivalent to `(e0)10`.
308+
306309
All other ({{identifier-string}})s can be safely appended to decimal numbers, so
307310
long as the decimal does not include an exponential component.
308311

0 commit comments

Comments
 (0)