[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/phps-mode aa691a8 89/96: Added parser and lexer integra
From: |
Christian Johansson |
Subject: |
[elpa] externals/phps-mode aa691a8 89/96: Added parser and lexer integraction-fix to automation |
Date: |
Fri, 29 Oct 2021 11:15:05 -0400 (EDT) |
branch: externals/phps-mode
commit aa691a82ee9c206e758c494b2e575d3e4e78e80f
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>
Added parser and lexer integraction-fix to automation
---
phps-mode-automation-grammar.el | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/phps-mode-automation-grammar.el b/phps-mode-automation-grammar.el
index 8f40aa4..4a390b0 100644
--- a/phps-mode-automation-grammar.el
+++ b/phps-mode-automation-grammar.el
@@ -139,7 +139,6 @@
;; Compatibility with parser
(unless (or
(equal token-type 'T_OPEN_TAG)
- (equal token-type 'T_CLOSE_TAG)
(equal token-type 'T_DOC_COMMENT)
(equal token-type 'T_COMMENT))
(setq-local
@@ -162,13 +161,13 @@
;; Compatibility with parser
(when (equal (car token) 'T_OPEN_TAG_WITH_ECHO)
- (setf
- (car token)
- 'T_ECHO))
+ (setq
+ token
+ `(T_ECHO ,(car (cdr token)) . ,(cdr (cdr token)))))
(when (equal (car token) 'T_CLOSE_TAG)
- (setf
- (car token)
- ";"))
+ (setq
+ token
+ `(";" ,(car (cdr token)) . ,(cdr (cdr token)))))
token))))
"The custom lex-analyzer.")
- [elpa] externals/phps-mode e007ea7 88/96: Fixed parser-mode issue with parser and lex-analyzer integration, (continued)
- [elpa] externals/phps-mode e007ea7 88/96: Fixed parser-mode issue with parser and lex-analyzer integration, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode bc8306f 71/96: Fix in automation grammar to support exporting, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode 238f967 76/96: Cleaned up lex function, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode 5e375e3 80/96: Parser is not blocking lexer anymore, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode 7b62779 86/96: Added another TODO item, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode c5058c5 87/96: Fixed issue with async.el support for parser, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode 8e263fe 85/96: Removed T_DIE as token as it's replaced by T_EXIT, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode 3489f9d 90/96: Parser parse function now ignores creating a SDT, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode 620ec6e 91/96: Optimization of parser speed, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode ff25e3d 92/96: Removed obsolete files, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode aa691a8 89/96: Added parser and lexer integraction-fix to automation,
Christian Johansson <=
- [elpa] externals/phps-mode daba241 93/96: Added another TODO item, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode 95479f9 94/96: Updates of documentation, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode efeaadd 96/96: Updated version and description, Christian Johansson, 2021/10/29
- [elpa] externals/phps-mode fd604c1 95/96: Added garbage collection modification to grammar automation again, Christian Johansson, 2021/10/29