Files
lix/tests/lang
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
..
2006-03-01 16:26:13 +00:00
2006-05-02 11:20:55 +00:00
2007-01-29 14:23:09 +00:00
2006-10-17 11:16:02 +00:00
2006-03-01 16:26:13 +00:00
2006-03-01 16:26:13 +00:00
2006-03-01 16:26:13 +00:00
2006-03-01 16:26:13 +00:00
2008-02-05 13:35:49 +00:00
2008-02-05 13:25:18 +00:00
2004-10-27 12:41:53 +00:00
2006-03-01 16:26:13 +00:00
2006-03-01 16:26:13 +00:00
2006-05-02 11:15:04 +00:00
2006-05-02 11:20:55 +00:00
2007-01-29 14:23:09 +00:00
2007-01-29 14:23:09 +00:00
2010-03-23 14:51:32 +00:00
2010-03-23 14:51:32 +00:00
2004-10-27 12:41:53 +00:00
2006-08-16 10:29:43 +00:00
2004-10-27 12:41:53 +00:00