[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/phps-mode 0dd5d89 08/11: Added bookkeeping support of c
From: |
Christian Johansson |
Subject: |
[elpa] externals/phps-mode 0dd5d89 08/11: Added bookkeeping support of chained variable assignments |
Date: |
Sat, 18 Sep 2021 16:22:45 -0400 (EDT) |
branch: externals/phps-mode
commit 0dd5d899f15e33d6118a18962c487db86bb4cc2f
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>
Added bookkeeping support of chained variable assignments
---
phps-mode-lex-analyzer.el | 1 -
test/phps-mode-test-lex-analyzer.el | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/phps-mode-lex-analyzer.el b/phps-mode-lex-analyzer.el
index d121f00..b8e00af 100644
--- a/phps-mode-lex-analyzer.el
+++ b/phps-mode-lex-analyzer.el
@@ -1414,7 +1414,6 @@ SQUARE-BRACKET-LEVEL and ROUND-BRACKET-LEVEL."
;; Stand-alone variable assignment
(when (and (equal token 'T_VARIABLE)
- first-token-on-line
(string= next-token "="))
(setq bookkeeping-in-assignment t))
diff --git a/test/phps-mode-test-lex-analyzer.el
b/test/phps-mode-test-lex-analyzer.el
index 223c7e0..895f6b3 100644
--- a/test/phps-mode-test-lex-analyzer.el
+++ b/test/phps-mode-test-lex-analyzer.el
@@ -1607,7 +1607,7 @@
(should
(equal
(phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-bookkeeping) t)
- '((" id $a" 1) (" id $b") (" id $c") ((8 10) 1) ((13 15) 1) ((18 20) 1)
((31 33) 1) ((51 53) 1) ((99 101) 1) ((119 121) 1) ((167 169) 1) ((187 189)
1)))))
+ '((" id $a" 1) ((8 10) 1) (" id $b" 1) ((13 15) 1) (" id $c" 1) ((18 20)
1) ((31 33) 1) ((51 53) 1) ((99 101) 1) ((119 121) 1) ((167 169) 1) ((187 189)
1)))))
)
- [elpa] externals/phps-mode updated (c08ba09 -> b7b4706), Christian Johansson, 2021/09/18
- [elpa] externals/phps-mode b2c3fa0 01/11: More work on parser generation automation, Christian Johansson, 2021/09/18
- [elpa] externals/phps-mode c39a760 02/11: Added saving buffer to file, Christian Johansson, 2021/09/18
- [elpa] externals/phps-mode 9940d5b 04/11: Fixes for precedence in automation grammar, Christian Johansson, 2021/09/18
- [elpa] externals/phps-mode 0ea731f 03/11: More work on trying to get automation going, Christian Johansson, 2021/09/18
- [elpa] externals/phps-mode 2c34cac 06/11: Added debug flag when generating parser, Christian Johansson, 2021/09/18
- [elpa] externals/phps-mode 6a5233a 07/11: Added failing test for bookkeeping of multiple chained assignments, Christian Johansson, 2021/09/18
- [elpa] externals/phps-mode 832f1a9 10/11: Added note about bookkeeping syntax coloring theme requirements, Christian Johansson, 2021/09/18
- [elpa] externals/phps-mode bfbcc03 05/11: Added flag for allowing default conflict resolution, Christian Johansson, 2021/09/18
- [elpa] externals/phps-mode 99c4154 09/11: Updated version and change-log, Christian Johansson, 2021/09/18
- [elpa] externals/phps-mode 0dd5d89 08/11: Added bookkeeping support of chained variable assignments,
Christian Johansson <=
- [elpa] externals/phps-mode b7b4706 11/11: Using Travis.com instead of Travis.org, Christian Johansson, 2021/09/18