[Pkg-javascript-commits] [node-acorn-jsx] 301/484: Remove bogus support for \U escapes
Bastien Roucariès
rouca at moszumanska.debian.org
Sat Aug 19 14:20:46 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-acorn-jsx.
commit 5ff7e59a0a3497d76e39aeedfef14cfdb05072f9
Author: Marijn Haverbeke <marijnh at gmail.com>
Date: Tue Oct 21 16:39:48 2014 +0200
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 2d740e8..4bcb199 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'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-acorn-jsx.git
More information about the Pkg-javascript-commits
mailing list