Digging around bug #14245 I found that commit 6734a1cacd missed that NOT operation is right associative in opposite to all other. This miss is resposible for tsquery parser fail on sequence of NOT operations
6734a1cacd