mirror of
https://github.com/NixOS/nix
synced 2025-06-28 01:11:15 +02:00
libexpr: Rearrange lexer files so that yylex_init_extra can be found
This commit is contained in:
parent
7fae378835
commit
e68234c4f9
4 changed files with 51 additions and 34 deletions
9
src/libexpr/lexer-helpers.hh
Normal file
9
src/libexpr/lexer-helpers.hh
Normal file
|
@ -0,0 +1,9 @@
|
|||
#pragma once
|
||||
|
||||
namespace nix::lexer::internal {
|
||||
|
||||
void initLoc(YYLTYPE * loc);
|
||||
|
||||
void adjustLoc(yyscan_t yyscanner, YYLTYPE * loc, const char * s, size_t len);
|
||||
|
||||
} // namespace nix::lexer
|
Loading…
Add table
Add a link
Reference in a new issue