diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lexer/mod.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lexer/mod.rs b/src/lexer/mod.rs index ccc25b8c9..d81ea0339 100644 --- a/src/lexer/mod.rs +++ b/src/lexer/mod.rs | |||
@@ -123,7 +123,11 @@ fn next_token_inner(c: char, ptr: &mut Ptr) -> SyntaxKind { | |||
123 | scan_literal_suffix(ptr); | 123 | scan_literal_suffix(ptr); |
124 | CHAR | 124 | CHAR |
125 | }, | 125 | }, |
126 | 'b' => return scan_byte_char_or_string(ptr), | 126 | 'b' => { |
127 | let kind = scan_byte_char_or_string(ptr); | ||
128 | scan_literal_suffix(ptr); | ||
129 | return kind | ||
130 | }, | ||
127 | _ => (), | 131 | _ => (), |
128 | } | 132 | } |
129 | ERROR | 133 | ERROR |