From 55a24065a6ce2407e4caf95e46059635b8b32e07 Mon Sep 17 00:00:00 2001 From: Hugo Thunnissen Date: Fri, 28 Jul 2023 20:21:33 +0200 Subject: [PATCH] Remove obsolete comment (incremental parsing has been implemented) --- phpinspect-imports.el | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/phpinspect-imports.el b/phpinspect-imports.el index c28b5aa..0dc753b 100644 --- a/phpinspect-imports.el +++ b/phpinspect-imports.el @@ -148,16 +148,8 @@ that there are import (\"use\") statements for them." (phpinspect-project-autoload project)))) (phpinspect-add-use-interactive type phpinspect-current-buffer project (phpinspect-meta-token namespace)) - ;; Buffer has been modified by adding type, update tree + - ;; location map. This is not optimal but will have to do until - ;; partial parsing is implemented. - ;; - ;; Note: this basically implements a bug where the locations - ;; of classes are no longer congruent with their location in - ;; the buffer's code. In files that contain multiple namespace - ;; blocks this could cause problems as a namespace may grow by - ;; added import statements and start envelopping the classes - ;; below it. + ;; Buffer has been modified by adding type, update buffer map + ;; and index for correct location data. (setq index (phpinspect--index-tokens (phpinspect-buffer-parse phpinspect-current-buffer)