Added a bool flag to the Block_Stmt struct to have information whether or not 'do' was used vs brackets in the AST

This commit is contained in:
zhibog
2020-04-18 21:34:14 +02:00
parent 872e97dba6
commit 3a1bee19a9
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -282,6 +282,7 @@ Block_Stmt :: struct {
open: tokenizer.Pos,
stmts: []^Stmt,
close: tokenizer.Pos,
uses_do: bool,
}
If_Stmt :: struct {