summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/parser.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/odb/parser.cxx b/odb/parser.cxx
index 09ee490..fda4579 100644
--- a/odb/parser.cxx
+++ b/odb/parser.cxx
@@ -1886,6 +1886,7 @@ process_pragmas (tree t,
tmp[j] = '-';
node.set (tmp, i->value);
+ node.set (tmp + "-loc", i->loc);
}
}
@@ -1916,6 +1917,7 @@ process_named_pragmas (tree t, node& node)
tmp[j] = '-';
node.set (tmp, i->value);
+ node.set (tmp + "-loc", i->loc);
}
}