diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-06-10T10·29+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-06-10T10·29+0000 |
commit | f16fe2af8d59fef156c29077a240a832d3e60ef2 (patch) | |
tree | e76a9db974af45eb58015aa638f0ce170f2565e7 /src/libexpr/value-to-xml.cc | |
parent | 07ca66cf242eef3c7a6396e9353e48037034498b (diff) |
* builtins.toXML: propagate the string context. This is a regression
from the old ATerm-based evaluator.
Diffstat (limited to 'src/libexpr/value-to-xml.cc')
-rw-r--r-- | src/libexpr/value-to-xml.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libexpr/value-to-xml.cc b/src/libexpr/value-to-xml.cc index e751fd300fdb..8955a8a33931 100644 --- a/src/libexpr/value-to-xml.cc +++ b/src/libexpr/value-to-xml.cc @@ -69,6 +69,7 @@ static void printValueAsXML(EvalState & state, bool strict, bool location, case tString: /* !!! show the context? */ + copyContext(v, context); doc.writeEmptyElement("string", singletonAttrs("value", v.string.s)); break; |