mirror of
https://github.com/NixOS/nix
synced 2025-06-27 16:51:15 +02:00
17 lines
342 B
C++
17 lines
342 B
C++
#pragma once
|
|
|
|
#include <cstddef>
|
|
|
|
// inluding the generated headers twice leads to errors
|
|
#ifndef BISON_HEADER
|
|
# include "lexer-tab.hh"
|
|
# include "parser-tab.hh"
|
|
#endif
|
|
|
|
namespace nix::lexer::internal {
|
|
|
|
void initLoc(YYLTYPE * loc);
|
|
|
|
void adjustLoc(yyscan_t yyscanner, YYLTYPE * loc, const char * s, size_t len);
|
|
|
|
} // namespace nix::lexer
|