Skip to content

Commit 56105c2

Browse files
committed
tokens.md: add missing superscript markup
1 parent 9704aad commit 56105c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tokens.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ let horse = example.0b10; // ERROR no field named `0b10`
448448
> FLOAT_EXPONENT<sup>?</sup> FLOAT_SUFFIX
449449
>
450450
> FLOAT_EXPONENT :\
451-
> &nbsp;&nbsp; (`e`|`E`) (`+`|`-`)?
451+
> &nbsp;&nbsp; (`e`|`E`) (`+`|`-`)<sup>?</sup>
452452
> (DEC_DIGIT|`_`)<sup>\*</sup> DEC_DIGIT (DEC_DIGIT|`_`)<sup>\*</sup>
453453
>
454454
> FLOAT_SUFFIX :\
@@ -529,7 +529,7 @@ Examples of such tokens:
529529
> &nbsp;&nbsp; | `0b` `_`<sup>\*</sup> _end of input or not BIN_DIGIT_\
530530
> &nbsp;&nbsp; | `0o` `_`<sup>\*</sup> _end of input or not OCT_DIGIT_\
531531
> &nbsp;&nbsp; | `0x` `_`<sup>\*</sup> _end of input or not HEX_DIGIT_\
532-
> &nbsp;&nbsp; | DEC_LITERAL ( . DEC_LITERAL)? (`e`|`E`) (`+`|`-`)? _end of input or not DEC_DIGIT_
532+
> &nbsp;&nbsp; | DEC_LITERAL ( . DEC_LITERAL)<sup>?</sup> (`e`|`E`) (`+`|`-`)<sup>?</sup> _end of input or not DEC_DIGIT_
533533
534534
The following lexical forms similar to number literals are _reserved forms_:
535535

0 commit comments

Comments
 (0)