mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
(parse-time-string-chars): Check if CHAR is less than the length of
parse-time-syntax.
This commit is contained in:
parent
fc6a22502e
commit
7486204449
@ -66,7 +66,8 @@
|
||||
(aref parse-time-digits char))
|
||||
|
||||
(defsubst parse-time-string-chars (char)
|
||||
(aref parse-time-syntax char))
|
||||
(and (< char (length parse-time-syntax))
|
||||
(aref parse-time-syntax char)))
|
||||
|
||||
(put 'parse-error 'error-conditions '(parse-error error))
|
||||
(put 'parse-error 'error-message "Parsing error")
|
||||
|
Loading…
Reference in New Issue
Block a user