Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++,ObjectiveC,C,main: fix the broken selector for .h #3622

Merged
merged 2 commits into from
Jan 9, 2023

Commits on Jan 9, 2023

  1. main,style: update indent style

    Signed-off-by: Masatake YAMATO <yamato@redhat.com>
    masatake committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    4a5aae6 View commit details
    Browse the repository at this point in the history
  2. main,C,C++: don't assume C++ as the candidate language in selectByObj…

    …ectiveCKeywords() selector
    
    Though "--map-C++=-.h --map-C=+.h" was passed to ctags, ctags run C++
    parser for .h files because the parser selector,
    selectByObjectiveCKeywords() didn't assume C parser. It assumed only
    ObjectiveC and C++ parsers.
    
    This change removes the assumption about C++ in the parser selection.
    
    Signed-off-by: Masatake YAMATO <yamato@redhat.com>
    masatake committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    714bf11 View commit details
    Browse the repository at this point in the history