diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-07-19 13:22:48 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-07-19 13:22:48 +0200 |
commit | f2e7183867a56103f1f7b624f5762d29bf8b146f (patch) | |
tree | 65d1f969e3d3191ec51857d97ba25cd78312562d | |
parent | d93b1d9e83c8b603e58880fc7cd7b71b21e24617 (diff) |
Store location along with pragma value in semantic graph context
-rw-r--r-- | odb/parser.cxx | 2 |
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); } } |