Skip to content

Commit 3989c5a

Browse files
committed
Add suffix alternative.
1 parent 67ef390 commit 3989c5a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

text/0000-small-base-lexing.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,11 @@ two tokens: it is *always* an error either way.
9696

9797
Don't do it, obviously.
9898

99+
Consider `0b123` to just be `0b1` with a suffix of `23`, and this is
100+
an error or not depending if a suffix of `23` is valid. Handling this
101+
uniformly would require `"foo"123` and `'a'123` also being lexed as a
102+
single token. (Which may be a good idea anyway.)
103+
99104
# Unresolved questions
100105

101106
None.

0 commit comments

Comments
 (0)