[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/phps-mode 1bc5713 227/405: New tests for concatenation
From: |
Stefan Monnier |
Subject: |
[elpa] externals/phps-mode 1bc5713 227/405: New tests for concatenation passes |
Date: |
Sat, 13 Jul 2019 10:00:18 -0400 (EDT) |
branch: externals/phps-mode
commit 1bc571353cd31c255408d5351dfc469f007b9a91
Author: Christian Johansson <address@hidden>
Commit: Christian Johansson <address@hidden>
New tests for concatenation passes
---
phps-mode-functions.el | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/phps-mode-functions.el b/phps-mode-functions.el
index e46506c..b98aaa9 100644
--- a/phps-mode-functions.el
+++ b/phps-mode-functions.el
@@ -287,14 +287,9 @@
(setq after-extra-special-control-structure nil))
;; Keep track of concatenations
- (when (and first-token-on-line
- (string= token "."))
- (when phps-mode-functions-verbose
- (message "\nFound starting dot, indenting current line
with one.\n"))
- (setq temp-pre-indent t)
- (setq temp-pre-indent (1+ column-level)))
(when (> next-token-start-line-number token-end-line-number)
- (if (string= token ".")
+ (if (or (string= token ".")
+ (string= next-token "."))
(progn
(when phps-mode-functions-verbose
(message "\nFound ending dot, indenting next line
with one.\n"))
- [elpa] externals/phps-mode 1aa0f90 238/405: Typo in README, (continued)
- [elpa] externals/phps-mode 1aa0f90 238/405: Typo in README, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode da1cfd5 231/405: Adding failing lexer test, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode e6a8944 241/405: Started work on a lexer bug with expressions inside double quoted strings, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 0c49d6d 243/405: Removed debugging output, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 95ac15a 245/405: Imenu index now handles class extends and implements, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 67233ef 213/405: Fixed indent algorithm for multi-line strings, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 36a4b64 222/405: Added lost test for token-less lines again, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 70f2d46 242/405: Fixed lexer issue with multiple expressions inside double-quoted string, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 0286660 224/405: Indentation passes new tests for concatenated strings, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode f05d40a 230/405: Tests for lexer passes again after close_tag modification, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 1bc5713 227/405: New tests for concatenation passes,
Stefan Monnier <=
- [elpa] externals/phps-mode c71a97d 178/405: Started on refactored indentation calculation, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 8bb3918 249/405: Clean-up of unit test logging, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 9201d1c 246/405: Imenu index now handles functions with optional arguments, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 2c3239a 187/405: Adding new failing tests for indentation, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode d9a0119 183/405: Optimized indentation code by removing unused variables, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode a0cbcd1 186/405: More work on indentation of multi-line IF-expressions, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode d7c5f67 190/405: More work on nesting-stack, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 253839f 170/405: Added indentation unit tests for concatenated strings outside assignments, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode e38794b0 197/405: More conceptual work on algorithm for inline control structures, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 9db28d9 185/405: Added verbose flag for unit tests, Stefan Monnier, 2019/07/13