diff options
author | Eduardo Julian | 2018-08-22 23:25:04 -0400 |
---|---|---|
committer | Eduardo Julian | 2018-08-22 23:25:04 -0400 |
commit | 324665cef68fa326d358733d36ed20feba5dbbd6 (patch) | |
tree | 7694c5759acc1291c938dee830efed5d384094c7 /luxc/src | |
parent | 79c2988c1b514657cc384070e66539e51e105987 (diff) |
No more escaping of unicode.
Diffstat (limited to '')
-rw-r--r-- | luxc/src/lux/lexer.clj | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/luxc/src/lux/lexer.clj b/luxc/src/lux/lexer.clj index 02f1e088a..1b4722083 100644 --- a/luxc/src/lux/lexer.clj +++ b/luxc/src/lux/lexer.clj @@ -43,9 +43,6 @@ (recur (+ 2 idx))) \\ (do (.append buffer "\\") (recur (+ 2 idx))) - \u (do (assert (< (+ 5 idx) line-length) (str "[Lexer Error] Text is too short for unicode-escaping: " raw-line " " idx)) - (.append buffer (char (Integer/valueOf (.substring raw-line (+ 2 idx) (+ 6 idx)) 16))) - (recur (+ 6 idx))) ;; else (assert false (str "[Lexer Error] Invalid escaping syntax: " raw-line " " idx)))) (do (.append buffer current-char) |