[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/bnf-mode 387b4c3 46/74: Minor code cleanup, improved te
From: |
Stefan Monnier |
Subject: |
[elpa] externals/bnf-mode 387b4c3 46/74: Minor code cleanup, improved tests report |
Date: |
Thu, 9 May 2019 08:27:50 -0400 (EDT) |
branch: externals/bnf-mode
commit 387b4c33f34c444549246c21c4da39844f39cb73
Author: Serghei Iakovlev <address@hidden>
Commit: Serghei Iakovlev <address@hidden>
Minor code cleanup, improved tests report
---
.travis.yml | 2 +-
Makefile | 2 +-
bnf-mode.el | 17 +++++++----------
3 files changed, 9 insertions(+), 12 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index eb8b1f0..623e8a8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -73,7 +73,7 @@ script:
- make init
# The 'checkdoc-file' present on Emacs >= 25.1
- '[[ "$EMACS_MAJOR_VERSION" = "24" ]] || make checkdoc'
- - TESTFLAGS="--reporter ert+duration" make test
+ - make test
notifications:
email: false
diff --git a/Makefile b/Makefile
index 5bba2c5..6ff1a65 100644
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,7 @@ CASK = cask
PANDOC ?= pandoc
EMACSFLAGS ?=
-TESTFLAGS ?=
+TESTFLAGS ?= --reporter ert+duration
PANDOCLAGS ?= --fail-if-warnings \
--reference-links \
--atx-headers
diff --git a/bnf-mode.el b/bnf-mode.el
index d70f503..89e4b17 100644
--- a/bnf-mode.el
+++ b/bnf-mode.el
@@ -89,16 +89,14 @@
(eval-when-compile
(defconst bnf-rx-constituents
- `(
- (bnf-rule-name . ,(rx
- (and
- (1+ (or alnum digit))
- (0+ (or alnum digit
- (in "!\"\#$%&'()*+,\-./:;address@hidden|}~")
- (in " \t"))))))
+ `((bnf-rule-name . ,(rx (and
+ (1+ (or alnum digit))
+ (0+ (or alnum digit
+ (in
"!\"\#$%&'()*+,\-./:;address@hidden|}~")
+ (in " \t"))))))
"Additional special sexps for `bnf-rx'."))
- (defmacro bnf-rx (&rest sexps)
+ (cl-defmacro bnf-rx (&rest sexps)
"BNF-specific replacement for `rx'.
In addition to the standard forms of `rx', the following forms
@@ -209,8 +207,7 @@ See `rx' documentation for more information about REGEXPS
param."
;; all refer to the same rule. As far as is known, this doesn't
;; conflict with original BNF version
;; (see URL `https://tools.ietf.org/html/rfc5234')
- t
- )))
+ t)))
;; Invoke bnf-mode when appropriate
- [elpa] externals/bnf-mode ebd9b83 51/74: Added ability to generate info, (continued)
- [elpa] externals/bnf-mode ebd9b83 51/74: Added ability to generate info, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 7a4a1b0 55/74: Build package on Travis CI, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode f00edff 56/74: Prepare deploy on Travis CI, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 1105934 59/74: Cleaned up Travis CI config, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 548c33b 58/74: Bump version, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode aed186d 54/74: Provided ability to build installation package., Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 119d792 72/74: Added Emacs 26.2 to Travis CI build matrix, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode a4ca649 74/74: Remove wrongly used (and documented) syntax-propertize-function call, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode a9d6cc3 60/74: Merge pull request #3 from sergeyklay/feature/build-pkg, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 13de9e1 06/74: Updated project description, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 387b4c3 46/74: Minor code cleanup, improved tests report,
Stefan Monnier <=
- [elpa] externals/bnf-mode d5729af 71/74: Fixed dependencies in Cask file, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode b02bebd 70/74: The byte-compiler reports warnings with "error", Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 00aac58 62/74: Change CI deploy credits, bump version, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 5a483ed 64/74: Introduce ALGOL 60 comments style, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 592c7d4 68/74: Minor improvements in change log, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 460c298 02/74: Added README file and LICENSE, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 1dda3ef 40/74: Provide ability to make plain text README, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 333b6a2 43/74: Require jka-compr at test stage to prevent recursive load, Stefan Monnier, 2019/05/09
- [elpa] externals/bnf-mode 8caeb0b 67/74: Merge pull request #4 from sergeyklay/ortodox-comment-style, Stefan Monnier, 2019/05/09