mirror of
https://github.com/NixOS/nix
synced 2025-07-06 09:11:47 +02:00
* Use a proper namespace.
* Optimise header file usage a bit. * Compile the parser as C++.
This commit is contained in:
parent
aab8812732
commit
75068e7d75
61 changed files with 650 additions and 268 deletions
|
@ -1,7 +1,14 @@
|
|||
#include "dotgraph.hh"
|
||||
#include "util.hh"
|
||||
#include "store.hh"
|
||||
#include "db.hh"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include "dotgraph.hh"
|
||||
#include "build.hh"
|
||||
|
||||
using std::cout;
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
||||
static string dotQuote(const string & s)
|
||||
|
@ -151,3 +158,6 @@ void printDotGraph(const PathSet & roots)
|
|||
|
||||
cout << "}\n";
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue