Subject: 26.0.50; Regression: parse-partial-sexp and syntax-ppss wrongly signal in-list

From: Andreas Röhler <[email-masked]>
Date: Tue, 29 Nov 2016 19:04:01 +0100

In GNU Emacs 26.0.50.1 (i686-pc-linux-gnu, GTK+ Version 3.14.5) of 
2016-11-15

With buffer in haskell-mode

{- To explore this file:-}

After comment

(insert (format "%S" (syntax-ppss))) (1 1 30 nil nil nil 0 nil nil (1) nil)

after another comment

-- asdf

later in buffer

(parse-partial-sexp (point-min) (point))
==>
(1 1 39 nil nil nil 0 nil nil (1) nil)

Wrong display of nesting

Does not happen with GNU Emacs 25.1.90.1 (i686-pc-linux-gnu, GTK+ 
Version 3.14.5) of 2016-11-29