Changeset 4511


Ignore:
Timestamp:
2003-06-09T11:47:36+12:00 (21 years ago)
Author:
jmt12
Message:

2030109: FormatManager will now try to parse more lines from the collect.cfg if it doesn't have enough arguments (3) for a format command.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/cdm/FormatManager.java

    r4366 r4511  
    287287        }
    288288        else {
     289        // Ensure we have enough tokens for a format command
     290        CommandTokenizer ct = new CommandTokenizer(command);
     291        while(ct.countTokens() < 3) {
     292            command = manager.parseMore(command);
     293            ct = new CommandTokenizer(command);
     294        }
    289295        unresolved_commands.add(command);
    290296        }
Note: See TracChangeset for help on using the changeset viewer.