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

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

[elpa] externals/javaimp 60b1006a2b 1/2: Fix comment


From: Filipp Gunbin
Subject: [elpa] externals/javaimp 60b1006a2b 1/2: Fix comment
Date: Wed, 8 Jun 2022 14:57:13 -0400 (EDT)

branch: externals/javaimp
commit 60b1006a2b4cde478322ce1a9a85a42e6b970946
Author: Filipp Gunbin <fgunbin@fastmail.fm>
Commit: Filipp Gunbin <fgunbin@fastmail.fm>

    Fix comment
---
 javaimp-parse.el | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/javaimp-parse.el b/javaimp-parse.el
index 8948e93294..b563eb8aa0 100644
--- a/javaimp-parse.el
+++ b/javaimp-parse.el
@@ -278,12 +278,10 @@ point (but not farther than BOUND).  Matches inside 
comments /
 strings are skipped.  Return the beginning of the match (then the
 point is also at that position) or nil."
   (javaimp-parse--skip-back-until)
-  ;; If we skip a previous scope (including unnamed initializers), or
-  ;; reach enclosing scope start, we'll fail the check in the below
-  ;; loop.  But a semicolon, which delimits statements, will just be
-  ;; skipped by scan-sexps, so find it and use as bound.  If it is in
-  ;; another scope, that's not a problem, for the same reasons as
-  ;; described above.
+  ;; A semicolon, which delimits statements, will just be skipped by
+  ;; scan-sexps, so find it and use as bound.  If it is in another
+  ;; scope, that's not a problem: we'll attempt to skip that scope,
+  ;; and exit the loop anyway.
   (let* ((prev-semi (save-excursion
                       (javaimp-parse--rsb-keyword ";" bound t)))
          (bound (when (or bound prev-semi)



reply via email to

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