- some reformatting on exit code, mainly to make searching for the content easier.

This commit is contained in:
Christoph Oelckers 2019-10-01 19:06:28 +02:00
commit 86ab366958
25 changed files with 55 additions and 50 deletions

View file

@ -131,14 +131,14 @@ void Skeleton::emit_data (const char * fname)
if (!input)
{
error ("cannot open file: %s", input_name.c_str ());
exit (1);
exit(1);
}
const std::string keys_name = std::string (fname) + "." + name + ".keys";
FILE * keys = fopen (keys_name.c_str (), "wb");
if (!keys)
{
error ("cannot open file: %s", keys_name.c_str ());
exit (1);
exit(1);
}
generate_paths (input, keys);

View file

@ -116,7 +116,7 @@ Skeleton::Skeleton
if (maxlen == Node::DIST_MAX)
{
error ("DFA path %sis too long", incond (cond).c_str ());
exit (1);
exit(1);
}
// calculate maximal rule rank (disregarding default and none rules)