aboutsummaryrefslogtreecommitdiff
path: root/src/pr.bqn
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-08-14 12:10:47 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-08-14 13:53:18 -0400
commit1c23dbb833410b2638fdb3b2b0fef083b87ab670 (patch)
tree6d08ed6aac4c89f2c5f2307715f405a028f70559 /src/pr.bqn
parentfbed5613ace02a2edc54ffc3dfea614526871ffc (diff)
Add error messages to the runtime
Diffstat (limited to 'src/pr.bqn')
-rwxr-xr-xsrc/pr.bqn2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pr.bqn b/src/pr.bqn
index a93bd4eb..4c789a3c 100755
--- a/src/pr.bqn
+++ b/src/pr.bqn
@@ -34,7 +34,7 @@ names ↩ (⥊¨kt⊏chr)⌾(ki⊸⊏)names
E_isdef ← (3≤≠)◶⟨0,∧´⟨chr," ","←↩"⟩∊˜¨3⊸↑⟩
E_proc ← ({𝕨∘𝕩}´ {𝕨•_R_𝕩}⟜⥊¨⟜(≠↑chr˜) def)∘{
l←≠chr
- q←≠`𝕩∊"""'" ⋄ f←¬∨`q¬⊸∧𝕩='#'
+ q←≠`𝕩='"' ⋄ q∨↩≠`q<𝕩=''' ⋄ f←¬∨`q<𝕩='#'
∾ (((l×f/q)+chr⊸⊐) (≥⟜l)◶⟨⊑⟜names,⥊∘⊢⟩¨ ⊢) f/𝕩
}
E_redef ← { # handles [fmd] [←↩]