Function: ebnf-ebx-hex-character

ebnf-ebx-hex-character is a byte-compiled function defined in ebnf-ebx.el.gz.

Signature

(ebnf-ebx-hex-character &optional NO-ERROR)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/ebnf-ebx.el.gz
(defun ebnf-ebx-hex-character (&optional no-error)
  ;; #x [0-9A-Fa-f]+
  (forward-char)
  (if (/= (following-char) ?x)
      (or no-error
	  (error "Invalid hexadecimal character"))
    (forward-char)
    (or (> (skip-chars-forward "[:xdigit:]" ebnf-limit) 0)
	(error "Invalid hexadecimal character"))))