Changeset 1284 for branches/0.9-stable


Ignore:
Timestamp:
Nov 7, 2010, 2:37:18 PM (11 years ago)
Author:
Peter Johansson
Message:

fixes #486

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.9-stable/lib/Configuration.cc

    r1243 r1284  
    716716       << "### Right hand side may contain \"$i\", which will be replaced \n"
    717717       << "### with the ith wild card in lhs string.\n";
    718 
    719     if (!conf.dictionary_.empty()) {
    720       os << "\n"
    721          << "### Section for setting dictionary for file names.\n"
    722          << "### Prior looking for file name pattern in section "
    723          << "[parsing-codons],\n"
    724          << "### the file name may be translated according to the rules \n"
    725          << "### in this section. In default setting there is, for example,\n"
    726          << "### a rule to translate `<FILENAME>.in' to `<FILENAME>'.\n"
    727          << "### The format of the entries is:\n"
    728          << "###    file-name-pattern = new-name\n"
    729          << "### Left hand side may contain wildcards (such as '*' and '?').\n"
    730          << "### Right hand side may contain \"$i\", which will be replaced \n"
    731          << "### with the ith wild card in lhs string.\n"
    732          << "[file-name-dictionary]\n";
    733       for (size_t i=0; i<conf.dictionary_.size(); ++i)
    734         os << conf.dictionary_[i].first << " = "
    735            << conf.dictionary_[i].second << "\n";
    736     }
     718    os << "[file-name-dictionary]\n";
     719    for (size_t i=0; i<conf.dictionary_.size(); ++i)
     720      os << conf.dictionary_[i].first << " = "
     721         << conf.dictionary_[i].second << "\n";
     722
    737723    if (!conf.string2codons_.empty()) {
    738724      os << "\n"
Note: See TracChangeset for help on using the changeset viewer.