bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Semantic predicates require space?


From: Akim Demaille
Subject: Re: Semantic predicates require space?
Date: Thu, 30 May 2013 14:17:50 +0200

Hi Paul,

I would like to release Bison soon, yet we do not have a single
test about %?.  Do you have something somewhere?

Thanks!


Le 23 avr. 2013 à 10:29, Akim Demaille <address@hidden> a écrit :

> 
> Le 5 mars 2013 à 09:10, Akim Demaille <address@hidden> a écrit :
> 
>> Le 5 mars 2013 à 05:53, Paul Hilfinger <address@hidden> a écrit :
>> 
>>> Akim,
>>> 
>>> In commit 68ac70bc7bf365fa17bd6d7ea597fa0a05488b8d, in scan-gram.l, I
>>> see this change:
>>> 
>>> -  {directive} {
>>> +  "%"{id}|"%"{notletter}([[:graph:]])+ {
>>>   complain_at (*loc, _("invalid directive: %s"), quote (yytext));
>>> }
>>> 
>>> This has the effect that one must write semantic expressions as
>>> 
>>>   %? { expression }
>>> 
>>> rather than
>>> 
>>>   %?{ expression }
>>> 
>>> Was this intentional?
>> 
>> hi Paul,
>> 
>> Sorry, no, that was not expected.  I guess I did not see %?,
>> which is farther in the file.
> 
> Hi Paul,
> 
> I was about to work on this, but then I realized there is not
> a single test for %?, unless I missed something.  Given that the
> feature is advertised for the next release, I feel uncomfortable.
> Do you have test cases that you could add to the test suite?
> Thanks in advance!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]