branch: externals/phpinspect commit 55a24065a6ce2407e4caf95e46059635b8b32e07 Author: Hugo Thunnissen <de...@hugot.nl> Commit: Hugo Thunnissen <de...@hugot.nl>
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 c28b5aae69..0dc753bf7f 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)