diff options
Diffstat (limited to 'lisp/progmodes/ebnf-bnf.el')
-rw-r--r-- | lisp/progmodes/ebnf-bnf.el | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/progmodes/ebnf-bnf.el b/lisp/progmodes/ebnf-bnf.el index 583740d3617..4e11862c1dc 100644 --- a/lisp/progmodes/ebnf-bnf.el +++ b/lisp/progmodes/ebnf-bnf.el @@ -419,9 +419,8 @@ (aset ebnf-bnf-token-table ebnf-lex-eop-char 'period))) -;; replace the range "\240-\377" (see `ebnf-range-regexp'). (defconst ebnf-bnf-non-terminal-chars - (ebnf-range-regexp "!#%&'*-,0-:<>@-Z\\\\^-z~" ?\240 ?\377)) + "!#%&'*-,0-:<>@-Z\\\\^-z~\u00a0-\u00ff") (defun ebnf-bnf-lex () @@ -520,9 +519,8 @@ See documentation for variable `ebnf-bnf-lex'." )))) -;; replace the range "\177-\237" (see `ebnf-range-regexp'). (defconst ebnf-bnf-comment-chars - (ebnf-range-regexp "^\n\000-\010\016-\037" ?\177 ?\237)) + "^\n\000-\010\016-\037\177\u0080-\u009f") (defun ebnf-bnf-skip-comment () |