summaryrefslogtreecommitdiff
path: root/odb/location.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/location.cxx')
-rw-r--r--odb/location.cxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/odb/location.cxx b/odb/location.cxx
new file mode 100644
index 0000000..ba8d9a7
--- /dev/null
+++ b/odb/location.cxx
@@ -0,0 +1,14 @@
+// file : odb/location.cxx
+// copyright : Copyright (c) 2009-2012 Code Synthesis Tools CC
+// license : GNU GPL v3; see accompanying LICENSE file
+
+#include <odb/location.hxx>
+#include <odb/diagnostics.hxx>
+
+location::
+location (location_t l)
+ : file (location_file (l)),
+ line (location_line (l)),
+ column (location_column (l))
+{
+}