mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-29 10:50:05 +00:00
Update parsers
This commit is contained in:
@@ -1129,7 +1129,7 @@ token_precedence :: proc(p: ^Parser, kind: token.Kind) -> int {
|
||||
switch kind {
|
||||
case token.Question:
|
||||
return 1;
|
||||
case token.Ellipsis:
|
||||
case token.Ellipsis, token.Range_Half:
|
||||
if !p.allow_range {
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user