summaryrefslogtreecommitdiff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-05-15 16:53:57 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2023-05-15 18:33:12 +1000
commite52794decda5e55d730436bb38c06958a117e2c8 (patch)
tree797830095162fde2c043dd50fce3421df0b2d6cf /tests/rustdoc-js-std/parser-errors.js
parent19967c5890851148800886e3770fb45fb4b9ff90 (diff)
downloadrust-e52794decda5e55d730436bb38c06958a117e2c8.tar.gz
Don't try to eat non-existent decimal digits.
After seeing a `0`, if it's followed by any of `[0-9]`, `_`, `.`, `e`, or `E`, we consume all the digits. But in the `.`, `e` and `E` cases this is pointless because we know there aren't any digits.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions