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

(cherry picked from commit 8be24f58f2)
This commit is contained in:
Eelco Dolstra authored and Mergify committed 2025-04-07 18:29:08 +00:00
1 parent 6dde30bacf
commit 17de9dd275
4 files changed
+2 -7

No files matched your search

-1
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',
+1 -4
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)
{
File renamed without changes.
+1 -2
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;