aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Julian2018-08-22 22:53:11 -0400
committerEduardo Julian2018-08-22 22:53:11 -0400
commitbf893b3aa2b43c11b1cbb95fb8641f6ae6aa06b0 (patch)
tree7bc77c25c5a6a7fd5fce054ff4308a11f1d3445a
parent5e13ae0ad68947249a98dc69ab513bdbeca1697e (diff)
No more escaping of back-space.
Diffstat (limited to '')
-rw-r--r--luxc/src/lux/lexer.clj2
-rw-r--r--stdlib/source/lux/compiler/default/syntax.lux2
2 files changed, 0 insertions, 4 deletions
diff --git a/luxc/src/lux/lexer.clj b/luxc/src/lux/lexer.clj
index 37f5fdbed..981b35178 100644
--- a/luxc/src/lux/lexer.clj
+++ b/luxc/src/lux/lexer.clj
@@ -39,8 +39,6 @@
(case (.charAt raw-line (+ 1 idx))
\v (do (.append buffer "\u000B")
(recur (+ 2 idx)))
- \b (do (.append buffer "\b")
- (recur (+ 2 idx)))
\n (do (.append buffer "\n")
(recur (+ 2 idx)))
\r (do (.append buffer "\r")
diff --git a/stdlib/source/lux/compiler/default/syntax.lux b/stdlib/source/lux/compiler/default/syntax.lux
index 2aaa46992..1d1572859 100644
--- a/stdlib/source/lux/compiler/default/syntax.lux
+++ b/stdlib/source/lux/compiler/default/syntax.lux
@@ -141,7 +141,6 @@
(case code
## Handle special cases.
"v" (wrap [2 "\v"])
- "b" (wrap [2 "\b"])
"n" (wrap [2 ..new-line])
"r" (wrap [2 "\r"])
"f" (wrap [2 "\f"])
@@ -624,7 +623,6 @@
(^ (char <input>))
(!find-next-escape 2 next-escape end source-code total <output>))
(["v" "\v"]
- ["b" "\b"]
["n" (static ..new-line)]
["r" "\r"]
["f" "\f"]