[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/csharp-mode 6289cfd 051/459: Fix broken byte-compile.
From: |
ELPA Syncer |
Subject: |
[elpa] externals/csharp-mode 6289cfd 051/459: Fix broken byte-compile. |
Date: |
Sun, 22 Aug 2021 13:58:54 -0400 (EDT) |
branch: externals/csharp-mode
commit 6289cfdb7030c22968cd1eca2ccdfc2ad46af55d
Author: Jostein Kjønigsen <jostein@kjonigsen.net>
Commit: Jostein Kjønigsen <jostein@kjonigsen.net>
Fix broken byte-compile.
Fixes https://github.com/josteink/csharp-mode/issues/19
---
.gitignore | 4 +---
csharp-mode.el | 56 +++++++++++++++++++++++++++++---------------------------
makefile | 3 +--
3 files changed, 31 insertions(+), 32 deletions(-)
diff --git a/.gitignore b/.gitignore
index 4922a7c..1dc8ce0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -40,6 +40,4 @@ tramp
*.elc
# Packaging
-.cask
-
-
+.tmp
diff --git a/csharp-mode.el b/csharp-mode.el
index 4a07468..dcb79e0 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -316,6 +316,7 @@
+
;; These are only required at compile time to get the sources for the
;; language constants. (The load of cc-fonts and the font-lock
;; related constants could additionally be put inside an
@@ -333,6 +334,34 @@
(load "cc-langs" nil t)))
(eval-and-compile
+ ;; ==================================================================
+ ;; constants used in this module
+ ;; ==================================================================
+
+ ;;(error (byte-compile-dest-file))
+ ;;(error (c-get-current-file))
+
+ (defconst csharp-aspnet-directive-re
+ "<%@.+?%>"
+ "Regex for matching directive blocks in ASP.NET files (.aspx, .ashx,
.ascx)")
+
+
+ (defconst csharp-enum-decl-re
+ (concat
+ "\\<enum[ \t\n\r\f\v]+"
+ "\\([[:alpha:]_][[:alnum:]_]*\\)"
+ "[ \t\n\r\f\v]*"
+ "\\(:[ \t\n\r\f\v]*"
+ "\\("
+ (c-make-keywords-re nil
+ (list "sbyte" "byte" "short" "ushort" "int" "uint"
"long" "ulong"))
+ "\\)"
+ "\\)?")
+ "Regex that captures an enum declaration in C#"
+ )
+
+ ;; ==================================================================
+
;; Make our mode known to the language constant system. Use Java
;; mode as the fallback for the constants we don't change here.
;; This needs to be done also at compile time since the language
@@ -347,33 +376,6 @@
-;; ==================================================================
-;; constants used in this module
-;; ==================================================================
-
-;;(error (byte-compile-dest-file))
-;;(error (c-get-current-file))
-
-(defconst csharp-aspnet-directive-re
- "<%@.+?%>"
- "Regex for matching directive blocks in ASP.NET files (.aspx, .ashx, .ascx)")
-
-
-(defconst csharp-enum-decl-re
- (concat
- "\\<enum[ \t\n\r\f\v]+"
- "\\([[:alpha:]_][[:alnum:]_]*\\)"
- "[ \t\n\r\f\v]*"
- "\\(:[ \t\n\r\f\v]*"
- "\\("
- (c-make-keywords-re nil
- (list "sbyte" "byte" "short" "ushort" "int" "uint" "long" "ulong"))
- "\\)"
- "\\)?")
- "Regex that captures an enum declaration in C#"
- )
-
-;; ==================================================================
diff --git a/makefile b/makefile
index 65d9f92..221962b 100644
--- a/makefile
+++ b/makefile
@@ -22,8 +22,7 @@ test:
%.elc: %.el
$(EMACS) -f batch-byte-compile $<
-#all: $(ELCS) test package
-all: test package
+all: $(ELCS) test package
clean:
rm -f ../$(PACKAGE_NAME).tar
- [elpa] externals/csharp-mode fff8cb1 053/459: Merge branch 'devel', (continued)
- [elpa] externals/csharp-mode fff8cb1 053/459: Merge branch 'devel', ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 689dd8b 056/459: make c# style the default style, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 421d3de 062/459: remove aspx code, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 962478e 057/459: Merge branch 'devel', ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 2d13a9c 058/459: Add very broad build-level test., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 723341b 067/459: Fix incorrect-code tags in readme., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode a86839b 064/459: Merged from master., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 0a2a3b0 066/459: Fix Emacs-lockup during fontification., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode f2fda33 041/459: Fix errors in `make package`., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode a6eb8bd 047/459: Merge changes from branch 'devel', ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 6289cfd 051/459: Fix broken byte-compile.,
ELPA Syncer <=
- [elpa] externals/csharp-mode 1f2fc21 055/459: Remove obsolete workarounds from README., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode d7ba765 063/459: Merge changes from devel., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode ed628e6 075/459: Attempt fix compilation-mode regexps for both xbuild & msbuild., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 3c2f942 087/459: Merge pull request #34 from binki/master, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 31eebb9 079/459: create separate compilation regexps for xbuild, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 42ca773 097/459: Fix runtime warnings about obsolete Emacs-functions., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 0779fe4 107/459: Update changelog., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 1f0465b 126/459: Fix comments, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 6efd459 127/459: Stylistic fixes, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 3b54997 130/459: Merge pull request #55 from josteink/derive-from-prog-mode, ELPA Syncer, 2021/08/22