Skip to content

Commit dfbf32f

Browse files
committed
rollup merge of rust-lang#17625 : Boddlnagg/lexer-fix
2 parents d00cf98 + 9cc3663 commit dfbf32f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/grammar/RustLexer.g4

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,9 @@ LIT_INTEGER
120120
| '0x' [0-9a-fA-F][0-9a-fA-F_]* INT_SUFFIX?
121121
;
122122

123-
FLOAT_SUFFIX
123+
fragment FLOAT_SUFFIX
124124
: 'f32'
125125
| 'f64'
126-
| 'f128'
127126
;
128127

129128
LIT_FLOAT

0 commit comments

Comments
 (0)