Subject: parse-partial-sexp fails to signal an error when (> START LIMIT).

From: Alan Mackenzie <[email-masked]>
Date: Sun, 8 Aug 2021 18:01:32 +0000

Hello, Emacs.

Emacs-28, emacs started with site-start.el and .emacs.

On calling

    (parse-partial-sexp 19 18 nil nil s)

Emacs surely ought to signal an error, since 18 < 19.  It doesn't,
though.  It leaves point at a random position and returns

    (0 nil nil nil nil nil 0 nil nil nil nil)

This is a bug.

-- 
Alan Mackenzie (Nuremberg, Germany).