Fix exclude functions in comment zones of function list

Fix exclude functions in comment zones in C++, PHP, JavaScript and Pascal.

Fix #12759 (partially - issue 1 & issue 2), close #12799
This commit is contained in:
mpheath 2023-01-13 18:05:54 +10:00 committed by Don Ho
parent 1652236f32
commit 7fad2a62d4

View File

@ -735,7 +735,7 @@ void FunctionMixParser::parse(std::vector<foundInfo> & foundInfos, size_t begin,
{ {
for (size_t i = 0, len = nonScannedZones.size(); i < len; ++i) for (size_t i = 0, len = nonScannedZones.size(); i < len; ++i)
{ {
_funcUnitPaser->funcParse(foundInfos, nonScannedZones[i].first, nonScannedZones[i].second, ppEditView, classStructName); _funcUnitPaser->funcParse(foundInfos, nonScannedZones[i].first, nonScannedZones[i].second, ppEditView, classStructName, &commentZones);
} }
} }
} }