blob: 0375220a883395b12b1e78a18a8903b4895f2674 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/**
** \file common.cc
** \brief Common definitions.
*/
#include <common.hh>
// Sole argument: the file to process.
const char* filename;
// The current state of and error.
misc::error& task_error()
{
static misc::error task_error_;
return task_error_;
}
// Counting the time spent in the various tasks.
misc::timer task_timer;
|