diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-08-14 10:31:36 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-08-14 10:31:36 -0400 |
| commit | 49fe6eb11fda5fccb016feb914b0bce1ae2ea6a0 (patch) | |
| tree | efab0d749b13afda6d006101b0b8cdc3671a57a4 /src | |
| parent | 38667f6fee23f3470c0a980c9f63c60c1c9ee644 (diff) | |
Fix header variable slot adjustment if there are bodies without headers
Diffstat (limited to 'src')
| -rw-r--r-- | src/c.bqn | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -196,7 +196,7 @@ Parse ← {r‿vn‿i‿e‿def←𝕨⋄nv←≠vn "Only blocks with explicit arguments can have multiple bodies"_err_(/CB) 1↓cm>fx "Block bodies must be of the same kind"_err_(/CB) 1↓cf<»⊸≠ft fsc←(ft⊏0‿2‿3)+3×fx # Special name count - hv-↩hc+`⊸⊏«3׬fx # Header variable slot + hv-↩(»+`hc)⊏3׬ch/fx # Header variable slot # Propagate roles through parentheses # ir is the role of the expression ending at each position (truncated to the right) |
