aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-06-30 22:06:51 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-06-30 22:06:51 -0400
commit775ac2d9832065f15f3d4d953a8ab6c99b222558 (patch)
tree1d7e5246b49f2070e1e7b4f3529b4112939c7f50 /src
parent2fc6d6c1058e5cff348b675ea1b9005e1587d0dc (diff)
Display enclosed characters with single quotes, not double
Diffstat (limited to 'src')
-rw-r--r--src/f.bqn2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/f.bqn b/src/f.bqn
index 217e471e..fe5b8d28 100644
--- a/src/f.bqn
+++ b/src/f.bqn
@@ -62,7 +62,7 @@
# All characters
r ← =𝕩 ⋄ 𝕩 ↩ 0↓𝕩⌾⊢""
k ← ∞⍟(0⊸=) -≠ c ← ¯1↓≢𝕩
- q ← '"'
+ q ← "'"""⊑˜0<r
# Escape quotes in strings (rank 1) and substitute control chars
# with control pictures for other ranks.
CSub ← { 𝕩 + (𝕩(=×'␡'-⊢)@+127) + ('␀'-@)×𝕩<@+32 }