* Use a proper namespace.

* Optimise header file usage a bit.
* Compile the parser as C++.
This commit is contained in:
Eelco Dolstra 2006-09-04 21:06:23 +00:00
parent aab8812732
commit 75068e7d75
61 changed files with 650 additions and 268 deletions

View file

@ -1,11 +1,11 @@
#ifndef __GLOBALS_H
#define __GLOBALS_H
#include <string>
#include <set>
#include "util.hh"
#include "types.hh"
namespace nix {
using namespace std;
/* Path names. */
@ -67,5 +67,8 @@ string querySetting(const string & name, const string & def);
bool queryBoolSetting(const string & name, bool def);
}
#endif /* !__GLOBALS_H */