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

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

[elpa] externals/phps-mode b629c4b 050/405: Updated comments and TODOs


From: Stefan Monnier
Subject: [elpa] externals/phps-mode b629c4b 050/405: Updated comments and TODOs
Date: Sat, 13 Jul 2019 09:59:41 -0400 (EDT)

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

    Updated comments and TODOs
---
 phps-functions.el | 3 ++-
 phps-lexer.el     | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/phps-functions.el b/phps-functions.el
index 8b1538d..2ca33aa 100644
--- a/phps-functions.el
+++ b/phps-functions.el
@@ -10,7 +10,7 @@
 
 ;; Package-Requires: ((emacs "24"))
 
-;; Copyright (C) 2017 Christian Johansson
+;; Copyright (C) 2018 Christian Johansson
 
 ;; This file is not part of GNU Emacs.
 
@@ -113,6 +113,7 @@
 (defun phps-mode/functions-init ()
   "PHP specific init-cleanup routines."
 
+  ;; indent-region will call this on each line of region
   (set (make-local-variable 'indent-line-function) #'phps-mode/indent-line)
 
   (when (and (boundp 'phps-mode/use-psr-2)
diff --git a/phps-lexer.el b/phps-lexer.el
index 04b0edd..78919e3 100644
--- a/phps-lexer.el
+++ b/phps-lexer.el
@@ -1325,6 +1325,7 @@ ANY_CHAR'
         ;; (message "data: %s" data)
         data))))
 
+;; TODO Need to store lexer state and stack at each changing point of buffer 
to be able to rewind lexer
 (defun phps-mode/lex--SETUP (start end)
   "Just prepare other lexers for lexing region START to END."
   (when (and (eq start 1)



reply via email to

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