Nix 2.29.1
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
lexer-helpers.hh
1#pragma once
2
3#include <cstddef>
4
5// inluding the generated headers twice leads to errors
6#ifndef BISON_HEADER
7# include "lexer-tab.hh"
8# include "parser-tab.hh"
9#endif
10
11namespace nix::lexer::internal {
12
13void initLoc(YYLTYPE * loc);
14
15void adjustLoc(yyscan_t yyscanner, YYLTYPE * loc, const char * s, size_t len);
16
17} // namespace nix::lexer