* 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,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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue