aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/error.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/error.hh')
-rw-r--r--src/libutil/error.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libutil/error.hh b/src/libutil/error.hh
index 0419a1b52..63778ebda 100644
--- a/src/libutil/error.hh
+++ b/src/libutil/error.hh
@@ -22,16 +22,16 @@ typedef enum {
struct ErrPos
{
- int lineNumber;
+ int line;
int column;
- string nixFile;
+ string file;
template <class P>
ErrPos& operator=(const P &pos)
{
- lineNumber = pos.line;
+ line = pos.line;
column = pos.column;
- nixFile = pos.file;
+ file = pos.file;
return *this;
}