1
0
Fork 0
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:
Robert Hensing 2024-07-09 15:39:24 +02:00
parent 7fae378835
commit e68234c4f9
4 changed files with 51 additions and 34 deletions

View 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