Files
nix/tests
Ludovic Courtès 09381cccff Make source location info in the XML output optional.
* src/libexpr/expr-to-xml.cc (nix::showAttrs): Add `location'
  parameter.  Provide location XML attributes when it's true.  Update
  callers.
  (nix::printTermAsXML): Likewise.

* src/libexpr/expr-to-xml.hh (nix::printTermAsXML): Update prototype;
  have `location' default to `false'.

* src/nix-instantiate/nix-instantiate.cc (printResult, processExpr): Add
  `location' parameter; update callers.
  (run): Add support for `--no-location'.

* src/nix-instantiate/help.txt: Update accordingly.

* tests/lang.sh: Invoke `nix-instantiate' with `--no-location' for the
  XML tests.

* tests/lang/eval-okay-toxml.exp, tests/lang/eval-okay-to-xml.nix: New
  files.
2010-03-31 12:38:31 +00:00
..
2009-03-25 16:11:04 +00:00
2009-03-18 16:36:13 +00:00
2007-08-13 13:15:02 +00:00
2007-01-29 14:23:09 +00:00
2006-03-01 14:26:03 +00:00
2006-07-21 13:21:43 +00:00
2006-03-01 12:51:18 +00:00
2007-08-13 13:15:02 +00:00
2008-12-03 16:15:38 +00:00
2008-08-04 16:16:49 +00:00
2008-08-04 16:16:49 +00:00
2007-08-13 13:15:02 +00:00
2006-07-21 13:21:43 +00:00
2008-06-15 15:10:03 +00:00
2006-03-01 12:51:18 +00:00