(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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue