summaryrefslogtreecommitdiff
path: root/lisp/progmodes/ebnf-ebx.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/ebnf-ebx.el')
-rw-r--r--lisp/progmodes/ebnf-ebx.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/ebnf-ebx.el b/lisp/progmodes/ebnf-ebx.el
index 25500f16186..dc1a60f3741 100644
--- a/lisp/progmodes/ebnf-ebx.el
+++ b/lisp/progmodes/ebnf-ebx.el
@@ -658,7 +658,7 @@ See documentation for variable `ebnf-ebx-lex'."
(or no-error
(error "Invalid hexadecimal character"))
(forward-char)
- (or (> (skip-chars-forward "0-9A-Fa-f" ebnf-limit) 0)
+ (or (> (skip-chars-forward "[:xdigit:]" ebnf-limit) 0)
(error "Invalid hexadecimal character"))))