mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-09 09:15: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
|
||||
- Added refs to PathCollector
|
||||
- Filled in feedIndexRequestor for the new search patterns
|
||||
- Fixed the FunctionDeclarationPattern to work with no parms
|
||||
|
||||
2003-07-24 Andrew Niefer
|
||||
- Implemented decodeIndexEntry & matchIndexEntry for all patterns
|
||||
|
|
|
@ -67,10 +67,12 @@ public class FunctionDeclarationPattern extends CSearchPattern {
|
|||
return IMPOSSIBLE_MATCH;
|
||||
}
|
||||
|
||||
if( parameterNames != null && parameterNames.length > 0 ){
|
||||
if( parameterNames != null &&
|
||||
parameterNames.length > 0 &&
|
||||
parameterNames[0].length > 0
|
||||
){
|
||||
Iterator params = function.getParameters();
|
||||
|
||||
|
||||
for( int i = 0; i < parameterNames.length; i++ ){
|
||||
|
||||
//if this function doesn't have this many parameters, it is not a match.
|
||||
|
|
Loading…
Add table
Reference in a new issue