Update parsers
This commit is contained in:
1 parent
fb3d73cb20
commit
65e9b4d5f0
3 files changed
+5
-3
No files matched your search
@@ -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