diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2020-02-19 22:08:22 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2020-02-20 15:52:23 +0100 |
commit | d950a61fc8d14faf71e3b546c59a72b6f711b5df (patch) | |
tree | b3b3bfd13164be48396a674a97a47bfc498211dd /lisp/progmodes/ebnf-yac.el | |
parent | 17691ad2d31251ae7f6a123b65bd2ac2a1a8cc93 (diff) | |
download | emacs-d950a61fc8d14faf71e3b546c59a72b6f711b5df.tar.gz |
Remove Emacs 20 bug workaround in ebnf2ps (bug#39663)
* lisp/progmodes/ebnf2ps.el (ebnf-range-regexp): Remove. All calls
replaced with a string equivalent to the returned value.
Diffstat (limited to 'lisp/progmodes/ebnf-yac.el')
-rw-r--r-- | lisp/progmodes/ebnf-yac.el | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/progmodes/ebnf-yac.el b/lisp/progmodes/ebnf-yac.el index f5d633e8460..a657c637f82 100644 --- a/lisp/progmodes/ebnf-yac.el +++ b/lisp/progmodes/ebnf-yac.el @@ -397,9 +397,8 @@ See documentation for variable `ebnf-yac-lex'." (< (point) ebnf-limit)) -;; replace the range "\177-\377" (see `ebnf-range-regexp'). (defconst ebnf-yac-skip-chars - (ebnf-range-regexp "^{}/'\"\000-\010\013\016-\037" ?\177 ?\377)) + "^{}/'\"\000-\010\013\016-\037\177\u0080-\u009f") (defun ebnf-yac-skip-code () @@ -442,9 +441,8 @@ See documentation for variable `ebnf-yac-lex'." )) -;; replace the range "\177-\237" (see `ebnf-range-regexp'). (defconst ebnf-yac-comment-chars - (ebnf-range-regexp "^*\000-\010\013\016-\037" ?\177 ?\237)) + "^*\000-\010\013\016-\037\177\u0080-\u009f") (defun ebnf-yac-skip-comment () |