aboutsummaryrefslogtreecommitdiff
path: root/boot/driver.cc
diff options
context:
space:
mode:
Diffstat (limited to 'boot/driver.cc')
-rw-r--r--boot/driver.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/boot/driver.cc b/boot/driver.cc
index b51da32..8dc95f8 100644
--- a/boot/driver.cc
+++ b/boot/driver.cc
@@ -19,14 +19,14 @@ along with GCC; see the file COPYING3. If not see
namespace elna::boot
{
- position make_position(const yy::location& location)
+ source_position make_position(const yy::location& location)
{
auto start_location = boot::location(static_cast<std::size_t>(location.begin.line),
static_cast<std::size_t>(location.begin.column));
auto end_location = boot::location(static_cast<std::size_t>(location.end.line),
static_cast<std::size_t>(location.end.column));
- return position(start_location, end_location);
+ return source_position(start_location, end_location);
}
syntax_error::syntax_error(const std::string& message, const yy::location& location)