简体   繁体   English

仅适用于c99的ctags

[英]ctags for c99 only

I've been looking through ctags man pages but I haven't found anything that will tell ctags to only record prototypes for c99 header files . 我一直在浏览ctags手册页,但没有发现任何东西可以告诉ctags只记录c99 header files原型。

Essentially, I have header files for both C and C++ files, but I only want those that correspond to c99 files (ie: no class stuff) to be outputted. 本质上,我有CC ++文件的头文件,但我只希望输出与c99文件相对应的文件(即:没有class东西)。

ctags具有--language ,可以强制它将文件解释为特定类型。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM