diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-08-20 20:21:02 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-08-20 20:21:02 -0400 |
| commit | 3248f1d20b3091763df868fc91a22cec9f09fb68 (patch) | |
| tree | 2afc77181c4c2ce29df4509839e35d496f937194 /src | |
| parent | afdcb735520ed114214f814dc333214ef660a0b0 (diff) | |
Fix handling of export statement at the start of the program
Diffstat (limited to 'src')
| -rw-r--r-- | src/c.bqn | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -236,7 +236,7 @@ Parse ← {r‿vn‿i‿e‿def←𝕨⋄nv←≠vn aid←(¯6⊸≤∧<⟜nv)𝕩-vi # Assignable identifer ak←af+(0≤ar)+(⊑bG)-˜ai⊏𝕩 # Class of assignment: 1⇐ 2⇐? 3←? 4↩? at∾↩hj⋄ac←«⊸-(ak∾5¨hj)⌾(at⊸⊏)0¨𝕩 # Header assignment is 5 temporarily - aa←×g⊏ac↩»+`(»⊸∨0=+`)⊸×gi⊏ac # Broadcast ac to the entire target + aa←×g⊏ac↩»+`(1⊸»⊸∨0=+`)⊸×gi⊏ac # Broadcast ac to the entire target ac-↩2×ah←5=ac # Assignment is header; 5→3 nf←H ac<xv=vi-˜⊑bG # Namespace bodies fw←H gi⊏nx # Bodies where 𝕨 must be defined |
