[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/phps-mode f3766db 310/405: Fixed byte-compilation in le
From: |
Stefan Monnier |
Subject: |
[elpa] externals/phps-mode f3766db 310/405: Fixed byte-compilation in lexer and integration-tests |
Date: |
Sat, 13 Jul 2019 10:00:38 -0400 (EDT) |
branch: externals/phps-mode
commit f3766dbca70274368f02eb323d182ef33d9e8bf0
Author: Christian Johansson <address@hidden>
Commit: Christian Johansson <address@hidden>
Fixed byte-compilation in lexer and integration-tests
---
Makefile | 2 +-
phps-mode-lexer.el | 6 ++++++
phps-mode-test-integration.el | 3 ++-
3 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 9c03266..a14ed07 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ ifdef emacs
endif
EMACS_CMD := $(EMACS) -Q -batch -L .
-EL := phps-mode-flymake.el phps-mode-font-lock.el phps-mode-functions.el
phps-mode-map.el phps-mode-semantic.el phps-mode-syntax-table.el
phps-mode-test-functions.el phps-mode-test-lexer.el phps-mode-test-parser.el
phps-mode.el
+EL := phps-mode-flymake.el phps-mode-font-lock.el phps-mode-functions.el
phps-mode-lexer.el phps-mode-map.el phps-mode-semantic.el
phps-mode-syntax-table.el phps-mode-test.el phps-mode-test-functions.el
phps-mode-test-integration.el phps-mode-test-lexer.el phps-mode-test-parser.el
phps-mode.el
ELC := $(EL:.el=.elc)
.PHONY: clean
diff --git a/phps-mode-lexer.el b/phps-mode-lexer.el
index c5b75e5..aad3679 100644
--- a/phps-mode-lexer.el
+++ b/phps-mode-lexer.el
@@ -47,6 +47,12 @@
(autoload 'semantic-lex-push-token "semantic/lex")
(autoload 'define-lex-analyzer "semantic/lex")
+;; Fix for byte-compilation warnings
+(defvar phps-mode-lexer-lex)
+(defvar semantic-lex-default-action)
+(defvar phps-mode-lexer-lex-analyzer)
+
+
;; Define the lexer for this grammar
;; Make sure `semantic-lex-syntax-modifications' is correct since lexer is
dependent on Emacs syntax-table
diff --git a/phps-mode-test-integration.el b/phps-mode-test-integration.el
index a6fc0cc..a103f74 100644
--- a/phps-mode-test-integration.el
+++ b/phps-mode-test-integration.el
@@ -34,8 +34,9 @@
(autoload 'phps-mode-functions-get-lines-indent "phps-mode-functions")
(autoload 'phps-mode-functions-get-imenu "phps-mode-functions")
(autoload 'phps-mode-functions-get-buffer-changes-start "phps-mode-functions")
-(autoload 'phps-mode-test-hash-to-list "phps-mode-test")
(autoload 'phps-mode-lexer-get-tokens "phps-mode-lexer")
+(autoload 'phps-mode-lexer-run-incremental "phps-mode-lexer")
+(autoload 'phps-mode-test-hash-to-list "phps-mode-test")
(autoload 'should "ert")
(defun phps-mode-test-integration-incremental ()
- [elpa] externals/phps-mode 00d3568 290/405: Added indentation examples from official PSR-2, (continued)
- [elpa] externals/phps-mode 00d3568 290/405: Added indentation examples from official PSR-2, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode ec3fd41 289/405: Added failing indent test for mixed concatenation and function call, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode cc77604 284/405: Fixed bug with indentation after switch case statements, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode eeffdb2 315/405: Fixed trailing white-space, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 02b69f5 304/405: Tests for PSR-2 now passes with new algorithms, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode b251a1e 314/405: Got unit tests for wrapping region in symbols working, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 20199b0 307/405: Added byte-compiled Lisp to gitignore, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode a0b7695 316/405: Passes unit tests for integration with electric-pair, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 7c3a31a 305/405: Fixed bug in indentation with stacked assignment closures, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 68422f5 301/405: Restored indentation test for PSR-2 closure, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode f3766db 310/405: Fixed byte-compilation in lexer and integration-tests,
Stefan Monnier <=
- [elpa] externals/phps-mode 2ec6f6d 306/405: Fixed some compilation warnings, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode f2fe751 302/405: More work on trying to get PSR-2 indentation working, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 8eb3dc0 311/405: Fixed byte-compilation issue in lexer, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode f77edf8 308/405: Updated compile command to ignore that files that doesn't compile, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 5d5ec06 313/405: Started on test for automatic quotations, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 7e755e1 303/405: Fixed indentation for argument assignments, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode a852669 320/405: Fix bug in syntax colouring, added debug outputs for incremental lexer, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode ad94b0b 319/405: Removed some fixed TODO itemsc, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 2427c7e 318/405: Improved README, Stefan Monnier, 2019/07/13
- [elpa] externals/phps-mode 6d834c1 312/405: Added support for (comment-region) and (uncomment-region), Stefan Monnier, 2019/07/13