* lisp/json.el (json-read-keyword): Revert previous change to catch EOL.
This commit is contained in:
@@ -305,7 +305,7 @@ KEYWORD is the keyword expected."
|
||||
(json-advance))
|
||||
keyword)
|
||||
(json-skip-whitespace)
|
||||
(unless (memq (following-char) '(?\] ?, ?}))
|
||||
(unless (looking-at "\\([],}]\\|$\\)")
|
||||
(signal 'json-unknown-keyword
|
||||
(list (save-excursion
|
||||
(backward-word-strictly 1)
|
||||
|
||||
Reference in New Issue
Block a user