Re: examples/c/bistromathic/bistromathic.test fails: bistromathic: FAIL: 14: err: 1.4: syntax error: expected - or ( or number or function or variable before end of file

Akim Demaille <[email protected]>
Newsgroups gmane.comp.parsers.bison.bugs
Message-ID <[email protected]>
Thomas,

> Le 5 sept. 2020 à 20:37, Thomas Deutschmann <[email protected]> a écrit :
> 
> Hi,
> 
> I am getting the following test failure with bison-3.7.2:
> 
>> bistromathic: FAIL: 14
>> bistromathic: input:
>>  (1+		
>> bistromathic: expected output:
>>> (1+
>>  (       -       atan    cos     exp     ln      number  sin     sqrt
>>> (1+
>>> 
>>  err: 1.4: syntax error: expected - or ( or number or function or variable before end of file
>>  err:     1 | (1+
>>  err:       |    ^
>> bistromathic: effective output:
>>> (1+
>>  (       -       atan    cos     exp     ln      number  sin     sqrt    
>>> (1+
>>> 
>>  err: 1.4: syntax error: expected - or ( or number or function or variable before end of file
>>  err:     1 | (1+
>>  err:       |    ^
>> bistromathic: diff:
>>  --- exp	2020-09-05 20:06:15.564480353 +0200
>>  +++ eff	2020-09-05 20:06:15.571147113 +0200
>>  @@ -1,5 +1,5 @@
>>> (1+
>>  -(       -       atan    cos     exp     ln      number  sin     sqrt
>>  +(       -       atan    cos     exp     ln      number  sin     sqrt    
>>> (1+
>>> 
>>   err: 1.4: syntax error: expected - or ( or number or function or variable before end of file
> 
> It's not new. 3.6.4 is also failing the same.

It looks very much that a readline portability issue.  But the diff
is not readable in the message.  Could you please send
examples/c/bistromathic/bistromathic.log as an attachment?
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.