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

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

[elpa] master ad4c5cc 20/33: Report the correct octal number error


From: Dmitry Gutov
Subject: [elpa] master ad4c5cc 20/33: Report the correct octal number error
Date: Sun, 12 Jul 2015 22:35:42 +0000

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

    Report the correct octal number error
---
 js2-mode.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/js2-mode.el b/js2-mode.el
index 5745dc5..e667df0 100644
--- a/js2-mode.el
+++ b/js2-mode.el
@@ -10329,7 +10329,7 @@ array-literals, array comprehensions and regular 
expressions."
       (setq node (make-js2-number-node))
       (when (and js2-in-use-strict-directive
                  (= (js2-number-node-num-base node) 8))
-        (js2-report-error "msg.no.octal.literal"))
+        (js2-report-error "msg.no.octal.strict"))
       node)
      ((or (= tt js2-STRING) (= tt js2-NO_SUBS_TEMPLATE))
       (make-js2-string-node :type tt))



reply via email to

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