Fix '>>' operand being tokenized correctly and switch statement with bare semicolon.

This commit is contained in:
Daniel Gavin
2021-09-20 20:12:13 +02:00
parent 70dff11b29
commit a2a7647c90
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 == '=' {