From 1466486ba21712c4641d3bc71338c7e4fe8eccdb Mon Sep 17 00:00:00 2001 From: Erik Arvidsson Date: Tue, 15 Oct 2013 18:13:20 -0400 Subject: [PATCH] Remove support for ~ and ^ Since we don't have & nor | we might as well remove the other bitwise operators too. BUG=None R=rafaelw@chromium.org Review URL: https://codereview.appspot.com/14419067 --- third_party/esprima/esprima.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/third_party/esprima/esprima.js b/third_party/esprima/esprima.js index e8df13d..00828b6 100644 --- a/third_party/esprima/esprima.js +++ b/third_party/esprima/esprima.js @@ -221,7 +221,6 @@ case 93: // ] case 58: // : case 63: // ? - case 126: // ~ ++index; return { type: Token.Punctuator, @@ -243,8 +242,6 @@ case 47: // / case 60: // < case 62: // > - // Binary operators are not supported. - // case 94: // ^ case 124: // | index += 2; return {