Improve core:odin/ast ast.Range_Stmt to use generic number of vals rather than the fixed two to aid with parsing errors
This commit is contained in:
1 parent
d969d0b264
commit
bec42e8dd3
4 files changed
+8
-23
No files matched your search
@@ -402,8 +402,7 @@ Range_Stmt :: struct {
|
||||
using node: Stmt,
|
||||
label: ^Expr,
|
||||
for_pos: tokenizer.Pos,
|
||||
val0: ^Expr,
|
||||
val1: ^Expr,
|
||||
vals: []^Expr,
|
||||
in_pos: tokenizer.Pos,
|
||||
expr: ^Expr,
|
||||
body: ^Stmt,
|
||||
|
||||
Reference in new issue
Block a user