Weird parsing error in Pike 8.1

"Stephen R. van den Berg" <[email protected]>
Newsgroups gmane.comp.lang.pike.user
Message-ID <[email protected]>
Could someone take a look at the difference between these two
commits, and then fix the parsing problem in Pike?
My first attempt at reducing the problem to something which
could be stuck into the testsuite failed, so I'm presenting it as is:

commit 907a7ab712f8eae22af910b2eb5c5d4e869502fa
Author: Stephen R. van den Berg <[email protected]>
Date:   Thu Nov 20 02:39:04 2014 +0100

    This kludges around a parser bug in Pike 8.1.
    
    It's a bit difficult to create an isolated testcase out of this.
    Somebody please look into this.
    
    Without this patch, the following test results in the error below:
    
    > object b=Sql.pgsql("");
    /usr/local/pike/8.1.0/lib/modules/Sql.pmod/pgsql.pike:696:switch(): Conditional expression is void.

commit c7de868af7d978b1ca9dddecbbab7c6357e9e7dc

-- 
Stephen.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.