emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] master e9227bd 058/110: Fix a byte-compilation warning


From: Dmitry Gutov
Subject: [elpa] master e9227bd 058/110: Fix a byte-compilation warning
Date: Thu, 23 Jun 2016 01:12:57 +0000 (UTC)

branch: master
commit e9227bd1a7886362847f12b0047476b4943995c5
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    Fix a byte-compilation warning
---
 js2-mode.el |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/js2-mode.el b/js2-mode.el
index eb805e7..7e5c9d8 100644
--- a/js2-mode.el
+++ b/js2-mode.el
@@ -7754,7 +7754,7 @@ string is NAME.  Returns nil and keeps current token 
otherwise."
     (js2-get-token)
     t))
 
-(defun js2-match-await ()
+(defun js2-match-await (tt)
   (when (and (= tt js2-NAME)
              (js2-contextual-kwd-p (js2-current-token) "await"))
     (js2-record-face 'font-lock-keyword-face)
@@ -9953,7 +9953,7 @@ to parse the operand (for prefix operators)."
      ((= tt js2-DELPROP)
       (js2-get-token)
       (js2-make-unary js2-DELPROP 'js2-parse-unary-expr))
-     ((js2-match-await)
+     ((js2-match-await tt)
       (js2-make-unary js2-AWAIT 'js2-parse-unary-expr))
      ((= tt js2-ERROR)
       (js2-get-token)



reply via email to

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