Function: xsdre-make-range
xsdre-make-range is a byte-compiled function defined in
xsd-regexp.el.gz.
Signature
(xsdre-make-range FIRST LAST)
Documentation
Return a representation of a range of integers.
If the range contains a single integer, it is represented by that integer. Otherwise, it is represented by a (FIRST . LAST) pair.
Source Code
;; Defined in /usr/src/emacs/lisp/nxml/xsd-regexp.el.gz
;;; Range lists
(defsubst xsdre-make-range (first last)
"Return a representation of a range of integers.
If the range contains a single integer, it is represented by that integer.
Otherwise, it is represented by a (FIRST . LAST) pair."
(if (= first last)
first
(cons first last)))