From 5ff7e59a0a3497d76e39aeedfef14cfdb05072f9 Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke Date: Tue, 21 Oct 2014 16:39:48 +0200 Subject: [PATCH] Remove bogus support for \U escapes Issue #147 --- acorn.js | 1 - 1 file changed, 1 deletion(-) diff --git a/acorn.js b/acorn.js index 2d740e8c50..4bcb199a42 100644 --- a/acorn.js +++ b/acorn.js @@ -1091,7 +1091,6 @@ case 114: return "\r"; // 'r' -> '\r' case 120: return String.fromCharCode(readHexChar(2)); // 'x' case 117: return readCodePoint(); // 'u' - case 85: return String.fromCharCode(readHexChar(8)); // 'U' case 116: return "\t"; // 't' -> '\t' case 98: return "\b"; // 'b' -> '\b' case 118: return "\u000b"; // 'v' -> '\u000b'