1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 02:21:16 +02:00

Make lexer-helpers.hh internal to fix a clang-tidy error

This commit is contained in:
Eelco Dolstra 2025-04-07 17:54:39 +02:00
parent 2960d7adf5
commit 8be24f58f2
4 changed files with 2 additions and 7 deletions

View file

@ -20,7 +20,6 @@ headers = [config_pub_h] + files(
'gc-small-vector.hh',
'get-drvs.hh',
'json-to-value.hh',
# internal: 'lexer-helpers.hh',
'nixexpr.hh',
'parser-state.hh',
'primops.hh',

View file

@ -1,7 +1,4 @@
#include "lexer-tab.hh"
#include "parser-tab.hh"
#include "nix/expr/lexer-helpers.hh"
#include "lexer-helpers.hh"
void nix::lexer::internal::initLoc(YYLTYPE * loc)
{

View file

@ -25,8 +25,7 @@
#endif
#include "nix/expr/nixexpr.hh"
#include "parser-tab.hh"
#include "nix/expr/lexer-helpers.hh"
#include "lexer-helpers.hh"
namespace nix {
struct LexerState;