[Top][All Lists]

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

[elpa] externals/phps-mode a899707 102/405: Updated comments

From: Stefan Monnier
Subject: [elpa] externals/phps-mode a899707 102/405: Updated comments
Date: Sat, 13 Jul 2019 09:59:52 -0400 (EDT)

branch: externals/phps-mode
commit a8997079b08e8559e62c63bac05cff6faa6b6dcb
Author: Christian Johansson <address@hidden>
Commit: Christian Johansson <address@hidden>

    Updated comments
 phps-functions.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/phps-functions.el b/phps-functions.el
index 11c7a46..3450d31 100644
--- a/phps-functions.el
+++ b/phps-functions.el
@@ -96,7 +96,8 @@
                         (token-start (car (cdr (nth token-number tokens))))
                         (token-end (cdr (cdr (nth token-number tokens)))))
-                    ;; Check if current token is not one of the valid tokens
+                    ;; Does token start on or after current line
+                    ;; or does it end on or after current line?
                     (when (or (>= token-start line-start)
                               (>= token-end line-start))
@@ -231,6 +232,7 @@
                   (token-end (cdr (cdr item))))
               ;; (message "Token: %s Start: %s End: %s Item: %s" token start 
end item)
+              ;; Does token start after the end of line?
               (when (> token-start line-end)
                 ;; (message "Stopping iteration at: %s %s" start position)
                 (throw 'stop-iteration nil))

reply via email to

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