automake-ng
[Top][All Lists]
Advanced

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

Re: [Automake-NG] [FYI] [ng] tests: avoid spurious error with ctags from


From: Stefano Lattarini
Subject: Re: [Automake-NG] [FYI] [ng] tests: avoid spurious error with ctags from older Emacs and XEmacs
Date: Sun, 16 Sep 2012 09:52:48 +0200

On 09/03/2012 12:07 PM, Akim Demaille wrote:
> 
> Le 12 août 2012 à 00:06, Stefano Lattarini a écrit :
> 
>> diff --git a/t/ctags.sh b/t/ctags.sh
>> index f3f8a6a..bbbb22d 100755
>> --- a/t/ctags.sh
>> +++ b/t/ctags.sh
>> @@ -44,7 +44,7 @@ test-ctags: ctags
>>      grep 'main' sub1/tags
>>      grep 'choke_me' sub1/tags && exit 1; :
>>      grep 'subsub/foo\.h' sub2/tags
>> -    grep 'DUMMY_DUMMY' sub2/tags
>> +    grep 'IsBigger' sub2/tags
>>      grep 'bar\.f77' sub2/subsub/tags
>>      grep 'foo\.cxx' sub2/subsub/tags
>>      grep 'foo\.h' sub2/subsub/tags && exit 1; :
>> @@ -71,7 +71,9 @@ cat > sub2/Makefile.am << 'END'
>> SUBDIRS = subsub .
>> noinst_HEADERS = subsub/foo.h
>> subsub/foo.h:
>> -    echo '#define DUMMY_DUMMY 0' >$@
>> +    # Use and inlined function, not a #define, for the sake of
> 
> s/and/an/
> 
>> +    # Emacs an XEmacs ctags (at least up to versions 22 and 23).
> 
> and conversely :)
> 
>> +    echo 'inline int IsBigger (int a, int b) { return (a > b); }' >$@
>> CLEANFILES = $(noinst_HEADERS)
>> END
>>
>> -- 
>> 1.7.12.rc0
>>
>>
> 
Fixed, thanks.

Regards,
  Stefano



reply via email to

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