- some reformatting on exit code, mainly to make searching for the content easier.
This commit is contained in:
parent
f3219ca979
commit
86ab366958
25 changed files with 55 additions and 50 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue