Switch to unified view

a/src/rcldb/synfamily.cpp b/src/rcldb/synfamily.cpp
...
...
141
    LOGERR(("XapSynFamily::addSynonyms: xapian error %s\n", ermsg.c_str()));
141
    LOGERR(("XapSynFamily::addSynonyms: xapian error %s\n", ermsg.c_str()));
142
    return false;
142
    return false;
143
    }
143
    }
144
    return true;
144
    return true;
145
}
145
}
146
146
147
147
}
148
}
148
149
149
#else  // TEST_SYNFAMILY 
150
#else  // TEST_SYNFAMILY 
150
#include "autoconfig.h"
151
#include "autoconfig.h"
...
...
230
    if (argc != 0)
231
    if (argc != 0)
231
    Usage();
232
    Usage();
232
233
233
    // We do stem only for now
234
    // We do stem only for now
234
    string familyname;
235
    string familyname;
235
    if (op_flags & (OPT_a|OPT_c)) {
236
    if (op_flags & OPT_a) {
236
  cerr << "Accents and case not ready" << endl;
237
  familyname = Rcl::synFamDiac;
237
  return 1;
238
    } else if (op_flags &OPT_c) {
239
  familyname = Rcl::synFamCase;
238
    } else {
240
    } else {
239
  op_flags |= OPT_s;
240
    familyname = Rcl::synFamStem;
241
    familyname = Rcl::synFamStem;
241
    }
242
    }
242
    if ((op_flags & (OPT_l|OPT_L|OPT_D|OPT_e)) == 0)
243
    if ((op_flags & (OPT_l|OPT_L|OPT_D|OPT_e)) == 0)
243
    Usage();
244
    Usage();
244
245