refactor(3p/nix): Anchor local includes at src/
Previously all includes were anchored in one global mess of header files. This moves the includes into filesystem "namespaces" (if you will) for each sub-package of Nix. Note: This commit does not introduce the relevant build system changes.
This commit is contained in:
parent
86a35d963d
commit
3652326ed2
159 changed files with 659 additions and 654 deletions
16
third_party/nix/src/libexpr/parser.y
vendored
16
third_party/nix/src/libexpr/parser.y
vendored
|
|
@ -16,9 +16,9 @@
|
|||
#ifndef BISON_HEADER
|
||||
#define BISON_HEADER
|
||||
|
||||
#include "util.hh"
|
||||
#include "nixexpr.hh"
|
||||
#include "eval.hh"
|
||||
#include "libutil/util.hh"
|
||||
#include "libexpr/nixexpr.hh"
|
||||
#include "libexpr/eval.hh"
|
||||
#include <glog/logging.h>
|
||||
|
||||
namespace nix {
|
||||
|
|
@ -50,8 +50,8 @@ namespace nix {
|
|||
|
||||
%{
|
||||
|
||||
#include "parser-tab.hh"
|
||||
#include "lexer-tab.hh"
|
||||
#include "generated/parser-tab.hh"
|
||||
#include "generated/lexer-tab.hh"
|
||||
|
||||
YY_DECL;
|
||||
|
||||
|
|
@ -539,9 +539,9 @@ formal
|
|||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "eval.hh"
|
||||
#include "download.hh"
|
||||
#include "store-api.hh"
|
||||
#include "libexpr/eval.hh"
|
||||
#include "libstore/download.hh"
|
||||
#include "libstore/store-api.hh"
|
||||
|
||||
|
||||
namespace nix {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue