core/core.hpp is not parse-able by ctags (Feature #2838)


Added by Luis Díaz Más about 12 years ago. Updated over 9 years ago.


Status:Open Start date:2013-02-26
Priority:Low Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:core
Target version:Next Hackathon
Difficulty: Pull request:

Description

I use to use ctags for creating tags of OpenCV and make my VIM editor able to auto-complete my opencv code. I just noticed that ctags can't parse some of the main classes and structures of OpenCV version 2.4.3 (like the omnipresent cv::Mat). In version 2.4.2 ctags just works fine. I don't know if it is a problem about the OpenCV code or the ctags program

I attach the two ctags files generated by ctags with each of the commented versions.

I also note that ctags in verbose mode prints a failure message at some point of core/core.hpp file in 2.4.3 opencv version, but the description of the message doesn't give me any clue about the problem. The message is:

$PATH_OpenCV/modules/core/include/opencv2/core/core.hpp: failed to find match for '<' at line 4739

After running this command with ctags

ctags -V --totals=yes --language-force=C++ -o tags-opencv243 -R -B -I CVAPI -I CV_EXPORTS -I CV_EXPORTS_W -I CV_IN_OUT -I CV_WRAP --c++-kinds=+p --fields=+iaS --extra=+q $PATH_OpenCV/modules/core/include/opencv2/core/core.hpp


tags-opencv242 - ctags file for OpenCV 2.4.2 (746 kB) Luis Díaz Más, 2013-02-26 08:38 pm

tags-opencv243 - ctags file for OpenCV 2.4.3 (57.8 kB) Luis Díaz Más, 2013-02-26 08:38 pm


Associated revisions

Revision 8681b52d
Added by Alexander Alekhin almost 11 years ago

Merge pull request #2838 from ilya-lavrenov:tapi_warnings

History

Updated by Andrey Kamaev almost 12 years ago

  • Target version changed from 2.4.5 to Next Hackathon

Updated by Maksim Shabunin over 9 years ago

Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4516

Also available in: Atom PDF