aboutsummaryrefslogtreecommitdiff
path: root/odb/pragma.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/pragma.cxx')
-rw-r--r--odb/pragma.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/pragma.cxx b/odb/pragma.cxx
index 0dc61f2..f40258f 100644
--- a/odb/pragma.cxx
+++ b/odb/pragma.cxx
@@ -3844,7 +3844,7 @@ post_process_pragmas ()
// Make sure it is instantiated.
//
tree decl (TYPE_NAME (p->value.value<tree> ()));
- location_t loc (DECL_SOURCE_LOCATION (decl));
+ location_t loc (real_source_location (decl));
// Reset input location so that we get nice diagnostics in case
// of an error.