File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -448,7 +448,7 @@ let horse = example.0b10; // ERROR no field named `0b10`
448
448
> FLOAT_EXPONENT<sup >?</sup > FLOAT_SUFFIX
449
449
>
450
450
> FLOAT_EXPONENT :\
451
- >   ;  ; (` e ` |` E ` ) (` + ` |` - ` )?
451
+ >   ;  ; (` e ` |` E ` ) (` + ` |` - ` )< sup >?</ sup >
452
452
> (DEC_DIGIT|` _ ` )<sup >\* </sup > DEC_DIGIT (DEC_DIGIT|` _ ` )<sup >\* </sup >
453
453
>
454
454
> FLOAT_SUFFIX :\
@@ -529,7 +529,7 @@ Examples of such tokens:
529
529
>   ;  ; | ` 0b ` ` _ ` <sup >\* </sup > _ end of input or not BIN_DIGIT_ \
530
530
>   ;  ; | ` 0o ` ` _ ` <sup >\* </sup > _ end of input or not OCT_DIGIT_ \
531
531
>   ;  ; | ` 0x ` ` _ ` <sup >\* </sup > _ end of input or not HEX_DIGIT_ \
532
- >   ;  ; | DEC_LITERAL ( . DEC_LITERAL)? (` e ` |` E ` ) (` + ` |` - ` )? _ end of input or not DEC_DIGIT_
532
+ >   ;  ; | DEC_LITERAL ( . DEC_LITERAL)< sup >?</ sup > (` e ` |` E ` ) (` + ` |` - ` )< sup >?</ sup > _ end of input or not DEC_DIGIT_
533
533
534
534
The following lexical forms similar to number literals are _ reserved forms_ :
535
535
You can’t perform that action at this time.
0 commit comments