[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 7850d12 25/33: Cleanup

From: Dmitry Gutov
Subject: [elpa] master 7850d12 25/33: Cleanup
Date: Sun, 12 Jul 2015 22:35:44 +0000

branch: master
commit 7850d12ab8e6963c13e084440ca175d4ea12524e
Author: Jackson Ray Hamilton <address@hidden>
Commit: Jackson Ray Hamilton <address@hidden>

 js2-mode.el |   12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/js2-mode.el b/js2-mode.el
index 767d536..89e18ab 100644
--- a/js2-mode.el
+++ b/js2-mode.el
@@ -8097,8 +8097,7 @@ NODE is either `js2-array-node', `js2-object-node', or 
 Return a list of `js2-name-node' nodes representing the symbols
 declared; probably to check them for errors."
-  (funcall #'js2-define-destruct-symbols-internal
-           node decl-type face ignore-not-in-block))
+  (js2-define-destruct-symbols-internal node decl-type face 
 (defvar js2-illegal-strict-identifiers
   '("eval" "arguments")
@@ -8127,14 +8126,7 @@ for strict mode errors caused by PARAMS."
 (defun js2-parse-function-params (function-type fn-node pos)
   "Parse the parameters of a function of FUNCTION-TYPE
-represented by FN-NODE at POS.
-Return a list of lists of arguments to apply many times to
-`js2-check-strict-function-params' to retroactively check for
-strict mode errors that occurred.  Because the function body is
-parsed after its parameters, and the body might activate strict
-mode for that function, the check has to occur after the body is
+represented by FN-NODE at POS."
   (if (js2-match-token js2-RP)
       (setf (js2-function-node-rp fn-node) (- (js2-current-token-beg) pos))
     (let ((paren-free-arrow (and (eq function-type 'FUNCTION_ARROW)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]