diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-04-23 14:16:55 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-04-23 14:16:55 -0400 |
| commit | 1182bb6d1822be3ccc0e85991c9fd4d6a41c56ef (patch) | |
| tree | 9478a51fa6bec10372149536ebe90db52e455ad0 | |
| parent | f0008ce9725281b32be44e1625b5683f742ba730 (diff) | |
Avoid calling ≍ from _err_ in Parse if there's no error
| -rw-r--r-- | src/c.bqn | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -114,7 +114,7 @@ Parse ← {r‿vn‿i‿e←𝕨⋄nv←≠vn Msg ← >○≠◶⟨"opening"_mis_ 0, "closing"_mis_ 1˜⟩ 0 !˜ 𝕨 (Lcs<⌊○≠)◶⟨Msg,"Malformed bracket nesting"⟩ 𝕩 } - _err_←{(0!˜(∧∘⍉(i≍e)⊏⎉1˜/⟜𝔾)≍○<𝔽)⍟(∨´⍟=)} + _err_←{(0!˜(∧∘⍉(i≍e˙)⊏⎉1˜/⟜𝔾)≍○<𝔽)⍟(∨´⍟=)} # Bracket and ligature validation and handling # Open brackets have role ¯1 and closed ones have role 0 |
