[Geany-devel] tagmanager changes

Matthew Brush mbrush at xxxxx
Tue May 8 07:39:07 UTC 2012


On 12-05-07 08:32 PM, Lex Trotman wrote:
> On 8 May 2012 13:27, Matthew Brush<mbrush at codebrainz.ca>  wrote:
>> On 12-05-07 05:03 PM, Lex Trotman wrote:
>>>
>>> On 8 May 2012 02:04, Nick Treleaven<nick.treleaven at btinternet.com>    wrote:
>>>>
>>>> On 02/05/2012 05:46, Lex Trotman wrote:
>>
>>
>>>>> 4. Ctags parsers
>>>>>
>>>>> Agree with Nick that the parsers are usable, but if we start modifying
>>>>> them to handle local declarations then they will be totally
>>>>> incompatible with the Ctags project so I guess it doesn't matter other
>>>>> than for getting languages we don't currently parse.
>>>>
>>>>
>>>>
>>>> ctags c.c already parses local tags
>>>
>>>
>>> No it doesn't AFAICT:
>>>
>>
>> I'm guessing he's referring to the "upstream" CTags c.c, which does have a
>> "l" kind for "local variables" (off by default). See `ctags --list-kinds=C`.
>> I'm not sure if the Geany fork has this, was forked before it was added, or
>> if the guy that wrote TM took it out.
>
>
> Ok, I havn't looked at Ctags c.c because IIUC from other comments it
> isn't really mergable with our c.c.
>
> Does upstream c.c use tagmanager, and if so how does it structure
> scopes?  (A good exercise for your compiler :)
>

1) no
1a) I never could understand CTags scopes, something like a 2-byte 
value, maybe an index into some array?

Cheers,
Matthew Brush
		




More information about the Devel mailing list