aboutsummaryrefslogtreecommitdiff
path: root/boot/driver.cc
diff options
context:
space:
mode:
Diffstat (limited to 'boot/driver.cc')
-rw-r--r--boot/driver.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/driver.cc b/boot/driver.cc
index 24a11fa..3607995 100644
--- a/boot/driver.cc
+++ b/boot/driver.cc
@@ -30,7 +30,7 @@ namespace elna::boot
}
syntax_error::syntax_error(const std::string& message, const yy::location& location)
- : error(make_position(location)), message(message)
+ : diagnostic(make_position(location)), message(message)
{
}