branch: externals/csharp-mode
commit 6e9d1f6b9900d3b8aa4106abf84a89311dfed85f
Merge: 772128c868 724927142f
Author: Jostein Kjønigsen <[email protected]>
Commit: GitHub <[email protected]>

    Merge pull request #266 from jcs-PR/tests/compile
    
    tests(makefile): Add compile to CI test
---
 csharp-mode.el | 18 +++++++++---------
 makefile       |  1 +
 2 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/csharp-mode.el b/csharp-mode.el
index 281a3cda1e..b6abe94669 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -66,15 +66,15 @@
     declaration."))
 
 (eval-and-compile
-  (c-add-language 'csharp-mode 'java-mode))
-
-(defun csharp--make-mode-syntax-table ()
-  (let ((table (make-syntax-table)))
-    (c-populate-syntax-table table)
-    (modify-syntax-entry ?@ "_" table)
-    table))
-(defvar csharp--make-mode-syntax-table #'csharp--make-mode-syntax-table
-  "Workaround for Emacs bug#57065.")
+  (c-add-language 'csharp-mode 'java-mode)
+
+  (defun csharp--make-mode-syntax-table ()
+    (let ((table (make-syntax-table)))
+      (c-populate-syntax-table table)
+      (modify-syntax-entry ?@ "_" table)
+      table))
+  (defvar csharp--make-mode-syntax-table #'csharp--make-mode-syntax-table
+    "Workaround for Emacs bug#57065."))
 
 (c-lang-defconst c-make-mode-syntax-table
   csharp #'csharp--make-mode-syntax-table)
diff --git a/makefile b/makefile
index f705098b53..8496823873 100644
--- a/makefile
+++ b/makefile
@@ -10,6 +10,7 @@ package:
 
 build: package
        $(EASK) install
+       $(EASK) compile
 
 test:
        @echo "Testing..."

Reply via email to