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
@@ -786,7 +786,7 @@ parse_control_statement_semicolon_separator :: proc(p: ^Parser) -> bool {
|
||||
if tok.kind != .Open_Brace {
|
||||
return allow_token(p, .Semicolon)
|
||||
}
|
||||
if tok.text == ";" {
|
||||
if p.curr_tok.text == ";" {
|
||||
return allow_token(p, .Semicolon)
|
||||
}
|
||||
return false
|
||||
|
||||
Reference in new issue
Block a user