diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-07-01 13:48:08 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-07-01 13:48:08 -0400 |
| commit | 01fe8ee5bbba4631b12290a6f50b5412b7aaf096 (patch) | |
| tree | 84549ce1cf6bf916bca50461a3e9917af69b06d9 /spec | |
| parent | cd6e57e01d56e2baf7dac1bb208c0fd4605d984d (diff) | |
Simple/incomplete quote escaping
Diffstat (limited to 'spec')
| -rwxr-xr-x | spec/dzref | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -350,11 +350,11 @@ ProgressiveIndexOf ← {𝕨⊐○(≍˘⟜OccurrenceCount𝕨⊸⊐)𝕩} '≡' Mod "≡" - E_isdef ← (3≤≠)◶⟨0,∧´⟨chr," ","←↩"⟩∊˜¨3⊸↑⟩ ⍝ checks if line is a builtin redefinition + ⍝ checks if line is a builtin redefinition + E_isdef ← (3≤≠)◶⟨0,∧´⟨chr," ","←↩"⟩∊˜¨3⊸↑⟩ - E_proc ← { ⍝ replaces built-ins with their corresponding names - c←chr⊐𝕩 ⋄ ∾c(≥⟜(≠chr))◶⟨⊑⟜names,⥊∘⊢⟩¨𝕩 - } + ⍝ replaces built-ins with their corresponding names + E_proc ← {l←≠chr ⋄ ∾ ((l×≠`𝕩∊"""'")+chr⊐𝕩) (≥⟜l)◶⟨⊑⟜names,⥊∘⊢⟩¨ 𝕩} E_redef ← { ⍝ handles [fmd] [←↩] tail ← E_proc 3↓𝕩 ⍝ must use old def |
