summaryrefslogtreecommitdiff
path: root/odb/parser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/parser.cxx')
-rw-r--r--odb/parser.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/odb/parser.cxx b/odb/parser.cxx
index fda4579..16612df 100644
--- a/odb/parser.cxx
+++ b/odb/parser.cxx
@@ -1886,6 +1886,10 @@ process_pragmas (tree t,
tmp[j] = '-';
node.set (tmp, i->value);
+
+ if (i->node != 0)
+ node.set (tmp + "-node", i->node);
+
node.set (tmp + "-loc", i->loc);
}
}
@@ -1917,6 +1921,10 @@ process_named_pragmas (tree t, node& node)
tmp[j] = '-';
node.set (tmp, i->value);
+
+ if (i->node != 0)
+ node.set (tmp + "-node", i->node);
+
node.set (tmp + "-loc", i->loc);
}
}