Fix '>>' operand being tokenized correctly and switch statement with bare semicolon.
This commit is contained in:
1 parent
70dff11b29
commit
a2a7647c90
2 files changed
+2
-2
No files matched your search
@@ -666,7 +666,7 @@ scan :: proc(t: ^Tokenizer) -> Token {
|
||||
case '=':
|
||||
advance_rune(t)
|
||||
kind = .Gt_Eq
|
||||
case '<':
|
||||
case '>':
|
||||
advance_rune(t)
|
||||
kind = .Shr
|
||||
if t.ch == '=' {
|
||||
|
||||
Reference in new issue
Block a user