Skip to content

--languages='C' somehow disables +p ? #4290

@mulle-nat

Description

@mulle-nat

This is easy to reproduce. As soon as I pedantically add --languages='C' the prototype is no longer found:

$ echo "int foo( void);" > a.h
$ ls -1 a.h | ctags -L - --kinds-C='f+p' --output-format=xref
foo              prototype     1 a.h              int foo( void);
$ ls -1 a.h | ctags -L - --languages='C' --kinds-C='f+p' --output-format=xref

Universal Ctags 5.9.0, Copyright (C) 2015 Universal Ctags Team
Universal Ctags is derived from Exuberant Ctags.
Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert
Compiled: Sep 3 2021, 18:12:18
URL: https://ctags.io/
Optional compiled features: +wildcards, +regex, +gnulib_regex, +iconv, +option-directory, +xpath, +json, +interactive, +sandbox, +yaml, +packcc, +optscript

Linux peschel 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions