aboutsummaryrefslogtreecommitdiff
path: root/dzref
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-10-20 17:21:03 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-10-20 17:21:03 -0400
commit4fda9211c7e7bf16b137e2207abf1fc0e0261a11 (patch)
treede06d71666022536c6fbbfe557acb5f04ae9903a /dzref
parentfe48897be42c1e8405db82b1f4ec126acfc9b0fd (diff)
Handle newlines in E_proc comment detection
Diffstat (limited to 'dzref')
-rwxr-xr-xdzref2
1 files changed, 1 insertions, 1 deletions
diff --git a/dzref b/dzref
index e446d698..c0edb319 100755
--- a/dzref
+++ b/dzref
@@ -102,7 +102,7 @@ _withRef ← ˙
# removes comments and replaces built-ins with names
E_proc ← {
l←≠chr
- q←≠`𝕩∊"""'" ⋄ f←¬∨`q¬⊸∧𝕩='#'
+ q←≠`𝕩∊"""'" ⋄ f←(𝕩=lf)≥○(↕∘≠⊸(⌈`×))q<𝕩='#'
∾ (((l×f/q)+chr⊸⊐) (≥⟜l)◶⟨⊑⟜names,⥊∘⊢⟩¨ ⊢) f/𝕩
}