mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-09 17:25:38 +02:00
Last minute demo fix from Bogdan.
This commit is contained in:
parent
7c5787894d
commit
1be03f5cfc
2 changed files with 5 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
||||||
2003-07-25 Bogdan Gheorghe
|
2003-07-25 Bogdan Gheorghe
|
||||||
- Added refs to PathCollector
|
- Added refs to PathCollector
|
||||||
- Filled in feedIndexRequestor for the new search patterns
|
- Filled in feedIndexRequestor for the new search patterns
|
||||||
|
- Fixed the FunctionDeclarationPattern to work with no parms
|
||||||
|
|
||||||
2003-07-24 Andrew Niefer
|
2003-07-24 Andrew Niefer
|
||||||
- Implemented decodeIndexEntry & matchIndexEntry for all patterns
|
- Implemented decodeIndexEntry & matchIndexEntry for all patterns
|
||||||
|
|
|
@ -67,10 +67,12 @@ public class FunctionDeclarationPattern extends CSearchPattern {
|
||||||
return IMPOSSIBLE_MATCH;
|
return IMPOSSIBLE_MATCH;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( parameterNames != null && parameterNames.length > 0 ){
|
if( parameterNames != null &&
|
||||||
|
parameterNames.length > 0 &&
|
||||||
|
parameterNames[0].length > 0
|
||||||
|
){
|
||||||
Iterator params = function.getParameters();
|
Iterator params = function.getParameters();
|
||||||
|
|
||||||
|
|
||||||
for( int i = 0; i < parameterNames.length; i++ ){
|
for( int i = 0; i < parameterNames.length; i++ ){
|
||||||
|
|
||||||
//if this function doesn't have this many parameters, it is not a match.
|
//if this function doesn't have this many parameters, it is not a match.
|
||||||
|
|
Loading…
Add table
Reference in a new issue