diff options
| author | WormHeamer | 2025-10-21 14:50:53 -0400 |
|---|---|---|
| committer | WormHeamer | 2025-10-21 14:50:53 -0400 |
| commit | 1619e765e3ae2a88765c94a01ec731e8cabd0ff1 (patch) | |
| tree | 3cf8262e4ed4949089c39c1fbd1a8066e6a8f2fc /test.lang | |
| parent | 5ea989fc612ce219f29eaeb1d642ba7083b38599 (diff) | |
save & load scratch in parse_stmt instead of reset in parse_proc
Diffstat (limited to 'test.lang')
| -rw-r--r-- | test.lang | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,9 +1,11 @@ func main(a, b i64) i64 { let x = 2 if a < b { - x := 3 + (a / x) + x := 3 } else { - x := 4 + (x * b) + let t = a + a := b + b := t } - return x + return a + x } |
