From bf893b3aa2b43c11b1cbb95fb8641f6ae6aa06b0 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Wed, 22 Aug 2018 22:53:11 -0400 Subject: No more escaping of back-space. --- luxc/src/lux/lexer.clj | 2 -- stdlib/source/lux/compiler/default/syntax.lux | 2 -- 2 files changed, 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 )) (!find-next-escape 2 next-escape end source-code total )) (["v" "\v"] - ["b" "\b"] ["n" (static ..new-line)] ["r" "\r"] ["f" "\f"] -- cgit v1.2.3