Browse Source

Fixes Source->Find Documentation for g++ headers

merge-requests/365/head
eidheim 8 years ago
parent
commit
dc552feeb0
  1. 2
      src/source_clang.cc

2
src/source_clang.cc

@ -1517,7 +1517,7 @@ Source::ClangViewRefactor::ClangViewRefactor(const boost::filesystem::path &file
auto it=data.end(); auto it=data.end();
do { do {
auto token_spelling=cursor.get_token_spelling(); auto token_spelling=cursor.get_token_spelling();
if(!token_spelling.empty() && token_spelling!="__1") { if(!token_spelling.empty() && token_spelling!="__1" && token_spelling.compare(0, 5, "__cxx")!=0) {
it=data.emplace(it, token_spelling); it=data.emplace(it, token_spelling);
if(symbol.empty()) if(symbol.empty())
symbol=token_spelling; symbol=token_spelling;

Loading…
Cancel
Save