Le 5 mars 2013 à 09:10, Akim Demaille <[email protected]> a écrit :

> Le 5 mars 2013 à 05:53, Paul Hilfinger <[email protected]> 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