aboutsummaryrefslogtreecommitdiff
path: root/boot/driver.cc
diff options
context:
space:
mode:
Diffstat (limited to 'boot/driver.cc')
-rw-r--r--boot/driver.cc10
1 files changed, 2 insertions, 8 deletions
diff --git a/boot/driver.cc b/boot/driver.cc
index abbf0f1..b2ffe60 100644
--- a/boot/driver.cc
+++ b/boot/driver.cc
@@ -28,9 +28,8 @@ namespace elna::boot
return result;
}
- syntax_error::syntax_error(const std::string& message,
- const char *input_file, const yy::location& location)
- : error(input_file, make_position(location)), message(message)
+ syntax_error::syntax_error(const std::string& message, const yy::location& location)
+ : error(make_position(location)), message(message)
{
}
@@ -39,11 +38,6 @@ namespace elna::boot
return message;
}
- driver::driver(const char *input_file)
- : error_container(input_file)
- {
- }
-
char escape_char(char escape)
{
switch (escape)