mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-31 10:22:08 +00:00
@@ -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
|
||||
|
||||
@@ -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